Lines Matching refs:isNullValue
81 if (C.isNullValue()) in isSignTest()
864 isa<Constant>(RHS) && cast<Constant>(RHS)->isNullValue() && in foldGEPICmp()
1150 if (AP2.isNullValue()) in foldICmpShrConstConst()
1209 if (AP2.isNullValue()) in foldICmpShlConstConst()
1728 if (Shift->hasOneUse() && C1.isNullValue() && Cmp.isEquality() && in foldICmpAndShift()
1752 if (isICMP_NE && Cmp.getType()->isVectorTy() && C1.isNullValue() && in foldICmpAndConstConst()
1765 if (Cmp.isEquality() && C1.isNullValue()) { in foldICmpAndConstConst()
1815 if (!Cmp.isSigned() && C1.isNullValue() && And->getOperand(0)->hasOneUse() && in foldICmpAndConstConst()
1902 if (And->hasOneUse() && C.isNullValue() && match(Y, m_APInt(C2))) { in foldICmpAndConstant()
1953 if (!Cmp.isEquality() || !C.isNullValue() || !Or->hasOneUse()) in foldICmpOrConstant()
2004 if (Cmp.isEquality() && !MulC->isNullValue()) { in foldICmpMulConstant()
2006 if (Mul->hasNoSignedWrap() && C.srem(*MulC).isNullValue()) { in foldICmpMulConstant()
2011 if (Mul->hasNoUnsignedWrap() && C.urem(*MulC).isNullValue()) { in foldICmpMulConstant()
2231 C.isNullValue()) in foldICmpShrConstant()
2319 if (C.isNullValue()) { in foldICmpShrConstant()
2358 if (!C.isNullValue() || !match(SRem->getOperand(1), m_Power2(DivisorC))) in foldICmpSRemConstant()
2438 if (C2->isNullValue() || C2->isOneValue() || in foldICmpDivConstant()
2479 if (C.isNullValue()) { // (X / pos) op 0 in foldICmpDivConstant()
2500 if (C.isNullValue()) { // (X / neg) op 0 in foldICmpDivConstant()
2611 if (Pred == ICmpInst::ICMP_SGT && C.isNullValue()) in foldICmpSubConstant()
2615 if (Pred == ICmpInst::ICMP_SLT && C.isNullValue()) in foldICmpSubConstant()
3058 if (C.isNullValue() && BO->hasOneUse()) { in foldICmpBinOpEqualityWithConstant()
3072 } else if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant()
3093 } else if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant()
3106 } else if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant()
3135 if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant()
3156 if (C.isNullValue() || C.isMinSignedValue()) in foldICmpEqIntrinsicWithConstant()
3194 bool IsZero = C.isNullValue(); in foldICmpEqIntrinsicWithConstant()
3204 if (C.isNullValue()) { in foldICmpEqIntrinsicWithConstant()
3213 if (C.isNullValue()) { in foldICmpEqIntrinsicWithConstant()
3308 if (RHSC->isNullValue() && in foldICmpInstWithConstantNotInt()
3333 } else if (RHSC->isNullValue()) { in foldICmpInstWithConstantNotInt()
3382 if (RHSC->isNullValue() && in foldICmpInstWithConstantNotInt()
3698 (NewShAmtSplat->isNullValue() || in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4149 if (match(BO0->getOperand(1), m_APInt(C)) && !C->isNullValue() && in foldICmpBinOp()