Lines Matching refs:StartingAccess
2443 MemoryAccess *StartingAccess, const MemoryLocation &Loc, in getClobberingMemoryAccessBase() argument
2445 if (isa<MemoryPhi>(StartingAccess)) in getClobberingMemoryAccessBase()
2446 return StartingAccess; in getClobberingMemoryAccessBase()
2448 auto *StartingUseOrDef = cast<MemoryUseOrDef>(StartingAccess); in getClobberingMemoryAccessBase()
2485 auto *StartingAccess = dyn_cast<MemoryUseOrDef>(MA); in getClobberingMemoryAccessBase() local
2487 if (!StartingAccess) in getClobberingMemoryAccessBase()
2495 if (StartingAccess->isOptimized()) { in getClobberingMemoryAccessBase()
2496 if (!SkipSelf || !isa<MemoryDef>(StartingAccess)) in getClobberingMemoryAccessBase()
2497 return StartingAccess->getOptimized(); in getClobberingMemoryAccessBase()
2501 const Instruction *I = StartingAccess->getMemoryInst(); in getClobberingMemoryAccessBase()
2506 return StartingAccess; in getClobberingMemoryAccessBase()
2508 UpwardsMemoryQuery Q(I, StartingAccess); in getClobberingMemoryAccessBase()
2512 StartingAccess->setOptimized(LiveOnEntry); in getClobberingMemoryAccessBase()
2513 StartingAccess->setOptimizedAccessType(None); in getClobberingMemoryAccessBase()
2520 MemoryAccess *DefiningAccess = StartingAccess->getDefiningAccess(); in getClobberingMemoryAccessBase()
2525 StartingAccess->setOptimized(DefiningAccess); in getClobberingMemoryAccessBase()
2526 StartingAccess->setOptimizedAccessType(None); in getClobberingMemoryAccessBase()
2531 StartingAccess->setOptimized(OptimizedAccess); in getClobberingMemoryAccessBase()
2533 StartingAccess->setOptimizedAccessType(None); in getClobberingMemoryAccessBase()
2535 StartingAccess->setOptimizedAccessType(MustAlias); in getClobberingMemoryAccessBase()
2537 OptimizedAccess = StartingAccess->getOptimized(); in getClobberingMemoryAccessBase()
2540 LLVM_DEBUG(dbgs() << *StartingAccess << "\n"); in getClobberingMemoryAccessBase()
2546 isa<MemoryDef>(StartingAccess) && UpwardWalkLimit) { in getClobberingMemoryAccessBase()
2567 MemoryAccess *StartingAccess, const MemoryLocation &) { in getClobberingMemoryAccess() argument
2568 if (auto *Use = dyn_cast<MemoryUseOrDef>(StartingAccess)) in getClobberingMemoryAccess()
2570 return StartingAccess; in getClobberingMemoryAccess()