LLVM API Documentation
#include <Instructions.h>


Public Member Functions | |
| VICmpInst (Predicate pred, Value *LHS, Value *RHS, const std::string &NameStr="", Instruction *InsertBefore=0) | |
| Constructor with insert-before-instruction semantics. | |
| VICmpInst (Predicate pred, Value *LHS, Value *RHS, const std::string &NameStr, BasicBlock *InsertAtEnd) | |
| Constructor with insert-at-block-end semantics. | |
| Predicate | getPredicate () const |
| Return the predicate for this instruction. | |
| virtual VICmpInst * | clone () const |
Static Public Member Functions | |
| static bool | classof (const VICmpInst *) |
| static bool | classof (const Instruction *I) |
| Methods for support type inquiry through isa, cast, and dyn_cast:. | |
| static bool | classof (const Value *V) |
This instruction compares its operands according to the predicate given to the constructor. It only operates on vectors of integers. The operands must be identical types.
Definition at line 864 of file Instructions.h.
| llvm::VICmpInst::VICmpInst | ( | Predicate | pred, | |
| Value * | LHS, | |||
| Value * | RHS, | |||
| const std::string & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline] |
Constructor with insert-before-instruction semantics.
| pred | The predicate to use for the comparison |
| LHS | The left-hand-side of the expression |
| RHS | The right-hand-side of the expression |
| NameStr | Name of the instruction |
| InsertBefore | Where to insert |
Definition at line 867 of file Instructions.h.
References llvm::CmpInst::FIRST_ICMP_PREDICATE, llvm::Intrinsic::getType(), and llvm::CmpInst::LAST_ICMP_PREDICATE.
Referenced by clone().
| llvm::VICmpInst::VICmpInst | ( | Predicate | pred, | |
| Value * | LHS, | |||
| Value * | RHS, | |||
| const std::string & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline] |
Constructor with insert-at-block-end semantics.
| pred | The predicate to use for the comparison |
| LHS | The left-hand-side of the expression |
| RHS | The right-hand-side of the expression |
| NameStr | Name of the instruction |
| InsertAtEnd | Block to insert into. |
Definition at line 883 of file Instructions.h.
References llvm::CmpInst::FIRST_ICMP_PREDICATE, llvm::Intrinsic::getType(), and llvm::CmpInst::LAST_ICMP_PREDICATE.
| Predicate llvm::VICmpInst::getPredicate | ( | ) | const [inline] |
Return the predicate for this instruction.
Reimplemented from llvm::CmpInst.
Definition at line 899 of file Instructions.h.
References Predicate.
Referenced by clone().
| VICmpInst * VICmpInst::clone | ( | ) | const [virtual] |
clone() - Create a copy of 'this' instruction that is identical in all ways except the following: The instruction has no parent The instruction has no name
Implements llvm::Instruction.
Definition at line 2899 of file Instructions.cpp.
References getPredicate(), and VICmpInst().
| static bool llvm::VICmpInst::classof | ( | const VICmpInst * | ) | [inline, static] |
Definition at line 904 of file Instructions.h.
| static bool llvm::VICmpInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::CmpInst.
Definition at line 905 of file Instructions.h.
References llvm::Instruction::getOpcode(), and VICmp.
| static bool llvm::VICmpInst::classof | ( | const Value * | V | ) | [inline, static] |
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.