summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/InstructionWriter.cpp
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
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-5/+5
| | | | llvm-svn: 1503
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-2/+2
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* 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
* Fix problem with a cast instruction that must be expanded to type 0Chris Lattner2001-10-211-2/+9
| | | | llvm-svn: 929
* * Use new style casts moreChris Lattner2001-10-131-12/+21
| | | | | | | | * 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
* Add support for new style castsChris Lattner2001-10-011-1/+1
| | | | llvm-svn: 694
* ModuleTyID doesn't exist anyymoreChris Lattner2001-09-101-1/+1
| | | | | | Use correct cast llvm-svn: 539
* * Emit bytecode using a deque instead of a vector to be fasterChris Lattner2001-09-071-11/+12
| | | | | | | | | * 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-251-2/+51
| | | | llvm-svn: 297
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-231-1/+0
| | | | llvm-svn: 279
* 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-071-19/+17
| | | | | | | | | | | 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/+184
llvm-svn: 2
OpenPOWER on IntegriCloud