llvm/lib
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
..
Analysis Add Hybrid Cycle Detection to Andersen's analysis. 2008-03-05 19:31:47 +00:00
Archive Fix thinko: alias always defines new symbol. Even is aliasee itself is undefined. 2008-03-11 00:24:53 +00:00
AsmParser Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
Bitcode Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
CodeGen Clean up my own mess. 2008-03-12 07:02:50 +00:00
Debugger Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExecutionEngine Fix formatting. 2008-03-10 16:38:37 +00:00
Linker Ultimately resolve aliases during linking, if possible 2008-03-11 22:51:09 +00:00
Support Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more. 2008-03-07 22:39:49 +00:00
System This is a simple fix for getting error messages from dlerror in 2008-03-12 00:50:01 +00:00
Target Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
Transforms Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
VMCore Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00