Lines Matching defs:GEP
336 /// into GEP indices.
369 /// a GEP instead of using ptrtoint+arithmetic+inttoptr. This helps
410 // operands into GEP indices, at each level. The first index in a GEP
512 // If none of the operands were convertible to proper GEP indices, cast
526 // Fold a GEP with constant operands.
531 // Do a quick scan to see if we have this GEP nearby. If so, reuse it.
564 // Emit a GEP.
565 Value *GEP = Builder.CreateGEP(V, Idx, "uglygep");
566 rememberInstruction(GEP);
572 return GEP;
600 // Insert a pretty getelementptr. Note that this GEP is not marked inbounds,
606 Value *GEP = Builder.CreateGEP(Casted,
609 Ops.push_back(SE.getUnknown(GEP));
610 rememberInstruction(GEP);
742 // it, to enable more of it to be folded into the GEP.
839 /// GEP expansion.
893 /// If allowScale is set, any type of GEP is allowed as long as the nonIV
896 /// If allowScale is not set, ensure that a GEP increment conforms to one of the
908 // Check for a simple Add/Sub or GEP of a loop invariant step.
928 // allow any kind of GEP as long as it can be hoisted.
1002 // If the PHI is a pointer, use a GEP, otherwise use an add or sub.
1005 // If the step isn't constant, don't use an implicitly scaled GEP, because
1312 // Turn things like ptrtoint+arithmetic+inttoptr into GEP. See the
1316 // Dig into the expression to find the pointer base for a GEP.
1318 // If we found a pointer, expand the AddRec with a GEP.
1325 assert(StartV->getType() == PTy && "Pointer type mismatch for GEP!");