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 871 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 874 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 890 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 906 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 2873 of file Instructions.cpp.
References getPredicate(), and VICmpInst().
| static bool llvm::VICmpInst::classof | ( | const VICmpInst * | ) | [inline, static] |
Definition at line 911 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 912 of file Instructions.h.
References llvm::Instruction::getOpcode(), and VICmp.
| static bool llvm::VICmpInst::classof | ( | const Value * | V | ) | [inline, static] |