Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp304 Value *PtrA = getLoadStorePointerOperand(A); 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()
334 PtrA = PtrA->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetA); in areConsecutivePointers()
357 if (PtrA == PtrB) in areConsecutivePointers()
365 const SCEV *PtrSCEVA = SE.getSCEV(PtrA); in areConsecutivePointers()
464 auto *GEPA = dyn_cast<GetElementPtrInst>(PtrA); 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…
72 %arrayidx = getelementptr inbounds i32, i32* %PtrA, i64 %idxprom
89 %arrayidx6 = getelementptr inbounds i32, i32* %PtrA, i64 %idxprom5
101 %arrayidx11 = getelementptr inbounds i32, i32* %PtrA, i64 %idxprom10
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1427 Optional<int> llvm::getPointersDiff(Type *ElemTyA, Value *PtrA, Type *ElemTyB, in getPointersDiff() argument
1431 assert(PtrA && PtrB && "Expected non-nullptr pointers."); in getPointersDiff()
1432 assert(cast<PointerType>(PtrA->getType()) in getPointersDiff()
1438 if (PtrA == PtrB) in getPointersDiff()
1445 unsigned ASA = PtrA->getType()->getPointerAddressSpace(); in getPointersDiff()
1454 Value *PtrA1 = PtrA->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetA); in getPointersDiff()
1475 const SCEV *PtrSCEVA = SE.getSCEV(PtrA); in getPointersDiff()
1540 Value *PtrA = getLoadStorePointerOperand(A); 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.h742 Optional<int> getPointersDiff(Type *ElemTyA, Value *PtrA, Type *ElemTyB,