summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader
Commit message (Collapse)AuthorAgeFilesLines
* Enable better debug output. When debugging the type system, print out theChris Lattner2002-04-071-1/+3
| | | | | | type tables after reading a bytecode file to make sure they are ok llvm-svn: 2126
* s/MethodType/FunctionTypeChris Lattner2002-04-041-6/+6
| | | | llvm-svn: 2115
* Add debug supportChris Lattner2002-04-041-0/+4
| | | | llvm-svn: 2105
* s/Method/FunctionChris Lattner2002-03-293-24/+24
| | | | llvm-svn: 2035
* Change references from Method to FunctionChris Lattner2002-03-261-4/+4
| | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991
* 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
* Chuck fixed the GCC problems so this hack is now unneccesaryChris Lattner2002-01-211-1/+0
| | | | llvm-svn: 1519
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-204-37/+45
| | | | llvm-svn: 1503
* Remove unsized array supportChris Lattner2001-12-141-6/+3
| | | | llvm-svn: 1461
* Add pointer indexing supportChris Lattner2001-12-141-9/+12
| | | | llvm-svn: 1460
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-043-9/+9
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-034-40/+39
| | | | | | | 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-034-7/+7
| | | | llvm-svn: 1405
* Implement internal method supportChris Lattner2001-11-263-6/+12
| | | | llvm-svn: 1374
* Implement array indexingChris Lattner2001-11-261-26/+47
| | | | llvm-svn: 1337
* Remove debug info :(Chris Lattner2001-11-121-3/+1
| | | | llvm-svn: 1280
* Fix bug in new assertionChris Lattner2001-11-121-4/+7
| | | | llvm-svn: 1279
* Add an assertion checkChris Lattner2001-11-121-0/+2
| | | | llvm-svn: 1276
* I don't know what I was thinkingChris Lattner2001-11-121-1/+1
| | | | llvm-svn: 1275
* Fix major bugs in type resolutionChris Lattner2001-11-031-2/+8
| | | | llvm-svn: 1092
* Frivolous cleanupsChris Lattner2001-10-241-18/+16
| | | | llvm-svn: 973
* 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-242-18/+56
| | | | | | 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-232-13/+37
| | | | | | to be an endian problem that only shows up with type 0 instructions in LARGE programs. llvm-svn: 961
* Fix another annoying bug that took forever to track down. This one involves ↵Chris Lattner2001-10-231-0/+5
| | | | | | abstract type resolution at a bad time that broke symbol tables. llvm-svn: 958
* Fix problem with a cast instruction that must be expanded to type 0Chris Lattner2001-10-211-3/+7
| | | | llvm-svn: 929
* Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get ↵Chris Lattner2001-10-153-7/+7
| | | | | | tired typing that much llvm-svn: 822
* External methods shouldn't have argument listsChris Lattner2001-10-141-0/+4
| | | | llvm-svn: 807
* * Add real support for global variable addresses initializing constantsChris Lattner2001-10-134-49/+207
| | | | | | | | | * 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
* Rename getNullPointer to getNullChris Lattner2001-10-031-1/+1
| | | | llvm-svn: 708
* * 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
OpenPOWER on IntegriCloud