Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1921 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local
1967 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst()
2069 PtrOp = NewGEP; in visitGetElementPtrInst()
2075 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst()
2119 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst()
2250 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst()
2253 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst()
2429 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst()
2430 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst()
2539 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp890 auto PtrOp = [](const IntrinsicInst *II) { in isNonTargetIntrinsicMatch() local
910 if (PtrOp(Earlier) != PtrOp(Later)) in isNonTargetIntrinsicMatch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp352 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local
354 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst()
356 N->BaseVal = PtrOp; in processGepInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRExpandPseudoInsts.cpp899 auto PtrOp = MI.getOperand(1); in expandAtomicArithmeticOp() local
909 buildMI(MBB, MBBI, LoadOpcode, DstReg).addReg(PtrOp.getReg()); in expandAtomicArithmeticOp()
915 buildMI(MBB, MBBI, StoreOpcode).add(PtrOp).addReg(DstReg); in expandAtomicArithmeticOp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp4164 const SCEV **PtrOp = nullptr; in removePointerBase() local
4170 if (PtrOp) in removePointerBase()
4172 PtrOp = &AddOp; in removePointerBase()
4175 *PtrOp = removePointerBase(SE, *PtrOp); in removePointerBase()
4359 const SCEV *PtrOp = nullptr; in getPointerBase() local
4363 if (PtrOp) in getPointerBase()
4365 PtrOp = AddOp; in getPointerBase()
4368 if (!PtrOp) // All operands were non-pointer. in getPointerBase()
4370 V = PtrOp; in getPointerBase()
H A DInstructionSimplify.cpp6062 static Value *SimplifyLoadInst(LoadInst *LI, Value *PtrOp, in SimplifyLoadInst() argument
6069 auto *PtrOpC = dyn_cast<Constant>(PtrOp); in SimplifyLoadInst()
6071 PtrOpC = ConstructLoadOperandConstant(PtrOp); in SimplifyLoadInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp2442 Value *PtrOp = in updateImpl() local
2444 assert(PtrOp && in updateImpl()
2449 Optional<Value *> SimplifiedPtrOp = stopOnUndefOrAssumed(A, PtrOp, &I); in updateImpl()