Lines Matching refs:m_APInt
438 if (!match(InnerShift->getOperand(1), m_APInt(InnerShiftConst))) in canEvaluateShiftedShift()
540 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift()
667 if (!match(Op1, m_APInt(Op1C))) in FoldShiftByConstant()
702 match(TI->getOperand(0), m_Shift(m_Value(), m_APInt(TrShiftAmt)))) { in FoldShiftByConstant()
762 m_APInt(CC)))) { in FoldShiftByConstant()
794 m_APInt(CC)))) { in FoldShiftByConstant()
811 if (match(Op0BO->getOperand(1), m_APInt(Op0C))) { in FoldShiftByConstant()
829 match(Op0BO->getOperand(0), m_APInt(Op0C))) { in FoldShiftByConstant()
855 match(TBO->getOperand(1), m_APInt(C)) && in FoldShiftByConstant()
874 match(FBO->getOperand(1), m_APInt(C)) && in FoldShiftByConstant()
912 if (match(Op1, m_APInt(ShAmtAPInt))) { in visitShl()
932 if (match(Op0, m_Exact(m_Shr(m_Value(X), m_APInt(ShOp1)))) && in visitShl()
953 if (match(Op0, m_OneUse(m_Shr(m_Value(X), m_APInt(ShOp1)))) && in visitShl()
979 if (match(Op0, m_Shl(m_Value(X), m_APInt(ShOp1))) && ShOp1->ult(BitWidth)) { in visitShl()
1052 if (match(Op1, m_APInt(ShAmtAPInt))) { in visitLShr()
1071 if (match(Op0, m_Shl(m_Value(X), m_APInt(ShOp1))) && ShOp1->ult(BitWidth)) { in visitLShr()
1158 if (match(Op0, m_LShr(m_Value(X), m_APInt(ShOp1)))) { in visitLShr()
1171 if (match(Op0, m_NUWMul(m_Value(X), m_APInt(MulC))) && in visitLShr()
1279 if (match(Op1, m_APInt(ShAmtAPInt)) && ShAmtAPInt->ult(BitWidth)) { in visitAShr()
1293 if (match(Op0, m_NSWShl(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
1312 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShOp1))) && in visitAShr()