summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/ReaderInternals.h
Commit message (Collapse)AuthorAgeFilesLines
* Dang it, do NOT check in code that enables debugging. Bad chrisChris Lattner2001-10-241-1/+1
| | | | llvm-svn: 972
* Changes to get some meaningful feedback from the bytecode reader. At some ↵Chris Lattner2001-10-241-1/+5
| | | | | | point this stuff should all be exception driven, but for now it is not. llvm-svn: 970
* Oops, didn't mean to check in enabled debugging support. :(Chris Lattner2001-10-231-1/+1
| | | | llvm-svn: 962
* Fixed a LONG standing, SCARY problem with bytecode encoding. It turns out ↵Chris Lattner2001-10-231-1/+1
| | | | | | to be an endian problem that only shows up with type 0 instructions in LARGE programs. llvm-svn: 961
* Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get ↵Chris Lattner2001-10-151-1/+1
| | | | | | tired typing that much llvm-svn: 822
* * Add real support for global variable addresses initializing constantsChris Lattner2001-10-131-1/+17
| | | | | | | | | * Add minor optimization to BytecodeParser::refineAbstractType * MethodType::get now take an explicit isVarArg parameter * Fix encoding/decoding of VarArgs calls * Support the Invoke instruction llvm-svn: 760
* * Both Method & GlobalVariable now subclass GlobalValueChris Lattner2001-10-031-1/+1
| | | | | | | | * 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
* Convert more code to use new style castsChris Lattner2001-10-011-2/+1
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Pull iterators out of CFG.h and CFGdecls and put them in Support directoryChris Lattner2001-09-281-0/+1
| | | | llvm-svn: 664
* * Remove support for internal constant poolChris Lattner2001-09-071-9/+30
| | | | | | | | | | * 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-281-0/+9
| | | | | | | why bytecode parsing is failing. Just put a breakpoint in the failure templates. llvm-svn: 323
* 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-071-7/+0
| | | | | | | | | | | 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
* Initial revisionChris Lattner2001-06-061-0/+146
llvm-svn: 2
OpenPOWER on IntegriCloud