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

References

lib/Analysis/VectorUtils.cpp
  320   if (match(V, m_ShuffleVector(m_InsertElement(m_Value(), m_Value(Splat),
lib/Target/ARM/ARMISelLowering.cpp
14792              m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_ZeroInt()),
lib/Target/ARM/MVETailPredication.cpp
  224   if (!match(Insert, m_InsertElement(m_Undef(), m_Instruction(BECount),
  260   if (!match(Insert, m_InsertElement(m_Undef(), m_Instruction(IV), m_Zero())))
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
   60   if (match(V, m_InsertElement(m_Value(), m_Value(), m_ConstantInt())))
  188     if (!match(X, m_InsertElement(m_Value(), m_Value(Scalar),
  830   if (!match(Op0, m_InsertElement(m_Undef(), m_Specific(X), m_ZeroInt())))
 1533   if (!match(Op0, m_OneUse(m_InsertElement(m_Undef(), m_Value(X),
 1771     if (!match(V0, m_InsertElement(m_Value(), m_Value(Scalar),
unittests/IR/PatternMatch.cpp
  942   EXPECT_TRUE(match(VI1, m_InsertElement(m_Value(), m_Value(), m_Value())));
  944       match(VI1, m_InsertElement(m_Undef(), m_ConstantInt(), m_ConstantInt())));
  946       match(VI1, m_InsertElement(m_Undef(), m_ConstantInt(), m_Zero())));
  948       match(VI1, m_InsertElement(m_Undef(), m_SpecificInt(1), m_Zero())));
  949   EXPECT_TRUE(match(VI2, m_InsertElement(m_Value(), m_Value(), m_Value())));
  951       match(VI2, m_InsertElement(m_Value(), m_Value(), m_ConstantInt())));
  953       match(VI2, m_InsertElement(m_Value(), m_ConstantInt(), m_Value())));
  954   EXPECT_FALSE(match(VI2, m_InsertElement(m_Constant(), m_Value(), m_Value())));
  955   EXPECT_TRUE(match(VI3, m_InsertElement(m_Value(A), m_Value(B), m_Value(C))));
  981       m_ShuffleVector(m_InsertElement(m_Undef(), m_SpecificInt(1), m_Zero()),
  984       SI3, m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_Zero()),
  987       SI4, m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_Zero()),
  991       m_ShuffleVector(m_InsertElement(m_Undef(), m_SpecificInt(2), m_Zero()),
  994       SP2, m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(A), m_Zero()),