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