Lines Matching refs:m_APInt
77 if (!match(InnerShift->getOperand(1), m_APInt(InnerShiftConst))) in canEvaluateShiftedShift()
204 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift()
352 if (!match(Op1, m_APInt(Op1C))) in FoldShiftByConstant()
510 if (match(Op0BO->getOperand(1), m_APInt(Op0C))) { in FoldShiftByConstant()
528 match(Op0BO->getOperand(0), m_APInt(Op0C))) { in FoldShiftByConstant()
554 match(TBO->getOperand(1), m_APInt(C)) && in FoldShiftByConstant()
573 match(FBO->getOperand(1), m_APInt(C)) && in FoldShiftByConstant()
605 if (match(Op1, m_APInt(ShAmtAPInt))) { in visitShl()
628 if (match(Op0, m_Exact(m_Shr(m_Value(X), m_APInt(ShOp1))))) { in visitShl()
648 if (match(Op0, m_Shl(m_Value(X), m_APInt(ShOp1)))) { in visitShl()
709 if (match(Op1, m_APInt(ShAmtAPInt))) { in visitLShr()
728 if (match(Op0, m_Shl(m_Value(X), m_APInt(ShOp1))) && ShOp1->ult(BitWidth)) { in visitLShr()
797 if (match(Op0, m_LShr(m_Value(X), m_APInt(ShOp1)))) { in visitLShr()
839 if (match(Op1, m_APInt(ShAmtAPInt)) && ShAmtAPInt->ult(BitWidth)) { in visitAShr()
853 if (match(Op0, m_NSWShl(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
872 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShOp1))) && in visitAShr()