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)));
  788   EXPECT_EQ(L, MatchL);
  790   MatchL = MatchR = nullptr;
  792       m_NSWSub(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWSub(L, R)));
  793   EXPECT_EQ(L, MatchL);
  795   MatchL = MatchR = nullptr;
  797       m_NSWMul(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWMul(L, R)));
  798   EXPECT_EQ(L, MatchL);
  800   MatchL = MatchR = nullptr;
  801   EXPECT_TRUE(m_NSWShl(m_Value(MatchL), m_Value(MatchR)).match(
  803   EXPECT_EQ(L, MatchL);
  807       m_NUWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNUWAdd(L, R)));
  808   EXPECT_EQ(L, MatchL);
  810   MatchL = MatchR = nullptr;
  812       m_NUWSub(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNUWSub(L, R)));
  813   EXPECT_EQ(L, MatchL);
  815   MatchL = MatchR = nullptr;
  817       m_NUWMul(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNUWMul(L, R)));
  818   EXPECT_EQ(L, MatchL);
  820   MatchL = MatchR = nullptr;
  821   EXPECT_TRUE(m_NUWShl(m_Value(MatchL), m_Value(MatchR)).match(
  823   EXPECT_EQ(L, MatchL);