Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't keep track of # big vs #small instructions seperately | Chris Lattner | 2003-01-21 | 1 | -8/+3 |
| | | | | llvm-svn: 5385 | ||||
* | - Eliminated the deferred symbol table stuff in Module & Function, it really | Chris Lattner | 2002-11-20 | 1 | -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 Lattner | 2002-10-14 | 1 | -10/+10 |
| | | | | llvm-svn: 4162 | ||||
* | Updates to work with recent Statistic's changes: | Chris Lattner | 2002-10-01 | 2 | -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 Brukman | 2002-09-14 | 1 | -2/+0 |
| | | | | llvm-svn: 3715 | ||||
* | Cleanup ConstantExpr handling: | Chris Lattner | 2002-07-30 | 1 | -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 Lattner | 2002-07-26 | 2 | -0/+17 |
| | | | | llvm-svn: 3105 | ||||
* | Register the WriteBytecodePass | Chris Lattner | 2002-07-23 | 1 | -0/+5 |
| | | | | llvm-svn: 3033 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-23 | 1 | -3/+0 |
| | | | | llvm-svn: 3002 | ||||
* | Add support for writing ConstantExpr nodes. | Vikram S. Adve | 2002-07-14 | 1 | -1/+23 |
| | | | | llvm-svn: 2899 | ||||
* | Write out the plane for types first, since values of primitive types | Vikram S. Adve | 2002-07-14 | 1 | -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. Adve | 2002-07-14 | 1 | -0/+2 |
| | | | | llvm-svn: 2897 | ||||
* | changes to make it compatible with 64bit gcc | Anand Shukla | 2002-06-25 | 1 | -1/+1 |
| | | | | llvm-svn: 2790 | ||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 3 | -42/+38 |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778 | ||||
* | Fix constness problem | Chris Lattner | 2002-06-05 | 1 | -2/+2 |
| | | | | llvm-svn: 2759 | ||||
* | Replace all usages of Type::isPointerType with isa<PointerType> | Chris Lattner | 2002-05-06 | 1 | -1/+1 |
| | | | | llvm-svn: 2486 | ||||
* | Eliminate duplicate or unneccesary #include's | Chris Lattner | 2002-04-29 | 2 | -2/+0 |
| | | | | llvm-svn: 2397 | ||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 2 | -5/+4 |
| | | | | llvm-svn: 2378 | ||||
* | Make debugging code not use getStrValue | Chris Lattner | 2002-04-18 | 1 | -2/+1 |
| | | | | llvm-svn: 2295 | ||||
* | Move FunctionArgument out of iOther.h into Argument.h and rename class to | Chris Lattner | 2002-04-09 | 1 | -1/+1 |
| | | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216 | ||||
* | s/method/function | Chris Lattner | 2002-04-08 | 1 | -1/+1 |
| | | | | llvm-svn: 2177 | ||||
* | * Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.h | Chris Lattner | 2002-04-07 | 2 | -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 Function | Chris Lattner | 2002-04-07 | 1 | -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/FunctionType | Chris Lattner | 2002-04-04 | 1 | -2/+2 |
| | | | | llvm-svn: 2115 | ||||
* | s/Method/Function | Chris Lattner | 2002-03-29 | 2 | -4/+4 |
| | | | | llvm-svn: 2035 | ||||
* | Change references from Method to Function | Chris Lattner | 2002-03-26 | 1 | -8/+8 |
| | | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 4 | -17/+19 |
| | | | | llvm-svn: 1503 | ||||
* | Remove unsized array support | Chris Lattner | 2001-12-14 | 1 | -3/+1 |
| | | | | llvm-svn: 1461 | ||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 2 | -3/+3 |
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408 | ||||
* | Rename ConstPoolVal -> Constant | Chris Lattner | 2001-12-03 | 3 | -20/+20 |
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | ||||
* | Move support directory | Chris Lattner | 2001-11-29 | 1 | -1/+1 |
| | | | | llvm-svn: 1401 | ||||
* | Implement internal method support | Chris Lattner | 2001-11-26 | 1 | -4/+6 |
| | | | | llvm-svn: 1374 | ||||
* | Fix obscure nasty bug with bytecode writing that could cause the last byte ↵ | Chris Lattner | 2001-11-04 | 1 | -2/+5 |
| | | | | | | to be dropped. llvm-svn: 1123 | ||||
* | Fixed a LONG standing, SCARY problem with bytecode encoding. It turns out ↵ | Chris Lattner | 2001-10-23 | 1 | -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 files | Chris Lattner | 2001-10-23 | 1 | -0/+5 |
| | | | | llvm-svn: 959 | ||||
* | Fix problem with a cast instruction that must be expanded to type 0 | Chris Lattner | 2001-10-21 | 1 | -2/+9 |
| | | | | llvm-svn: 929 | ||||
* | Dang, we were losing the Constant bit on globals. Fix this | Chris Lattner | 2001-10-18 | 1 | -1/+1 |
| | | | | llvm-svn: 885 | ||||
* | Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get ↵ | Chris Lattner | 2001-10-15 | 1 | -2/+2 |
| | | | | | | tired typing that much llvm-svn: 822 | ||||
* | * Use new style casts more | Chris Lattner | 2001-10-13 | 3 | -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 GlobalValue | Chris Lattner | 2001-10-03 | 1 | -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 style | Chris Lattner | 2001-10-02 | 1 | -5/+5 |
| | | | | llvm-svn: 697 | ||||
* | Convert more code to use new style casts | Chris Lattner | 2001-10-01 | 1 | -3/+3 |
| | | | | | | Eliminate old style casts from value.h llvm-svn: 696 | ||||
* | Add more support for new style casts | Chris Lattner | 2001-10-01 | 1 | -1/+2 |
| | | | | | | Convert more code to use them llvm-svn: 695 | ||||
* | Add support for new style casts | Chris Lattner | 2001-10-01 | 2 | -2/+2 |
| | | | | llvm-svn: 694 | ||||
* | Implement constant pointers, and null specifically in the parser, bytecode ↵ | Chris Lattner | 2001-09-30 | 1 | -0/+5 |
| | | | | | | | | writer, and bytecode reader. llvm-svn: 668 | ||||
* | Add support for global constants, and for initializers for constants | Chris Lattner | 2001-09-18 | 1 | -2/+14 |
| | | | | llvm-svn: 598 | ||||
* | ModuleTyID doesn't exist anyymore | Chris Lattner | 2001-09-10 | 2 | -2/+1 |
| | | | | | | Use correct cast llvm-svn: 539 | ||||
* | Implement global variable support | Chris Lattner | 2001-09-10 | 1 | -1/+12 |
| | | | | llvm-svn: 530 | ||||
* | * Emit bytecode using a deque instead of a vector to be faster | Chris Lattner | 2001-09-07 | 4 | -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 output | Chris Lattner | 2001-07-28 | 1 | -0/+6 |
| | | | | | | instruction pattern. llvm-svn: 324 |