Lines Matching refs:m_APInt
788 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
791 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand()
794 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand()
797 } else if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && (*C1 == *C2)) { in checkForNegativeOperand()
811 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
817 if (match(LHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
819 if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && *C1 == (*C2 + 1)) { in checkForNegativeOperand()
852 if (!match(Op1, m_APInt(C))) in foldAddWithConstant()
870 if (match(Op0, m_ZExt(m_Xor(m_Value(X), m_APInt(C2)))) && in foldAddWithConstant()
875 if (match(Op0, m_OneUse(m_ZExt(m_NUWAdd(m_Value(X), m_APInt(C2))))) && in foldAddWithConstant()
895 if (match(Op0, m_AShr(m_Shl(m_Value(X), m_APInt(C2)), m_APInt(C3))) && in foldAddWithConstant()
910 if (match(E, m_Mul(m_Value(Op), m_APInt(AI)))) { in MatchMul()
914 if (match(E, m_Shl(m_Value(Op), m_APInt(AI)))) { in MatchMul()
929 if (match(E, m_SRem(m_Value(Op), m_APInt(AI)))) { in MatchRem()
934 if (match(E, m_URem(m_Value(Op), m_APInt(AI)))) { in MatchRem()
938 if (match(E, m_And(m_Value(Op), m_APInt(AI))) && (*AI + 1).isPowerOf2()) { in MatchRem()
950 if (IsSigned && match(E, m_SDiv(m_Value(Op), m_APInt(AI)))) { in MatchDiv()
955 if (match(E, m_UDiv(m_Value(Op), m_APInt(AI)))) { in MatchDiv()
959 if (match(E, m_LShr(m_Value(Op), m_APInt(AI)))) { in MatchDiv()
1542 if (match(Op0, m_APInt(Op0C))) { in visitSub()
1550 if (match(Op1, m_LShr(m_Value(X), m_APInt(ShAmt))) && in visitSub()
1555 if (match(Op1, m_AShr(m_Value(X), m_APInt(ShAmt))) && in visitSub()
1719 if (match(Op1, m_AShr(m_Value(A), m_APInt(ShAmt))) && in visitSub()