summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader
Commit message (Collapse)AuthorAgeFilesLines
...
* * Both Method & GlobalVariable now subclass GlobalValueChris Lattner2001-10-034-16/+26
| | | | | | | | * ConstPoolPointerReference now represents a pointer to a GlobalValue * Methods name references are now explicit pointers to methods * Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion llvm-svn: 703
* Commit more code over to new cast styleChris Lattner2001-10-023-16/+16
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-014-23/+22
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add more support for new style castsChris Lattner2001-10-012-5/+4
| | | | | | Convert more code to use them llvm-svn: 695
* Implement constant pointers, and null specifically in the parser, bytecode ↵Chris Lattner2001-09-301-1/+12
| | | | | | | | writer, and bytecode reader. llvm-svn: 668
* Pull iterators out of CFG.h and CFGdecls and put them in Support directoryChris Lattner2001-09-281-0/+1
| | | | llvm-svn: 664
* Add support for global constants, and for initializers for constantsChris Lattner2001-09-181-2/+17
| | | | llvm-svn: 598
* Fix a bug with not removing method level types after compilationChris Lattner2001-09-141-0/+3
| | | | llvm-svn: 582
* getMethodType is now just getTypeChris Lattner2001-09-101-2/+2
| | | | llvm-svn: 538
* Implement global variable supportChris Lattner2001-09-101-2/+20
| | | | llvm-svn: 530
* * Remove support for internal constant poolChris Lattner2001-09-074-112/+239
| | | | | | | | | | * Support globally unique constants * Support recursive and forward referenced types * Support abstract types * Add new BCR_TRACE macro to enable debugging of why the bytecode reader occasionally refuses to read something llvm-svn: 448
* * Add calls to failure template so that it is actually possible to debugChris Lattner2001-07-284-124/+134
| | | | | | | why bytecode parsing is failing. Just put a breakpoint in the failure templates. llvm-svn: 323
* Add support for extern varargs methods & varargs method callsChris Lattner2001-07-252-23/+41
| | | | llvm-svn: 297
* Doh! Wrong accessor. Caused 'can not read bytecode' errors. :(Chris Lattner2001-07-231-1/+1
| | | | llvm-svn: 282
* Add support to the bytecode reader to recognize floating point constantsChris Lattner2001-07-151-0/+14
| | | | llvm-svn: 189
* Implementation of Store & GetElementPtrChris Lattner2001-07-081-2/+35
| | | | llvm-svn: 164
* Implemented shl, shl, & load instructionsChris Lattner2001-07-081-16/+71
| | | | llvm-svn: 161
* Moved Cast from being a Unary instruction to being an "Other" instructionChris Lattner2001-07-081-2/+1
| | | | llvm-svn: 160
* Neg instruction removed. Cast instruction implemented.Chris Lattner2001-07-081-0/+4
| | | | llvm-svn: 156
* Convert BinaryOperand and UnaryOperator to only take instruction types ofChris Lattner2001-07-071-3/+5
| | | | | | the appropriate enum llvm-svn: 153
* Broad superficial changes:Chris Lattner2001-07-071-1/+1
| | | | | | | | | * Renamed getOpcode to getOpcodeName * Changed getOpcodeName to return a const char * instead of string * Added a getOpcode method to replace getInstType * Changed code to use getOpcode instead of getInstType llvm-svn: 152
* Changed the fundemental architecture of Operands for Instructions. NowChris Lattner2001-07-072-14/+11
| | | | | | | | | | | Operands are maintained as a vector<Use> in the User class, and operator iterators are provided as before. Getting an operand no longer requires a virtual function call. WARNING: getOperand(x) where x >= getNumOperands() will now assert instead of returning null! llvm-svn: 149
* Miscellaneous cleanups:Chris Lattner2001-06-272-12/+9
| | | | | | | | | | | * Convert post to pre-increment for for loops * Use generic programming more * Use new Value::cast* instructions * Use new Module, Method, & BasicBlock forwarding methods * Use new facilities in STLExtras.h * Use new Instruction::isPHINode() method llvm-svn: 96
* Renamed get.*Operator to create seeing that it would have to be qualifiedChris Lattner2001-06-251-4/+3
| | | | | | with the classname anyways. llvm-svn: 74
* Updates to supportChris Lattner2001-06-111-13/+18
| | | | | | * Changes in PHI node structure llvm-svn: 25
* Moved getBinaryOperator to the BinaryOperator class and the getUnaryOperatorChris Lattner2001-06-081-3/+4
| | | | | | to the UnaryOperator class (from the Instruction class). llvm-svn: 21
* Initial revisionChris Lattner2001-06-065-0/+1062
llvm-svn: 2
OpenPOWER on IntegriCloud