Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp296 std::optional<APInt> getConstantOffset(Value *PtrA, Value *PtrB,
302 std::optional<APInt> getConstantOffsetSelects(Value *PtrA, Value *PtrB,
1167 Value *PtrA, Value *PtrB, Instruction *ContextInst, unsigned Depth) { in getConstantOffsetComplexAddrs() argument
1172 auto *GEPB = dyn_cast<GetElementPtrInst>(PtrB); in getConstantOffsetComplexAddrs()
1174 return getConstantOffsetSelects(PtrA, PtrB, ContextInst, Depth); in getConstantOffsetComplexAddrs()
1285 if (auto *SelectB = dyn_cast<SelectInst>(PtrB)) { in getConstantOffsetSelects()
1289 << ", PtrB=" << *PtrB << ", ContextInst=" in getConstantOffsetSelects()
1483 PtrB = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in getConstantOffset()
1485 if (NewPtrBitWidth != DL.getTypeStoreSizeInBits(PtrB->getType())) in getConstantOffset()
1496 if (PtrA == PtrB) in getConstantOffset()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoopIdiomTransform.cpp322 Value *PtrB = GEPB->getPointerOperand(); in recognizeByteCompare() local
325 if (!CurLoop->isLoopInvariant(PtrA) || !CurLoop->isLoopInvariant(PtrB) || in recognizeByteCompare()
329 !LoadBI->getType()->isIntegerTy(8) || PtrA == PtrB) in recognizeByteCompare()
394 Value *PtrB = GEPB->getPointerOperand(); in expandFindMismatch() local
515 Value *RhsStartGEP = Builder.CreateGEP(LoadType, PtrB, ExtStart); in expandFindMismatch()
519 Value *RhsEndGEP = Builder.CreateGEP(LoadType, PtrB, ExtEnd); in expandFindMismatch()
589 Value *SVERhsGep = Builder.CreateGEP(LoadType, PtrB, SVEIndexPhi); in expandFindMismatch()
672 Value *RhsGep = Builder.CreateGEP(LoadType, PtrB, GepOffset); in expandFindMismatch()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1562 Type *ElemTyB, Value *PtrB, in getPointersDiff() argument
1566 assert(PtrA && PtrB && "Expected non-nullptr pointers."); in getPointersDiff()
1569 if (PtrA == PtrB) in getPointersDiff()
1577 unsigned ASB = PtrB->getType()->getPointerAddressSpace(); in getPointersDiff()
1586 Value *PtrB1 = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in getPointersDiff()
1607 const SCEV *PtrSCEVB = SE.getSCEV(PtrB); in getPointersDiff()
1672 Value *PtrB = getLoadStorePointerOperand(B); in isConsecutiveAccess() local
1673 if (!PtrA || !PtrB) in isConsecutiveAccess()
1678 getPointersDiff(ElemTyA, PtrA, ElemTyB, PtrB, DL, SE, in isConsecutiveAccess()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h755 Value *PtrB, const DataLayout &DL,