Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp151 bool areConsecutivePointers(Value *PtrA, Value *PtrB, APInt PtrDelta,
153 bool lookThroughComplexAddresses(Value *PtrA, Value *PtrB, APInt PtrDelta,
155 bool lookThroughSelects(Value *PtrA, Value *PtrB, const APInt &PtrDelta,
315 Value *PtrB = getLoadStorePointerOperand(B); in isConsecutiveAccess() local
320 if (!PtrA || !PtrB || (ASA != ASB)) in isConsecutiveAccess()
325 Type *PtrBTy = PtrB->getType()->getPointerElementType(); in isConsecutiveAccess()
326 if (PtrA == PtrB || in isConsecutiveAccess()
336 return areConsecutivePointers(PtrA, PtrB, Size); in isConsecutiveAccess()
339 bool Vectorizer::areConsecutivePointers(Value *PtrA, Value *PtrB, in areConsecutivePointers() argument
345 PtrB = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in areConsecutivePointers()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp1175 Value *PtrB = getLoadStorePointerOperand(B); in isConsecutiveAccess() local
1180 if (!PtrA || !PtrB || (ASA != ASB)) in isConsecutiveAccess()
1184 if (PtrA == PtrB) in isConsecutiveAccess()
1188 if (CheckType && PtrA->getType() != PtrB->getType()) in isConsecutiveAccess()
1196 PtrB = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in isConsecutiveAccess()
1201 ASB = cast<PointerType>(PtrB->getType())->getAddressSpace(); in isConsecutiveAccess()
1220 if (PtrA == PtrB) in isConsecutiveAccess()
1231 const SCEV *PtrSCEVB = SE.getSCEV(PtrB); in isConsecutiveAccess()