Lines Matching refs:GEP
310 /// into GEP indices.
344 /// a GEP instead of using ptrtoint+arithmetic+inttoptr. This helps
385 // operands into GEP indices, at each level. The first index in a GEP
487 // If none of the operands were convertible to proper GEP indices, cast
498 // Fold a GEP with constant operands.
503 // Do a quick scan to see if we have this GEP nearby. If so, reuse it.
536 // Emit a GEP.
537 Value *GEP = Builder.CreateGEP(V, Idx, "uglygep");
538 rememberInstruction(GEP);
544 return GEP;
572 // Insert a pretty getelementptr. Note that this GEP is not marked inbounds,
578 Value *GEP = Builder.CreateGEP(Casted,
581 Ops.push_back(SE.getUnknown(GEP));
582 rememberInstruction(GEP);
729 // it, to enable more of it to be folded into the GEP.
826 /// GEP expansion.
886 // Check for a simple Add/Sub or GEP of a loop invariant step.
895 // fall-thru to GEP handling
1033 // If the PHI is a pointer, use a GEP, otherwise use an add or sub.
1036 // If the step isn't constant, don't use an implicitly scaled GEP, because
1200 // Turn things like ptrtoint+arithmetic+inttoptr into GEP. See the
1204 // Dig into the expression to find the pointer base for a GEP.
1206 // If we found a pointer, expand the AddRec with a GEP.
1213 assert(StartV->getType() == PTy && "Pointer type mismatch for GEP!");