Home
last modified time | relevance | path

Searched refs:ShOp1 (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1738 const APInt *ShOp1; in visitAShr() local
1739 if (match(Op0, m_NSWShl(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
1740 ShOp1->ult(BitWidth)) { in visitAShr()
1741 unsigned ShlAmt = ShOp1->getZExtValue(); in visitAShr()
1758 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
1759 ShOp1->ult(BitWidth)) { in visitAShr()
1760 unsigned AmtSum = ShAmt + ShOp1->getZExtValue(); in visitAShr()