Lines Matching defs:GEP
9 // This pass uses inrange annotations on GEP indices to split globals where
60 auto *GEP = dyn_cast<GEPOperator>(U);
61 if (!GEP || !GEP->getInRangeIndex() || *GEP->getInRangeIndex() != 1 ||
62 !isa<ConstantInt>(GEP->getOperand(1)) ||
63 !cast<ConstantInt>(GEP->getOperand(1))->isZero() ||
64 !isa<ConstantInt>(GEP->getOperand(2)))
117 auto *GEP = cast<GEPOperator>(U);
118 unsigned I = cast<ConstantInt>(GEP->getOperand(2))->getZExtValue();
124 for (unsigned I = 3; I != GEP->getNumOperands(); ++I)
125 Ops.push_back(GEP->getOperand(I));
129 GEP->isInBounds());
130 GEP->replaceAllUsesWith(NewGEP);