Home
last modified time | relevance | path

Searched refs:PtrOp (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1880 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local
1926 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst()
2028 PtrOp = NewGEP; in visitGetElementPtrInst()
2034 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst()
2076 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst()
2193 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst()
2196 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst()
2372 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst()
2373 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst()
2482 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp338 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local
340 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst()
342 N->BaseVal = PtrOp; in processGepInst()
350 N->PTy = PtrOp->getType(); in processGepInst()
373 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); in processGepInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp890 auto PtrOp = [](const IntrinsicInst *II) { in isNonTargetIntrinsicMatch() local
910 if (PtrOp(Earlier) != PtrOp(Later)) in isNonTargetIntrinsicMatch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp1944 const Value *PtrOp = getPointerOperand(&I, /* AllowVolatile */ true); in updateImpl() local
1945 assert(PtrOp && in updateImpl()
1950 Optional<Value *> SimplifiedPtrOp = stopOnUndefOrAssumed(A, PtrOp, &I); in updateImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolution.cpp4158 const SCEV *PtrOp = nullptr; in getPointerBase() local
4162 if (PtrOp) in getPointerBase()
4164 PtrOp = NAryOp; in getPointerBase()
4167 if (!PtrOp) // All operands were non-pointer. in getPointerBase()
4169 V = PtrOp; in getPointerBase()