Lines Matching refs:NewPred

1770       auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE;  in foldICmpAndConstConst()  local
1771 return new ICmpInst(NewPred, X, Zero); in foldICmpAndConstConst()
1779 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT; in foldICmpAndConstConst() local
1780 return new ICmpInst(NewPred, X, NegBOC); in foldICmpAndConstConst()
1866 auto NewPred = TrueIfNeg ? CmpInst::ICMP_EQ : CmpInst::ICMP_NE; in foldICmpAndConstant() local
1867 return new ICmpInst(NewPred, X, ConstantInt::getNullValue(X->getType())); in foldICmpAndConstant()
1893 auto NewPred = in foldICmpAndConstant() local
1895 return new ICmpInst(NewPred, X, SubOne(cast<Constant>(Cmp.getOperand(1)))); in foldICmpAndConstant()
1909 auto NewPred = in foldICmpAndConstant() local
1911 return new ICmpInst(NewPred, Trunc, Constant::getNullValue(NTy)); in foldICmpAndConstant()
3137 auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT; in foldICmpBinOpEqualityWithConstant() local
3138 return new ICmpInst(NewPred, BOp1, BOp0); in foldICmpBinOpEqualityWithConstant()
3214 ICmpInst::Predicate NewPred = Cmp.getPredicate() == ICmpInst::ICMP_EQ in foldICmpEqIntrinsicWithConstant() local
3216 return new ICmpInst(NewPred, II->getArgOperand(0), II->getArgOperand(1)); in foldICmpEqIntrinsicWithConstant()
4131 ICmpInst::Predicate NewPred = I.getFlippedSignednessPredicate(); in foldICmpBinOp() local
4132 return new ICmpInst(NewPred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4137 ICmpInst::Predicate NewPred = I.getFlippedSignednessPredicate(); in foldICmpBinOp() local
4138 NewPred = I.getSwappedPredicate(NewPred); in foldICmpBinOp()
4139 return new ICmpInst(NewPred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4398 ICmpInst::Predicate NewPred = in foldICmpEquality() local
4402 return new ICmpInst(NewPred, Xor, Builder.getInt(CmpVal)); in foldICmpEquality()
5269 auto NewPred = ICmpInst::getInversePredicate(Pred); in foldICmpUsingKnownBits() local
5270 return new ICmpInst(NewPred, X, CmpC); in foldICmpUsingKnownBits()
5275 auto NewPred = in foldICmpUsingKnownBits() local
5277 return new ICmpInst(NewPred, X, CmpC); in foldICmpUsingKnownBits()
5288 auto NewPred = ICmpInst::getInversePredicate(Pred); in foldICmpUsingKnownBits() local
5289 return new ICmpInst(NewPred, X, ConstantInt::get(X->getType(), CmpVal)); in foldICmpUsingKnownBits()
5427 CmpInst::Predicate NewPred = CmpInst::getFlippedStrictnessPredicate(Pred); in getFlippedStrictnessPredicateAndConstant() local
5433 return std::make_pair(NewPred, NewC); in getFlippedStrictnessPredicateAndConstant()
5564 ICmpInst::Predicate Pred, NewPred; in foldICmpWithHighBitMask() local
5570 NewPred = ICmpInst::ICMP_NE; in foldICmpWithHighBitMask()
5573 NewPred = ICmpInst::ICMP_EQ; in foldICmpWithHighBitMask()
5589 NewPred = ICmpInst::ICMP_NE; in foldICmpWithHighBitMask()
5592 NewPred = ICmpInst::ICMP_EQ; in foldICmpWithHighBitMask()
5602 return CmpInst::Create(Instruction::ICmp, NewPred, NewX, Zero); in foldICmpWithHighBitMask()