Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:Indices

81         // If the GEP has all zero indices, it doesn't offset the pointer. If it
553 Value *Indices[2] = {
557 auto *Ptr = IC.Builder->CreateInBoundsGEP(ST, Addr, makeArrayRef(Indices), EltName);
663 // also search through non-zero constant indices if we kept track of the
664 // offsets those indices implied.
670 // Find the first non-zero index of a GEP. If all indices are zero, return
686 // Skip through initial 'zero' indices, and find the corresponding pointer
704 // If there are more indices after the one we might replace with a zero, make
721 // FIXME: If the GEP is not inbounds, and there are extra indices after the
724 // better, ignoring zero indices (and other indices we can prove small
775 // Replace GEP indices if possible.
958 Value *Indices[2] = {
962 auto *Ptr = IC.Builder->CreateInBoundsGEP(ST, Addr, makeArrayRef(Indices), AddrName);
1035 // Replace GEP indices if possible.