Lines Matching defs:Sink
284 PointerInfo *Sink = &Pointers[CGJ.Members[0]];
289 !DC.getOrderForAccess(Sink->PointerValue, !Sink->IsWritePtr).empty())
295 DC.getOrderForAccess(Sink->PointerValue, Sink->IsWritePtr);
303 std::swap(Src, Sink);
306 auto *SinkAR = dyn_cast<SCEVAddRecExpr>(Sink->Expr);
314 DC.getInstructionsForAccess(Sink->PointerValue, Sink->IsWritePtr);
348 // If the start values for both Src and Sink also vary according to an outer
374 Src->NeedsFreeze || Sink->NeedsFreeze);
1926 const SCEV *Sink = PSE.getSCEV(BPtr);
1932 std::swap(Src, Sink);
1937 const SCEV *Dist = SE.getMinusSCEV(Sink, Src);
1939 LLVM_DEBUG(dbgs() << "LAA: Src Scev: " << *Src << "Sink Scev: " << *Sink
1944 // Check if we can prove that Sink only accesses memory after Src's end or
1949 SE.isLoopInvariant(Sink, InnermostLoop)) {
1953 getStartAndEndForAccess(InnermostLoop, Sink, BTy, PSE, PointerBounds);
1969 // If either Src or Sink are not strided (i.e. not a non-wrapping AddRec) and
1980 << " Sink induction step: " << StrideBPtrInt << "\n");
1981 // At least Src or Sink are loop invariant and the other is strided or
1986 // Both Src and Sink have a constant stride, check if they are in the same