Home
last modified time | relevance | path

Searched refs:NewAccess (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp1422 MemoryUseOrDef *NewAccess = MSSA->createDefinedAccess( in createMemoryAccessInBB() local
1424 if (NewAccess) in createMemoryAccessInBB()
1425 MSSA->insertIntoListsForBlock(NewAccess, BB, Point); in createMemoryAccessInBB()
1426 return NewAccess; in createMemoryAccessInBB()
1433 MemoryUseOrDef *NewAccess = MSSA->createDefinedAccess(I, Definition); in createMemoryAccessBefore() local
1434 MSSA->insertIntoListsBefore(NewAccess, InsertPt->getBlock(), in createMemoryAccessBefore()
1436 return NewAccess; in createMemoryAccessBefore()
1443 MemoryUseOrDef *NewAccess = MSSA->createDefinedAccess(I, Definition); in createMemoryAccessAfter() local
1444 MSSA->insertIntoListsBefore(NewAccess, InsertPt->getBlock(), in createMemoryAccessAfter()
1446 return NewAccess; in createMemoryAccessAfter()
H A DMemorySSA.cpp1618 void MemorySSA::insertIntoListsForBlock(MemoryAccess *NewAccess, in insertIntoListsForBlock() argument
1625 if (isa<MemoryPhi>(NewAccess)) { in insertIntoListsForBlock()
1626 Accesses->push_front(NewAccess); in insertIntoListsForBlock()
1628 Defs->push_front(*NewAccess); in insertIntoListsForBlock()
1632 Accesses->insert(AI, NewAccess); in insertIntoListsForBlock()
1633 if (!isa<MemoryUse>(NewAccess)) { in insertIntoListsForBlock()
1637 Defs->insert(DI, *NewAccess); in insertIntoListsForBlock()
1641 Accesses->push_back(NewAccess); in insertIntoListsForBlock()
1642 if (!isa<MemoryUse>(NewAccess)) { in insertIntoListsForBlock()
1644 Defs->push_back(*NewAccess); in insertIntoListsForBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp688 auto *NewAccess = MSSAU->createMemoryAccessAfter(M, nullptr, LastDef); in processStoreOfLoad() local
689 MSSAU->insertDef(cast<MemoryDef>(NewAccess), /*RenameUses=*/true); in processStoreOfLoad()
816 auto *NewAccess = MSSAU->createMemoryAccessBefore(M, nullptr, StoreDef); in processStore() local
817 MSSAU->insertDef(cast<MemoryDef>(NewAccess), /*RenameUses=*/false); in processStore()
1265 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in processMemCpyMemCpyDependence() local
1266 MSSAU->insertDef(cast<MemoryDef>(NewAccess), /*RenameUses=*/true); in processMemCpyMemCpyDependence()
1379 auto *NewAccess = in processMemSetMemCpyDependence() local
1381 MSSAU->insertDef(cast<MemoryDef>(NewAccess), /*RenameUses=*/true); in processMemSetMemCpyDependence()
1504 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in performMemCpyToMemSetOptzn() local
1505 MSSAU->insertDef(cast<MemoryDef>(NewAccess), /*RenameUses=*/true); in performMemCpyToMemSetOptzn()
[all …]
H A DGVN.cpp1581 auto *NewAccess = MSSAU->createMemoryAccessInBB( in eliminatePartiallyRedundantLoad() local
1583 if (auto *NewDef = dyn_cast<MemoryDef>(NewAccess)) in eliminatePartiallyRedundantLoad()
1586 MSSAU->insertUse(cast<MemoryUse>(NewAccess), /*RenameUses=*/true); in eliminatePartiallyRedundantLoad()
H A DDeadStoreElimination.cpp2101 auto *NewAccess = in tryFoldIntoCalloc() local
2104 auto *NewAccessMD = cast<MemoryDef>(NewAccess); in tryFoldIntoCalloc()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3481 ModRefInfo NewAccess = in isAllocSiteRemovable() local
3483 if ((Access & ~NewAccess) != ModRefInfo::NoModRef) in isAllocSiteRemovable()
3485 Access |= NewAccess; in isAllocSiteRemovable()