Lines Matching refs:getPredicate

214     Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt,  in foldCmpLoadFromIndexedGlobal()
891 ICmp->getType(), ICmp->getPredicate() == ICmpInst::ICMP_NE); in foldAllocaCmp()
967 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst()
1014 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst()
1026 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst()
1053 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst()
1202 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithZero()
1295 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithConstant()
1342 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithDominatingICmp()
1411 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpTruncConstant()
1553 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpXorConstant()
1555 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
1614 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpXorShiftConst()
1695 if (Cmp.getPredicate() == ICmpInst::ICMP_EQ) in foldICmpAndShift()
1697 if (Cmp.getPredicate() == ICmpInst::ICMP_NE) in foldICmpAndShift()
1702 return new ICmpInst(Cmp.getPredicate(), in foldICmpAndShift()
1729 bool isICMP_NE = Cmp.getPredicate() == ICmpInst::ICMP_NE; in foldICmpAndConstConst()
1791 return new ICmpInst(Cmp.getPredicate(), NewAnd, ZextC1); in foldICmpAndConstConst()
1840 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpAndConstant()
1974 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpOrXorSubChain()
1991 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpOrConstant()
2082 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpMulConstant()
2179 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpShlOne()
2221 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpShlConstant()
2380 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpShrConstant()
2534 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpSRemConstant()
2582 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpUDivConstant()
2615 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpDivConstant()
2798 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpSubConstant()
2937 const CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpAddConstant()
3132 ConstantExpr::getCompare(Cmp.getPredicate(), C1LessThan, C) in foldICmpSelectConstant()
3135 ConstantExpr::getCompare(Cmp.getPredicate(), C2Equal, C) in foldICmpSelectConstant()
3138 ConstantExpr::getCompare(Cmp.getPredicate(), C3GreaterThan, C) in foldICmpSelectConstant()
3170 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpBitCast()
3341 return new ICmpInst(Cmp.getPredicate(), X, Y); in foldICmpInstWithConstant()
3359 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpBinOpEqualityWithConstant()
3474 const ICmpInst::Predicate Pred = I.getPredicate(); in foldCtpopPow2Test()
3500 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpEqIntrinsicWithConstant()
3608 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpIntrinsicWithIntrinsic()
3662 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpInstWithConstantAllowUndef()
3828 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpIntrinsicWithConstant()
3945 I.getPredicate(), LHSI->getOperand(0), in foldICmpInstWithConstantNotInt()
4361 return Builder.CreateICmp(I.getPredicate(), T1, in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4479 CmpInst::Predicate Pred = I.getPredicate(); in foldICmpAndXX()
4504 CmpInst::Predicate Pred = I.getPredicate(); in foldICmpOrXX()
4538 CmpInst::Predicate Pred = I.getPredicate(); in foldICmpXorXX()
4576 const CmpInst::Predicate Pred = I.getPredicate(); in foldICmpBinOp()
5100 ICmpInst::getNonStrictPredicate(MinMax->getPredicate()); in foldICmpWithMinMax()
5106 ICmpInst::Predicate NewPred = MinMax->getPredicate(); in foldICmpWithMinMax()
5144 bool IsSame = MinMax->getPredicate() == ICmpInst::getStrictPredicate(Pred); in foldICmpWithMinMax()
5191 const CmpInst::Predicate Pred = I.getPredicate(); in foldICmpPow2Test()
5245 const CmpInst::Predicate Pred = I.getPredicate(); in foldICmpEquality()
5492 ICmpInst::Predicate Pred = ICmp.getPredicate(); in foldICmpWithTrunc()
5574 return new ICmpInst(ICmp.getPredicate(), Builder.CreateOr(X, Y), in foldICmpWithZextOrSext()
5612 return new ICmpInst(ICmp.getPredicate(), X, Y); in foldICmpWithZextOrSext()
5617 return new ICmpInst(ICmp.getPredicate(), X, Y); in foldICmpWithZextOrSext()
5633 return new ICmpInst(ICmp.getPredicate(), X, Res); in foldICmpWithZextOrSext()
5638 return new ICmpInst(ICmp.getPredicate(), X, Res); in foldICmpWithZextOrSext()
5654 if (ICmp.getPredicate() == ICmpInst::ICMP_ULT) in foldICmpWithZextOrSext()
5659 assert(ICmp.getPredicate() == ICmpInst::ICMP_UGT && "ICmp should be folded!"); in foldICmpWithZextOrSext()
5671 return new ICmpInst(ICmp.getPredicate(), in foldICmpWithCastOp()
5706 return new ICmpInst(ICmp.getPredicate(), Op0Src, NewOp1); in foldICmpWithCastOp()
5882 switch (I.getPredicate()) { in processUMulZExtIdiom()
5952 if (I.getPredicate() == ICmpInst::ICMP_ULT) { in processUMulZExtIdiom()
5971 if (InstCombiner::isSignBitCheck(I.getPredicate(), *RHS, UnusedBit)) in getDemandedBitsLHSMask()
5974 switch (I.getPredicate()) { in getDemandedBitsLHSMask()
6081 if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { in replacedSelectWithOperand()
6108 ICmpInst::Predicate Pred = I.getPredicate(); in foldICmpUsingKnownBits()
6528 ICmpInst::Predicate Pred = I.getPredicate(); in canonicalizeCmpWithConstant()
6551 CmpInst::Predicate Pred = I.getPredicate(); in canonicalizeICmpPredicate()
6580 switch (I.getPredicate()) { in canonicalizeICmpBool()
6589 switch (I.getPredicate()) { in canonicalizeICmpBool()
6599 switch (I.getPredicate()) { in canonicalizeICmpBool()
6695 const CmpInst::Predicate Pred = Cmp.getPredicate(); in foldVectorCmp()
6764 CmpInst::Predicate Pred = I.getPredicate(); in foldICmpOfUAddOv()
6802 return ICmpInst::Create(Instruction::ICmp, I.getPredicate(), in foldICmpInvariantGroup()
6952 if (Value *V = simplifyICmpInst(I.getPredicate(), Op0, Op1, Q)) in visitICmpInst()
6957 if (I.getPredicate() == ICmpInst::ICMP_NE && match(Op1, m_Zero())) { in visitICmpInst()
6963 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1); in visitICmpInst()
6967 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1); in visitICmpInst()
7023 ICmpInst::Predicate Pred = I.getPredicate(); in visitICmpInst()
7059 if (Instruction *Res = foldICmpCommutative(I.getPredicate(), Op0, Op1, I)) in visitICmpInst()
7208 if (I.getPredicate() == ICmpInst::ICMP_EQ) in visitICmpInst()
7248 FCmpInst::Predicate P = I.getPredicate(); in foldFCmpIntToFPConst()
7303 switch (I.getPredicate()) { in foldFCmpIntToFPConst()
7484 FCmpInst::Predicate Pred = I.getPredicate(); in foldFCmpReciprocalAndZero()
7539 switch (I.getPredicate()) { in foldFabsWithFcmpZero()
7565 switch (I.getPredicate()) { in foldFabsWithFcmpZero()
7609 return replacePredAndOp0(&I, I.getPredicate(), X); in foldFabsWithFcmpZero()
7617 CmpInst::Predicate Pred = I.getPredicate(); in foldFCmpFNegCommonOp()
7646 const CmpInst::Predicate Pred = I.getPredicate(); in visitFCmpInst()