reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
236 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) 260 MemorySSA* getMemorySSA() const { return MSSA; }lib/Analysis/MemorySSAUpdater.cpp
51 if (!MSSA->DT->isReachableFromEntry(BB)) 52 return MSSA->getLiveOnEntryDef(); 66 MemoryAccess *Result = MSSA->createMemoryPhi(BB); 81 if (MSSA->DT->isReachableFromEntry(Pred)) { 89 PhiOps.push_back(MSSA->getLiveOnEntryDef()); 94 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB)); 109 Phi = MSSA->createMemoryPhi(BB); 153 auto *Defs = MSSA->getWritableBlockDefs(MA->getBlock()); 165 auto End = MSSA->getWritableBlockAccesses(MA->getBlock())->rend(); 180 auto *Defs = MSSA->getWritableBlockDefs(BB); 232 return MSSA->getLiveOnEntryDef(); 261 auto *Defs = MSSA->getBlockDefs(MU->getBlock()); 271 if (auto *Defs = MSSA->getWritableBlockDefs(StartBlock)) { 278 MSSA->renamePass(MU->getBlock(), FirstDef, Visited); 284 MSSA->renamePass(Phi->getBlock(), nullptr, Visited); 367 auto IterEnd = MSSA->getBlockDefs(MD->getBlock())->end(); 374 ForwardIDFCalculator IDFs(*MSSA->DT); 380 auto *MPhi = MSSA->getMemoryAccess(BBIDF); 382 MPhi = MSSA->createMemoryPhi(BBIDF); 435 MemoryAccess *FirstDef = &*MSSA->getWritableBlockDefs(StartBlock)->begin(); 441 MSSA->renamePass(MD->getBlock(), FirstDef, Visited); 447 MSSA->renamePass(Phi->getBlock(), nullptr, Visited); 460 auto *Defs = MSSA->getWritableBlockDefs(NewDef->getBlock()); 477 if (auto *MP = MSSA->getMemoryAccess(S)) 488 if (auto *Defs = MSSA->getWritableBlockDefs(FixupBlock)) { 495 assert(MSSA->dominates(NewDef, FirstDef) && 508 if (auto *MP = MSSA->getMemoryAccess(S)) 523 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(To)) { 531 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(To)) { 586 const MemorySSA::AccessList *Acc = MSSA->getBlockAccesses(BB); 601 MemoryAccess *NewUseOrDef = MSSA->createDefinedAccess( 604 MPhiMap, CloneWasSimplified, MSSA), 608 MSSA->insertIntoListsForBlock(NewUseOrDef, NewBB, MemorySSA::End); 616 auto *MPhi = MSSA->getMemoryAccess(Header); 622 auto *NewMPhi = MSSA->createMemoryPhi(BEBlock); 682 if (!MSSA->isLiveOnEntryDef(IncMUD)) { 687 IncMUD = MSSA->getMemoryAccess(NewIncI); 708 assert(!MSSA->getWritableBlockAccesses(NewBlock) && 712 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) { 713 MemoryPhi *NewPhi = MSSA->createMemoryPhi(NewBlock); 724 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) 740 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) 825 MemorySSA::DefsList *Defs = MSSA->getWritableBlockDefs(BB); 846 return MSSA->getLiveOnEntryDef(); 852 return MSSA->getLiveOnEntryDef(); 858 return MSSA->getLiveOnEntryDef(); 962 if (PredMap.count(BB) && !MSSA->getMemoryAccess(BB)) 963 InsertedPhis.push_back(MSSA->createMemoryPhi(BB)); 987 MemoryPhi *NewPhi = MSSA->getMemoryAccess(BB); 1064 if (!MSSA->getMemoryAccess(BBIDF)) { 1065 auto *IDFPhi = MSSA->createMemoryPhi(BBIDF); 1071 auto *IDFPhi = MSSA->getMemoryAccess(BBIDF); 1091 if (auto DefsList = MSSA->getWritableBlockDefs(BlockWithDefsToReplace)) { 1107 if (auto *DomBlPhi = MSSA->getMemoryAccess(DominatedBlock)) 1137 MSSA->moveTo(What, BB, Where); 1169 MemorySSA::AccessList *Accs = MSSA->getWritableBlockAccesses(From); 1176 if ((FirstInNew = MSSA->getMemoryAccess(&I))) 1185 MSSA->moveTo(MUD, To, MemorySSA::End); 1188 Accs = MSSA->getWritableBlockAccesses(From); 1195 auto *Defs = MSSA->getWritableBlockDefs(From); 1204 assert(MSSA->getBlockAccesses(To) == nullptr && 1208 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Succ)) 1218 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Succ)) 1239 assert(!MSSA->getWritableBlockAccesses(New) && 1241 MemoryPhi *Phi = MSSA->getMemoryAccess(Old); 1247 MSSA->moveTo(Phi, New, MemorySSA::Beginning); 1251 MemoryPhi *NewPhi = MSSA->createMemoryPhi(New); 1274 assert(!MSSA->isLiveOnEntryDef(MA) && 1322 MSSA->removeFromLookups(MA); 1323 MSSA->removeFromLists(MA); 1347 if (MemoryPhi *MP = MSSA->getMemoryAccess(Succ)) { 1352 if (MemorySSA::AccessList *Acc = MSSA->getWritableBlockAccesses(BB)) 1359 MemorySSA::AccessList *Acc = MSSA->getWritableBlockAccesses(BB); 1365 MSSA->removeFromLookups(MA); 1366 MSSA->removeFromLists(MA); 1389 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Successor)) { 1405 if (auto *MPhi = MSSA->getMemoryAccess(Succ)) { 1417 MemoryUseOrDef *NewAccess = MSSA->createDefinedAccess(I, Definition); 1418 MSSA->insertIntoListsForBlock(NewAccess, BB, Point); 1426 MemoryUseOrDef *NewAccess = MSSA->createDefinedAccess(I, Definition); 1427 MSSA->insertIntoListsBefore(NewAccess, InsertPt->getBlock(), 1436 MemoryUseOrDef *NewAccess = MSSA->createDefinedAccess(I, Definition); 1437 MSSA->insertIntoListsBefore(NewAccess, InsertPt->getBlock(),