Lines Matching refs:m_APInt
125 if (!match(Elt, m_APInt(IVal)) || !IVal->isPowerOf2()) in getLogBase2Vector()
203 match(C1, m_APInt(IVal))) { in visitMul()
218 if (match(C1, m_APInt(IVal)) && IVal->isPowerOf2()) in visitMul()
819 if (match(Op1, m_APInt(C2))) { in commonIDivTransforms()
825 if ((IsSigned && match(LHS, m_SDiv(m_Value(X), m_APInt(C1)))) || in commonIDivTransforms()
826 (!IsSigned && match(LHS, m_UDiv(m_Value(X), m_APInt(C1))))) { in commonIDivTransforms()
833 if ((IsSigned && match(LHS, m_NSWMul(m_Value(X), m_APInt(C1)))) || in commonIDivTransforms()
834 (!IsSigned && match(LHS, m_NUWMul(m_Value(X), m_APInt(C1))))) { in commonIDivTransforms()
858 if ((IsSigned && match(LHS, m_NSWShl(m_Value(X), m_APInt(C1))) && in commonIDivTransforms()
860 (!IsSigned && match(LHS, m_NUWShl(m_Value(X), m_APInt(C1))))) { in commonIDivTransforms()
1073 if (match(Op0, m_LShr(m_Value(X), m_APInt(C1))) && in visitUDiv()
1074 match(Op1, m_APInt(C2))) { in visitUDiv()
1143 if (match(Op1, m_APInt(Op1C))) { in visitSDiv()
1398 if (match(Op1, m_APInt(Op1Int)) && !Op1Int->isMinValue() && in commonIRemTransforms()
1469 if (match(Op1, m_APInt(Y)) && Y->isNegative() && !Y->isMinSignedValue()) { in visitSRem()