Lines Matching refs:GEP
60 Instruction *GEP =
62 InsertNewInstBefore(GEP, *It);
66 return ReplaceInstUsesWith(AI, GEP);
107 // see if a trivial 'gep P, 0, 0' will help matters. Only do this for
177 // load(gep null, ...) -> unreachable
269 /// NewGEPIndices - If SrcPTy is an aggregate type, we can emit a "noop gep"
276 // see if a trivial 'gep P, 0, 0' will help matters. Only do this for
329 // emit a GEP to index into its first field.
397 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) {
398 if (isa<AllocaInst>(GEP->getOperand(0))) {
399 if (GEP->getOperand(0)->hasOneUse())