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

References

lib/Analysis/InstructionSimplify.cpp
  582   if (match(Op1, m_Undef()))
  703   if (match(Op0, m_Undef()) || match(Op1, m_Undef()))
  703   if (match(Op0, m_Undef()) || match(Op1, m_Undef()))
  838   if (match(Op1, m_CombineOr(m_Undef(), m_Zero())))
  896   if (match(Op1, m_Undef()))
  919   if (match(Op0, m_Undef()))
 1257   if (match(Op0, m_Undef()))
 1279   if (match(Op0, m_Undef()))
 1909   if (match(Op1, m_Undef()))
 2067   if (match(Op1, m_Undef()) || match(Op1, m_AllOnes()))
 2209   if (match(Op1, m_Undef()))
 4115   if (match(Val, m_Undef()))
 4123       if (match(Agg, m_Undef()))
 5034     if (match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5034     if (match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5048     if (match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5048     if (match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5065     if (Op0 == Op1 || match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5065     if (Op0 == Op1 || match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5094     if (match(Op0, m_Undef()))
 5096     if (match(Op1, m_Undef()))
 5173     if (match(Op0, m_Undef()) && match(Op1, m_Undef()))
 5173     if (match(Op0, m_Undef()) && match(Op1, m_Undef()))
 5177     if (match(ShAmtArg, m_Undef()))
lib/IR/ConstantFold.cpp
 1036       if (match(C2, m_Undef()))
lib/Target/AArch64/AArch64ISelLowering.cpp
 8639   if (!match(Op1, m_ShuffleVector(m_Value(S1Op1), m_Undef(), m_Constant(M1))) ||
 8640       !match(Op2, m_ShuffleVector(m_Value(S2Op1), m_Undef(), m_Constant(M2))))
lib/Target/ARM/ARMISelLowering.cpp
14792              m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_ZeroInt()),
14793                              m_Undef(), m_Zero()))) {
lib/Target/ARM/MVETailPredication.cpp
  218   if (!match(Shuffle, m_ShuffleVector(m_Instruction(Insert), m_Undef(),
  224   if (!match(Insert, m_InsertElement(m_Undef(), m_Instruction(BECount),
  254   if (!match(BroadcastSplat, m_ShuffleVector(m_Instruction(Insert), m_Undef(),
  260   if (!match(Insert, m_InsertElement(m_Undef(), m_Instruction(IV), m_Zero())))
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1978       if (match(Op1, m_ZeroInt()) || match(Op1, m_Undef()))
 1983       if (match(Op0, m_ZeroInt()) || match(Op0, m_Undef()))
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2797             m_ShuffleVector(m_Value(Vec), m_Undef(), m_Constant(Mask)))) {
 5364   if (match(LHS, m_ShuffleVector(m_Value(V1), m_Undef(), m_Constant(M))) &&
 5365       match(RHS, m_ShuffleVector(m_Value(V2), m_Undef(), m_Specific(M))) &&
lib/Transforms/InstCombine/InstCombineShifts.cpp
  143   if (C && match(C, m_Undef()))
  150       NewOps[i] = EltC && match(EltC, m_Undef()) ? Replacement : EltC;
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  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),
 1535       !match(Op1, m_Undef()) || match(Mask, m_ZeroInt()) || IndexC == 0)
 1688   if (!match(Shuf.getOperand(1), m_Undef()) || !Shuf.isIdentityWithExtract())
 1702   if (!match(Cond, m_OneUse(m_ShuffleVector(m_Value(NarrowCond), m_Undef(),
lib/Transforms/InstCombine/InstructionCombining.cpp
 1451   if (match(LHS, m_ShuffleVector(m_Value(V1), m_Undef(), m_Constant(Mask))) &&
 1452       match(RHS, m_ShuffleVector(m_Value(V2), m_Undef(), m_Specific(Mask))) &&
 1490           m_OneUse(m_ShuffleVector(m_Value(V1), m_Undef(), m_Constant(Mask))),
lib/Transforms/Utils/Local.cpp
 2037             if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) {
unittests/IR/PatternMatch.cpp
  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())));
  971   EXPECT_TRUE(match(SI1, m_ShuffleVector(m_Value(), m_Undef(), m_Zero())));
  981       m_ShuffleVector(m_InsertElement(m_Undef(), m_SpecificInt(1), m_Zero()),
  982                       m_Undef(), m_Zero())));
  984       SI3, m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_Zero()),
  985                            m_Undef(), m_Zero())));
  987       SI4, m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_Zero()),
  988                            m_Undef(), m_Zero())));
  991       m_ShuffleVector(m_InsertElement(m_Undef(), m_SpecificInt(2), m_Zero()),
  992                       m_Undef(), m_Zero())));
  994       SP2, m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(A), m_Zero()),
  995                            m_Undef(), m_Zero())));
 1014   EXPECT_TRUE(match(ScalarUndef, m_Undef()));
 1015   EXPECT_TRUE(match(VectorUndef, m_Undef()));
 1016   EXPECT_FALSE(match(ScalarZero, m_Undef()));
 1017   EXPECT_FALSE(match(VectorZero, m_Undef()));
 1018   EXPECT_FALSE(match(VectorZeroUndef, m_Undef()));
 1042   EXPECT_TRUE(match(ScalarUndef, m_Undef()));
 1043   EXPECT_TRUE(match(VectorUndef, m_Undef()));
 1044   EXPECT_FALSE(match(ScalarZero, m_Undef()));
 1045   EXPECT_FALSE(match(VectorZero, m_Undef()));
 1046   EXPECT_FALSE(match(VectorZeroUndef, m_Undef()));