Searched refs:PtrA (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 296 std::optional<APInt> getConstantOffset(Value *PtrA, Value *PtrB, 302 std::optional<APInt> getConstantOffsetSelects(Value *PtrA, Value *PtrB, 1171 auto *GEPA = dyn_cast<GetElementPtrInst>(PtrA); in getConstantOffsetComplexAddrs() 1174 return getConstantOffsetSelects(PtrA, PtrB, ContextInst, Depth); in getConstantOffsetComplexAddrs() 1284 if (auto *SelectA = dyn_cast<SelectInst>(PtrA)) { in getConstantOffsetSelects() 1474 LLVM_DEBUG(dbgs() << "LSV: getConstantOffset, PtrA=" << *PtrA in getConstantOffset() 1479 unsigned OrigBitWidth = DL.getIndexTypeSizeInBits(PtrA->getType()); in getConstantOffset() 1482 PtrA = PtrA->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetA); in getConstantOffset() 1484 unsigned NewPtrBitWidth = DL.getTypeStoreSizeInBits(PtrA->getType()); in getConstantOffset() 1496 if (PtrA == PtrB) in getConstantOffset() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64LoopIdiomTransform.cpp | 321 Value *PtrA = GEPA->getPointerOperand(); in recognizeByteCompare() local 325 if (!CurLoop->isLoopInvariant(PtrA) || !CurLoop->isLoopInvariant(PtrB) || in recognizeByteCompare() 329 !LoadBI->getType()->isIntegerTy(8) || PtrA == PtrB) in recognizeByteCompare() 393 Value *PtrA = GEPA->getPointerOperand(); in expandFindMismatch() local 514 Value *LhsStartGEP = Builder.CreateGEP(LoadType, PtrA, ExtStart); in expandFindMismatch() 518 Value *LhsEndGEP = Builder.CreateGEP(LoadType, PtrA, ExtEnd); in expandFindMismatch() 583 Value *SVELhsGep = Builder.CreateGEP(LoadType, PtrA, SVEIndexPhi); in expandFindMismatch() 667 Value *LhsGep = Builder.CreateGEP(LoadType, PtrA, GepOffset); in expandFindMismatch()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopAccessAnalysis.cpp | 1561 std::optional<int> llvm::getPointersDiff(Type *ElemTyA, Value *PtrA, in getPointersDiff() argument 1566 assert(PtrA && PtrB && "Expected non-nullptr pointers."); in getPointersDiff() 1569 if (PtrA == PtrB) in getPointersDiff() 1576 unsigned ASA = PtrA->getType()->getPointerAddressSpace(); in getPointersDiff() 1585 Value *PtrA1 = PtrA->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetA); in getPointersDiff() 1606 const SCEV *PtrSCEVA = SE.getSCEV(PtrA); in getPointersDiff() 1671 Value *PtrA = getLoadStorePointerOperand(A); in isConsecutiveAccess() local 1673 if (!PtrA || !PtrB) in isConsecutiveAccess() 1678 getPointersDiff(ElemTyA, PtrA, ElemTyB, PtrB, DL, SE, in isConsecutiveAccess()
|
| H A D | BasicAliasAnalysis.cpp | 1566 if (const Argument *PtrA = dyn_cast<Argument>(Ptr)) { in aliasCheck() local 1568 &*PtrA->getParent()->getEntryBlock().begin(); in aliasCheck()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopAccessAnalysis.h | 754 std::optional<int> getPointersDiff(Type *ElemTyA, Value *PtrA, Type *ElemTyB,
|