Lines Matching refs:GEP
58 auto *GEP = dyn_cast<GEPOperator>(U); in splitGlobal() local
59 if (!GEP || !GEP->getInRangeIndex() || *GEP->getInRangeIndex() != 1 || in splitGlobal()
60 !isa<ConstantInt>(GEP->getOperand(1)) || in splitGlobal()
61 !cast<ConstantInt>(GEP->getOperand(1))->isZero() || in splitGlobal()
62 !isa<ConstantInt>(GEP->getOperand(2))) in splitGlobal()
118 auto *GEP = cast<GEPOperator>(U); in splitGlobal() local
119 unsigned I = cast<ConstantInt>(GEP->getOperand(2))->getZExtValue(); in splitGlobal()
125 for (unsigned I = 3; I != GEP->getNumOperands(); ++I) in splitGlobal()
126 Ops.push_back(GEP->getOperand(I)); in splitGlobal()
130 GEP->isInBounds()); in splitGlobal()
131 GEP->replaceAllUsesWith(NewGEP); in splitGlobal()