llvm-6502/lib/Transforms/Utils
Duncan Sands 28c3cff825 Factor code to copy global value attributes like
the section or the visibility from one global
value to another: copyAttributesFrom.  This is
particularly useful for duplicating functions:
previously this was done by explicitly copying
each attribute in turn at each place where a
new function was created out of an old one, with
the result that obscure attributes were regularly
forgotten (like the collector or the section).
Hopefully now everything is uniform and nothing
is forgotten.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51567 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-26 19:58:59 +00:00
..
BasicBlockUtils.cpp
BasicInliner.cpp
BreakCriticalEdges.cpp
CloneFunction.cpp Factor code to copy global value attributes like 2008-05-26 19:58:59 +00:00
CloneLoop.cpp
CloneModule.cpp Factor code to copy global value attributes like 2008-05-26 19:58:59 +00:00
CloneTrace.cpp
CodeExtractor.cpp Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to 2008-05-23 21:05:58 +00:00
DemoteRegToStack.cpp
InlineCost.cpp
InlineFunction.cpp
LCSSA.cpp Use a DenseMap instead of an std::map, speeding up the testcase in PR2368 by about a third. 2008-05-26 10:07:43 +00:00
Local.cpp
LoopSimplify.cpp
LowerAllocations.cpp
LowerInvoke.cpp Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to 2008-05-23 21:05:58 +00:00
LowerSwitch.cpp
Makefile
Mem2Reg.cpp
PromoteMemoryToRegister.cpp
SimplifyCFG.cpp Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to 2008-05-23 21:05:58 +00:00
UnifyFunctionExitNodes.cpp
UnrollLoop.cpp
ValueMapper.cpp