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

References

include/llvm/IR/PatternMatch.h
 1347   return m_CombineOr(m_ZExtOrSExt(Op), Op);
lib/Target/AArch64/AArch64ISelLowering.cpp
 8670   if (!match(Ext1, m_ZExtOrSExt(m_Value())) ||
 8671       !match(Ext2, m_ZExtOrSExt(m_Value())) ||
lib/Target/ARM/ARMISelLowering.cpp
14739   if (!match(Ext1, m_ZExtOrSExt(m_Value())) ||
14740       !match(Ext2, m_ZExtOrSExt(m_Value())) ||
lib/Transforms/InstCombine/InstCombineCalls.cpp
 3745               m_ZExtOrSExt(m_Cmp(SrcPred, m_Value(SrcLHS), m_Value(SrcRHS))))) {
lib/Transforms/InstCombine/InstCombineCasts.cpp
  309   if ((match(V, m_ZExtOrSExt(m_Value(X))) || match(V, m_Trunc(m_Value(X)))) &&
  612     if (match(BinOp0, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) {
  617     if (match(BinOp1, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4303   if (!match(CastOp0, m_ZExtOrSExt(m_Value(X))))
lib/Transforms/InstCombine/InstructionCombining.cpp
 1583   if (!(match(Op1, m_ZExtOrSExt(m_Value(Y))) && X->getType() == Y->getType() &&
unittests/IR/PatternMatch.cpp
  501   EXPECT_FALSE(m_ZExtOrSExt(m_One()).match(One32));
  502   EXPECT_TRUE(m_ZExtOrSExt(m_One()).match(One64Z));
  503   EXPECT_TRUE(m_ZExtOrSExt(m_One()).match(One64S));