Lines Matching refs:m_APInt
1495 if (match(DomCond, m_ICmp(DomPred, m_Specific(X), m_APInt(DomC))) && in foldICmpWithDominatingICmp()
1496 match(Y, m_APInt(C))) { in foldICmpWithDominatingICmp()
1578 match(X, m_Shr(m_Value(ShOp), m_APInt(ShAmtC))) && in foldICmpTruncConstant()
1597 if (!match(Y, m_APInt(XorC))) in foldICmpXorConstant()
1674 if (match(Shift->getOperand(1), m_APInt(C3))) { in foldICmpAndShift()
1758 if (!match(And, m_And(m_Value(X), m_APInt(C2)))) in foldICmpAndConstConst()
1902 if (And->hasOneUse() && C.isNullValue() && match(Y, m_APInt(C2))) { in foldICmpAndConstant()
1933 if (match(OrOp1, m_APInt(MaskC)) && Cmp.isEquality()) { in foldICmpOrConstant()
1989 if (!match(Mul->getOperand(1), m_APInt(MulC))) in foldICmpMulConstant()
2087 if (Cmp.isEquality() && match(Shl->getOperand(0), m_APInt(ShiftVal))) in foldICmpShlConstant()
2091 if (!match(Shl->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShlConstant()
2235 if (Cmp.isEquality() && match(Shr->getOperand(0), m_APInt(ShiftVal))) in foldICmpShrConstant()
2239 if (!match(Shr->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShrConstant()
2384 if (!match(UDiv->getOperand(0), m_APInt(C2))) in foldICmpUDivConstant()
2419 if (!match(Div->getOperand(1), m_APInt(C2))) in foldICmpDivConstant()
2588 if (match(X, m_APInt(C2)) && *C2 == C && Cmp.isEquality()) in foldICmpSubConstant()
2593 if (match(X, m_APInt(C2)) && in foldICmpSubConstant()
2623 if (!match(X, m_APInt(C2))) in foldICmpSubConstant()
2646 if (Cmp.isEquality() || !match(Y, m_APInt(C2))) in foldICmpAddConstant()
2881 if (match(Op1, m_APInt(C)) && Bitcast->hasOneUse() && in foldICmpBitCast()
2928 if (!match(Cmp.getOperand(1), m_APInt(C)) || in foldICmpBitCast()
2960 if (!match(Cmp.getOperand(1), m_APInt(C))) in foldICmpInstWithConstant()
3060 if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) { in foldICmpBinOpEqualityWithConstant()
3114 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) { in foldICmpBinOpEqualityWithConstant()
3126 if (match(BOp1, m_APInt(BOC))) { in foldICmpBinOpEqualityWithConstant()
3519 m_OneUse(m_AShr(m_Shl(m_Value(X), m_APInt(C0)), in foldICmpWithTruncSignExtendedVal()
3520 m_APInt(C1))), in foldICmpWithTruncSignExtendedVal()
4079 if (match(Op0, m_Mul(m_Value(X), m_APInt(C))) && *C != 0 && in foldICmpBinOp()
4128 if (match(BO0->getOperand(1), m_APInt(C))) { in foldICmpBinOp()
4149 if (match(BO0->getOperand(1), m_APInt(C)) && !C->isNullValue() && in foldICmpBinOp()
4945 if (!match(I.getOperand(1), m_APInt(RHS))) in getDemandedBitsLHSMask()
5183 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
5200 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
5217 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
5228 if (match(Op1, m_APInt(CmpC))) { in foldICmpUsingKnownBits()
5257 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits()
5766 if (match(Op1, m_APInt(C))) { in visitICmpInst()
5839 if (match(Op1, m_APInt(C))) in visitICmpInst()
5898 if (match(Op0, m_Add(m_Value(X), m_APInt(C))) && Op1 == X) in visitICmpInst()
5902 if (match(Op1, m_Add(m_Value(X), m_APInt(C))) && Op0 == X) in visitICmpInst()