Home
last modified time | relevance | path

Searched refs:PtrB (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp305 Value *PtrB = getLoadStorePointerOperand(B); in isConsecutiveAccess() local
310 if (!PtrA || !PtrB || (ASA != ASB)) in isConsecutiveAccess()
316 if (PtrA == PtrB || in isConsecutiveAccess()
326 return areConsecutivePointers(PtrA, PtrB, Size); in isConsecutiveAccess()
335 PtrB = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in areConsecutivePointers()
357 if (PtrA == PtrB) in areConsecutivePointers()
366 const SCEV *PtrSCEVB = SE.getSCEV(PtrB); in areConsecutivePointers()
465 auto *GEPB = dyn_cast<GetElementPtrInst>(PtrB); in lookThroughComplexAddresses()
467 return lookThroughSelects(PtrA, PtrB, PtrDelta, Depth); in lookThroughComplexAddresses()
564 bool Vectorizer::lookThroughSelects(Value *PtrA, Value *PtrB, in lookThroughSelects() argument
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dno-ctr-loop-if-exit-in-nested-loop.ll4 define signext i32 @test(i32* noalias %PtrA, i32* noalias %PtrB, i32 signext %LenA, i32 signext %Le…
82 %arrayidx3 = getelementptr inbounds i32, i32* %PtrB, i64 %idxprom2
92 %arrayidx8 = getelementptr inbounds i32, i32* %PtrB, i64 %idxprom7
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1428 Value *PtrB, const DataLayout &DL, in getPointersDiff() argument
1431 assert(PtrA && PtrB && "Expected non-nullptr pointers."); in getPointersDiff()
1434 assert(cast<PointerType>(PtrB->getType()) in getPointersDiff()
1438 if (PtrA == PtrB) in getPointersDiff()
1446 unsigned ASB = PtrB->getType()->getPointerAddressSpace(); in getPointersDiff()
1455 Value *PtrB1 = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in getPointersDiff()
1476 const SCEV *PtrSCEVB = SE.getSCEV(PtrB); in getPointersDiff()
1541 Value *PtrB = getLoadStorePointerOperand(B); in isConsecutiveAccess() local
1542 if (!PtrA || !PtrB) in isConsecutiveAccess()
1546 Optional<int> Diff = getPointersDiff(ElemTyA, PtrA, ElemTyB, PtrB, DL, SE, in isConsecutiveAccess()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h743 Value *PtrB, const DataLayout &DL,