Lines Matching refs:PtrB
135 bool areConsecutivePointers(Value *PtrA, Value *PtrB, APInt PtrDelta,
137 bool lookThroughComplexAddresses(Value *PtrA, Value *PtrB, APInt PtrDelta,
139 bool lookThroughSelects(Value *PtrA, Value *PtrB, const APInt &PtrDelta,
305 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()
329 bool Vectorizer::areConsecutivePointers(Value *PtrA, Value *PtrB, in areConsecutivePointers() argument
335 PtrB = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in areConsecutivePointers()
339 if (NewPtrBitWidth != DL.getTypeStoreSizeInBits(PtrB->getType())) in areConsecutivePointers()
357 if (PtrA == PtrB) in areConsecutivePointers()
366 const SCEV *PtrSCEVB = SE.getSCEV(PtrB); in areConsecutivePointers()
383 return lookThroughComplexAddresses(PtrA, PtrB, BaseDelta, Depth); in areConsecutivePointers()
461 bool Vectorizer::lookThroughComplexAddresses(Value *PtrA, Value *PtrB, in lookThroughComplexAddresses() argument
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
571 if (auto *SelectB = dyn_cast<SelectInst>(PtrB)) { in lookThroughSelects()