llvm/tools
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
..
bugpoint relax type 2007-01-07 08:13:39 +00:00
gccas Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
gccld Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
llc make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. 2006-12-06 01:18:01 +00:00
lli fix atexit. This is an overcomplex way of calling exit, but it is required, 2007-01-08 07:36:34 +00:00
llvm2cpp For PR1064: 2007-01-12 07:05:14 +00:00
llvm-ar make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. 2006-12-06 01:18:01 +00:00
llvm-as Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
llvm-bcanalyzer make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. 2006-12-06 01:18:01 +00:00
llvm-config Fixing a ">" redirect to be a ">>" redirect, so a sed command doesn't get clobbered. 2007-01-09 02:38:29 +00:00
llvm-db make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. 2006-12-06 01:18:01 +00:00
llvm-dis Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
llvm-extract Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
llvm-ld Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
llvm-link Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
llvm-nm make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. 2006-12-06 01:18:01 +00:00
llvm-prof make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. 2006-12-06 01:18:01 +00:00
llvm-ranlib make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. 2006-12-06 01:18:01 +00:00
llvm-stub Incorporate the contents of include/llvm/Config/unistd.h as this is the 2004-12-20 04:34:36 +00:00
llvm-upgrade Fix persistent conflict madness by removing these from cvs. 2007-01-12 05:35:13 +00:00
llvmc Ressurrect this needed file. 2006-12-13 08:10:16 +00:00
lto Modules are consumed when they are merged together by Linker. 2007-01-08 18:42:27 +00:00
opt Remove DSA. 2006-12-13 16:54:24 +00:00
Makefile Build libLLVMlto on non-Darwin architectures. Resolves PR1055: http://llvm.org/PR1055 2007-01-08 06:25:29 +00:00