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
BugDriver.h
bugpoint.cpp
CMakeLists.txt
CrashDebugger.cpp ValueMapper: Add support for seeding metadata with nullptr 2016-04-02 17:04:38 +00:00
ExecutionDriver.cpp
ExtractFunction.cpp
FindBugs.cpp
ListReducer.h
LLVMBuild.txt
Miscompilation.cpp
OptimizerDriver.cpp
ToolRunner.cpp
ToolRunner.h