1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/lib
Reid Spencer 373d2bccea 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.

llvm-svn: 33113
2007-01-12 07:05:14 +00:00
..
Analysis Implement review feedback for the ConstantBool->ConstantInt merge. Chris 2007-01-12 04:24:46 +00:00
AsmParser For PR1064: 2007-01-12 07:05:14 +00:00
Bytecode For PR1064: 2007-01-12 07:05:14 +00:00
CodeGen For PR1064: 2007-01-12 07:05:14 +00:00
Debugger Don't use <sstream> in Streams.h but <iosfwd> instead. 2006-12-07 23:41:45 +00:00
ExecutionEngine For PR1064: 2007-01-12 07:05:14 +00:00
Linker For PR1064: 2007-01-12 07:05:14 +00:00
Support wow, the link was already broken :) 2007-01-06 23:20:51 +00:00
System Avoid taking the address of a macro by checking to see if stdin is defined 2007-01-11 00:35:10 +00:00
Target For PR1064: 2007-01-12 07:05:14 +00:00
Transforms For PR1064: 2007-01-12 07:05:14 +00:00
VMCore For PR1064: 2007-01-12 07:05:14 +00:00
Makefile