llvm-project/llvm/lib/Transforms/IPO
Duncan Sands dd7daee850 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.

llvm-svn: 51567
2008-05-26 19:58:59 +00:00
..
ArgumentPromotion.cpp Factor code to copy global value attributes like 2008-05-26 19:58:59 +00:00
ConstantMerge.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
DeadArgumentElimination.cpp Factor code to copy global value attributes like 2008-05-26 19:58:59 +00:00
DeadTypeElimination.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
ExtractGV.cpp Factor code to copy global value attributes like 2008-05-26 19:58:59 +00:00
GlobalDCE.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
GlobalOpt.cpp Use isSingleValueType instead of isFirstClassType to 2008-05-23 00:17:26 +00:00
IPConstantPropagation.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
IndMemRemoval.cpp API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legacy interfaces will be in place for some time. (Merge from use-diet branch.) 2008-05-16 19:29:10 +00:00
InlineSimple.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
Inliner.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
Internalize.cpp Simplify internalize pass. Add test case. 2008-05-14 20:01:01 +00:00
LoopExtractor.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
LowerSetJmp.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00
PruneEH.cpp Less conservative verison of previous patch, 2008-05-16 23:18:52 +00:00
RaiseAllocations.cpp API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legacy interfaces will be in place for some time. (Merge from use-diet branch.) 2008-05-16 19:29:10 +00:00
StripDeadPrototypes.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
StripSymbols.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
StructRetPromotion.cpp Factor code to copy global value attributes like 2008-05-26 19:58:59 +00:00