• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/

Lines Matching refs:DomAccess

1428 // 1. Get the next dominating clobbering MemoryDef (DomAccess) by walking
1430 // 2. Check that there are no reads between DomAccess and the StartDef by
1431 // checking all uses starting at DomAccess and walking until we see StartDef.
1743 MemoryAccess *DomAccess;
1755 DomAccess = Current;
1760 DomAccess = MSSA.getSkipSelfWalker()->getClobberingMemoryAccess(CurrentUD,
1762 if (MSSA.isLiveOnEntryDef(DomAccess))
1765 if (isa<MemoryPhi>(DomAccess))
1769 MemoryDef *DomDef = dyn_cast<MemoryDef>(DomAccess);
1780 // they cover all paths from DomAccess to any function exit.
1783 dbgs() << " Checking for reads of " << *DomAccess;
1784 if (isa<MemoryDef>(DomAccess))
1785 dbgs() << " (" << *cast<MemoryDef>(DomAccess)->getMemoryInst() << ")\n";
1795 PushMemUses(DomAccess);
1834 // For the KillingDef and DomAccess we only have to check if it reads the
1838 if (KillingDef == UseAccess || DomAccess == UseAccess) {
1855 if (DefVisibleToCallerAfterRet && UseAccess != DomAccess) {
1858 PostOrderNumbers.find(DomAccess->getBlock())->second) {
1871 // that the location is killed (=overwritten) along all paths from DomAccess
1886 // post-dominates DomAccess.
1888 if (PDT.dominates(CommonPred, DomAccess->getBlock()))
1889 return {DomAccess};
1893 // If the common post-dominator does not post-dominate DomAccess, there
1894 // is a path from DomAccess to an exit not going through a killing block.
1895 if (PDT.dominates(CommonPred, DomAccess->getBlock())) {
1898 // DomAccess's post-order number provides an upper bound of the blocks
1899 // on a path starting at DomAccess.
1901 PostOrderNumbers.find(DomAccess->getBlock())->second;
1913 // killing blocks before reaching DomAccess.
1919 if (Current == DomAccess->getBlock())
1922 // DomAccess is reachable from the entry, so we don't have to explore
1928 // Current block is not on a path starting at DomAccess.
1938 return {DomAccess};
1943 // No aliasing MemoryUses of DomAccess found, DomAccess is potentially dead.
1944 return {DomAccess};
2174 MemoryAccess *DomAccess = *Next;
2175 LLVM_DEBUG(dbgs() << " Checking if we can kill " << *DomAccess);
2176 if (isa<MemoryPhi>(DomAccess)) {
2178 for (Value *V : cast<MemoryPhi>(DomAccess)->incoming_values()) {
2181 BasicBlock *PhiBlock = DomAccess->getBlock();
2192 MemoryDef *NextDef = dyn_cast<MemoryDef>(DomAccess);