summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/InstructionWriter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner2004-06-171-2/+2
| | | | llvm-svn: 14201
* Implement support for a new LLVM 1.3 bytecode format, which uses uint'sChris Lattner2004-04-051-77/+129
| | | | | | | to index into structure types and allows arbitrary 32- and 64-bit integer types to index into sequential types. llvm-svn: 12651
* Write select instructions to bytecodeChris Lattner2004-03-121-1/+2
| | | | llvm-svn: 12315
* Remove all of the annoying statistics now that I'm finished (for the nearChris Lattner2004-02-011-37/+0
| | | | | | term) working on bytecode size stuff. llvm-svn: 11046
* Add support for writing bytecode files with compactiontables for bytecode files.Chris Lattner2004-01-181-4/+3
| | | | | | | | This shrinks the bytecode file for 176.gcc by about 200K (10%), and 254.gap by about 167K, a 25% reduction. There is still a lot of room for improvement in the encoding of the compaction table. llvm-svn: 10915
* Ok, I can't handle it. This is a temporary checkin of a ton of statistics thatChris Lattner2004-01-141-0/+34
| | | | | | | i'm using in my work to reduce the bytecode file sizes. These will eventually be removed. llvm-svn: 10849
* Finegrainify namespacificationChris Lattner2004-01-101-3/+1
| | | | llvm-svn: 10737
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Updated to emit the final 1.0 bytecode format. This supports weak linkage,Chris Lattner2003-10-181-20/+38
| | | | | | more efficient encoding of varargs calls, and the new varargs intrinsics. llvm-svn: 9221
* Eliminate some extraneous code in SlotCalculator::insertVal().Alkis Evlogimenos2003-10-171-8/+8
| | | | | | | | | Rename SlotCalculator::getValSlot() to SlotCalculator::getSlot(), SlotCalculator::insertValue() to SlotCalculator::getOrCreateSlot(), SlotCalculator::insertVal() to SlotCalculator::insertValue(), and SlotCalculator::doInsertVal() to SlotCalculator::doInsertValue(). llvm-svn: 9190
* Regularize header file commentsChris Lattner2003-10-131-5/+1
| | | | llvm-svn: 9071
* Fixed spelling and grammar.Misha Brukman2003-09-111-2/+2
| | | | llvm-svn: 8489
* Add support for writing volatile load/storesChris Lattner2003-09-081-22/+22
| | | | llvm-svn: 8394
* Add support for the new va_arg instructionChris Lattner2003-05-081-4/+4
| | | | llvm-svn: 6029
* Don't keep track of # big vs #small instructions seperatelyChris Lattner2003-01-211-8/+3
| | | | llvm-svn: 5385
* Updates to work with recent Statistic's changes:Chris Lattner2002-10-011-3/+3
| | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002
* On the quest of eliminating unnecessary includes.Misha Brukman2002-09-141-2/+0
| | | | llvm-svn: 3715
* *** empty log message ***Chris Lattner2002-07-261-0/+11
| | | | llvm-svn: 3105
* MEGAPATCH checkin.Chris Lattner2002-06-251-17/+17
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
* Fix constness problemChris Lattner2002-06-051-2/+2
| | | | llvm-svn: 2759
* Replace all usages of Type::isPointerType with isa<PointerType>Chris Lattner2002-05-061-1/+1
| | | | llvm-svn: 2486
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | llvm-svn: 2397
* 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