llvm/tools/bugpoint
Duncan P. N. Exon Smith eeb2c7e32c ValueMapper: Add support for seeding metadata with nullptr
Support seeding a ValueMap with nullptr for Metadata entries, a
situation I didn't consider in the Metadata/Value split.

I added a ValueMapper::getMappedMD accessor that returns an
Optional<Metadata*> with the mapped (possibly null) metadata.  IRMover
needs to use this to avoid modifying the map when it's checking for
unneeded subprograms.  I updated a call from bugpoint since I find the
new code clearer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265228 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-02 17:04:38 +00:00
..
BugDriver.cpp Change linkInModule to take a std::unique_ptr. 2015-12-16 23:16:33 +00:00
BugDriver.h Return std::unique_ptr from SplitFunctionsOutOfModule. NFC. 2015-12-09 00:34:10 +00:00
bugpoint.cpp [bugpoint] llvm-gcc doesn't exist anymore ... 2015-10-15 01:12:01 +00:00
CMakeLists.txt [PM/AA] Remove the last relics of the separate IPA library from LLVM, 2015-08-18 17:51:53 +00:00
CrashDebugger.cpp ValueMapper: Add support for seeding metadata with nullptr 2016-04-02 17:04:38 +00:00
ExecutionDriver.cpp [Bugpoint] Use 'CC' instead of 'GCC' for variable naming. 2015-10-14 20:29:54 +00:00
ExtractFunction.cpp Return std::unique_ptr from SplitFunctionsOutOfModule. NFC. 2015-12-09 00:34:10 +00:00
FindBugs.cpp [C++] Use 'nullptr'. Tools edition. 2014-04-25 04:24:47 +00:00
ListReducer.h bugpoint: make the number of trim iterations a compile-time constant 2015-07-26 15:18:45 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
Miscompilation.cpp Fix Clang-tidy readability-redundant-control-flow warnings; other minor fixes. 2016-02-02 18:20:45 +00:00
OptimizerDriver.cpp uselistorder: Remove the global bits 2015-04-15 03:14:06 +00:00
ToolRunner.cpp [Bugpoint] Use 'CC' instead of 'GCC' for variable naming. 2015-10-14 20:29:54 +00:00
ToolRunner.h [Bugpoint] Use 'CC' instead of 'GCC' for variable naming. 2015-10-14 20:29:54 +00:00