Lines Matching defs:GEP0
234 auto *GEP0 = dyn_cast<GetElementPtrInst>(S0->getPointerOperand());
236 return GEP0 && GEP1 && GEP0->isIdenticalTo(GEP1) && GEP0->hasOneUse() &&
237 (GEP0->getParent() == S0->getParent()) && GEP1->hasOneUse() &&
279 auto *GEP0 = cast<GetElementPtrInst>(Ptr0);
281 Instruction *GEPNew = GEP0->clone();
283 GEPNew->applyMergedLocation(GEP0->getDebugLoc(), GEP1->getDebugLoc());
285 GEP0->replaceAllUsesWith(GEPNew);
286 GEP0->eraseFromParent();