Searched refs:PtrA (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 296 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 1167 LLVM_DEBUG(dbgs() << "LSV: getConstantOffsetComplexAddrs PtrA=" << *PtrA in getConstantOffsetComplexAddrs() 1170 auto *GEPA = dyn_cast<GetElementPtrInst>(PtrA); in getConstantOffsetComplexAddrs() 1173 return getConstantOffsetSelects(PtrA, PtrB, ContextInst, Depth); in getConstantOffsetComplexAddrs() 1279 Value *PtrA, Value *PtrB, Instruction *ContextInst, unsigned Depth) { in getConstantOffsetSelects() argument 1283 if (auto *SelectA = dyn_cast<SelectInst>(PtrA)) { in getConstantOffsetSelects() 1287 LLVM_DEBUG(dbgs() << "LSV: getConstantOffsetSelects, PtrA=" << *PtrA in getConstantOffsetSelects() [all …]
|
| H A D | LoopIdiomVectorize.cpp | 307 Value *PtrA = GEPA->getPointerOperand(); in recognizeByteCompare() local 311 if (!CurLoop->isLoopInvariant(PtrA) || !CurLoop->isLoopInvariant(PtrB) || in recognizeByteCompare() 315 !LoadBI->getType()->isIntegerTy(8) || PtrA == PtrB) in recognizeByteCompare() 382 Value *PtrA = GEPA->getPointerOperand(); in createMaskedFindMismatch() local 417 Builder.CreateGEP(LoadType, PtrA, VectorIndexPhi, "", GEPA->isInBounds()); in createMaskedFindMismatch() 489 Value *PtrA = GEPA->getPointerOperand(); in createPredicatedFindMismatch() local 516 Builder.CreateGEP(LoadType, PtrA, GepOffset, "", GEPA->isInBounds()); in createPredicatedFindMismatch() 588 Value *PtrA = GEPA->getPointerOperand(); in expandFindMismatch() local 709 Value *LhsStartGEP = Builder.CreateGEP(LoadType, PtrA, ExtStart); in expandFindMismatch() 713 Value *LhsEndGEP = Builder.CreateGEP(LoadType, PtrA, ExtEnd); in expandFindMismatch() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopAccessAnalysis.cpp | 1557 std::optional<int> llvm::getPointersDiff(Type *ElemTyA, Value *PtrA, in getPointersDiff() argument 1562 assert(PtrA && PtrB && "Expected non-nullptr pointers."); in getPointersDiff() 1565 if (PtrA == PtrB) in getPointersDiff() 1572 unsigned ASA = PtrA->getType()->getPointerAddressSpace(); in getPointersDiff() 1581 Value *PtrA1 = PtrA->stripAndAccumulateInBoundsConstantOffsets(DL, OffsetA); in getPointersDiff() 1602 const SCEV *PtrSCEVA = SE.getSCEV(PtrA); in getPointersDiff() 1662 Value *PtrA = getLoadStorePointerOperand(A); in isConsecutiveAccess() local 1664 if (!PtrA || !PtrB) in isConsecutiveAccess() 1669 getPointersDiff(ElemTyA, PtrA, ElemTyB, PtrB, DL, SE, in isConsecutiveAccess()
|
| H A D | BasicAliasAnalysis.cpp | 1639 if (const Argument *PtrA = dyn_cast<Argument>(Ptr)) { in aliasCheck() local 1641 &*PtrA->getParent()->getEntryBlock().begin(); in aliasCheck()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopAccessAnalysis.h | 819 std::optional<int> getPointersDiff(Type *ElemTyA, Value *PtrA, Type *ElemTyB,
|