Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to | Chris Lattner | 2002-10-13 | 1 | -2/+2 |
| | | | | | | reflect the fact that it's a range being defined. llvm-svn: 4147 | ||||
* | Change the MallocInst & AllocaInst ctors to take the allocated type, not the | Chris Lattner | 2002-09-13 | 1 | -2/+8 |
| | | | | | | pointer type returned. llvm-svn: 3711 | ||||
* | Eliminated the MemAccessInst class, folding contents into GEP class. | Chris Lattner | 2002-08-22 | 1 | -4/+4 |
| | | | | llvm-svn: 3487 | ||||
* | Load & StoreInst no longer derive from MemAccessInst, so we don't have | Chris Lattner | 2002-08-22 | 1 | -1/+1 |
| | | | | | | to handle indexing anymore llvm-svn: 3485 | ||||
* | Emit an obnoxious warning message for bytecode that includes load/store | Chris Lattner | 2002-08-21 | 1 | -8/+30 |
| | | | | | | | instructions that use indexing. Convert them transparently into a pair of instructions. llvm-svn: 3431 | ||||
* | - Finally nailed: test/Regression/Assembler/2002-08-16-ConstExprInlined.llx | Chris Lattner | 2002-08-17 | 1 | -59/+58 |
| | | | | | | | | | | | | | | - ParseConstantPool was resolving reference to value using the function slot # instead of the global slot #. - Bytecode reader changes: - Remove the failure<> template from Bytecode Reader - Remove extraneous #includes - s/method/function/ a bit - Eliminate the fwdRefs class that just added abstraction where it was not needed, making things more complex. - Use a vector instead of a list for function signatures. llvm-svn: 3366 | ||||
* | Remove support for Not ConstantExpr. This simplifies the unary case to only | Chris Lattner | 2002-08-14 | 1 | -7/+2 |
| | | | | | | have to support the cast instruction, so the function is renamed to getCast. llvm-svn: 3328 | ||||
* | Fix constness problems now that the cast operators preserve the constness | Chris Lattner | 2002-06-05 | 1 | -4/+4 |
| | | | | | | of their argument llvm-svn: 2758 | ||||
* | Replace all usages of Type::isPointerType with isa<PointerType> | Chris Lattner | 2002-05-06 | 1 | -1/+1 |
| | | | | llvm-svn: 2486 | ||||
* | s/MethodType/FunctionType | Chris Lattner | 2002-04-04 | 1 | -6/+6 |
| | | | | llvm-svn: 2115 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -2/+5 |
| | | | | llvm-svn: 1503 | ||||
* | Add pointer indexing support | Chris Lattner | 2001-12-14 | 1 | -9/+12 |
| | | | | llvm-svn: 1460 | ||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 1 | -4/+4 |
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408 | ||||
* | Rename ConstPoolVal -> Constant | Chris Lattner | 2001-12-03 | 1 | -1/+1 |
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | ||||
* | Split the PHINode class out from the iOther.h file into the iPHINode.h file | Chris Lattner | 2001-12-03 | 1 | -3/+3 |
| | | | | llvm-svn: 1405 | ||||
* | Implement array indexing | Chris Lattner | 2001-11-26 | 1 | -26/+47 |
| | | | | llvm-svn: 1337 | ||||
* | Remove debug info :( | Chris Lattner | 2001-11-12 | 1 | -3/+1 |
| | | | | llvm-svn: 1280 | ||||
* | Fix bug in new assertion | Chris Lattner | 2001-11-12 | 1 | -4/+7 |
| | | | | llvm-svn: 1279 | ||||
* | Add an assertion check | Chris Lattner | 2001-11-12 | 1 | -0/+2 |
| | | | | llvm-svn: 1276 | ||||
* | Fixed a LONG standing, SCARY problem with bytecode encoding. It turns out ↵ | Chris Lattner | 2001-10-23 | 1 | -12/+36 |
| | | | | | | 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 0 | Chris Lattner | 2001-10-21 | 1 | -3/+7 |
| | | | | llvm-svn: 929 | ||||
* | * Add real support for global variable addresses initializing constants | Chris Lattner | 2001-10-13 | 1 | -12/+71 |
| | | | | | | | | | * Add minor optimization to BytecodeParser::refineAbstractType * MethodType::get now take an explicit isVarArg parameter * Fix encoding/decoding of VarArgs calls * Support the Invoke instruction llvm-svn: 760 | ||||
* | * Both Method & GlobalVariable now subclass GlobalValue | Chris Lattner | 2001-10-03 | 1 | -2/+2 |
| | | | | | | | | * 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 | -11/+11 |
| | | | | llvm-svn: 697 | ||||
* | Convert more code to use new style casts | Chris Lattner | 2001-10-01 | 1 | -14/+14 |
| | | | | | | Eliminate old style casts from value.h llvm-svn: 696 | ||||
* | getMethodType is now just getType | Chris Lattner | 2001-09-10 | 1 | -2/+2 |
| | | | | llvm-svn: 538 | ||||
* | * Remove support for internal constant pool | Chris Lattner | 2001-09-07 | 1 | -1/+1 |
| | | | | | | | | | | * Support globally unique constants * Support recursive and forward referenced types * Support abstract types * Add new BCR_TRACE macro to enable debugging of why the bytecode reader occasionally refuses to read something llvm-svn: 448 | ||||
* | * Add calls to failure template so that it is actually possible to debug | Chris Lattner | 2001-07-28 | 1 | -38/+37 |
| | | | | | | | why bytecode parsing is failing. Just put a breakpoint in the failure templates. llvm-svn: 323 | ||||
* | Add support for extern varargs methods & varargs method calls | Chris Lattner | 2001-07-25 | 1 | -18/+36 |
| | | | | llvm-svn: 297 | ||||
* | Implementation of Store & GetElementPtr | Chris Lattner | 2001-07-08 | 1 | -2/+35 |
| | | | | llvm-svn: 164 | ||||
* | Implemented shl, shl, & load instructions | Chris Lattner | 2001-07-08 | 1 | -16/+71 |
| | | | | llvm-svn: 161 | ||||
* | Moved Cast from being a Unary instruction to being an "Other" instruction | Chris Lattner | 2001-07-08 | 1 | -2/+1 |
| | | | | llvm-svn: 160 | ||||
* | Neg instruction removed. Cast instruction implemented. | Chris Lattner | 2001-07-08 | 1 | -0/+4 |
| | | | | llvm-svn: 156 | ||||
* | Convert BinaryOperand and UnaryOperator to only take instruction types of | Chris Lattner | 2001-07-07 | 1 | -3/+5 |
| | | | | | | the appropriate enum llvm-svn: 153 | ||||
* | Changed the fundemental architecture of Operands for Instructions. Now | Chris Lattner | 2001-07-07 | 1 | -7/+11 |
| | | | | | | | | | | | 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 | ||||
* | Renamed get.*Operator to create seeing that it would have to be qualified | Chris Lattner | 2001-06-25 | 1 | -4/+3 |
| | | | | | | with the classname anyways. llvm-svn: 74 | ||||
* | Updates to support | Chris Lattner | 2001-06-11 | 1 | -13/+18 |
| | | | | | | * Changes in PHI node structure llvm-svn: 25 | ||||
* | Moved getBinaryOperator to the BinaryOperator class and the getUnaryOperator | Chris Lattner | 2001-06-08 | 1 | -3/+4 |
| | | | | | | to the UnaryOperator class (from the Instruction class). llvm-svn: 21 | ||||
* | Initial revision | Chris Lattner | 2001-06-06 | 1 | -0/+213 |
llvm-svn: 2 |