summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer
Commit message (Collapse)AuthorAgeFilesLines
* Don't keep track of # big vs #small instructions seperatelyChris Lattner2003-01-211-8/+3
| | | | llvm-svn: 5385
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-201-4/+2
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* Clean up code a bit, no functionality changes.Chris Lattner2002-10-141-10/+10
| | | | llvm-svn: 4162
* Updates to work with recent Statistic's changes:Chris Lattner2002-10-012-5/+5
| | | | | | | | | | | | * 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
* Cleanup ConstantExpr handling:Chris Lattner2002-07-301-3/+4
| | | | | | | | | | | | | | * Correctly delete TypeHandles in AsmParser. In addition to not leaking memory, this prevents a bug that could have occurred when a type got resolved that the constexpr was using * Check for errors in the AsmParser instead of hitting assertion failures deep in the code * Simplify the interface to the ConstantExpr class, removing unneccesary parameters to the ::get* methods. * Rename the 'getelementptr' version of ConstantExpr::get to ConstantExpr::getGetElementPtr llvm-svn: 3161
* *** empty log message ***Chris Lattner2002-07-262-0/+17
| | | | llvm-svn: 3105
* Register the WriteBytecodePassChris Lattner2002-07-231-0/+5
| | | | llvm-svn: 3033
* *** empty log message ***Chris Lattner2002-07-231-3/+0
| | | | llvm-svn: 3002
* Add support for writing ConstantExpr nodes.Vikram S. Adve2002-07-141-1/+23
| | | | llvm-svn: 2899
* Write out the plane for types first, since values of primitive typesVikram S. Adve2002-07-141-35/+57
| | | | | | | | | may be constructed by expressions of other types (and so the contents of the primitive type planes must come after all types). Use a helper function outputConstantsInPlane in outputConstants to do this. llvm-svn: 2898
* Use a helper function outputConstantsInPlane in outputConstants.Vikram S. Adve2002-07-141-0/+2
| | | | llvm-svn: 2897
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-1/+1
| | | | llvm-svn: 2790
* MEGAPATCH checkin.Chris Lattner2002-06-253-42/+38
| | | | | | 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-292-2/+0
| | | | llvm-svn: 2397
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-282-5/+4
| | | | llvm-svn: 2378
* Make debugging code not use getStrValueChris Lattner2002-04-181-2/+1
| | | | llvm-svn: 2295
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-1/+1
| | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216
* s/method/functionChris Lattner2002-04-081-1/+1
| | | | llvm-svn: 2177
* * Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.hChris Lattner2002-04-072-14/+11
| | | | | | | because the slot calculator is already part of the VMCore library. * Rename incorporateMethod and purgeMethod to *Function llvm-svn: 2154
* 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
OpenPOWER on IntegriCloud