llvm-6502/lib/Bitcode/Writer
Duncan P. N. Exon Smith f416d72973 IR: Add 'distinct' MDNodes to bitcode and assembly
Propagate whether `MDNode`s are 'distinct' through the other types of IR
(assembly and bitcode).  This adds the `distinct` keyword to assembly.

Currently, no one actually calls `MDNode::getDistinct()`, so these nodes
only get created for:

  - self-references, which are never uniqued, and
  - nodes whose operands are replaced that hit a uniquing collision.

The concept of distinct nodes is still not quite first-class, since
distinct-ness doesn't yet survive across `MapMetadata()`.

Part of PR22111.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225474 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-08 22:38:29 +00:00
..
BitcodeWriter.cpp IR: Add 'distinct' MDNodes to bitcode and assembly 2015-01-08 22:38:29 +00:00
BitcodeWriterPass.cpp [PM] Switch the new pass manager to use a reference-based API for IR 2015-01-05 02:47:05 +00:00
BitWriter.cpp Introduce LLVMWriteBitcodeToMemoryBuffer C API function. 2014-10-14 00:30:59 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile
ValueEnumerator.cpp Make ValueEnumerator::print use OS for metadata too. Noticed by inspection. 2014-12-17 01:52:08 +00:00
ValueEnumerator.h IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00