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 Revert "Raising minimum required CMake version to 2.8.12.2." 2015-02-24 16:39:46 +00:00
Fuzzer [fuzzer] one more experimental search mode: -use_coverage_pairs=1 2015-02-20 03:02:37 +00:00
IR DebugInfo: Use TempMDNode in DIDescriptor::replaceAllUsesWith() 2015-02-28 23:48:02 +00:00
IRReader
LineEditor
Linker [LTO API] add lto_codegen_set_module to set the destination module. 2015-02-24 00:45:56 +00:00
LTO [LTO API] fix memory leakage introduced at r230290. 2015-02-25 21:20:53 +00:00
MC Centralize handling of the eh_begin and eh_end labels. 2015-02-27 18:18:39 +00:00
Object Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00
Option Prefer SmallVector::append/insert over push_back loops. 2015-02-17 15:29:18 +00:00
ProfileData InstrProf: Simplify the construction of BinaryCoverageReader 2015-02-26 20:06:28 +00:00
Support [raw_ostream] When printing color on Windows, use correct bg color. 2015-02-28 19:08:27 +00:00
TableGen MSVC 2013 does not ICE on this code in the same fashion that MSVC 2012 did; NFC. 2015-02-16 19:33:36 +00:00
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