llvm-6502/include
Duncan P. N. Exon Smith 37c7ccc40c IR: Allow temporary nodes to become uniqued or distinct
Add `MDNode::replaceWithUniqued()` and `MDNode::replaceWithDistinct()`,
which mutate temporary nodes to become uniqued or distinct.  On uniquing
collisions, the unique version is returned and the node is deleted.

This takes advantage of temporary nodes being folded back in, and should
let me clean up some awkward logic in `MapMetadata()`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226510 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-19 22:24:52 +00:00
..
llvm IR: Allow temporary nodes to become uniqued or distinct 2015-01-19 22:24:52 +00:00
llvm-c Finish removing DestroySource. 2014-12-23 19:16:45 +00:00