Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge i*.cpp definitions into Instructions.cpp as part of bug403. | Alkis Evlogimenos | 2004-07-29 | 1 | -278/+0 |
| | | | | llvm-svn: 15326 | ||||
* | Merge i*.h headers into Instructions.h as part of bug403. | Alkis Evlogimenos | 2004-07-29 | 1 | -1/+1 |
| | | | | llvm-svn: 15325 | ||||
* | alloca void makes no sense | Chris Lattner | 2004-07-27 | 1 | -0/+1 |
| | | | | llvm-svn: 15262 | ||||
* | Implement new helper methods for creating two-index GEP instructions | Chris Lattner | 2004-07-14 | 1 | -2/+42 |
| | | | | llvm-svn: 14821 | ||||
* | Add much better assertion checking for load and store insts. | Chris Lattner | 2004-07-01 | 1 | -0/+17 |
| | | | | | | Contributed by Vladimir Merzliakov! llvm-svn: 14546 | ||||
* | Add constructors that take a BasicBlock to append to, to the rest of | Alkis Evlogimenos | 2004-05-27 | 1 | -7/+61 |
| | | | | | | the llvm::Instruction hierarchy. llvm-svn: 13800 | ||||
* | Refactor common initialization code in private init() functions. | Alkis Evlogimenos | 2004-05-26 | 1 | -17/+14 |
| | | | | | | | This is a first step in supplying append to basic block constructors for all instruction types. llvm-svn: 13793 | ||||
* | Don't call getForwardedType() twice, as recommended by Chris. | John Criswell | 2004-05-06 | 1 | -2/+2 |
| | | | | llvm-svn: 13391 | ||||
* | Fix for PR#330. | John Criswell | 2004-05-06 | 1 | -0/+8 |
| | | | | | | | | | | | | | When looking at getelementptr instructions, make sure to use a forwarded type. We want to do this because a DerivedType may drop its uses and then refine its users, who may then use another user who hasn't been refined yet. By getting the forwarded type, we always ensure that we're looking at a Type that isn't in a halfway refined state. Now, I should be able to put this stuff in PATypeHandle, but it doesn't work for some reason. This should do for now. llvm-svn: 13386 | ||||
* | Support getelementptr instructions which use uint's to index into structure | Chris Lattner | 2004-04-05 | 1 | -1/+6 |
| | | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653 | ||||
* | Fix indentation. | Misha Brukman | 2004-03-11 | 1 | -2/+2 |
| | | | | llvm-svn: 12298 | ||||
* | Finegrainify namespacification | Chris Lattner | 2003-11-21 | 1 | -1/+0 |
| | | | | llvm-svn: 10131 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+2 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Add support for volatile loads/stores | Chris Lattner | 2003-09-08 | 1 | -3/+19 |
| | | | | llvm-svn: 8393 | ||||
* | Remove assertion which is never reached. | Brian Gaeke | 2003-09-02 | 1 | -1/+0 |
| | | | | llvm-svn: 8318 | ||||
* | Fix bug Regression/Verifier/2002-11-05-GetelementptrPointers.ll | Chris Lattner | 2003-01-14 | 1 | -4/+6 |
| | | | | llvm-svn: 5273 | ||||
* | Change the MallocInst & AllocaInst ctors to take the allocated type, not the | Chris Lattner | 2002-09-13 | 1 | -2/+11 |
| | | | | | | pointer type returned. llvm-svn: 3711 | ||||
* | Allocation insts always have one operand | Chris Lattner | 2002-09-11 | 1 | -2/+1 |
| | | | | llvm-svn: 3677 | ||||
* | Add capability to insert an instruction into a basic block immediately after | Chris Lattner | 2002-09-10 | 1 | -25/+27 |
| | | | | | | | | it is created, as part of the ctor call. Eliminate the GenericBinaryInst class llvm-svn: 3653 | ||||
* | Eliminated the MemAccessInst class, folding contents into GEP class. | Chris Lattner | 2002-08-22 | 1 | -34/+29 |
| | | | | llvm-svn: 3487 | ||||
* | Load and Store now no longer derive from MemAccessInst. Indexing a load or | Chris Lattner | 2002-08-22 | 1 | -27/+3 |
| | | | | | | store is not possible anymore. llvm-svn: 3482 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-24 | 1 | -5/+5 |
| | | | | llvm-svn: 3065 | ||||
* | Replace all usages of Type::isPointerType with isa<PointerType> | Chris Lattner | 2002-05-06 | 1 | -3/+3 |
| | | | | llvm-svn: 2486 | ||||
* | Changes so that iMemory.h doesn't include DerivedTypes.h | Chris Lattner | 2002-04-29 | 1 | -0/+18 |
| | | | | llvm-svn: 2404 | ||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 1 | -1/+1 |
| | | | | llvm-svn: 2378 | ||||
* | Remove gep::isStructSelector | Chris Lattner | 2002-04-18 | 1 | -9/+4 |
| | | | | | | CTor's do not allow names anymore for StoreInst objects llvm-svn: 2285 | ||||
* | * AllocationInst ctor moved here from iMemory.h | Chris Lattner | 2002-03-21 | 1 | -0/+15 |
| | | | | | | * AllocationInst now always has an array size operand llvm-svn: 1939 | ||||
* | Fix isArrayAllocation() to be correct | Chris Lattner | 2002-02-19 | 1 | -0/+6 |
| | | | | llvm-svn: 1779 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -9/+9 |
| | | | | llvm-svn: 1503 | ||||
* | Eliminate function getIndicesBROKEN(). | Vikram S. Adve | 2001-12-15 | 1 | -16/+0 |
| | | | | llvm-svn: 1486 | ||||
* | * Assert that indices are valid for an indexing instruction. | Chris Lattner | 2001-12-14 | 1 | -12/+19 |
| | | | | | | | * Add support for indexing into pointers * Remove support for unsized arrays llvm-svn: 1472 | ||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 1 | -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 | 1 | -5/+7 |
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | ||||
* | Support Array Indexing | Chris Lattner | 2001-11-26 | 1 | -27/+35 |
| | | | | llvm-svn: 1348 | ||||
* | Minor style cleanups | Chris Lattner | 2001-11-13 | 1 | -3/+2 |
| | | | | llvm-svn: 1287 | ||||
* | Implement new simpler constructors for if you don't have a index list | Chris Lattner | 2001-11-01 | 1 | -0/+15 |
| | | | | llvm-svn: 1081 | ||||
* | Cleanup | Chris Lattner | 2001-09-07 | 1 | -2/+1 |
| | | | | llvm-svn: 467 | ||||
* | Remove target specific method from MemAccessInst class | Chris Lattner | 2001-08-27 | 1 | -40/+0 |
| | | | | llvm-svn: 382 | ||||
* | Remove some gross stuff | Chris Lattner | 2001-07-28 | 1 | -6/+3 |
| | | | | llvm-svn: 328 | ||||
* | Provide uniform access to the pointer operand and to the index | Vikram S. Adve | 2001-07-20 | 1 | -8/+51 |
| | | | | | | operands (if any) for different types of MemAccessInst's. llvm-svn: 221 | ||||
* | Add support for assembly printing fp constants | Chris Lattner | 2001-07-15 | 1 | -1/+3 |
| | | | | llvm-svn: 191 | ||||
* | * ValueHolder now takes 3 arguments | Chris Lattner | 2001-07-14 | 1 | -0/+3 |
| | | | | | | | | | * Added a few methods to ConstantPool * ConstPoolVal no longer derives from Value * Method & Module multiply inherit from SymTabValue & Value now * Added a GetElementPtrInst::isStructSelector() method llvm-svn: 184 | ||||
* | Implementation of Store & GetElementPtr | Chris Lattner | 2001-07-08 | 1 | -5/+55 |
| | | | | llvm-svn: 164 | ||||
* | Implemented shl, shl, & load instructions | Chris Lattner | 2001-07-08 | 1 | -0/+47 |
llvm-svn: 161 |