static Type * makeCmpResultType(Type *opnd_type)
Create a result type for fcmp/icmp.
unsigned getICmpCode(const ICmpInst *ICI, bool InvertPred=false)
Predicate getInversePredicate() const
Return the inverse of the instruction's predicate.
bool isSigned() const
Determine if this instruction is using a signed comparison.
#define llvm_unreachable(msg)
Represent an integer comparison operator.
Predicate getPredicate() const
Return the predicate for this instruction.
static Constant * get(Type *Ty, uint64_t V, bool isSigned=false)
bool PredicatesFoldable(CmpInst::Predicate p1, CmpInst::Predicate p2)
Value * getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS, CmpInst::Predicate &NewICmpPred)
unsigned greater or equal
LLVM Value Representation.