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. llvm-svn: 265228 |
||
|---|---|---|
| .. | ||
| BugDriver.cpp | ||
| BugDriver.h | ||
| CMakeLists.txt | ||
| CrashDebugger.cpp | ||
| ExecutionDriver.cpp | ||
| ExtractFunction.cpp | ||
| FindBugs.cpp | ||
| LLVMBuild.txt | ||
| ListReducer.h | ||
| Miscompilation.cpp | ||
| OptimizerDriver.cpp | ||
| ToolRunner.cpp | ||
| ToolRunner.h | ||
| bugpoint.cpp | ||