Lines Matching refs:PtrA

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,
304 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()
329 bool Vectorizer::areConsecutivePointers(Value *PtrA, Value *PtrB, in areConsecutivePointers() argument
331 unsigned PtrBitWidth = DL.getPointerTypeSizeInBits(PtrA->getType()); in areConsecutivePointers()
334 PtrA = PtrA->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetA); in areConsecutivePointers()
337 unsigned NewPtrBitWidth = DL.getTypeStoreSizeInBits(PtrA->getType()); in areConsecutivePointers()
357 if (PtrA == PtrB) in areConsecutivePointers()
365 const SCEV *PtrSCEVA = SE.getSCEV(PtrA); in areConsecutivePointers()
383 return lookThroughComplexAddresses(PtrA, PtrB, BaseDelta, Depth); in areConsecutivePointers()
461 bool Vectorizer::lookThroughComplexAddresses(Value *PtrA, Value *PtrB, in lookThroughComplexAddresses() argument
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
570 if (auto *SelectA = dyn_cast<SelectInst>(PtrA)) { in lookThroughSelects()