summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/ReaderInternals.h
Commit message (Collapse)AuthorAgeFilesLines
...
* s/Method/Function in variable and method namesChris Lattner2003-03-061-2/+2
| | | | llvm-svn: 5715
* Continue simplifying error handling, s/method/functionChris Lattner2003-03-061-3/+3
| | | | llvm-svn: 5714
* There is no way to guarantee that constants are not forward referenced.Chris Lattner2002-10-141-0/+1
| | | | | | | | Handle forward referenced constants in a general way. This fixes bug: Assembler/2002-10-13-ConstantEncodingProblem.llx and allows the SPEC 197.parser benchmark to be built llvm-svn: 4161
* Emit an obnoxious warning message for bytecode that includes load/storeChris Lattner2002-08-211-1/+2
| | | | | | | instructions that use indexing. Convert them transparently into a pair of instructions. llvm-svn: 3431
* - Finally nailed: test/Regression/Assembler/2002-08-16-ConstExprInlined.llxChris Lattner2002-08-171-70/+33
| | | | | | | | | | | | | | - ParseConstantPool was resolving reference to value using the function slot # instead of the global slot #. - Bytecode reader changes: - Remove the failure<> template from Bytecode Reader - Remove extraneous #includes - s/method/function/ a bit - Eliminate the fwdRefs class that just added abstraction where it was not needed, making things more complex. - Use a vector instead of a list for function signatures. llvm-svn: 3366
* Add support for reading ConstantExpr nodes.Vikram S. Adve2002-07-141-13/+53
| | | | | | | Add class ConstantFwdRefs to resolve forward references to constants and to globals. (Hmm... this class could be renamed I guess.) llvm-svn: 2896
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-3/+4
| | | | llvm-svn: 2790
* Remove unneccesary #includeChris Lattner2002-04-281-1/+0
| | | | llvm-svn: 2352
* llvm/Assembly/Writer.h is unneccesary except for extreme outputChris Lattner2002-04-081-2/+1
| | | | | | isLabelType is obsolete llvm-svn: 2176
* Add debug supportChris Lattner2002-04-041-0/+4
| | | | llvm-svn: 2105
* s/Method/FunctionChris Lattner2002-03-291-6/+6
| | | | llvm-svn: 2035
* Rename Method to FunctionChris Lattner2002-03-231-6/+0
| | | | llvm-svn: 1957
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-121-0/+1
| | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h llvm-svn: 1746
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-13/+13
| | | | llvm-svn: 1503
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-3/+3
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Split the PHINode class out from the iOther.h file into the iPHINode.h fileChris Lattner2001-12-031-0/+1
| | | | llvm-svn: 1405
* Implement internal method supportChris Lattner2001-11-261-1/+1
| | | | llvm-svn: 1374
* 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