Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp136 bool areConsecutivePointers(Value *PtrA, Value *PtrB, APInt PtrDelta,
138 bool lookThroughComplexAddresses(Value *PtrA, Value *PtrB, APInt PtrDelta,
140 bool lookThroughSelects(Value *PtrA, Value *PtrB, const APInt &PtrDelta,
306 Value *PtrB = getLoadStorePointerOperand(B); in isConsecutiveAccess() local
311 if (!PtrA || !PtrB || (ASA != ASB)) in isConsecutiveAccess()
316 Type *PtrBTy = PtrB->getType()->getPointerElementType(); in isConsecutiveAccess()
317 if (PtrA == PtrB || in isConsecutiveAccess()
327 return areConsecutivePointers(PtrA, PtrB, Size); in isConsecutiveAccess()
330 bool Vectorizer::areConsecutivePointers(Value *PtrA, Value *PtrB, in areConsecutivePointers() argument
336 PtrB = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in areConsecutivePointers()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1127 Optional<int> llvm::getPointersDiff(Value *PtrA, Value *PtrB, in getPointersDiff() argument
1130 assert(PtrA && PtrB && "Expected non-nullptr pointers."); in getPointersDiff()
1132 if (PtrA == PtrB) in getPointersDiff()
1136 if (CheckType && PtrA->getType() != PtrB->getType()) in getPointersDiff()
1140 unsigned ASB = PtrB->getType()->getPointerAddressSpace(); in getPointersDiff()
1149 Value *PtrB1 = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in getPointersDiff()
1170 const SCEV *PtrSCEVB = SE.getSCEV(PtrB); in getPointersDiff()
1238 Value *PtrB = getLoadStorePointerOperand(B); in isConsecutiveAccess() local
1239 if (!PtrA || !PtrB) in isConsecutiveAccess()
1242 getPointersDiff(PtrA, PtrB, DL, SE, /*StrictCheck=*/true, CheckType); in isConsecutiveAccess()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h687 Optional<int> getPointersDiff(Value *PtrA, Value *PtrB, const DataLayout &DL,