Lines Matching refs:getPredicate

203     Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt,  in foldCmpLoadFromIndexedGlobal()
1081 !CmpInst::isTrueWhenEqual(ICI.getPredicate())); in foldAllocaCmp()
1142 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst()
1189 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst()
1201 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst()
1228 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst()
1377 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithZero()
1428 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithConstant()
1487 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithDominatingICmp()
1541 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpTruncConstant()
1608 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpXorConstant()
1610 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
1719 if (Cmp.getPredicate() == ICmpInst::ICMP_EQ) in foldICmpAndShift()
1721 if (Cmp.getPredicate() == ICmpInst::ICMP_NE) in foldICmpAndShift()
1726 return new ICmpInst(Cmp.getPredicate(), in foldICmpAndShift()
1753 bool isICMP_NE = Cmp.getPredicate() == ICmpInst::ICMP_NE; in foldICmpAndConstConst()
1815 return new ICmpInst(Cmp.getPredicate(), NewAnd, ZextC1); in foldICmpAndConstConst()
1869 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpAndConstant()
1914 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpOrConstant()
1997 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpMulConstant()
2067 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpShlOne()
2137 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpShlConstant()
2266 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpShrConstant()
2421 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpSRemConstant()
2469 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpUDivConstant()
2502 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpDivConstant()
2685 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpSubConstant()
2777 const CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpAddConstant()
2934 ConstantExpr::getCompare(Cmp.getPredicate(), C1LessThan, C) in foldICmpSelectConstant()
2937 ConstantExpr::getCompare(Cmp.getPredicate(), C2Equal, C) in foldICmpSelectConstant()
2940 ConstantExpr::getCompare(Cmp.getPredicate(), C3GreaterThan, C) in foldICmpSelectConstant()
2972 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpBitCast()
3157 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpBinOpEqualityWithConstant()
3246 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpEqIntrinsicWithConstant()
3340 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpIntrinsicWithIntrinsic()
3378 const ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpInstWithConstantAllowUndef()
3464 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpIntrinsicWithConstant()
3539 I.getPredicate(), LHSI->getOperand(0), in foldICmpInstWithConstantNotInt()
3555 I.getPredicate(), LHSI->getOperand(0), in foldICmpInstWithConstantNotInt()
3966 return Builder.CreateICmp(I.getPredicate(), T1, in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4082 const CmpInst::Predicate Pred = I.getPredicate(); in foldICmpBinOp()
4506 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithMinMax()
4596 const CmpInst::Predicate Pred = I.getPredicate(); in foldICmpEquality()
4794 ICmpInst::Predicate Pred = ICmp.getPredicate(); in foldICmpWithTrunc()
4881 return new ICmpInst(ICmp.getPredicate(), X, Y); in foldICmpWithZextOrSext()
4886 return new ICmpInst(ICmp.getPredicate(), X, Y); in foldICmpWithZextOrSext()
4907 return new ICmpInst(ICmp.getPredicate(), X, Res1); in foldICmpWithZextOrSext()
4912 return new ICmpInst(ICmp.getPredicate(), X, Res1); in foldICmpWithZextOrSext()
4928 if (ICmp.getPredicate() == ICmpInst::ICMP_ULT) in foldICmpWithZextOrSext()
4933 assert(ICmp.getPredicate() == ICmpInst::ICMP_UGT && "ICmp should be folded!"); in foldICmpWithZextOrSext()
4945 return new ICmpInst(ICmp.getPredicate(), in foldICmpWithCastOp()
4985 return new ICmpInst(ICmp.getPredicate(), Op0Src, NewOp1); in foldICmpWithCastOp()
5162 switch (I.getPredicate()) { in processUMulZExtIdiom()
5279 switch (I.getPredicate()) { in processUMulZExtIdiom()
5319 if (InstCombiner::isSignBitCheck(I.getPredicate(), *RHS, UnusedBit)) in getDemandedBitsLHSMask()
5322 switch (I.getPredicate()) { in getDemandedBitsLHSMask()
5455 if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { in replacedSelectWithOperand()
5482 ICmpInst::Predicate Pred = I.getPredicate(); in foldICmpUsingKnownBits()
5817 ICmpInst::Predicate Pred = I.getPredicate(); in canonicalizeCmpWithConstant()
5840 CmpInst::Predicate Pred = I.getPredicate(); in canonicalizeICmpPredicate()
5869 switch (I.getPredicate()) { in canonicalizeICmpBool()
5878 switch (I.getPredicate()) { in canonicalizeICmpBool()
5888 switch (I.getPredicate()) { in canonicalizeICmpBool()
5984 const CmpInst::Predicate Pred = Cmp.getPredicate(); in foldVectorCmp()
6028 CmpInst::Predicate Pred = I.getPredicate(); in foldICmpOfUAddOv()
6066 return ICmpInst::Create(Instruction::ICmp, I.getPredicate(), in foldICmpInvariantGroup()
6138 if (Value *V = simplifyICmpInst(I.getPredicate(), Op0, Op1, Q)) in visitICmpInst()
6143 if (I.getPredicate() == ICmpInst::ICMP_NE && match(Op1, m_Zero())) { in visitICmpInst()
6149 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1); in visitICmpInst()
6153 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1); in visitICmpInst()
6206 ICmpInst::Predicate Pred = I.getPredicate(); in visitICmpInst()
6244 if (Instruction *NI = foldGEPICmp(GEP, Op1, I.getPredicate(), I)) in visitICmpInst()
6251 if (Instruction *NI = foldSelectICmp(I.getPredicate(), SI, Op1, I)) in visitICmpInst()
6293 return new ICmpInst(I.getPredicate(), B, A); in visitICmpInst()
6344 if (I.getPredicate() == ICmpInst::ICMP_EQ) in visitICmpInst()
6356 return foldICmpAddOpConst(X, *C, I.getPredicate()); in visitICmpInst()
6396 FCmpInst::Predicate P = I.getPredicate(); in foldFCmpIntToFPConst()
6451 switch (I.getPredicate()) { in foldFCmpIntToFPConst()
6635 FCmpInst::Predicate Pred = I.getPredicate(); in foldFCmpReciprocalAndZero()
6678 switch (I.getPredicate()) { in foldFabsWithFcmpZero()
6722 return replacePredAndOp0(&I, I.getPredicate(), X); in foldFabsWithFcmpZero()
6730 CmpInst::Predicate Pred = I.getPredicate(); in foldFCmpFNegCommonOp()
6759 const CmpInst::Predicate Pred = I.getPredicate(); in visitFCmpInst()