summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup ConstantExpr handling:Chris Lattner2002-07-301-22/+22
| | | | | | | | | | | | | | * Correctly delete TypeHandles in AsmParser. In addition to not leaking memory, this prevents a bug that could have occurred when a type got resolved that the constexpr was using * Check for errors in the AsmParser instead of hitting assertion failures deep in the code * Simplify the interface to the ConstantExpr class, removing unneccesary parameters to the ::get* methods. * Rename the 'getelementptr' version of ConstantExpr::get to ConstantExpr::getGetElementPtr llvm-svn: 3160
* Break line to fit 80 columnsChris Lattner2002-07-251-1/+2
| | | | llvm-svn: 3083
* *** empty log message ***Chris Lattner2002-07-231-2/+0
| | | | llvm-svn: 3002
* ConstExpr::getelementptr now takes a vector of Constants not ValuesChris Lattner2002-07-181-2/+2
| | | | llvm-svn: 2948
* added std:: to pairAnand Shukla2002-07-161-0/+1
| | | | llvm-svn: 2917
* added std:: to vectorAnand Shukla2002-07-161-2/+2
| | | | llvm-svn: 2916
* Add support for reading ConstantExpr nodes.Vikram S. Adve2002-07-142-38/+112
| | | | | | | Add class ConstantFwdRefs to resolve forward references to constants and to globals. (Hmm... this class could be renamed I guess.) llvm-svn: 2896
* Add support for reading ConstantExpr nodes.Vikram S. Adve2002-07-141-32/+111
| | | | | | | Add class ConstantFwdRefs to resolve forward references to constants and to globals (unified old code for globals into this). llvm-svn: 2895
* Convert tabs to spacesChris Lattner2002-06-301-4/+4
| | | | llvm-svn: 2805
* changes to make it compatible with 64bit gccAnand Shukla2002-06-252-9/+11
| | | | llvm-svn: 2790
* MEGAPATCH checkin.Chris Lattner2002-06-251-3/+2
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
* Fix constness problems now that the cast operators preserve the constnessChris Lattner2002-06-052-5/+5
| | | | | | of their argument llvm-svn: 2758
* Replace all usages of Type::isPointerType with isa<PointerType>Chris Lattner2002-05-062-2/+2
| | | | llvm-svn: 2486
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-292-2/+0
| | | | llvm-svn: 2397
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-282-2/+2
| | | | llvm-svn: 2378
* Remove unneccesary #includeChris Lattner2002-04-281-1/+0
| | | | llvm-svn: 2352
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-1/+2
| | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216
* llvm/Assembly/Writer.h is unneccesary except for extreme outputChris Lattner2002-04-081-2/+1
| | | | | | isLabelType is obsolete llvm-svn: 2176
* 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
OpenPOWER on IntegriCloud