summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/iOperators.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge i*.cpp definitions into Instructions.cpp as part of bug403.Alkis Evlogimenos2004-07-291-235/+0
| | | | llvm-svn: 15326
* Merge i*.h headers into Instructions.h as part of bug403.Alkis Evlogimenos2004-07-291-1/+1
| | | | llvm-svn: 15325
* Fold iType into Value::VTyChris Lattner2004-06-271-1/+2
| | | | llvm-svn: 14435
* Share some codeChris Lattner2004-06-101-11/+3
| | | | llvm-svn: 14106
* Add constructors that take a BasicBlock to append to, to the rest ofAlkis Evlogimenos2004-05-271-13/+50
| | | | | | the llvm::Instruction hierarchy. llvm-svn: 13800
* Floating point negates are -0.0 - X, not 0.0 - XChris Lattner2004-02-021-5/+13
| | | | llvm-svn: 11084
* * Finegrainify namespacificationChris Lattner2003-11-201-4/+1
| | | | | | | | | * Add new constructors to allow insertion of terminator instructions at the end of basic blocks. * Move a ReturnInst method out-of-line, so that the vtable and type info don't need to be emitted to every translation unit that uses the class. llvm-svn: 10107
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | 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
* The word `dependent' has no `a'.Misha Brukman2003-08-211-1/+1
| | | | llvm-svn: 8030
* Fix nasty bug in ::isNeg()Chris Lattner2002-10-311-1/+1
| | | | llvm-svn: 4470
* Can simplify code now with the isCommutative() method.Chris Lattner2002-10-311-13/+5
| | | | llvm-svn: 4461
* Tighten up assertion checking for binary operators, not allowing invalidChris Lattner2002-09-101-2/+27
| | | | | | instructions to _even be created_. llvm-svn: 3661
* Add capability to insert an instruction into a basic block immediately afterChris Lattner2002-09-101-18/+36
| | | | | | | | it is created, as part of the ctor call. Eliminate the GenericBinaryInst class llvm-svn: 3653
* - Exposed SetCondInst::getInverseCondition & ::getSwappedCondition betterChris Lattner2002-09-011-9/+23
| | | | llvm-svn: 3562
* Add new SetCondInst::getInverseCondition() method.Chris Lattner2002-08-201-0/+16
| | | | llvm-svn: 3405
* Simplify the codeChris Lattner2002-08-151-40/+19
| | | | llvm-svn: 3348
* Added more helper functions for binary instructions emulatingVikram S. Adve2002-08-151-0/+65
| | | | | | unary Neg and Not: isNeg, isNot, getNegArgument, and getNotArgument. llvm-svn: 3341
* Remove support for unary operators.Chris Lattner2002-08-141-18/+2
| | | | llvm-svn: 3326
* Implement two constructor functions for "unary" instructionsChris Lattner2002-08-141-0/+13
| | | | llvm-svn: 3317
* UnaryOperator::create should take a name just like BinaryOperator::createChris Lattner2002-08-091-13/+3
| | | | llvm-svn: 3279
* Create a static version of Instruction::getOpcodeName(opCode) thatVikram S. Adve2002-07-141-45/+0
| | | | | | | can be invoked with only an opcode (i.e., without an instruction). Move all opCode->opCodeName translations there. llvm-svn: 2900
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-6/+10
| | | | llvm-svn: 1503
* Swap operands now preserves the semantics of the binary operator by changingChris Lattner2001-12-131-0/+26
| | | | | | the opcode of the instruction if possible. llvm-svn: 1444
* Moved Cast from being a Unary instruction to being an "Other" instructionChris Lattner2001-07-081-9/+18
| | | | llvm-svn: 160
* Neg instruction removed. Cast instruction implemented.Chris Lattner2001-07-081-1/+31
| | | | llvm-svn: 156
* Convert BinaryOperand and UnaryOperator to only take instruction types ofChris Lattner2001-07-071-2/+2
| | | | | | the appropriate enum llvm-svn: 153
* Broad superficial changes:Chris Lattner2001-07-071-15/+21
| | | | | | | | | * Renamed getOpcode to getOpcodeName * Changed getOpcodeName to return a const char * instead of string * Added a getOpcode method to replace getInstType * Changed code to use getOpcode instead of getInstType llvm-svn: 152
* Change to use the new GenericBinaryInst class. Support lots more operators.Chris Lattner2001-06-271-8/+15
| | | | llvm-svn: 92
* Moved UnaryOperator::create to InstrTypes.cpp until there is an iUnaryOps.cppChris Lattner2001-06-251-0/+19
| | | | | | | Moved BinaryOperator::create to iBinaryOperators.cpp Add getUniqueName to SymbolTable llvm-svn: 76
* Initial revisionChris Lattner2001-06-061-0/+37
llvm-svn: 2
OpenPOWER on IntegriCloud