summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/iMemory.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge i*.cpp definitions into Instructions.cpp as part of bug403.Alkis Evlogimenos2004-07-291-278/+0
| | | | llvm-svn: 15326
* Merge i*.h headers into Instructions.h as part of bug403.Alkis Evlogimenos2004-07-291-1/+1
| | | | llvm-svn: 15325
* alloca void makes no senseChris Lattner2004-07-271-0/+1
| | | | llvm-svn: 15262
* Implement new helper methods for creating two-index GEP instructionsChris Lattner2004-07-141-2/+42
| | | | llvm-svn: 14821
* Add much better assertion checking for load and store insts.Chris Lattner2004-07-011-0/+17
| | | | | | Contributed by Vladimir Merzliakov! llvm-svn: 14546
* Add constructors that take a BasicBlock to append to, to the rest ofAlkis Evlogimenos2004-05-271-7/+61
| | | | | | the llvm::Instruction hierarchy. llvm-svn: 13800
* Refactor common initialization code in private init() functions.Alkis Evlogimenos2004-05-261-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 Criswell2004-05-061-2/+2
| | | | llvm-svn: 13391
* Fix for PR#330.John Criswell2004-05-061-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 structureChris Lattner2004-04-051-1/+6
| | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653
* Fix indentation.Misha Brukman2004-03-111-2/+2
| | | | llvm-svn: 12298
* Finegrainify namespacificationChris Lattner2003-11-211-1/+0
| | | | llvm-svn: 10131
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+2
| | | | 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
* Add support for volatile loads/storesChris Lattner2003-09-081-3/+19
| | | | llvm-svn: 8393
* Remove assertion which is never reached.Brian Gaeke2003-09-021-1/+0
| | | | llvm-svn: 8318
* Fix bug Regression/Verifier/2002-11-05-GetelementptrPointers.llChris Lattner2003-01-141-4/+6
| | | | llvm-svn: 5273
* Change the MallocInst & AllocaInst ctors to take the allocated type, not theChris Lattner2002-09-131-2/+11
| | | | | | pointer type returned. llvm-svn: 3711
* Allocation insts always have one operandChris Lattner2002-09-111-2/+1
| | | | llvm-svn: 3677
* Add capability to insert an instruction into a basic block immediately afterChris Lattner2002-09-101-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 Lattner2002-08-221-34/+29
| | | | llvm-svn: 3487
* Load and Store now no longer derive from MemAccessInst. Indexing a load orChris Lattner2002-08-221-27/+3
| | | | | | store is not possible anymore. llvm-svn: 3482
* *** empty log message ***Chris Lattner2002-07-241-5/+5
| | | | llvm-svn: 3065
* Replace all usages of Type::isPointerType with isa<PointerType>Chris Lattner2002-05-061-3/+3
| | | | llvm-svn: 2486
* Changes so that iMemory.h doesn't include DerivedTypes.hChris Lattner2002-04-291-0/+18
| | | | llvm-svn: 2404
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2378
* Remove gep::isStructSelectorChris Lattner2002-04-181-9/+4
| | | | | | CTor's do not allow names anymore for StoreInst objects llvm-svn: 2285
* * AllocationInst ctor moved here from iMemory.hChris Lattner2002-03-211-0/+15
| | | | | | * AllocationInst now always has an array size operand llvm-svn: 1939
* Fix isArrayAllocation() to be correctChris Lattner2002-02-191-0/+6
| | | | llvm-svn: 1779
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-9/+9
| | | | llvm-svn: 1503
* Eliminate function getIndicesBROKEN().Vikram S. Adve2001-12-151-16/+0
| | | | llvm-svn: 1486
* * Assert that indices are valid for an indexing instruction.Chris Lattner2001-12-141-12/+19
| | | | | | | * Add support for indexing into pointers * Remove support for unsized arrays llvm-svn: 1472
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-3/+3
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-5/+7
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Support Array IndexingChris Lattner2001-11-261-27/+35
| | | | llvm-svn: 1348
* Minor style cleanupsChris Lattner2001-11-131-3/+2
| | | | llvm-svn: 1287
* Implement new simpler constructors for if you don't have a index listChris Lattner2001-11-011-0/+15
| | | | llvm-svn: 1081
* CleanupChris Lattner2001-09-071-2/+1
| | | | llvm-svn: 467
* Remove target specific method from MemAccessInst classChris Lattner2001-08-271-40/+0
| | | | llvm-svn: 382
* Remove some gross stuffChris Lattner2001-07-281-6/+3
| | | | llvm-svn: 328
* Provide uniform access to the pointer operand and to the indexVikram S. Adve2001-07-201-8/+51
| | | | | | operands (if any) for different types of MemAccessInst's. llvm-svn: 221
* Add support for assembly printing fp constantsChris Lattner2001-07-151-1/+3
| | | | llvm-svn: 191
* * ValueHolder now takes 3 argumentsChris Lattner2001-07-141-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 & GetElementPtrChris Lattner2001-07-081-5/+55
| | | | llvm-svn: 164
* Implemented shl, shl, & load instructionsChris Lattner2001-07-081-0/+47
llvm-svn: 161
OpenPOWER on IntegriCloud