llvm-6502/lib
Duncan P. N. Exon Smith b3381acab2 DebugInfo: Use TempMDNode in DIDescriptor::replaceAllUsesWith()
Start using `TempMDNode` in `DIDescriptor::replaceAllUsesWith()`
(effectively `std::unique_ptr<MDNode, MDNode::deleteTemporary>`).

Besides making ownership more explicit, this prepares for when
`DIDescriptor` refers to nodes that are *not* `MDTuple`.  The old logic
for "replacing" a node with itself used `MDNode::get()` to return a new
(uniqued) `MDTuple`, while the new logic just defers to
`MDNode::replaceWithUniqued()` (which also typically saves an allocation
and RAUW traffic by mutating the temporary in place).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230879 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-28 23:48:02 +00:00
..
Analysis Reduce double set lookups. 2015-02-27 21:43:14 +00:00
AsmParser Optimize metadata node fields for CHECK-ability 2015-02-28 23:21:38 +00:00
Bitcode Silence three more variable set but not used warnings, NFC. 2015-02-28 15:29:17 +00:00
CodeGen DwarfAccelTable: We know how many hashes we have in the output, just reserve the precise number 2015-02-28 20:15:00 +00:00
DebugInfo [llvm-pdbdump] Better error handling. 2015-02-28 20:23:18 +00:00
ExecutionEngine
Fuzzer
IR DebugInfo: Use TempMDNode in DIDescriptor::replaceAllUsesWith() 2015-02-28 23:48:02 +00:00
IRReader
LineEditor
Linker
LTO
MC Centralize handling of the eh_begin and eh_end labels. 2015-02-27 18:18:39 +00:00
Object
Option
ProfileData
Support [raw_ostream] When printing color on Windows, use correct bg color. 2015-02-28 19:08:27 +00:00
TableGen
Target [X86] Remove the blendpd/blendps/pblendw/pblendd intrinsics. They can represented by shuffle_vector instructions. 2015-02-28 19:33:17 +00:00
Transforms TRE: Just erase dead BBs and tweak the iteration loop not to increment the deleted BB iterator. 2015-02-28 16:47:27 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile