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

References

lib/Analysis/InstructionSimplify.cpp
 4168   if (match(Val, m_ExtractElement(m_Specific(Vec), m_Specific(Idx))))
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1846   if (!match(Cond, m_OneUse(m_ExtractElement(m_Value(), m_ConstantInt()))))
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  866   if (!match(Scalar, m_ExtractElement(m_Specific(X), m_SpecificInt(IdxC))))
 1054       match(ScalarOp, m_ExtractElement(m_Value(ExtVecOp),
unittests/IR/PatternMatch.cpp
  962   EXPECT_TRUE(match(EX1, m_ExtractElement(m_Value(A), m_Value(B))));
  966   EXPECT_FALSE(match(EX1, m_ExtractElement(m_Value(), m_ConstantInt())));
  967   EXPECT_TRUE(match(EX2, m_ExtractElement(m_Value(), m_ConstantInt())));
  968   EXPECT_TRUE(match(EX3, m_ExtractElement(m_Constant(), m_ConstantInt())));