Lines Matching refs:Indices
850 // Combine Indices - If the source pointer to this getelementptr instruction
866 SmallVector<Value*, 8> Indices;
902 Indices.append(Src->op_begin()+1, Src->op_end()-1);
903 Indices.push_back(Sum);
904 Indices.append(GEP.op_begin()+2, GEP.op_end());
909 Indices.append(Src->op_begin()+1, Src->op_end());
910 Indices.append(GEP.idx_begin()+1, GEP.idx_end());
913 if (!Indices.empty())
915 GetElementPtrInst::CreateInBounds(Src->getOperand(0), Indices,
917 GetElementPtrInst::Create(Src->getOperand(0), Indices, GEP.getName());
1444 SmallVector<Value*, 4> Indices;
1446 Indices.push_back(Builder->getInt32(0));
1449 Indices.push_back(Builder->getInt32(*I));
1454 Value *GEP = Builder->CreateInBoundsGEP(L->getPointerOperand(), Indices);