1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/include/llvm/Support
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
..
AIXDataTypesFix.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
AlignOf.h Added "Profile" method to APFloat for use with FoldingSet. 2008-02-11 17:24:50 +00:00
Allocator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Annotation.h Add explicit keywords. 2008-02-20 16:44:09 +00:00
CallSite.h Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00
Casting.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
CFG.h Treat BBs that use BBs as proper predecessors and successors in the CFG. 2008-03-06 06:54:53 +00:00
CommandLine.h Add explicit keywords. 2008-02-20 16:44:09 +00:00
Compiler.h Silence a warning. Should we turn this into configure-time check? 2008-01-22 11:01:23 +00:00
ConstantRange.h Add explicit keywords. 2008-02-20 16:44:09 +00:00
DataTypes.h.in remove attribution from a variety of miscellaneous files. 2007-12-29 22:59:10 +00:00
Debug.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
DOTGraphTraits.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Dwarf.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
DynamicLinker.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ELF.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
FileUtilities.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
GetElementPtrTypeIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
GraphWriter.h Added special escape sequences "\{", "\}", and "\|" when processing 2008-01-23 22:29:58 +00:00
InstIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
InstVisitor.h Add GetResultInst. First step for multiple return value support. 2008-02-19 22:15:16 +00:00
LeakDetector.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
LLVMBuilder.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ManagedStatic.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Mangler.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
MathExtras.h Add count{Leading,Trailing}Ones_{32,64} functions with simple implementations. 2008-02-13 20:54:54 +00:00
MemoryBuffer.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
MutexGuard.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
OutputBuffer.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PassNameParser.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PatternMatch.h add match support for casts. 2008-01-08 07:02:44 +00:00
PluginLoader.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Registry.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SlowOperationInformer.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
StableBasicBlockNumbering.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Streams.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
StringPool.h Fix a memory correctness error noticed by valgrind (harmless in practice). 2008-01-15 20:02:11 +00:00
SystemUtils.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Timer.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
type_traits.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00