Lines Matching refs:PtrOperand
146 Value *PtrOperand = LI.getPointerOperand(); in visitLoadInst() local
147 ConstantExpr *CE = dyn_cast<ConstantExpr>(PtrOperand); in visitLoadInst()
159 if (GlobalVariable *NewGlobal = lookupReplacementGlobal(PtrOperand)) in visitLoadInst()
166 Value *PtrOperand = SI.getPointerOperand(); in visitStoreInst() local
167 ConstantExpr *CE = dyn_cast<ConstantExpr>(PtrOperand); in visitStoreInst()
179 if (GlobalVariable *NewGlobal = lookupReplacementGlobal(PtrOperand)) in visitStoreInst()
304 Value *PtrOperand = GEPI.getPointerOperand(); in visitGetElementPtrInst() local
309 if (GlobalVariable *NewGlobal = lookupReplacementGlobal(PtrOperand)) { in visitGetElementPtrInst()
311 PtrOperand = NewGlobal; in visitGetElementPtrInst()
313 } else if (AllocaInst *Alloca = dyn_cast<AllocaInst>(PtrOperand)) { in visitGetElementPtrInst()
335 Value *NewGEP = Builder.CreateGEP(NewGEPType, PtrOperand, Indices, in visitGetElementPtrInst()