LLVM API Documentation
#include <Instructions.h>
Public Member Functions | |
| VFCmpInst (Predicate pred, Value *LHS, Value *RHS, const std::string &NameStr="", Instruction *InsertBefore=0) | |
| Constructor with insert-before-instruction semantics. | |
| VFCmpInst (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 VFCmpInst * | clone () const |
Static Public Member Functions | |
| static bool | classof (const VFCmpInst *) |
| Methods for support type inquiry through isa, cast, and dyn_cast:. | |
| 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 floating point values. The operands must be identical types.
Definition at line 928 of file Instructions.h.
| llvm::VFCmpInst::VFCmpInst | ( | 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 931 of file Instructions.h.
References llvm::Intrinsic::getType(), and llvm::CmpInst::LAST_FCMP_PREDICATE.
Referenced by clone().
| llvm::VFCmpInst::VFCmpInst | ( | 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 946 of file Instructions.h.
References llvm::Intrinsic::getType(), and llvm::CmpInst::LAST_FCMP_PREDICATE.
| Predicate llvm::VFCmpInst::getPredicate | ( | ) | const [inline] |
Return the predicate for this instruction.
Reimplemented from llvm::CmpInst.
Definition at line 961 of file Instructions.h.
References Predicate.
Referenced by clone().
| VFCmpInst * VFCmpInst::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 2870 of file Instructions.cpp.
References getPredicate(), and VFCmpInst().
| static bool llvm::VFCmpInst::classof | ( | const VFCmpInst * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Definition at line 966 of file Instructions.h.
| static bool llvm::VFCmpInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::CmpInst.
Definition at line 967 of file Instructions.h.
References llvm::Instruction::getOpcode().
| static bool llvm::VFCmpInst::classof | ( | const Value * | V | ) | [inline, static] |