summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/InstVisitor.h
Commit message (Collapse)AuthorAgeFilesLines
* Removed trailing whitespace.Misha Brukman2009-02-201-8/+8
| | | | llvm-svn: 65196
* Tidy up #includes, deleting a bunch of unnecessary #includes.Dan Gohman2009-01-051-4/+0
| | | | llvm-svn: 61715
* Enable first-class aggregates support.Dan Gohman2008-07-231-1/+0
| | | | | | | | | | | | Remove the GetResultInst instruction. It is still accepted in LLVM assembly and bitcode, where it is now auto-upgraded to ExtractValueInst. Also, remove support for return instructions with multiple values. These are auto-upgraded to use InsertValueInst instructions. The IRBuilder still accepts multiple-value returns, and auto-upgrades them to InsertValueInst instructions. llvm-svn: 53941
* IR support for extractvalue and insertvalue instructions. Also, beginDan Gohman2008-05-151-0/+2
| | | | | | moving toward making structs and arrays first-class types. llvm-svn: 51157
* Add two new instructions to the llvm IR, vicmp and vfcmp. see updated LangRefNate Begeman2008-05-121-0/+2
| | | | | | for details. CodeGen support coming in a follow up patch llvm-svn: 50985
* Add GetResultInst. First step for multiple return value support.Devang Patel2008-02-191-0/+1
| | | | llvm-svn: 47348
* Don't attribute in file headers anymore. See llvmdev for theChris Lattner2007-12-291-2/+2
| | | | | | discussion of this change. Boy are my fingers tired. ;-) llvm-svn: 45411
* Changes to support making the shift instructions be true BinaryOperators.Reid Spencer2007-02-021-1/+0
| | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776
* For PR950:Reid Spencer2006-12-231-1/+0
| | | | | | | | This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. llvm-svn: 32751
* Get the delegation right for InstVisitor.Reid Spencer2006-11-291-1/+13
| | | | llvm-svn: 32025
* For PR950:Reid Spencer2006-11-271-2/+1
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* For PR950:Reid Spencer2006-11-201-0/+3
| | | | | | | | First in a series of patches to convert SetCondInst into ICmpInst and FCmpInst using only two opcodes and having the instructions contain their predicate value. Nothing uses these classes yet. More patches to follow. llvm-svn: 31867
* Fix usage example.Nick Lewycky2006-10-091-1/+1
| | | | llvm-svn: 30837
* Improve InstVisitor docs.Vladimir Prus2006-05-311-40/+46
| | | | llvm-svn: 28586
* Add a new shufflevector instructionChris Lattner2006-04-081-0/+1
| | | | llvm-svn: 27507
* Support for the insertelement operation.Robert Bocchino2006-01-171-0/+1
| | | | llvm-svn: 25405
* Added an instruction and constant expression for the extractelementRobert Bocchino2006-01-101-0/+1
| | | | | | operation. llvm-svn: 25176
* header file changes for varargsAndrew Lenharth2005-06-181-1/+0
| | | | llvm-svn: 22253
* Remove trailing whitespaceMisha Brukman2005-04-211-2/+2
| | | | llvm-svn: 21411
* Use static_cast and #include Instructions.hChris Lattner2005-03-091-6/+10
| | | | llvm-svn: 20528
* Standardize on 'class' instead of 'struct'. Gets rid of warnings in VC++Reid Spencer2004-11-161-1/+2
| | | | | | Patch contributed by Jeff Cohen. llvm-svn: 17889
* Add support for the unreachable instructionChris Lattner2004-10-161-0/+1
| | | | llvm-svn: 17039
* Remove virtual destructor from InstVisitor. This class should never beAlkis Evlogimenos2004-05-231-2/+0
| | | | | | | | used through a base pointer/reference so inproper destruction should never be an issue. Removing this last virtual function also saves 4 bytes off each InstVisitor instance. llvm-svn: 13664
* Fix for gcc3.4: invalid use of forward delacred class on line 93Alkis Evlogimenos2004-05-061-2/+1
| | | | llvm-svn: 13370
* Provide visit(Module&) and visitModule(Module&) functionality.Misha Brukman2004-05-041-0/+5
| | | | llvm-svn: 13353
* Add the visitSelectInst visitor methodChris Lattner2004-03-121-0/+1
| | | | llvm-svn: 12312
* fix gcc 3.4 compatibility problemChris Lattner2003-11-281-1/+1
| | | | llvm-svn: 10248
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-1/+4
| | | | llvm-svn: 9903
* Added LLVM copyright header (for lack of a better term).John Criswell2003-10-201-0/+7
| | | | llvm-svn: 9304
* Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵Chris Lattner2003-10-191-12/+0
| | | | | | | | "Instruction::PHI" to be more consistent with the other instructions. This allows removal of a special case from the instvisitor llvm-svn: 9268
* New revised variable argument handling supportChris Lattner2003-10-181-3/+5
| | | | llvm-svn: 9219
* Standardize header file commentsChris Lattner2003-09-301-1/+1
| | | | llvm-svn: 8782
* add support for the unwind instChris Lattner2003-09-081-0/+1
| | | | llvm-svn: 8406
* Remove automagic support for Modules. Noone uses it now anyways, and GCC ↵Chris Lattner2003-08-291-6/+1
| | | | | | 3.4 doesn't want us to do this unless Module has been #included llvm-svn: 8216
* Spell `necessary' correctly.Misha Brukman2003-08-181-1/+1
| | | | llvm-svn: 7944
* Remove a ton of extraneous #includesChris Lattner2003-06-221-1/+0
| | | | llvm-svn: 6842
* Included assert.h so that the code compiles under newer versions of GCC.John Criswell2003-06-111-0/+2
| | | | llvm-svn: 6682
* Hopefully, the final fix for `[Pp]ropogate'.Misha Brukman2003-05-201-1/+1
| | | | llvm-svn: 6251
* Add support for the new VarArgInst instruction, reindent some stuffChris Lattner2003-05-081-7/+9
| | | | llvm-svn: 6028
* Eliminate the GenericBinaryInst classChris Lattner2002-09-101-1/+0
| | | | llvm-svn: 3649
* Eliminated the MemAccessInst class, folding contents into GEP class.Chris Lattner2002-08-221-3/+2
| | | | llvm-svn: 3488
* Load & Store Inst now no longer derive from MemAccessInstChris Lattner2002-08-221-2/+2
| | | | llvm-svn: 3486
* Add missing forward declChris Lattner2002-08-211-0/+1
| | | | llvm-svn: 3413
* Remove support for unary instructionsChris Lattner2002-08-141-3/+1
| | | | llvm-svn: 3324
* *** empty log message ***Chris Lattner2002-07-251-3/+2
| | | | llvm-svn: 3082
* MEGAPATCH checkin.Chris Lattner2002-06-251-43/+49
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* Make sure to call the derived visit versions from the ranged iterator.Chris Lattner2002-05-101-1/+1
| | | | llvm-svn: 2607
* Add explicit abort so optimized build knows that the function does not returnChris Lattner2002-05-101-0/+1
| | | | llvm-svn: 2605
* * Add a comment to the header giving a breif overview of how to return aChris Lattner2002-04-181-23/+62
| | | | | | | | | value from a visit function * Define a (file local) DELEGATE macro to make the code easier to read/maintain * Define per-opcode delegation functions so that users can override specific instances of BinaryOperator for example. llvm-svn: 2290
* * Make dtor virtualChris Lattner2002-04-181-26/+28
| | | | | | | * Add a new defaulted argument that allows the instruction visitation visitors to return a non-void value. llvm-svn: 2289
OpenPOWER on IntegriCloud