Lines Matching refs:StartingAccess
2452 MemoryAccess *StartingAccess, const MemoryLocation &Loc, in getClobberingMemoryAccessBase() argument
2454 assert(!isa<MemoryUse>(StartingAccess) && "Use cannot be defining access"); in getClobberingMemoryAccessBase()
2458 return StartingAccess; in getClobberingMemoryAccessBase()
2461 if (auto *StartingUseOrDef = dyn_cast<MemoryUseOrDef>(StartingAccess)) { in getClobberingMemoryAccessBase()
2474 Q.OriginalAccess = StartingAccess; in getClobberingMemoryAccessBase()
2483 Walker.findClobber(BAA, StartingAccess, Q, UpwardWalkLimit); in getClobberingMemoryAccessBase()
2485 dbgs() << "Clobber starting at access " << *StartingAccess << "\n"; in getClobberingMemoryAccessBase()
2555 auto *StartingAccess = dyn_cast<MemoryUseOrDef>(MA); in getClobberingMemoryAccessBase() local
2557 if (!StartingAccess) in getClobberingMemoryAccessBase()
2562 *StartingAccess->getMemoryInst(), MSSA->getDomTree())) { in getClobberingMemoryAccessBase()
2578 if (StartingAccess->isOptimized()) { in getClobberingMemoryAccessBase()
2579 if (!SkipSelf || !isa<MemoryDef>(StartingAccess)) in getClobberingMemoryAccessBase()
2580 return StartingAccess->getOptimized(); in getClobberingMemoryAccessBase()
2584 const Instruction *I = StartingAccess->getMemoryInst(); in getClobberingMemoryAccessBase()
2589 return StartingAccess; in getClobberingMemoryAccessBase()
2591 UpwardsMemoryQuery Q(I, StartingAccess); in getClobberingMemoryAccessBase()
2595 StartingAccess->setOptimized(LiveOnEntry); in getClobberingMemoryAccessBase()
2602 MemoryAccess *DefiningAccess = StartingAccess->getDefiningAccess(); in getClobberingMemoryAccessBase()
2607 StartingAccess->setOptimized(DefiningAccess); in getClobberingMemoryAccessBase()
2613 StartingAccess->setOptimized(OptimizedAccess); in getClobberingMemoryAccessBase()
2615 OptimizedAccess = StartingAccess->getOptimized(); in getClobberingMemoryAccessBase()
2618 LLVM_DEBUG(dbgs() << *StartingAccess << "\n"); in getClobberingMemoryAccessBase()
2624 isa<MemoryDef>(StartingAccess) && UpwardWalkLimit) { in getClobberingMemoryAccessBase()
2646 MemoryAccess *StartingAccess, const MemoryLocation &, BatchAAResults &) { in getClobberingMemoryAccess() argument
2647 if (auto *Use = dyn_cast<MemoryUseOrDef>(StartingAccess)) in getClobberingMemoryAccess()
2649 return StartingAccess; in getClobberingMemoryAccess()