llvm-6502/lib/Transforms/Utils
Dan Gohman 6cb8c23db1 Reapply r112091 and r111922, support for metadata linking, with a
fix: add a flag to MapValue and friends which indicates whether
any module-level mappings are being made. In the common case of
inlining, no module-level mappings are needed, so MapValue doesn't
need to examine non-function-local metadata, which can be very
expensive in the case of a large module with really deep metadata
(e.g. a large C++ program compiled with -g).

This flag is a little awkward; perhaps eventually it can be moved
into the ClonedCodeInfo class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112190 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-26 15:41:53 +00:00
..
AddrModeMatcher.cpp use getArgOperand instead of getOperand 2010-06-30 09:14:26 +00:00
BasicBlockUtils.cpp fit in 80 cols 2010-08-18 03:13:35 +00:00
BasicInliner.cpp simplify 2010-07-28 15:52:43 +00:00
BreakCriticalEdges.cpp Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API. 2010-08-23 17:52:01 +00:00
BuildLibCalls.cpp undo 80 column trespassing I caused 2010-07-22 10:37:47 +00:00
CloneFunction.cpp Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
CloneLoop.cpp Use ValueMap instead of DenseMap. 2010-06-24 00:33:28 +00:00
CloneModule.cpp Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
CMakeLists.txt
CodeExtractor.cpp rename llvm::llvm_report_error -> llvm::report_fatal_error 2010-04-07 22:58:41 +00:00
DemoteRegToStack.cpp remove trailing whitespace 2010-06-16 22:41:09 +00:00
InlineFunction.cpp Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
InstructionNamer.cpp Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API. 2010-08-23 17:52:01 +00:00
LCSSA.cpp Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API. 2010-08-23 17:52:01 +00:00
Local.cpp Teach SimplifyCFG how to simplify indirectbr instructions. 2010-08-14 00:29:42 +00:00
LoopSimplify.cpp Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API. 2010-08-23 17:52:01 +00:00
LoopUnroll.cpp Preserve ScalarEvolution in the loop unroller. 2010-07-26 18:02:06 +00:00
LowerInvoke.cpp Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API. 2010-08-23 17:52:01 +00:00
LowerSwitch.cpp Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API. 2010-08-23 17:52:01 +00:00
Makefile
Mem2Reg.cpp Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API. 2010-08-23 17:52:01 +00:00
PromoteMemoryToRegister.cpp remove some dead code. 2010-08-18 02:41:56 +00:00
SimplifyCFG.cpp Instead, teach SimplifyCFG to trim non-address-taken blocks from 2010-08-16 14:41:14 +00:00
SSAUpdater.cpp Combine the implementations of the core part of the SSAUpdater and 2010-05-04 23:18:19 +00:00
SSI.cpp Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
UnifyFunctionExitNodes.cpp Eliminate PromoteMemoryToRegisterID; just use addPreserved("mem2reg") 2010-08-06 21:48:06 +00:00
ValueMapper.cpp Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00