summaryrefslogtreecommitdiffstats
path: root/include/llvm/Instructions.h
Commit message (Collapse)AuthorAgeFilesLines
* Instruction and constant expression definitions for the insertelementRobert Bocchino2006-01-171-6/+53
| | | | | | | operation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25402 91177308-0d34-0410-b5e6-96231b3b80d8
* Added an instruction and constant expression for the extractelementRobert Bocchino2006-01-101-0/+46
| | | | | | | operation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25176 91177308-0d34-0410-b5e6-96231b3b80d8
* add an accessorChris Lattner2005-11-051-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24201 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support alignment of allocation instructions.Nate Begeman2005-11-051-8/+28
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24196 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark hasConstantValue as a const methodChris Lattner2005-08-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22666 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an extra parameter that Chris requestedNate Begeman2005-08-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22665 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a fixme in CondPropagate.cpp by moving a PhiNode optimization intoNate Begeman2005-08-041-0/+5
| | | | | | | | | BasicBlock's removePredecessor routine. This requires shuffling around the definition and implementation of hasContantValue from Utils.h,cpp into Instructions.h,cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22664 91177308-0d34-0410-b5e6-96231b3b80d8
* fix DCE + va_arg problemAndrew Lenharth2005-06-191-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22264 91177308-0d34-0410-b5e6-96231b3b80d8
* header file changes for varargsAndrew Lenharth2005-06-181-44/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22253 91177308-0d34-0410-b5e6-96231b3b80d8
* Some cleanups for compilation with GCC 4.0.0 to remove warnings:Reid Spencer2005-05-151-2/+2
| | | | | | | | * Use C++ style casts, not C style casts * Abstract base classes should have virtual destructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22057 91177308-0d34-0410-b5e6-96231b3b80d8
* Silence VC++ warnings about unsafe mixing of ints and bools with the | operator.Jeff Cohen2005-05-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21758 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for explicit calling conventionsChris Lattner2005-05-061-5/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21745 91177308-0d34-0410-b5e6-96231b3b80d8
* add a default argChris Lattner2005-05-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21733 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a 'tail' marker for call instructions, patch contributed byChris Lattner2005-05-061-1/+5
| | | | | | | Alexander Friedman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21722 91177308-0d34-0410-b5e6-96231b3b80d8
* add direct support for making GEP instrs with one indexChris Lattner2005-05-031-2/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21665 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove trailing whitespaceMisha Brukman2005-04-211-26/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21408 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert tabs to spacesMisha Brukman2005-03-161-13/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20634 91177308-0d34-0410-b5e6-96231b3b80d8
* switch instructions only allow constantints for their values, be more specific.Chris Lattner2005-02-241-7/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20298 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate the explicit volatile fields in LoadInst and StoreInst. This shrinksChris Lattner2005-02-051-12/+11
| | | | | | | | | | | LoadInst from 60 -> 56 bytes and StoreInst from 76 -> 72 bytes. Note however, that this doesn't actually save any memory on common systems where 'malloc' returns 8-byte aligned memory, as the saved space is replaced by useless alignment padding. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20046 91177308-0d34-0410-b5e6-96231b3b80d8
* Many changes to cope with the User.h changes. Instructions now generallyChris Lattner2005-01-291-232/+304
| | | | | | | directly embed their operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19885 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing accessor.Chris Lattner2004-12-101-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18775 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead fieldChris Lattner2004-12-021-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18412 91177308-0d34-0410-b5e6-96231b3b80d8
* Update comments, now that CPR's are gone, inline the methodsChris Lattner2004-11-181-9/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17957 91177308-0d34-0410-b5e6-96231b3b80d8
* Make ReturnInst accept a value of type void as the return value. TheAlkis Evlogimenos2004-11-171-8/+5
| | | | | | | | ReturnInst constructed is the same as if NULL was passed instead of the void value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17923 91177308-0d34-0410-b5e6-96231b3b80d8
* Warning fixes for VC++, contributed by Morten Ofstad!Chris Lattner2004-11-151-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17831 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert 'struct' to 'class' in various places to adhere to the coding standardsChris Lattner2004-10-271-3/+5
| | | | | | | and work better with VC++. Patch contributed by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new UnreachableInst classChris Lattner2004-10-161-0/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17037 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the implementation of the clone method for these classes toChris Lattner2004-10-151-22/+18
| | | | | | | | Instructions.cpp, so that a vtable is not emitted into every translation unit that uses the classes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17025 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge i*.h headers into Instructions.h as part of bug403.Alkis Evlogimenos2004-07-291-5/+1176
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15325 91177308-0d34-0410-b5e6-96231b3b80d8
* Added LLVM copyright header (for lack of a better term).John Criswell2003-10-201-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9304 91177308-0d34-0410-b5e6-96231b3b80d8
* New helper headerChris Lattner2003-01-271-0/+18
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5423 91177308-0d34-0410-b5e6-96231b3b80d8