summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode
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-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-233-41/+65
| | | | | | to be an endian problem that only shows up with type 0 instructions in LARGE programs. llvm-svn: 961
* Allow unresolved/opaque types to be read and written to bytecode filesChris Lattner2001-10-231-0/+5
| | | | llvm-svn: 959
* 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-212-5/+16
| | | | llvm-svn: 929
* Dang, we were losing the Constant bit on globals. Fix thisChris Lattner2001-10-181-1/+1
| | | | llvm-svn: 885
* Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get ↵Chris Lattner2001-10-154-9/+9
| | | | | | tired typing that much llvm-svn: 822
* External methods shouldn't have argument listsChris Lattner2001-10-141-0/+4
| | | | llvm-svn: 807
* * Use new style casts moreChris Lattner2001-10-133-25/+41
| | | | | | | | * Add real support for global variable addresses initializing constants * Fix encoding/decoding of VarArgs calls * Support the Invoke instruction llvm-svn: 761
* * 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-035-20/+32
| | | | | | | | * 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-024-21/+21
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-015-26/+25
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add more support for new style castsChris Lattner2001-10-013-6/+6
| | | | | | Convert more code to use them llvm-svn: 695
* Add support for new style castsChris Lattner2001-10-012-2/+2
| | | | llvm-svn: 694
* Implement constant pointers, and null specifically in the parser, bytecode ↵Chris Lattner2001-09-302-1/+17
| | | | | | | | 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-182-4/+31
| | | | llvm-svn: 598
* Fix a bug with not removing method level types after compilationChris Lattner2001-09-141-0/+3
| | | | llvm-svn: 582
* ModuleTyID doesn't exist anyymoreChris Lattner2001-09-102-2/+1
| | | | | | Use correct cast llvm-svn: 539
* getMethodType is now just getTypeChris Lattner2001-09-101-2/+2
| | | | llvm-svn: 538
* Implement global variable supportChris Lattner2001-09-102-3/+32
| | | | llvm-svn: 530
* * Emit bytecode using a deque instead of a vector to be fasterChris Lattner2001-09-074-73/+114
| | | | | | | | | * Internal rep no longer has a constant pool * Support emission of recursive types * Don't output a constant pool for an external method * The bytecode writer is no longer a module analyzer llvm-svn: 449
* * 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
* * Make sure that the size of the type field can also control the outputChris Lattner2001-07-281-0/+6
| | | | | | instruction pattern. llvm-svn: 324
* * 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-254-27/+98
| | | | llvm-svn: 297
* Doh! Wrong accessor. Caused 'can not read bytecode' errors. :(Chris Lattner2001-07-231-1/+1
| | | | llvm-svn: 282
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-232-2/+1
| | | | llvm-svn: 279
* Add support to the bytecode writer to recognize floating point constantsChris Lattner2001-07-151-4/+10
| | | | llvm-svn: 190
* Add support to the bytecode reader to recognize floating point constantsChris Lattner2001-07-151-0/+14
| | | | llvm-svn: 189
* * The parent of a constant pool is a symtabvalue, not a value.Chris Lattner2001-07-141-1/+1
| | | | llvm-svn: 181
* Implementation of Store & GetElementPtrChris Lattner2001-07-082-7/+49
| | | | 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-082-0/+13
| | | | 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-072-8/+8
| | | | | | | | | * 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-074-34/+29
| | | | | | | | | | | 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-273-24/+17
| | | | | | | | | | | * 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
* Convert ugly postincrement to efficient preincrementChris Lattner2001-06-271-2/+2
| | | | llvm-svn: 89
* 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-0611-0/+1668
llvm-svn: 2
OpenPOWER on IntegriCloud