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

References

unittests/IR/PatternMatch.cpp
  787       m_NSWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWAdd(L, R)));
  789   EXPECT_EQ(R, MatchR);
  790   MatchL = MatchR = nullptr;
  792       m_NSWSub(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWSub(L, R)));
  794   EXPECT_EQ(R, MatchR);
  795   MatchL = MatchR = nullptr;
  797       m_NSWMul(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWMul(L, R)));
  799   EXPECT_EQ(R, MatchR);
  800   MatchL = MatchR = nullptr;
  801   EXPECT_TRUE(m_NSWShl(m_Value(MatchL), m_Value(MatchR)).match(
  804   EXPECT_EQ(R, MatchR);
  807       m_NUWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNUWAdd(L, R)));
  809   EXPECT_EQ(R, MatchR);
  810   MatchL = MatchR = nullptr;
  812       m_NUWSub(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNUWSub(L, R)));
  814   EXPECT_EQ(R, MatchR);
  815   MatchL = MatchR = nullptr;
  817       m_NUWMul(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNUWMul(L, R)));
  819   EXPECT_EQ(R, MatchR);
  820   MatchL = MatchR = nullptr;
  821   EXPECT_TRUE(m_NUWShl(m_Value(MatchL), m_Value(MatchR)).match(
  824   EXPECT_EQ(R, MatchR);