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

References

lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1138           m_ZExtOrSelf(m_Sub(m_Constant(C), m_ZExtOrSelf(m_Value(NBits))))) ||
 1138           m_ZExtOrSelf(m_Sub(m_Constant(C), m_ZExtOrSelf(m_Value(NBits))))) ||
 1148       match(V, m_ZExtOrSelf(m_Value(V)));
 1183                    m_ZExtOrSelf(m_Specific(NBits)))))
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3494   match(XShift, m_BinOp(m_Value(X), m_ZExtOrSelf(m_Value(XShAmt))));
 3495   match(YShift, m_BinOp(m_Value(Y), m_ZExtOrSelf(m_Value(YShAmt))));
lib/Transforms/InstCombine/InstCombineShifts.cpp
   38              m_Shift(m_Instruction(Sh0Op0), m_ZExtOrSelf(m_Value(ShAmt0)))))
   53   if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1)))))
 1117                           m_ZExtOrSelf(m_Sub(m_Constant(C1),
 1118                                              m_ZExtOrSelf(m_Value(NBits))))),
 1119                     m_ZExtOrSelf(m_Sub(m_Constant(C2),
 1120                                        m_ZExtOrSelf(m_Deferred(NBits)))))) ||
 1137              m_ZExtOrSelf(
 1138                  m_Sub(m_Constant(C0), m_ZExtOrSelf(m_Specific(NBits))))) ||
unittests/IR/PatternMatch.cpp
  493   EXPECT_TRUE(m_ZExtOrSelf(m_One()).match(One32));
  494   EXPECT_TRUE(m_ZExtOrSelf(m_One()).match(One64Z));
  495   EXPECT_FALSE(m_ZExtOrSelf(m_One()).match(One64S));