Lines Matching defs:GEP
9 // This pass uses inrange annotations on GEP indices to split globals where
58 GEPOperator *GEP;
62 GEPInfo(GEPOperator *GEP, unsigned MemberIndex, APInt MemberRelativeOffset)
63 : GEP(GEP), MemberIndex(MemberIndex),
68 auto *GEP = dyn_cast<GEPOperator>(U);
69 if (!GEP)
72 std::optional<ConstantRange> InRange = GEP->getInRange();
77 if (!GEP->accumulateConstantOffset(DL, Offset))
83 // Check that the GEP offset is in the range (treating upper bound as
104 Infos.emplace_back(GEP, MemberIndex, Offset - MemberStart);
160 Info.GEP->isInBounds());
161 Info.GEP->replaceAllUsesWith(NewGEP);