Lines Matching refs:CmpInst
21 unsigned llvm::getICmpCode(CmpInst::Predicate Pred) { in getICmpCode()
41 CmpInst::Predicate &Pred) { in getPredForICmpCode()
45 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); in getPredForICmpCode()
53 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1); in getPredForICmpCode()
59 return (CmpInst::isSigned(P1) == CmpInst::isSigned(P2)) || in predicatesFoldable()
60 (CmpInst::isSigned(P1) && ICmpInst::isEquality(P2)) || in predicatesFoldable()
61 (CmpInst::isSigned(P2) && ICmpInst::isEquality(P1)); in predicatesFoldable()
65 CmpInst::Predicate &Pred) { in getPredForFCmpCode()
70 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); in getPredForFCmpCode()
72 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1); in getPredForFCmpCode()
77 CmpInst::Predicate &Pred, in decomposeBitTestICmp()