Home
last modified time | relevance | path

Searched refs:new_deref (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_io_to_vector.c463 nir_deref_instr *new_deref; in nir_lower_io_to_vector_impl() local
465 new_deref = build_array_deref_of_new_var_flat( in nir_lower_io_to_vector_impl()
469 new_deref = build_array_deref_of_new_var(&b, new_var, old_deref); in nir_lower_io_to_vector_impl()
470 assert(glsl_type_is_vector(new_deref->type)); in nir_lower_io_to_vector_impl()
473 nir_src_for_ssa(&new_deref->dest.ssa)); in nir_lower_io_to_vector_impl()
476 glsl_get_components(new_deref->type); in nir_lower_io_to_vector_impl()
510 nir_deref_instr *new_deref; in nir_lower_io_to_vector_impl() local
512 new_deref = build_array_deref_of_new_var_flat( in nir_lower_io_to_vector_impl()
516 new_deref = build_array_deref_of_new_var(&b, new_var, old_deref); in nir_lower_io_to_vector_impl()
517 assert(glsl_type_is_vector(new_deref->type)); in nir_lower_io_to_vector_impl()
[all …]
Dnir_deref.c666 nir_deref_instr *new_deref = in rematerialize_deref_in_block() local
668 new_deref->modes = deref->modes; in rematerialize_deref_in_block()
669 new_deref->type = deref->type; in rematerialize_deref_in_block()
672 new_deref->var = deref->var; in rematerialize_deref_in_block()
677 new_deref->parent = nir_src_for_ssa(&parent->dest.ssa); in rematerialize_deref_in_block()
679 nir_src_copy(&new_deref->parent, &deref->parent, new_deref); in rematerialize_deref_in_block()
690 new_deref->cast.ptr_stride = deref->cast.ptr_stride; in rematerialize_deref_in_block()
696 nir_src_copy(&new_deref->arr.index, &deref->arr.index, new_deref); in rematerialize_deref_in_block()
700 new_deref->strct.index = deref->strct.index; in rematerialize_deref_in_block()
707 nir_ssa_dest_init(&new_deref->instr, &new_deref->dest, in rematerialize_deref_in_block()
[all …]
Dnir_split_vars.c267 nir_deref_instr *new_deref = NULL; in split_struct_derefs_impl() local
274 assert(new_deref == NULL); in split_struct_derefs_impl()
275 new_deref = nir_build_deref_var(&b, split_var); in split_struct_derefs_impl()
280 new_deref = nir_build_deref_follower(&b, new_deref, p); in split_struct_derefs_impl()
292 assert(new_deref->type == deref->type); in split_struct_derefs_impl()
294 nir_src_for_ssa(&new_deref->dest.ssa)); in split_struct_derefs_impl()
842 nir_deref_instr *new_deref = nir_build_deref_var(&b, split->var); in split_array_access_impl() local
845 new_deref = nir_build_deref_follower(&b, new_deref, in split_array_access_impl()
849 assert(new_deref->type == deref->type); in split_array_access_impl()
853 nir_src_for_ssa(&new_deref->dest.ssa)); in split_array_access_impl()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c209 nir_deref_instr *new_deref = nir_build_deref_var(b, var); in lower_deref() local
216 new_deref = nir_build_deref_array(b, new_deref, in lower_deref()
220 return new_deref; in lower_deref()