Lines Matching refs:GEP
60 auto *GEP = dyn_cast<GEPOperator>(U); in splitGlobal() local
61 if (!GEP || !GEP->getInRangeIndex() || *GEP->getInRangeIndex() != 1 || in splitGlobal()
62 !isa<ConstantInt>(GEP->getOperand(1)) || in splitGlobal()
63 !cast<ConstantInt>(GEP->getOperand(1))->isZero() || in splitGlobal()
64 !isa<ConstantInt>(GEP->getOperand(2))) in splitGlobal()
120 auto *GEP = cast<GEPOperator>(U); in splitGlobal() local
121 unsigned I = cast<ConstantInt>(GEP->getOperand(2))->getZExtValue(); in splitGlobal()
127 for (unsigned I = 3; I != GEP->getNumOperands(); ++I) in splitGlobal()
128 Ops.push_back(GEP->getOperand(I)); in splitGlobal()
132 GEP->isInBounds()); in splitGlobal()
133 GEP->replaceAllUsesWith(NewGEP); in splitGlobal()