Searched refs:PtrB (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 300 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 1184 << " PtrB=" << *PtrB << " ContextInst=" << *ContextInst in getConstantOffsetComplexAddrs() 1187 auto *GEPB = dyn_cast<GetElementPtrInst>(PtrB); in getConstantOffsetComplexAddrs() 1189 return getConstantOffsetSelects(PtrA, PtrB, ContextInst, Depth); in getConstantOffsetComplexAddrs() 1293 Value *PtrA, Value *PtrB, Instruction *ContextInst, unsigned Depth) { in getConstantOffsetSelects() argument 1298 if (auto *SelectB = dyn_cast<SelectInst>(PtrB)) { in getConstantOffsetSelects() 1302 << ", PtrB=" << *PtrB << ", ContextInst=" in getConstantOffsetSelects() [all …]
|
| H A D | LoopIdiomVectorize.cpp | 357 Value *PtrB = GEPB->getPointerOperand(); in recognizeByteCompare() local 360 if (!CurLoop->isLoopInvariant(PtrA) || !CurLoop->isLoopInvariant(PtrB) || in recognizeByteCompare() 364 !LoadBI->getType()->isIntegerTy(8) || PtrA == PtrB) in recognizeByteCompare() 432 Value *PtrB = GEPB->getPointerOperand(); in createMaskedFindMismatch() local 471 Builder.CreateGEP(LoadType, PtrB, VectorIndexPhi, "", GEPB->isInBounds()); in createMaskedFindMismatch() 537 Value *PtrB = GEPB->getPointerOperand(); in createPredicatedFindMismatch() local 572 Builder.CreateGEP(LoadType, PtrB, GepOffset, "", GEPB->isInBounds()); in createPredicatedFindMismatch() 636 Value *PtrB = GEPB->getPointerOperand(); in expandFindMismatch() local 757 Value *RhsStartGEP = Builder.CreateGEP(LoadType, PtrB, ExtStart); in expandFindMismatch() 761 Value *RhsEndGEP = Builder.CreateGEP(LoadType, PtrB, ExtEnd); in expandFindMismatch() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopAccessAnalysis.cpp | 1605 Type *ElemTyB, Value *PtrB, in getPointersDiff() argument 1609 assert(PtrA && PtrB && "Expected non-nullptr pointers."); in getPointersDiff() 1612 if (PtrA == PtrB) in getPointersDiff() 1620 unsigned ASB = PtrB->getType()->getPointerAddressSpace(); in getPointersDiff() 1630 const Value *PtrB1 = PtrB->stripAndAccumulateConstantOffsets( in getPointersDiff() 1652 const SCEV *PtrSCEVB = SE.getSCEV(PtrB); in getPointersDiff() 1717 Value *PtrB = getLoadStorePointerOperand(B); in isConsecutiveAccess() local 1718 if (!PtrA || !PtrB) in isConsecutiveAccess() 1723 getPointersDiff(ElemTyA, PtrA, ElemTyB, PtrB, DL, SE, in isConsecutiveAccess()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | InterpBuiltin.cpp | 1904 const Pointer &PtrB = S.Stk.pop<Pointer>(); in interp__builtin_memcmp() local 1921 QualType ElemTypeB = getElemType(PtrB); in interp__builtin_memcmp() 1929 << PtrB.getType(); in interp__builtin_memcmp() 1933 if (PtrA.isDummy() || PtrB.isDummy()) in interp__builtin_memcmp() 1946 Bits(ASTCtx.getTypeSize(ElemTypeB) * PtrB.getNumElems())); in interp__builtin_memcmp() 1947 readPointerToBuffer(S.getContext(), PtrB, BufferB, false); in interp__builtin_memcmp()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopAccessAnalysis.h | 882 getPointersDiff(Type *ElemTyA, Value *PtrA, Type *ElemTyB, Value *PtrB,
|