FFI::MemoryPointer.new(FFI.type_size(:pointer) * indices.size) do |indices_ptr|
        indices_ptr.write_array_of_pointer(indices)
        ins = C.build_gep2(self, type, ptr, indices_ptr, indices.size, name)
        return Instruction.from_ptr(ins)