llvm-mirror/lib/Transforms/IPO
Chris Lattner 7925cc72c0 Reimplement the parameter attributes support, phase #1. hilights:
1. There is now a "PAListPtr" class, which is a smart pointer around
   the underlying uniqued parameter attribute list object, and manages
   its refcount.  It is now impossible to mess up the refcount.
2. PAListPtr is now the main interface to the underlying object, and
   the underlying object is now completely opaque.
3. Implementation details like SmallVector and FoldingSet are now no
   longer part of the interface.
4. You can create a PAListPtr with an arbitrary sequence of
   ParamAttrsWithIndex's, no need to make a SmallVector of a specific 
   size (you can just use an array or scalar or vector if you wish).
5. All the client code that had to check for a null pointer before
   dereferencing the pointer is simplified to just access the 
   PAListPtr directly.
6. The interfaces for adding attrs to a list and removing them is a
   bit simpler.

Phase #2 will rename some stuff (e.g. PAListPtr) and do other less 
invasive changes.

llvm-svn: 48289
2008-03-12 17:45:29 +00:00
..
ArgumentPromotion.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
ConstantMerge.cpp remove some dead code. 2008-02-13 17:18:26 +00:00
DeadArgumentElimination.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
DeadTypeElimination.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExtractFunction.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExtractGV.cpp Fix some compilation errors on msvc: 2008-03-09 18:32:50 +00:00
GlobalDCE.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
GlobalOpt.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
IndMemRemoval.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Inliner.cpp allow specified inline threshold to be negative, as the value is 2008-03-01 08:09:51 +00:00
InlineSimple.cpp Allow clients to specify the inline threshold when creating 2008-01-12 06:49:13 +00:00
Internalize.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
IPConstantPropagation.cpp Handle multiple ret values. 2008-03-11 22:24:29 +00:00
LoopExtractor.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
LowerSetJmp.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00
PruneEH.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
RaiseAllocations.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
SimplifyLibCalls.cpp Check multiple return values. 2008-03-12 00:32:32 +00:00
StripDeadPrototypes.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
StripSymbols.cpp Handle attribute(used) global variables that are i8. 2008-01-16 21:35:43 +00:00
StructRetPromotion.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00