llvm-6502/lib/Transforms/Scalar
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
..
ADCE.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
BasicBlockPlacement.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
CondPropagate.cpp Implement review feedback for the ConstantBool->ConstantInt merge. Chris 2007-01-12 04:24:46 +00:00
ConstantProp.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
CorrelatedExprs.cpp Implement review feedback for the ConstantBool->ConstantInt merge. Chris 2007-01-12 04:24:46 +00:00
DCE.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
DeadStoreElimination.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
GCSE.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
IndVarSimplify.cpp For PR1064: 2007-01-12 07:05:14 +00:00
InstructionCombining.cpp For PR1064: 2007-01-12 07:05:14 +00:00
LICM.cpp For PR950: 2006-12-23 06:05:41 +00:00
LoopStrengthReduce.cpp For PR1097: 2007-01-08 16:17:51 +00:00
LoopUnroll.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
LoopUnswitch.cpp Implement review feedback for the ConstantBool->ConstantInt merge. Chris 2007-01-12 04:24:46 +00:00
LowerGC.cpp relax some types 2007-01-07 06:58:05 +00:00
LowerPacked.cpp For PR950: 2006-12-31 05:48:39 +00:00
Makefile DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
PredicateSimplifier.cpp If we know that it's a constant being casted, propagate through the cast 2007-01-12 01:23:53 +00:00
Reassociate.cpp For PR1043: 2007-01-11 12:24:14 +00:00
Reg2Mem.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
ScalarReplAggregates.cpp For PR1064: 2007-01-12 07:05:14 +00:00
SCCP.cpp For PR1064: 2007-01-12 07:05:14 +00:00
SimplifyCFG.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
TailDuplication.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
TailRecursionElimination.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00