Lines Matching refs:m_APInt
1339 if (!match(Y, m_APInt(C))) in foldICmpWithDominatingICmp()
1347 if (!match(DomCond, m_ICmp(DomPred, m_Specific(X), m_APInt(DomC)))) in foldICmpWithDominatingICmp()
1472 match(X, m_Shr(m_Value(ShOp), m_APInt(ShAmtC))) && in foldICmpTruncConstant()
1548 if (!match(Y, m_APInt(XorC))) in foldICmpXorConstant()
1627 m_AShr(m_Deferred(X), m_APInt(ShiftC)))))) in foldICmpXorShiftConst()
1656 if (match(Shift->getOperand(1), m_APInt(C3))) { in foldICmpAndShift()
1740 if (!match(And, m_And(m_Value(X), m_APInt(C2)))) in foldICmpAndConstConst()
1900 if (match(X, m_Select(m_Value(A), m_APInt(TC), m_APInt(FC))) && in foldICmpAndConstant()
2002 if (match(OrOp1, m_APInt(MaskC)) && Cmp.isEquality()) { in foldICmpOrConstant()
2035 if (C.isNonNegative() && match(Or, m_Or(m_Value(X), m_APInt(OrC)))) { in foldICmpOrConstant()
2094 if (!match(Mul->getOperand(1), m_APInt(MulC))) in foldICmpMulConstant()
2218 if (Cmp.isEquality() && match(Shl->getOperand(0), m_APInt(ShiftVal))) in foldICmpShlConstant()
2248 if (!match(Shl->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShlConstant()
2386 if (match(X, m_APInt(ShiftValC))) { in foldICmpShrConstant()
2417 if (!match(Shr->getOperand(1), m_APInt(ShiftAmtC))) in foldICmpShrConstant()
2588 if (!match(X, m_APInt(C2))) in foldICmpUDivConstant()
2644 if (!match(Y, m_APInt(C2))) in foldICmpDivConstant()
2815 if (match(X, m_APInt(C2)) && in foldICmpSubConstant()
2856 if (!match(X, m_APInt(C2))) in foldICmpSubConstant()
2964 if (Cmp.isEquality() || !match(Y, m_APInt(C2))) in foldICmpAddConstant()
3215 if (match(Op1, m_APInt(C)) && Bitcast->hasOneUse() && in foldICmpBitCast()
3241 if (!match(Cmp.getOperand(1), m_APInt(C)) || !DstType->isIntegerTy() || in foldICmpBitCast()
3308 if (match(Cmp.getOperand(1), m_APInt(C))) { in foldICmpInstWithConstant()
3369 if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) { in foldICmpBinOpEqualityWithConstant()
3412 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) { in foldICmpBinOpEqualityWithConstant()
3562 if (match(II->getArgOperand(2), m_APInt(RotAmtC))) in foldICmpEqIntrinsicWithConstant()
3767 if (!match(Op1, m_APInt(COp1))) in foldICmpUSubSatOrUAddSatWithConstant()
4132 m_OneUse(m_AShr(m_Shl(m_Value(X), m_APInt(C0)), in foldICmpWithTruncSignExtendedVal()
4133 m_APInt(C1))), in foldICmpWithTruncSignExtendedVal()
4939 if (match(BO0->getOperand(1), m_APInt(C))) { in foldICmpBinOp()
4960 if (match(BO0->getOperand(1), m_APInt(C)) && !C->isZero() && in foldICmpBinOp()
5499 if (!match(Op0, m_OneUse(m_Trunc(m_Value(X)))) || !match(Op1, m_APInt(C))) in foldICmpWithTrunc()
5965 if (!match(I.getOperand(1), m_APInt(RHS))) in getDemandedBitsLHSMask()
6182 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
6199 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
6216 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
6227 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
6256 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits()
6388 m_APInt(C)))))) && in foldICmpUsingBoolRange()
6878 if (match(Op0, m_Add(m_Value(X), m_APInt(C))) && Op1 == X) in foldICmpCommutative()
7025 if (match(Op1, m_APInt(C))) { in visitICmpInst()
7158 match(Op1, m_APInt(C))) { in visitICmpInst()