summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instructions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* VMCore support for the insertelement operation.Robert Bocchino2006-01-171-2/+23
| | | | llvm-svn: 25408
* Added support for the extractelement operation.Robert Bocchino2006-01-101-0/+21
| | | | llvm-svn: 25181
* Get logical operations to like packed types, allow BinOp::getNot to createChris Lattner2005-12-211-6/+16
| | | | | | the right vector of -1's as its operand. llvm-svn: 24906
* verify that alignments are always a power of 2Chris Lattner2005-11-051-0/+2
| | | | llvm-svn: 24200
* Add support alignment of allocation instructions.Nate Begeman2005-11-051-6/+6
| | | | | | | | | Add support for specifying alignment and size of setjmp jmpbufs. No targets currently do anything with this information, nor is it presrved in the bytecode representation. That's coming up next. llvm-svn: 24196
* PHINode::hasConstantValue should never return the PHI itself, even if theChris Lattner2005-08-051-2/+5
| | | | | | PHI is its only operand. llvm-svn: 22676
* Invoke instructions do not dominate all successorsChris Lattner2005-08-051-1/+2
| | | | llvm-svn: 22671
* Use the bool argument to hasConstantValue to decide whether the client isChris Lattner2005-08-051-2/+14
| | | | | | | | prepared to deal with return values that do not dominate the PHI. If we cannot prove that the result dominates the PHI node, do not return it if the client can't cope. llvm-svn: 22669
* Mark hasConstantValue as a const methodChris Lattner2005-08-051-1/+1
| | | | llvm-svn: 22666
* Add an extra parameter that Chris requestedNate Begeman2005-08-041-1/+1
| | | | llvm-svn: 22665
* Fix a fixme in CondPropagate.cpp by moving a PhiNode optimization intoNate Begeman2005-08-041-0/+30
| | | | | | | | BasicBlock's removePredecessor routine. This requires shuffling around the definition and implementation of hasContantValue from Utils.h,cpp into Instructions.h,cpp llvm-svn: 22664
* core changes for varargsAndrew Lenharth2005-06-181-1/+0
| | | | llvm-svn: 22254
* add support for explicit calling conventionsChris Lattner2005-05-061-1/+16
| | | | llvm-svn: 21746
* Add a 'tail' marker for call instructions, patch contributed byChris Lattner2005-05-061-0/+1
| | | | | | Alexander Friedman. llvm-svn: 21722
* fix a bug in the 1 index GEP handling codeChris Lattner2005-05-031-1/+1
| | | | llvm-svn: 21670
* add direct support for making GEP instrs with one indexChris Lattner2005-05-031-0/+31
| | | | llvm-svn: 21665
* Allow these methods to take a generic Value* to simplify clients. UseChris Lattner2005-04-241-11/+12
| | | | | | const_cast instead of c casts. llvm-svn: 21493
* Remove trailing whitespaceMisha Brukman2005-04-211-40/+40
| | | | llvm-svn: 21427
* Convert tabs to spacesMisha Brukman2005-03-161-5/+5
| | | | llvm-svn: 20638
* switch instructions only allow constantints for their values, be more specific.Chris Lattner2005-02-241-1/+1
| | | | llvm-svn: 20298
* Instead of initializing the volatile field, use accessors to set it.Chris Lattner2005-02-051-11/+16
| | | | llvm-svn: 20045
* Make sure that we always grow a multiple of 2 operands.Chris Lattner2005-01-291-2/+3
| | | | llvm-svn: 19902
* Merge InstrTypes.cpp into this fileChris Lattner2005-01-291-193/+424
| | | | | | | | Adjust to changes in the User class, operand handling is very different. PHI node and switch statements must handle explicit resizing of operand lists. llvm-svn: 19891
* Fix grammarMisha Brukman2005-01-271-1/+1
| | | | llvm-svn: 19854
* These methods are inlinedChris Lattner2004-11-181-30/+0
| | | | llvm-svn: 17958
* Make ReturnInst accept a value of type void as the return value. TheAlkis Evlogimenos2004-11-171-0/+9
| | | | | | | ReturnInst constructed is the same as if NULL was passed instead of the void value. llvm-svn: 17923
* Add support for undef and unreachableChris Lattner2004-10-161-0/+9
| | | | llvm-svn: 17041
* Move the implementation of the instructions clone methods to this file soChris Lattner2004-10-151-0/+30
| | | | | | | that the vtables for these classes are only instantiated in this translation unit, not in every xlation unit they are used. llvm-svn: 17026
* Packed types, brought to you by Brad JonesBrian Gaeke2004-08-201-2/+4
| | | | llvm-svn: 15938
* Split assertion to two in order to give better assertion messages.Alkis Evlogimenos2004-08-061-3/+3
| | | | llvm-svn: 15543
* Merge i*.cpp definitions into Instructions.cpp as part of bug403.Alkis Evlogimenos2004-07-291-0/+802
llvm-svn: 15326
OpenPOWER on IntegriCloud