Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1561 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local
1606 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst()
1709 PtrOp = NewGEP; in visitGetElementPtrInst()
1715 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst()
1757 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst()
1880 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst()
1883 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst()
2053 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst()
2054 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst()
2155 PtrOp->stripAndAccumulateInBoundsConstantOffsets(DL, in visitGetElementPtrInst()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp347 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local
349 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst()
351 N->BaseVal = PtrOp; in processGepInst()
359 N->PTy = PtrOp->getType(); in processGepInst()
382 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); in processGepInst()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp4149 const SCEV *PtrOp = nullptr; in getPointerBase() local
4153 if (PtrOp) in getPointerBase()
4155 PtrOp = NAryOp; in getPointerBase()
4158 if (!PtrOp) in getPointerBase()
4160 return getPointerBase(PtrOp); in getPointerBase()