llvm/lib/VMCore
Reid Spencer a54b7cbd45 For PR1064:
Implement the arbitrary bit-width integer feature. The feature allows
integers of any bitwidth (up to 64) to be defined instead of just 1, 8,
16, 32, and 64 bit integers.

This change does several things:
1. Introduces a new Derived Type, IntegerType, to represent the number of
   bits in an integer. The Type classes SubclassData field is used to
   store the number of bits. This allows 2^23 bits in an integer type.
2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and
   64-bit integers. These are replaced with just IntegerType which is not
   a primitive any more.
3. Adjust the rest of LLVM to account for this change.

Note that while this incremental change lays the foundation for arbitrary
bit-width integers, LLVM has not yet been converted to actually deal with
them in any significant way. Most optimization passes, for example, will
still only deal with the byte-width integer types.  Future increments
will rectify this situation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33113 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-12 07:05:14 +00:00
..
AsmWriter.cpp For PR1064: 2007-01-12 07:05:14 +00:00
BasicBlock.cpp add method, correct comment 2006-09-23 04:03:45 +00:00
ConstantFold.cpp For PR1064: 2007-01-12 07:05:14 +00:00
ConstantFold.h Cleanup ConstantFoldCompareInstruction: 2006-12-24 18:52:08 +00:00
ConstantFolding.h Cleanup ConstantFoldCompareInstruction: 2006-12-24 18:52:08 +00:00
Constants.cpp For PR1064: 2007-01-12 07:05:14 +00:00
Dominators.cpp Removed iostream #includes. Replaced std::cerr with DOUT. 2006-11-17 08:03:48 +00:00
Function.cpp For PR411: 2007-01-06 07:24:44 +00:00
Globals.cpp Add a version of the globalvariable ctor that inserts at a specific location. 2006-09-30 21:31:26 +00:00
InlineAsm.cpp For PR780: 2006-06-07 23:03:13 +00:00
Instruction.cpp Now that setcondinst has been eliminated, we can mark Value::SubclassID 2007-01-04 02:15:37 +00:00
Instructions.cpp For PR1064: 2007-01-12 07:05:14 +00:00
IntrinsicInst.cpp Update version in safe guards. 2006-12-13 17:49:24 +00:00
LeakDetector.cpp Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
Makefile Make the makefile tell us when Intrinsics.gen is being updated. 2006-10-26 01:42:23 +00:00
Mangler.cpp Adding dllimport, dllexport and external weak linkage types. 2006-09-14 18:23:27 +00:00
Module.cpp Change the interface to Module::getOrInsertFunction to be easier to use, 2007-01-07 08:09:25 +00:00
ModuleProvider.cpp
Pass.cpp 1) Remove old AnalysisResolver. 2007-01-05 22:47:07 +00:00
PassManager.cpp Start using PMStack. Now each pass is responsibe for assinging 2007-01-11 22:15:30 +00:00
SymbolTable.cpp For PR411: 2007-01-06 07:24:44 +00:00
SymbolTableListTraitsImpl.h For PR411: 2007-01-06 07:24:44 +00:00
Type.cpp For PR1064: 2007-01-12 07:05:14 +00:00
TypeSymbolTable.cpp For PR411: 2007-01-06 07:24:44 +00:00
Value.cpp For PR411: 2007-01-06 07:24:44 +00:00
ValueSymbolTable.cpp Removed iostream #includes. Replaced std::cerr with DOUT. 2006-11-17 08:03:48 +00:00
ValueTypes.cpp Rename BoolTy as Int1Ty. Patch by Sheng Zhou. 2007-01-11 18:21:29 +00:00
Verifier.cpp For PR1064: 2007-01-12 07:05:14 +00:00