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

References

unittests/IR/PatternMatch.cpp
  863   Value *LoadInst = IRB.CreateLoad(IRB.getInt32Ty(), Alloca);
  865   Value *StoreInst = IRB.CreateStore(FourtyTwo, Alloca);
  869   EXPECT_EQ(Alloca, MatchLoad);
  871   EXPECT_TRUE(m_Load(m_Specific(Alloca)).match(LoadInst));
  873   EXPECT_FALSE(m_Load(m_Value(MatchLoad)).match(Alloca));
  878   EXPECT_EQ(Alloca, MatchStorePointer);
  881                 .match(Alloca));
  883   EXPECT_TRUE(m_Store(m_SpecificInt(42), m_Specific(Alloca))
  887   EXPECT_FALSE(m_Store(m_SpecificInt(43), m_Specific(Alloca))