llvm-6502/include/llvm
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
..
ADT eliminate constructor from Statistic class. It is now impossible to get a 2006-12-19 23:17:40 +00:00
Analysis For PR950: 2006-12-23 06:05:41 +00:00
Assembly Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
Bytecode For PR411: 2007-01-06 07:24:44 +00:00
CodeGen move ExtWeakSymbols to AsmPrinter 2006-12-18 03:37:18 +00:00
Config Determine if the -enable-pic option was given. 2006-12-18 04:11:16 +00:00
Debugger For PR797: 2006-08-22 16:06:27 +00:00
ExecutionEngine Rename BoolTy as Int1Ty. Patch by Sheng Zhou. 2007-01-11 18:21:29 +00:00
Support For PR1043: 2007-01-11 12:24:14 +00:00
System Unbreak VC++ build. 2006-11-05 19:31:28 +00:00
Target For PR1064: 2007-01-12 07:05:14 +00:00
Transforms remove an old instrumentation pass that is not used anymore. 2007-01-07 18:12:13 +00:00
.cvsignore Ignore generated file Intrinsics.gen 2006-03-23 23:49:59 +00:00
AbstractTypeUser.h For PR778: 2006-06-05 16:29:06 +00:00
Argument.h Added an automatic cast to "std::ostream*" etc. from OStream. We then can 2006-12-17 05:15:13 +00:00
BasicBlock.h Added an automatic cast to "std::ostream*" etc. from OStream. We then can 2006-12-17 05:15:13 +00:00
CallGraphSCCPass.h Remove trailing whitespace 2005-04-21 20:19:05 +00:00
CallingConv.h Added some eye-candy for Subtarget type checking 2006-09-17 20:25:45 +00:00
Constant.h Added an automatic cast to "std::ostream*" etc. from OStream. We then can 2006-12-17 05:15:13 +00:00
Constants.h Implement review feedback for the ConstantBool->ConstantInt merge. Chris 2007-01-12 04:24:46 +00:00
DerivedTypes.h For PR1064: 2007-01-12 07:05:14 +00:00
Function.h For PR411: 2007-01-06 07:24:44 +00:00
GlobalValue.h Fix some 80 col violations. 2006-12-06 20:28:46 +00:00
GlobalVariable.h Added an automatic cast to "std::ostream*" etc. from OStream. We then can 2006-12-17 05:15:13 +00:00
InlineAsm.h Added an automatic cast to "std::ostream*" etc. from OStream. We then can 2006-12-17 05:15:13 +00:00
InstrTypes.h Add some convenience functions for getting the source and destination 2007-01-02 02:08:27 +00:00
Instruction.def For PR950: 2006-12-23 06:05:41 +00:00
Instruction.h Now that setcondinst has been eliminated, we can mark Value::SubclassID 2007-01-04 02:15:37 +00:00
Instructions.h Doxygenify a comment. 2006-12-29 04:10:59 +00:00
IntrinsicInst.h For PR950: 2006-10-20 07:07:24 +00:00
Intrinsics.h Add a programatic interface to intrinsic names. 2006-03-25 06:32:07 +00:00
Intrinsics.td For PR1064: 2007-01-12 07:05:14 +00:00
IntrinsicsPowerPC.td Convert the intrinsic function definitions to use llvm_i32_ty instead of 2006-12-31 22:24:55 +00:00
IntrinsicsX86.td Convert the intrinsic function definitions to use llvm_i32_ty instead of 2006-12-31 22:24:55 +00:00
LinkAllPasses.h remove an old instrumentation pass that is not used anymore. 2007-01-07 18:12:13 +00:00
LinkAllVMCore.h For PR780: 2006-07-26 16:55:39 +00:00
Linker.h Minor style fixes from review. 2006-11-11 19:59:25 +00:00
LinkTimeOptimizer.h Save temp. bc files when saveTemps flag is true. Use final output file 2006-10-26 20:46:22 +00:00
Module.h Change the interface to Module::getOrInsertFunction to be easier to use, 2007-01-07 08:09:25 +00:00
ModuleProvider.h Fix an embarassing bug reid noticed 2006-07-07 00:01:01 +00:00
Pass.h Add PassManagerType enum. 2007-01-11 01:10:25 +00:00
PassAnalysisSupport.h 1) Remove old AnalysisResolver. 2007-01-05 22:47:07 +00:00
PassManager.h Remove old pass manager. 2007-01-05 20:16:23 +00:00
PassSupport.h Switch analysis groups to be unregistered when llvm_shutdown is called. 2006-12-01 23:46:50 +00:00
SymbolTable.h For PR411: 2007-01-06 07:24:44 +00:00
SymbolTableListTraits.h Remove trailing whitespace 2005-04-21 20:19:05 +00:00
Type.h For PR1064: 2007-01-12 07:05:14 +00:00
TypeSymbolTable.h For PR411: 2007-01-06 07:24:44 +00:00
Use.h Move the definition of value_use_iterator::getOperandNo to User.h where the 2006-05-08 05:59:36 +00:00
User.h Move the definition of value_use_iterator::getOperandNo to User.h where the 2006-05-08 05:59:36 +00:00
Value.h For PR1043: 2007-01-11 12:24:14 +00:00
ValueSymbolTable.h 4 billion names is enough for anyone. And really fix the build on alpha this time 2006-05-31 20:40:36 +00:00