Lines Matching refs:getPredicate
215 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in foldCmpLoadFromIndexedGlobal()
892 ICmp->getType(), ICmp->getPredicate() == ICmpInst::ICMP_NE); in foldAllocaCmp()
968 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst()
1015 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst()
1027 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst()
1054 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst()
1203 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithZero()
1296 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithConstant()
1342 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithDominatingICmp()
1413 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpTruncConstant()
1570 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpXorConstant()
1572 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
1631 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpXorShiftConst()
1712 if (Cmp.getPredicate() == ICmpInst::ICMP_EQ) in foldICmpAndShift()
1714 if (Cmp.getPredicate() == ICmpInst::ICMP_NE) in foldICmpAndShift()
1719 return new ICmpInst(Cmp.getPredicate(), in foldICmpAndShift()
1746 bool isICMP_NE = Cmp.getPredicate() == ICmpInst::ICMP_NE; in foldICmpAndConstConst()
1808 return new ICmpInst(Cmp.getPredicate(), NewAnd, ZextC1); in foldICmpAndConstConst()
1879 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpAndConstant()
2024 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpOrXorSubChain()
2041 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpOrConstant()
2142 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpMulConstant()
2239 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpShlOne()
2281 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpShlConstant()
2461 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpShrConstant()
2625 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpSRemConstant()
2673 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpUDivConstant()
2706 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpDivConstant()
2889 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpSubConstant()
3028 const CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpAddConstant()
3230 C1LessThan->getValue(), C->getValue(), Cmp.getPredicate()); in foldICmpSelectConstant()
3232 Cmp.getPredicate()); in foldICmpSelectConstant()
3234 C3GreaterThan->getValue(), C->getValue(), Cmp.getPredicate()); in foldICmpSelectConstant()
3265 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpBitCast()
3450 return new ICmpInst(Cmp.getPredicate(), X, Y); in foldICmpInstWithConstant()
3468 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpBinOpEqualityWithConstant()
3586 const ICmpInst::Predicate Pred = I.getPredicate(); in foldCtpopPow2Test()
3612 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpEqIntrinsicWithConstant()
3720 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpIntrinsicWithIntrinsic()
3774 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpInstWithConstantAllowPoison()
3986 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpIntrinsicWithConstant()
4108 I.getPredicate(), LHSI->getOperand(0), in foldICmpInstWithConstantNotInt()
4655 return Builder.CreateICmp(I.getPredicate(), T1, in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4773 CmpInst::Predicate Pred = I.getPredicate(); in foldICmpAndXX()
4836 CmpInst::Predicate Pred = I.getPredicate(); in foldICmpOrXX()
4870 CmpInst::Predicate Pred = I.getPredicate(); in foldICmpXorXX()
4907 const CmpInst::Predicate Pred = I.getPredicate(); in foldICmpBinOp()
5428 ICmpInst::getNonStrictPredicate(MinMax->getPredicate()); in foldICmpWithMinMax()
5434 ICmpInst::Predicate NewPred = MinMax->getPredicate(); in foldICmpWithMinMax()
5472 bool IsSame = MinMax->getPredicate() == ICmpInst::getStrictPredicate(Pred); in foldICmpWithMinMax()
5519 const CmpInst::Predicate Pred = I.getPredicate(); in foldICmpPow2Test()
5573 const CmpInst::Predicate Pred = I.getPredicate(); in foldICmpEquality()
5821 ICmpInst::Predicate Pred = ICmp.getPredicate(); in foldICmpWithTrunc()
5903 return new ICmpInst(ICmp.getPredicate(), Builder.CreateOr(X, Y), in foldICmpWithZextOrSext()
5941 return new ICmpInst(ICmp.getPredicate(), X, Y); in foldICmpWithZextOrSext()
5946 return new ICmpInst(ICmp.getPredicate(), X, Y); in foldICmpWithZextOrSext()
5962 return new ICmpInst(ICmp.getPredicate(), X, Res); in foldICmpWithZextOrSext()
5967 return new ICmpInst(ICmp.getPredicate(), X, Res); in foldICmpWithZextOrSext()
5983 if (ICmp.getPredicate() == ICmpInst::ICMP_ULT) in foldICmpWithZextOrSext()
5988 assert(ICmp.getPredicate() == ICmpInst::ICMP_UGT && "ICmp should be folded!"); in foldICmpWithZextOrSext()
6000 return new ICmpInst(ICmp.getPredicate(), in foldICmpWithCastOp()
6035 return new ICmpInst(ICmp.getPredicate(), Op0Src, NewOp1); in foldICmpWithCastOp()
6211 switch (I.getPredicate()) { in processUMulZExtIdiom()
6281 if (I.getPredicate() == ICmpInst::ICMP_ULT) { in processUMulZExtIdiom()
6300 if (isSignBitCheck(I.getPredicate(), *RHS, UnusedBit)) in getDemandedBitsLHSMask()
6303 switch (I.getPredicate()) { in getDemandedBitsLHSMask()
6410 if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { in replacedSelectWithOperand()
6437 ICmpInst::Predicate Pred = I.getPredicate(); in foldICmpUsingKnownBits()
6857 ICmpInst::Predicate Pred = I.getPredicate(); in canonicalizeCmpWithConstant()
6880 CmpInst::Predicate Pred = I.getPredicate(); in canonicalizeICmpPredicate()
6909 switch (I.getPredicate()) { in canonicalizeICmpBool()
6918 switch (I.getPredicate()) { in canonicalizeICmpBool()
6928 switch (I.getPredicate()) { in canonicalizeICmpBool()
7024 const CmpInst::Predicate Pred = Cmp.getPredicate(); in foldVectorCmp()
7093 CmpInst::Predicate Pred = I.getPredicate(); in foldICmpOfUAddOv()
7131 return ICmpInst::Create(Instruction::ICmp, I.getPredicate(), in foldICmpInvariantGroup()
7315 if (Value *V = simplifyICmpInst(I.getPredicate(), Op0, Op1, Q)) in visitICmpInst()
7320 if (I.getPredicate() == ICmpInst::ICMP_NE && match(Op1, m_Zero())) { in visitICmpInst()
7326 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1); in visitICmpInst()
7330 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1); in visitICmpInst()
7386 ICmpInst::Predicate Pred = I.getPredicate(); in visitICmpInst()
7422 if (Instruction *Res = foldICmpCommutative(I.getPredicate(), Op0, Op1, I)) in visitICmpInst()
7579 if (I.getPredicate() == ICmpInst::ICMP_EQ) in visitICmpInst()
7620 FCmpInst::Predicate P = I.getPredicate(); in foldFCmpIntToFPConst()
7674 switch (I.getPredicate()) { in foldFCmpIntToFPConst()
7854 FCmpInst::Predicate Pred = I.getPredicate(); in foldFCmpReciprocalAndZero()
7909 switch (I.getPredicate()) { in foldFabsWithFcmpZero()
7935 switch (I.getPredicate()) { in foldFabsWithFcmpZero()
7979 return replacePredAndOp0(&I, I.getPredicate(), X); in foldFabsWithFcmpZero()
7987 CmpInst::Predicate Pred = I.getPredicate(); in foldFCmpFNegCommonOp()
8007 const CmpInst::Predicate Pred = I.getPredicate(); in foldFCmpFSubIntoFCmp()
8063 const CmpInst::Predicate Pred = I.getPredicate(); in visitFCmpInst()