Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp296 std::optional<APInt> getConstantOffset(Value *PtrA, Value *PtrB,
299 std::optional<APInt> getConstantOffsetComplexAddrs(Value *PtrA, Value *PtrB,
302 std::optional<APInt> getConstantOffsetSelects(Value *PtrA, Value *PtrB,
1166 Value *PtrA, Value *PtrB, Instruction *ContextInst, unsigned Depth) { in getConstantOffsetComplexAddrs() argument
1168 << " PtrB=" << *PtrB << " ContextInst=" << *ContextInst in getConstantOffsetComplexAddrs()
1171 auto *GEPB = dyn_cast<GetElementPtrInst>(PtrB); in getConstantOffsetComplexAddrs()
1173 return getConstantOffsetSelects(PtrA, PtrB, ContextInst, Depth); in getConstantOffsetComplexAddrs()
1279 Value *PtrA, Value *PtrB, Instruction *ContextInst, unsigned Depth) { in getConstantOffsetSelects() argument
1284 if (auto *SelectB = dyn_cast<SelectInst>(PtrB)) { in getConstantOffsetSelects()
1288 << ", PtrB=" << *PtrB << ", ContextInst=" in getConstantOffsetSelects()
[all …]
H A DLoopIdiomVectorize.cpp308 Value *PtrB = GEPB->getPointerOperand(); in recognizeByteCompare() local
311 if (!CurLoop->isLoopInvariant(PtrA) || !CurLoop->isLoopInvariant(PtrB) || in recognizeByteCompare()
315 !LoadBI->getType()->isIntegerTy(8) || PtrA == PtrB) in recognizeByteCompare()
383 Value *PtrB = GEPB->getPointerOperand(); in createMaskedFindMismatch() local
422 Builder.CreateGEP(LoadType, PtrB, VectorIndexPhi, "", GEPB->isInBounds()); in createMaskedFindMismatch()
490 Value *PtrB = GEPB->getPointerOperand(); in createPredicatedFindMismatch() local
525 Builder.CreateGEP(LoadType, PtrB, GepOffset, "", GEPB->isInBounds()); in createPredicatedFindMismatch()
589 Value *PtrB = GEPB->getPointerOperand(); in expandFindMismatch() local
710 Value *RhsStartGEP = Builder.CreateGEP(LoadType, PtrB, ExtStart); in expandFindMismatch()
714 Value *RhsEndGEP = Builder.CreateGEP(LoadType, PtrB, ExtEnd); in expandFindMismatch()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1558 Type *ElemTyB, Value *PtrB, in getPointersDiff() argument
1562 assert(PtrA && PtrB && "Expected non-nullptr pointers."); in getPointersDiff()
1565 if (PtrA == PtrB) in getPointersDiff()
1573 unsigned ASB = PtrB->getType()->getPointerAddressSpace(); in getPointersDiff()
1582 Value *PtrB1 = PtrB->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetB); in getPointersDiff()
1603 const SCEV *PtrSCEVB = SE.getSCEV(PtrB); in getPointersDiff()
1663 Value *PtrB = getLoadStorePointerOperand(B); in isConsecutiveAccess() local
1664 if (!PtrA || !PtrB) in isConsecutiveAccess()
1669 getPointersDiff(ElemTyA, PtrA, ElemTyB, PtrB, DL, SE, in isConsecutiveAccess()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h820 Value *PtrB, const DataLayout &DL,