Lines Matching refs:m_APInt
1491 if (match(DomCond, m_ICmp(DomPred, m_Specific(X), m_APInt(DomC))) && in foldICmpWithDominatingICmp()
1492 match(Y, m_APInt(C))) { in foldICmpWithDominatingICmp()
1584 match(X, m_Shr(m_Value(ShOp), m_APInt(ShAmtC))) && in foldICmpTruncConstant()
1603 if (!match(Y, m_APInt(XorC))) in foldICmpXorConstant()
1680 if (match(Shift->getOperand(1), m_APInt(C3))) { in foldICmpAndShift()
1764 if (!match(And, m_And(m_Value(X), m_APInt(C2)))) in foldICmpAndConstConst()
1925 if (match(OrOp1, m_APInt(MaskC)) && Cmp.isEquality()) { in foldICmpOrConstant()
1992 if (!match(Mul->getOperand(1), m_APInt(MulC))) in foldICmpMulConstant()
2124 if (Cmp.isEquality() && match(Shl->getOperand(0), m_APInt(ShiftVal))) in foldICmpShlConstant()
2128 if (!match(Shl->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShlConstant()
2272 if (match(X, m_APInt(ShiftValC))) { in foldICmpShrConstant()
2304 if (!match(Shr->getOperand(1), m_APInt(ShiftAmtC))) in foldICmpShrConstant()
2475 if (!match(X, m_APInt(C2))) in foldICmpUDivConstant()
2531 if (!match(Y, m_APInt(C2))) in foldICmpDivConstant()
2702 if (match(X, m_APInt(C2)) && in foldICmpSubConstant()
2743 if (!match(X, m_APInt(C2))) in foldICmpSubConstant()
2771 if (Cmp.isEquality() || !match(Y, m_APInt(C2))) in foldICmpAddConstant()
3017 if (match(Op1, m_APInt(C)) && Bitcast->hasOneUse() && in foldICmpBitCast()
3055 if (!match(Cmp.getOperand(1), m_APInt(C)) || !DstType->isIntegerTy() || in foldICmpBitCast()
3120 if (match(Cmp.getOperand(1), m_APInt(C))) { in foldICmpInstWithConstant()
3167 if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) { in foldICmpBinOpEqualityWithConstant()
3208 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) { in foldICmpBinOpEqualityWithConstant()
3220 if (match(BOp1, m_APInt(BOC))) { in foldICmpBinOpEqualityWithConstant()
3303 if (match(II->getArgOperand(2), m_APInt(RotAmtC))) in foldICmpEqIntrinsicWithConstant()
3742 m_OneUse(m_AShr(m_Shl(m_Value(X), m_APInt(C0)), in foldICmpWithTruncSignExtendedVal()
3743 m_APInt(C1))), in foldICmpWithTruncSignExtendedVal()
4365 if (match(Op0, m_Mul(m_Value(X), m_APInt(C))) && *C != 0 && in foldICmpBinOp()
4414 if (match(BO0->getOperand(1), m_APInt(C))) { in foldICmpBinOp()
4435 if (match(BO0->getOperand(1), m_APInt(C)) && !C->isZero() && in foldICmpBinOp()
4801 if (!match(Op0, m_OneUse(m_Trunc(m_Value(X)))) || !match(Op1, m_APInt(C))) in foldICmpWithTrunc()
5313 if (!match(I.getOperand(1), m_APInt(RHS))) in getDemandedBitsLHSMask()
5550 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
5567 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
5584 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
5595 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
5624 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits()
6208 if (match(Op1, m_APInt(C))) { in visitICmpInst()
6296 if (match(Op1, m_APInt(C))) in visitICmpInst()
6355 if (match(Op0, m_Add(m_Value(X), m_APInt(C))) && Op1 == X) in visitICmpInst()
6359 if (match(Op1, m_Add(m_Value(X), m_APInt(C))) && Op0 == X) in visitICmpInst()