Lines Matching refs:m_APInt
421 if (match(Op0, m_APInt(AC)) && match(Op1, m_Add(m_Value(A), m_APInt(AddC))) && in commonShiftTransforms()
481 if (!match(InnerShift->getOperand(1), m_APInt(InnerShiftConst))) in canEvaluateShiftedShift()
572 return !IsLeftShift && match(I->getOperand(1), m_APInt(MulConst)) && in canEvaluateShifted()
590 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift()
734 if (!match(C1, m_APInt(Op1C))) in FoldShiftByConstant()
769 if (match(Op0BO->getOperand(1), m_APInt(Op0C))) { in FoldShiftByConstant()
798 match(TBO->getOperand(1), m_APInt(C)) && in FoldShiftByConstant()
815 match(FBO->getOperand(1), m_APInt(C)) && in FoldShiftByConstant()
850 if (match(Op1, m_APInt(C))) { in visitShl()
870 if (match(Op0, m_Exact(m_Shr(m_Value(X), m_APInt(C1)))) && in visitShl()
891 if (match(Op0, m_OneUse(m_Shr(m_Value(X), m_APInt(C1)))) && in visitShl()
920 match(Shr, m_Shr(m_Value(X), m_APInt(C1)))) { in visitShl()
937 if (match(Op0, m_Shl(m_Value(X), m_APInt(C1))) && C1->ult(BitWidth)) { in visitShl()
974 m_APInt(CC))))) in visitShl()
993 m_APInt(CC))))) { in visitShl()
1004 if (match(Op0, m_OneUse(m_Sub(m_APInt(C1), m_Value(X))))) { in visitShl()
1072 if (match(Op1, m_APInt(C))) { in visitLShr()
1091 if (match(Op0, m_Shl(m_Value(X), m_APInt(C1))) && C1->ult(BitWidth)) { in visitLShr()
1200 if (match(Op0, m_LShr(m_Value(X), m_APInt(C1)))) { in visitLShr()
1209 match(TruncSrc, m_LShr(m_Value(X), m_APInt(C1)))) { in visitLShr()
1231 if (match(Op0, m_NUWMul(m_Value(X), m_APInt(MulC)))) { in visitLShr()
1382 if (match(Op1, m_APInt(ShAmtAPInt)) && ShAmtAPInt->ult(BitWidth)) { in visitAShr()
1396 if (match(Op0, m_NSWShl(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
1415 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShOp1))) && in visitAShr()