summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer
Commit message (Collapse)AuthorAgeFilesLines
...
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-4/+4
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* s/MethodType/FunctionTypeChris Lattner2002-04-041-2/+2
| | | | llvm-svn: 2115
* s/Method/FunctionChris Lattner2002-03-292-4/+4
| | | | llvm-svn: 2035
* Change references from Method to FunctionChris Lattner2002-03-261-8/+8
| | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-204-17/+19
| | | | llvm-svn: 1503
* Remove unsized array supportChris Lattner2001-12-141-3/+1
| | | | llvm-svn: 1461
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-042-3/+3
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-033-20/+20
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Move support directoryChris Lattner2001-11-291-1/+1
| | | | llvm-svn: 1401
* Implement internal method supportChris Lattner2001-11-261-4/+6
| | | | llvm-svn: 1374
* Fix obscure nasty bug with bytecode writing that could cause the last byte ↵Chris Lattner2001-11-041-2/+5
| | | | | | to be dropped. llvm-svn: 1123
* Fixed a LONG standing, SCARY problem with bytecode encoding. It turns out ↵Chris Lattner2001-10-231-28/+28
| | | | | | 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 problem with a cast instruction that must be expanded to type 0Chris Lattner2001-10-211-2/+9
| | | | 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-151-2/+2
| | | | | | tired typing that much llvm-svn: 822
* * 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
* * Both Method & GlobalVariable now subclass GlobalValueChris Lattner2001-10-031-4/+6
| | | | | | | | * 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-021-5/+5
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-011-3/+3
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add more support for new style castsChris Lattner2001-10-011-1/+2
| | | | | | 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-301-0/+5
| | | | | | | | writer, and bytecode reader. llvm-svn: 668
* Add support for global constants, and for initializers for constantsChris Lattner2001-09-181-2/+14
| | | | llvm-svn: 598
* ModuleTyID doesn't exist anyymoreChris Lattner2001-09-102-2/+1
| | | | | | Use correct cast llvm-svn: 539
* Implement global variable supportChris Lattner2001-09-101-1/+12
| | | | 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
* * 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 support for extern varargs methods & varargs method callsChris Lattner2001-07-252-4/+57
| | | | llvm-svn: 297
* 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
* * 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-081-5/+14
| | | | llvm-svn: 164
* Neg instruction removed. Cast instruction implemented.Chris Lattner2001-07-081-0/+9
| | | | llvm-svn: 156
* Broad superficial changes:Chris Lattner2001-07-071-7/+7
| | | | | | | | | * 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-072-20/+18
| | | | | | | | | | | 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-271-12/+8
| | | | | | | | | | | * 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
* Initial revisionChris Lattner2001-06-065-0/+601
llvm-svn: 2
OpenPOWER on IntegriCloud