Searched refs:PtrOp (Results 1 – 9 of 9) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 307 auto *PtrOp = I.getPointerOperand(); in visitStoreInst() local 309 Intrinsic::spv_store, {I.getValueOperand()->getType(), PtrOp->getType()}, in visitStoreInst() 310 {I.getValueOperand(), PtrOp, IRB->getInt16(Flags), in visitStoreInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 2280 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 2285 if (Value *V = simplifyGEPInst(GEPEltType, PtrOp, Indices, GEP.isInBounds(), in visitGetElementPtrInst() 2352 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 2456 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) in visitGetElementPtrInst() 2501 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 2508 if (StrippedPtr != PtrOp && !StrippedPtrTy->isOpaque()) { in visitGetElementPtrInst() 2672 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2673 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2688 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() 2691 PtrOp->stripAndAccumulateInBoundsConstantOffsets(DL, in visitGetElementPtrInst() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonCommonGEP.cpp | 349 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local 351 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst() 353 N->BaseVal = PtrOp; in processGepInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 313 Value *PtrOp = LI->getPointerOperand(); in CleanupConstantGlobalUsers() local 314 APInt Offset(DL.getIndexTypeSizeInBits(PtrOp->getType()), 0); in CleanupConstantGlobalUsers() 315 PtrOp = PtrOp->stripAndAccumulateConstantOffsets( in CleanupConstantGlobalUsers() 317 if (PtrOp == GV) { in CleanupConstantGlobalUsers()
|
| H A D | AttributorAttributes.cpp | 2954 Value *PtrOp = in updateImpl() local 2956 assert(PtrOp && in updateImpl() 2962 stopOnUndefOrAssumed(A, PtrOp, &I); in updateImpl()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 930 auto PtrOp = [](const IntrinsicInst *II) { in isNonTargetIntrinsicMatch() local 950 if (PtrOp(Earlier) != PtrOp(Later)) in isNonTargetIntrinsicMatch()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 1119 Value *PtrOp = II.getOperand(1); in instCombineSVELD1() local 1121 Value *VecPtr = Builder.CreateBitCast(PtrOp, VecTy->getPointerTo()); in instCombineSVELD1() 1130 Builder.CreateMaskedLoad(VecTy, VecPtr, PtrOp->getPointerAlignment(DL), in instCombineSVELD1() 1143 Value *PtrOp = II.getOperand(2); in instCombineSVEST1() local 1145 Builder.CreateBitCast(PtrOp, VecOp->getType()->getPointerTo()); in instCombineSVEST1() 1154 VecOp, VecPtr, PtrOp->getPointerAlignment(DL), Pred); in instCombineSVEST1()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 6557 static Value *simplifyLoadInst(LoadInst *LI, Value *PtrOp, in simplifyLoadInst() argument 6562 APInt Offset(Q.DL.getIndexTypeSizeInBits(PtrOp->getType()), 0); in simplifyLoadInst() 6563 auto *PtrOpC = dyn_cast<Constant>(PtrOp); in simplifyLoadInst() 6567 if (!PtrOpC && isa<Constant>(getUnderlyingObject(PtrOp))) { in simplifyLoadInst() 6568 PtrOp = PtrOp->stripAndAccumulateConstantOffsets( in simplifyLoadInst() 6572 Offset = Offset.sextOrTrunc(Q.DL.getIndexTypeSizeInBits(PtrOp->getType())); in simplifyLoadInst() 6573 PtrOpC = dyn_cast<Constant>(PtrOp); in simplifyLoadInst()
|
| H A D | ScalarEvolution.cpp | 4626 const SCEV **PtrOp = nullptr; in removePointerBase() local 4629 assert(!PtrOp && "Cannot have multiple pointer ops"); in removePointerBase() 4630 PtrOp = &AddOp; in removePointerBase() 4633 *PtrOp = removePointerBase(*PtrOp); in removePointerBase() 4819 const SCEV *PtrOp = nullptr; in getPointerBase() local 4822 assert(!PtrOp && "Cannot have multiple pointer ops"); in getPointerBase() 4823 PtrOp = AddOp; in getPointerBase() 4826 assert(PtrOp && "Must have pointer op"); in getPointerBase() 4827 V = PtrOp; in getPointerBase()
|