Home
last modified time | relevance | path

Searched refs:PtrA (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp300 std::optional<APInt> getConstantOffset(Value *PtrA, Value *PtrB,
303 std::optional<APInt> getConstantOffsetComplexAddrs(Value *PtrA, Value *PtrB,
306 std::optional<APInt> getConstantOffsetSelects(Value *PtrA, Value *PtrB,
1182 Value *PtrA, Value *PtrB, Instruction *ContextInst, unsigned Depth) { in getConstantOffsetComplexAddrs() argument
1183 LLVM_DEBUG(dbgs() << "LSV: getConstantOffsetComplexAddrs PtrA=" << *PtrA in getConstantOffsetComplexAddrs()
1186 auto *GEPA = dyn_cast<GetElementPtrInst>(PtrA); in getConstantOffsetComplexAddrs()
1189 return getConstantOffsetSelects(PtrA, PtrB, ContextInst, Depth); in getConstantOffsetComplexAddrs()
1293 Value *PtrA, Value *PtrB, Instruction *ContextInst, unsigned Depth) { in getConstantOffsetSelects() argument
1297 if (auto *SelectA = dyn_cast<SelectInst>(PtrA)) { in getConstantOffsetSelects()
1301 LLVM_DEBUG(dbgs() << "LSV: getConstantOffsetSelects, PtrA=" << *PtrA in getConstantOffsetSelects()
[all …]
H A DLoopIdiomVectorize.cpp356 Value *PtrA = GEPA->getPointerOperand(); in recognizeByteCompare() local
360 if (!CurLoop->isLoopInvariant(PtrA) || !CurLoop->isLoopInvariant(PtrB) || in recognizeByteCompare()
364 !LoadBI->getType()->isIntegerTy(8) || PtrA == PtrB) in recognizeByteCompare()
431 Value *PtrA = GEPA->getPointerOperand(); in createMaskedFindMismatch() local
466 Builder.CreateGEP(LoadType, PtrA, VectorIndexPhi, "", GEPA->isInBounds()); in createMaskedFindMismatch()
536 Value *PtrA = GEPA->getPointerOperand(); in createPredicatedFindMismatch() local
563 Builder.CreateGEP(LoadType, PtrA, GepOffset, "", GEPA->isInBounds()); in createPredicatedFindMismatch()
635 Value *PtrA = GEPA->getPointerOperand(); in expandFindMismatch() local
756 Value *LhsStartGEP = Builder.CreateGEP(LoadType, PtrA, ExtStart); in expandFindMismatch()
760 Value *LhsEndGEP = Builder.CreateGEP(LoadType, PtrA, ExtEnd); in expandFindMismatch()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1604 std::optional<int64_t> llvm::getPointersDiff(Type *ElemTyA, Value *PtrA, in getPointersDiff() argument
1609 assert(PtrA && PtrB && "Expected non-nullptr pointers."); in getPointersDiff()
1612 if (PtrA == PtrB) in getPointersDiff()
1619 unsigned ASA = PtrA->getType()->getPointerAddressSpace(); in getPointersDiff()
1628 const Value *PtrA1 = PtrA->stripAndAccumulateConstantOffsets( in getPointersDiff()
1651 const SCEV *PtrSCEVA = SE.getSCEV(PtrA); in getPointersDiff()
1716 Value *PtrA = getLoadStorePointerOperand(A); in isConsecutiveAccess() local
1718 if (!PtrA || !PtrB) in isConsecutiveAccess()
1723 getPointersDiff(ElemTyA, PtrA, ElemTyB, PtrB, DL, SE, in isConsecutiveAccess()
H A DBasicAliasAnalysis.cpp1678 if (const Argument *PtrA = dyn_cast<Argument>(Ptr)) { in aliasCheck() local
1680 &*PtrA->getParent()->getEntryBlock().begin(); in aliasCheck()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltin.cpp1905 const Pointer &PtrA = S.Stk.pop<Pointer>(); in interp__builtin_memcmp() local
1920 QualType ElemTypeA = getElemType(PtrA); in interp__builtin_memcmp()
1928 << ASTCtx.BuiltinInfo.getQuotedName(ID) << PtrA.getType() in interp__builtin_memcmp()
1933 if (PtrA.isDummy() || PtrB.isDummy()) in interp__builtin_memcmp()
1938 Bits(ASTCtx.getTypeSize(ElemTypeA) * PtrA.getNumElems())); in interp__builtin_memcmp()
1939 readPointerToBuffer(S.getContext(), PtrA, BufferA, false); in interp__builtin_memcmp()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h882 getPointersDiff(Type *ElemTyA, Value *PtrA, Type *ElemTyB, Value *PtrB,