• Home
  • Raw
  • Download

Lines Matching refs:MSSA

45     MemorySSA MSSA;  member
50 BAA(Test.DL, Test.TLI, AC, &DT), MSSA(*Test.F, &AA, &DT) { in TestAnalyses()
52 Walker = MSSA.getWalker(); in TestAnalyses()
88 MemorySSA &MSSA = Analyses->MSSA; in TEST_F() local
93 EXPECT_EQ(MSSA.getMemoryAccess(Merge), nullptr); in TEST_F()
96 MemoryPhi *MP = MSSA.createMemoryPhi(Merge); in TEST_F()
97 MemoryDef *StoreAccess = cast<MemoryDef>(MSSA.getMemoryAccess(StoreInst)); in TEST_F()
99 MP->addIncoming(MSSA.getLiveOnEntryDef(), Right); in TEST_F()
103 MSSA.createMemoryAccessInBB(LoadInst, MP, Merge, MemorySSA::Beginning)); in TEST_F()
106 MSSA.verifyMemorySSA(); in TEST_F()
131 MemorySSA &MSSA = Analyses->MSSA; in TEST_F() local
133 MemoryUse *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(LoadInst)); in TEST_F()
134 MemoryDef *StoreAccess = cast<MemoryDef>(MSSA.getMemoryAccess(StoreInst)); in TEST_F()
138 MSSA.removeMemoryAccess(StoreAccess); in TEST_F()
142 EXPECT_TRUE(MSSA.isLiveOnEntryDef(cast<MemoryAccess>(Op.get()))); in TEST_F()
144 MP->replaceAllUsesWith(MSSA.getLiveOnEntryDef()); in TEST_F()
146 EXPECT_TRUE(MSSA.isLiveOnEntryDef(LoadAccess->getDefiningAccess())); in TEST_F()
148 MSSA.removeMemoryAccess(MP); in TEST_F()
149 MSSA.verifyMemorySSA(); in TEST_F()
174 MemorySSA &MSSA = Analyses->MSSA; in TEST_F() local
179 MemoryUse *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(LoadInst)); in TEST_F()
180 MemoryDef *StoreAccess = cast<MemoryDef>(MSSA.getMemoryAccess(StoreInst)); in TEST_F()
186 MSSA.removeMemoryAccess(StoreAccess); in TEST_F()
187 MSSA.verifyMemorySSA(); in TEST_F()
195 MSSA.isLiveOnEntryDef(Walker->getClobberingMemoryAccess(LoadInst))); in TEST_F()
200 EXPECT_TRUE(MSSA.isLiveOnEntryDef(Operand)); in TEST_F()
204 MSSA.removeMemoryAccess(DefiningAccess); in TEST_F()
205 MSSA.verifyMemorySSA(); in TEST_F()
207 EXPECT_TRUE(MSSA.isLiveOnEntryDef(LoadAccess->getDefiningAccess())); in TEST_F()
233 MemorySSA &MSSA = Analyses->MSSA; in TEST_F() local
240 cast<MemoryUseOrDef>(MSSA.getMemoryAccess(V))->getDefiningAccess(); in TEST_F()
264 MemorySSA &MSSA = Analyses->MSSA; in TEST_F() local
268 EXPECT_EQ(LoadClobber, MSSA.getMemoryAccess(SI)); in TEST_F()
269 EXPECT_TRUE(MSSA.isLiveOnEntryDef(Walker->getClobberingMemoryAccess(SI))); in TEST_F()
293 MemorySSA &MSSA = Analyses->MSSA; in TEST_F() local
296 MemoryAccess *StoreAccess = MSSA.getMemoryAccess(SI); in TEST_F()
303 EXPECT_TRUE(MSSA.isLiveOnEntryDef(LiveOnEntry)); in TEST_F()
309 EXPECT_TRUE(MSSA.isLiveOnEntryDef(LiveOnEntry)); in TEST_F()