summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/InstructionWriter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* * 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