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

References

lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 3175   if (!match(Op1, m_Constant()) &&
lib/Transforms/InstCombine/InstCombineCasts.cpp
  826         !match(A, m_Shr(m_Value(), m_Constant()))) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3327     if (!match(M, m_Constant())) // Can not do this fold with non-constant.
 3337     if (!match(M, m_Constant())) // Can not do this fold with non-constant.
 3347     if (!match(M, m_Constant())) // Can not do this fold with non-constant.
 3357     if (!match(M, m_Constant())) // Can not do this fold with non-constant.
lib/Transforms/InstCombine/InstCombineShifts.cpp
  319   if (match(Op0, m_Constant()) && match(Op1, m_Add(m_Value(A), m_Constant(C))))
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1703                                             m_Constant()))) ||
lib/Transforms/Scalar/CallSiteSplitting.cpp
  138   if (!match(Cond, m_ICmp(Pred, m_Value(), m_Constant())))
lib/Transforms/Scalar/Reassociate.cpp
 1958       if (match(I->getOperand(0), m_Constant()))
 1970       if (match(I->getOperand(0), m_Constant()) &&
 1971           match(I->getOperand(1), m_Constant()))
 2014       assert(!match(Negatible->getOperand(1), m_Constant()) &&
 2021       assert(!match(Negatible->getOperand(0), m_Constant()) &&
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3308          match(ZextLoad, m_Shl(m_Value(), m_Constant())))
unittests/IR/PatternMatch.cpp
  954   EXPECT_FALSE(match(VI2, m_InsertElement(m_Constant(), m_Value(), m_Value())));
  968   EXPECT_TRUE(match(EX3, m_ExtractElement(m_Constant(), m_ConstantInt())));