Lines Matching refs:m_APInt
1395 if (match(DomCond, m_ICmp(DomPred, m_Specific(X), m_APInt(DomC))) && in foldICmpWithDominatingICmp()
1396 match(Y, m_APInt(C))) { in foldICmpWithDominatingICmp()
1475 if (!match(Y, m_APInt(XorC))) in foldICmpXorConstant()
1555 if (match(Shift->getOperand(1), m_APInt(C3))) { in foldICmpAndShift()
1635 if (!match(And->getOperand(1), m_APInt(C2))) in foldICmpAndConstConst()
1747 if (And->hasOneUse() && C.isNullValue() && match(Y, m_APInt(C2))) { in foldICmpAndConstant()
1820 if (!match(Mul->getOperand(1), m_APInt(MulC))) in foldICmpMulConstant()
1903 if (Cmp.isEquality() && match(Shl->getOperand(0), m_APInt(ShiftVal))) in foldICmpShlConstant()
1907 if (!match(Shl->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShlConstant()
2030 if (Cmp.isEquality() && match(Shr->getOperand(0), m_APInt(ShiftVal))) in foldICmpShrConstant()
2034 if (!match(Shr->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShrConstant()
2116 if (!match(UDiv->getOperand(0), m_APInt(C2))) in foldICmpUDivConstant()
2151 if (!match(Div->getOperand(1), m_APInt(C2))) in foldICmpDivConstant()
2341 if (!match(X, m_APInt(C2))) in foldICmpSubConstant()
2364 if (Cmp.isEquality() || !match(Y, m_APInt(C2))) in foldICmpAddConstant()
2539 if (!match(Cmp.getOperand(1), m_APInt(C))) in foldICmpInstWithConstant()
2640 if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) { in foldICmpBinOpEqualityWithConstant()
2650 if (match(BOp1, m_APInt(BOC))) { in foldICmpBinOpEqualityWithConstant()
2685 if (match(BOp0, m_APInt(BOC))) { in foldICmpBinOpEqualityWithConstant()
2697 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) { in foldICmpBinOpEqualityWithConstant()
2709 if (match(BOp1, m_APInt(BOC))) { in foldICmpBinOpEqualityWithConstant()
2738 if (match(BOp1, m_APInt(BOC)) && !BOC->isNullValue()) { in foldICmpBinOpEqualityWithConstant()
3037 m_OneUse(m_AShr(m_Shl(m_Value(X), m_APInt(C0)), in foldICmpWithTruncSignExtendedVal()
3038 m_APInt(C1))), in foldICmpWithTruncSignExtendedVal()
3364 if (match(BO0->getOperand(1), m_APInt(C))) { in foldICmpBinOp()
3387 if (match(BO0->getOperand(1), m_APInt(C)) && !C->isNullValue() && in foldICmpBinOp()
4162 if (!match(I.getOperand(1), m_APInt(RHS))) in getDemandedBitsLHSMask()
4395 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits()
4441 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
4463 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
4484 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
4499 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
4844 if (match(Op1, m_APInt(C))) { in visitICmpInst()
4976 if (match(Op1, m_APInt(C))) in visitICmpInst()
5028 if (match(Op0, m_Add(m_Value(X), m_APInt(C))) && Op1 == X) in visitICmpInst()
5032 if (match(Op1, m_Add(m_Value(X), m_APInt(C))) && Op0 == X) in visitICmpInst()