Lines Matching refs:NewPred
1776 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE; in foldICmpAndConstConst() local
1777 return new ICmpInst(NewPred, X, Zero); in foldICmpAndConstConst()
1790 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in foldICmpAndConstConst() local
1791 return new ICmpInst(NewPred, X, NegBOC); in foldICmpAndConstConst()
1877 auto NewPred = TrueIfNeg ? CmpInst::ICMP_EQ : CmpInst::ICMP_NE; in foldICmpAndConstant() local
1878 return new ICmpInst(NewPred, X, ConstantInt::getNullValue(X->getType())); in foldICmpAndConstant()
1902 auto NewPred = in foldICmpAndConstant() local
1904 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant()
1951 auto NewPred = TrueIfSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGT; in foldICmpOrConstant() local
1953 return new ICmpInst(NewPred, X, NewC); in foldICmpOrConstant()
2298 auto NewPred = IsUGT ? CmpInst::ICMP_ULT : CmpInst::ICMP_UGE; in foldICmpShrConstant() local
2299 return new ICmpInst(NewPred, Shr->getOperand(1), NewC); in foldICmpShrConstant()
3231 auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT; in foldICmpBinOpEqualityWithConstant() local
3232 return new ICmpInst(NewPred, BOp1, BOp0); in foldICmpBinOpEqualityWithConstant()
3323 ICmpInst::Predicate NewPred = in foldICmpEqIntrinsicWithConstant() local
3325 return new ICmpInst(NewPred, II->getArgOperand(0), II->getArgOperand(1)); in foldICmpEqIntrinsicWithConstant()
4124 CmpInst::Predicate NewPred = in foldICmpBinOp() local
4127 return new ICmpInst(NewPred, Op1, Zero); in foldICmpBinOp()
4133 CmpInst::Predicate NewPred = in foldICmpBinOp() local
4136 return new ICmpInst(NewPred, Op0, Zero); in foldICmpBinOp()
4417 ICmpInst::Predicate NewPred = I.getFlippedSignednessPredicate(); in foldICmpBinOp() local
4418 return new ICmpInst(NewPred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4423 ICmpInst::Predicate NewPred = I.getFlippedSignednessPredicate(); in foldICmpBinOp() local
4424 NewPred = I.getSwappedPredicate(NewPred); in foldICmpBinOp()
4425 return new ICmpInst(NewPred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4700 ICmpInst::Predicate NewPred = in foldICmpEquality() local
4704 return new ICmpInst(NewPred, Xor, ConstantInt::get(A->getType(), CmpVal)); in foldICmpEquality()
5641 auto NewPred = in foldICmpUsingKnownBits() local
5643 return new ICmpInst(NewPred, X, CmpC); in foldICmpUsingKnownBits()
5804 CmpInst::Predicate NewPred = CmpInst::getFlippedStrictnessPredicate(Pred); in getFlippedStrictnessPredicateAndConstant() local
5810 return std::make_pair(NewPred, NewC); in getFlippedStrictnessPredicateAndConstant()
5941 ICmpInst::Predicate Pred, NewPred; in foldICmpWithHighBitMask() local
5947 NewPred = ICmpInst::ICMP_NE; in foldICmpWithHighBitMask()
5950 NewPred = ICmpInst::ICMP_EQ; in foldICmpWithHighBitMask()
5966 NewPred = ICmpInst::ICMP_NE; in foldICmpWithHighBitMask()
5969 NewPred = ICmpInst::ICMP_EQ; in foldICmpWithHighBitMask()
5979 return CmpInst::Create(Instruction::ICmp, NewPred, NewX, Zero); in foldICmpWithHighBitMask()