1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/unittests
Duncan P. N. Exon Smith 5e94641b4a 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.

llvm-svn: 265228
2016-04-02 17:04:38 +00:00
..
ADT Add a copy constructor to StringMap 2016-03-30 19:54:56 +00:00
Analysis Add getBlockProfileCount method to BlockFrequencyInfo 2016-03-23 18:18:26 +00:00
AsmParser [AsmParser] Expose an API to parse a string starting with a type. 2016-03-08 00:37:07 +00:00
Bitcode Explicitly test BitstreamReader::setArtificialByteLimit, NFC 2016-03-28 20:39:41 +00:00
CodeGen Remove autoconf support 2016-01-26 21:29:08 +00:00
DebugInfo [DebugInfoPDB] Add source / line number accessors for PDB. 2016-02-18 18:47:29 +00:00
ExecutionEngine [Orc] Switch RPC Procedure to take a function type, rather than an arg list. 2016-03-21 16:56:25 +00:00
IR Document end of anonymous namespaces, NFC 2016-04-02 16:45:51 +00:00
LineEditor Remove autoconf support 2016-01-26 21:29:08 +00:00
Linker Delete the deprecated LLVMLinkModules. 2016-02-12 15:28:45 +00:00
MC Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
MI Make a stub version of MITests, instead of reverting. 2016-02-18 07:37:17 +00:00
ObjectYAML Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
Option Remove autoconf support 2016-01-26 21:29:08 +00:00
ProfileData [PGO] Use ArrayRef in annotateValueSite() 2016-03-30 16:56:31 +00:00
Support Add support for computing SHA1 in LLVM 2016-04-01 04:30:16 +00:00
Transforms ValueMapper: Add support for seeding metadata with nullptr 2016-04-02 17:04:38 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00