Lines Matching refs:isNullValue
81 return RHS.isNullValue(); in isSignBitCheck()
109 if (C.isNullValue()) in isSignTest()
1144 if (AP2.isNullValue()) in foldICmpShrConstConst()
1203 if (AP2.isNullValue()) in foldICmpShlConstConst()
1607 if (Shift->hasOneUse() && C1.isNullValue() && Cmp.isEquality() && in foldICmpAndShift()
1631 C1.isNullValue() && match(And->getOperand(1), m_One())) in foldICmpAndConstConst()
1672 if (!Cmp.isSigned() && C1.isNullValue() && And->getOperand(0)->hasOneUse() && in foldICmpAndConstConst()
1747 if (And->hasOneUse() && C.isNullValue() && match(Y, m_APInt(C2))) { in foldICmpAndConstant()
1784 if (!Cmp.isEquality() || !C.isNullValue() || !Or->hasOneUse()) in foldICmpOrConstant()
2026 C.isNullValue()) in foldICmpShrConstant()
2170 if (C2->isNullValue() || C2->isOneValue() || in foldICmpDivConstant()
2211 if (C.isNullValue()) { // (X / pos) op 0 in foldICmpDivConstant()
2232 if (C.isNullValue()) { // (X / neg) op 0 in foldICmpDivConstant()
2328 if (Pred == ICmpInst::ICMP_SGT && C.isNullValue()) in foldICmpSubConstant()
2332 if (Pred == ICmpInst::ICMP_SLT && C.isNullValue()) in foldICmpSubConstant()
2638 if (C.isNullValue() && BO->hasOneUse()) { in foldICmpBinOpEqualityWithConstant()
2655 } else if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant()
2676 } else if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant()
2689 } else if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant()
2727 if (C.isNullValue() && (~(*BOC) + 1).isPowerOf2()) { in foldICmpBinOpEqualityWithConstant()
2736 if (C.isNullValue() && BO->hasNoSignedWrap()) { in foldICmpBinOpEqualityWithConstant()
2738 if (match(BOp1, m_APInt(BOC)) && !BOC->isNullValue()) { in foldICmpBinOpEqualityWithConstant()
2747 if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant()
2808 bool IsZero = C.isNullValue(); in foldICmpIntrinsicWithConstant()
2837 if (RHSC->isNullValue() && in foldICmpInstWithConstantNotInt()
2901 if (RHSC->isNullValue() && in foldICmpInstWithConstantNotInt()
3387 if (match(BO0->getOperand(1), m_APInt(C)) && !C->isNullValue() && in foldICmpBinOp()