Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp214 Value *MaskShAmt; in dropRedundantMaskingOfLeftShiftInput() local
217 auto MaskA = m_Add(m_Shl(m_One(), m_Value(MaskShAmt)), m_AllOnes()); in dropRedundantMaskingOfLeftShiftInput()
219 auto MaskB = m_Not(m_Shl(m_AllOnes(), m_Value(MaskShAmt))); in dropRedundantMaskingOfLeftShiftInput()
221 auto MaskC = m_LShr(m_AllOnes(), m_Value(MaskShAmt)); in dropRedundantMaskingOfLeftShiftInput()
224 m_LShr(m_Shl(m_AllOnes(), m_Value(MaskShAmt)), m_Deferred(MaskShAmt)); in dropRedundantMaskingOfLeftShiftInput()
231 match(MaskShAmt, m_ZExtOrSelf(m_Value(MaskShAmt))); in dropRedundantMaskingOfLeftShiftInput()
235 MaskShAmt)) in dropRedundantMaskingOfLeftShiftInput()
240 MaskShAmt, ShiftShAmt, /*IsNSW=*/false, /*IsNUW=*/false, Q)); in dropRedundantMaskingOfLeftShiftInput()
267 match(Masked, m_Shr(m_Shl(m_Value(X), m_Value(MaskShAmt)), in dropRedundantMaskingOfLeftShiftInput()
268 m_Deferred(MaskShAmt)))) { in dropRedundantMaskingOfLeftShiftInput()
[all …]