reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/InstructionSimplify.cpp
 1285       match(Op0, m_Exact(m_Shr(m_Value(X), m_Specific(Op1)))))
lib/Analysis/ValueTracking.cpp
  753       } else if (match(Cmp, m_c_ICmp(Pred, m_Shr(m_V, m_ConstantInt(C)),
  763       } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_Shr(m_V, m_ConstantInt(C))),
 2140   else if (match(V, m_Shr(m_Value(X), m_Value(Y)))) {
lib/Transforms/InstCombine/InstCombineCasts.cpp
  826         !match(A, m_Shr(m_Value(), m_Constant()))) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1371   if (match(Val, m_TruncOrSelf(m_Shr(m_Value(X), m_Constant(C))))) {
lib/Transforms/InstCombine/InstCombineShifts.cpp
   62   bool HadTwoRightShifts = match(Sh0, m_Shr(m_Value(), m_Value())) &&
   63                            match(Sh1, m_Shr(m_Value(), m_Value()));
  198   auto MaskC = m_Shr(m_AllOnes(), m_Value(MaskShAmt));
  201       m_Shr(m_Shl(m_AllOnes(), m_Value(MaskShAmt)), m_Deferred(MaskShAmt));
  229              match(Masked, m_Shr(m_Shl(m_Value(X), m_Value(MaskShAmt)),
  692             match(Op0BO->getOperand(1), m_Shr(m_Value(V1),
  712                   m_And(m_OneUse(m_Shr(m_Value(V1), m_Specific(Op1))),
  727             match(Op0BO->getOperand(0), m_Shr(m_Value(V1),
  746                   m_And(m_OneUse(m_Shr(m_Value(V1), m_Value(V2))),
  880     if (match(Op0, m_Shr(m_Value(X), m_Specific(Op1)))) {
  888     if (match(Op0, m_Exact(m_Shr(m_Value(X), m_APInt(ShOp1))))) {
  933   if (match(Op0, m_OneUse(m_Shr(m_Value(X), m_Specific(Op1))))) {
 1131   if (!match(HighBitExtract, m_Shr(m_Value(X), m_Value(NumLowBitsToSkip))))
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  469       if (match(I->getOperand(0), m_Shr(m_Value(), m_APInt(ShrAmt))))