llvm/lib/VMCore
Chris Lattner 58d74910c6 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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48289 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-12 17:45:29 +00:00
..
AsmWriter.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
AutoUpgrade.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
BasicBlock.cpp Two things. Preserve the unwind_to when splitting a BB. 2008-03-09 05:04:48 +00:00
ConstantFold.cpp Use the new convertFromAPInt instead of convertFromZeroExtendedInteger. 2008-02-29 01:42:52 +00:00
ConstantFold.h Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Constants.cpp Fix a typo in a comment. 2008-02-07 02:30:40 +00:00
Core.cpp Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings. 2008-02-20 11:08:44 +00:00
Dominators.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Function.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
Globals.cpp Add helper for ultimate aliasee resoltion 2008-03-11 22:28:56 +00:00
InlineAsm.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Instruction.cpp print getresult instruction. 2008-02-21 23:02:20 +00:00
Instructions.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
IntrinsicInst.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
LeakDetector.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Makefile improve compatibility with mingw, patch by Alain Frisch 2008-01-15 22:50:50 +00:00
Mangler.cpp targets that support quotes for mangled names still need to escape newlines 2008-02-15 18:54:56 +00:00
Module.cpp Remove an unnecessary #include 2008-03-10 23:37:12 +00:00
ModuleProvider.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ParameterAttributes.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
Pass.cpp Remove unused runPass methods. 2008-03-08 01:43:56 +00:00
PassManager.cpp Give PassManager and FunctionPassManager a common base class, with 2008-03-11 16:41:42 +00:00
SymbolTableListTraitsImpl.h Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Type.cpp Initialize ArgTypes directly instead of manually copying in the elements. 2008-03-10 23:41:23 +00:00
TypeSymbolTable.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Value.cpp Print the name, not a pointer. 2008-03-01 17:20:55 +00:00
ValueSymbolTable.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ValueTypes.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Verifier.cpp Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00