Searched refs:new_deref (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_io_to_vector.c | 494 nir_deref_instr *new_deref; in nir_lower_io_to_vector_impl() local 496 new_deref = build_array_deref_of_new_var_flat( in nir_lower_io_to_vector_impl() 500 new_deref = build_array_deref_of_new_var(&b, new_var, old_deref); in nir_lower_io_to_vector_impl() 501 assert(glsl_type_is_vector(new_deref->type)); in nir_lower_io_to_vector_impl() 504 nir_src_for_ssa(&new_deref->dest.ssa)); in nir_lower_io_to_vector_impl() 507 glsl_get_components(new_deref->type); in nir_lower_io_to_vector_impl() 541 nir_deref_instr *new_deref; in nir_lower_io_to_vector_impl() local 543 new_deref = build_array_deref_of_new_var_flat( in nir_lower_io_to_vector_impl() 547 new_deref = build_array_deref_of_new_var(&b, new_var, old_deref); in nir_lower_io_to_vector_impl() 548 assert(glsl_type_is_vector(new_deref->type)); in nir_lower_io_to_vector_impl() [all …]
|
D | nir_deref.c | 747 nir_deref_instr *new_deref = in rematerialize_deref_in_block() local 749 new_deref->modes = deref->modes; in rematerialize_deref_in_block() 750 new_deref->type = deref->type; in rematerialize_deref_in_block() 753 new_deref->var = deref->var; in rematerialize_deref_in_block() 758 new_deref->parent = nir_src_for_ssa(&parent->dest.ssa); in rematerialize_deref_in_block() 760 nir_src_copy(&new_deref->parent, &deref->parent); in rematerialize_deref_in_block() 771 new_deref->cast.ptr_stride = deref->cast.ptr_stride; in rematerialize_deref_in_block() 777 nir_src_copy(&new_deref->arr.index, &deref->arr.index); in rematerialize_deref_in_block() 781 new_deref->strct.index = deref->strct.index; in rematerialize_deref_in_block() 788 nir_ssa_dest_init(&new_deref->instr, &new_deref->dest, in rematerialize_deref_in_block() [all …]
|
D | nir_split_vars.c | 255 nir_deref_instr *new_deref = NULL; in split_struct_derefs_impl() local 262 assert(new_deref == NULL); in split_struct_derefs_impl() 263 new_deref = nir_build_deref_var(&b, split_var); in split_struct_derefs_impl() 268 new_deref = nir_build_deref_follower(&b, new_deref, p); in split_struct_derefs_impl() 280 assert(new_deref->type == deref->type); in split_struct_derefs_impl() 282 &new_deref->dest.ssa); in split_struct_derefs_impl() 831 nir_deref_instr *new_deref = nir_build_deref_var(&b, split->var); in split_array_access_impl() local 834 new_deref = nir_build_deref_follower(&b, new_deref, in split_array_access_impl() 838 assert(new_deref->type == deref->type); in split_array_access_impl() 842 nir_src_for_ssa(&new_deref->dest.ssa)); in split_array_access_impl()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_samplers_as_deref.c | 222 nir_deref_instr *new_deref = nir_build_deref_var(b, var); in lower_deref() local 229 new_deref = nir_build_deref_array(b, new_deref, in lower_deref() 233 return new_deref; in lower_deref()
|
D | gl_nir_opt_dead_builtin_varyings.c | 299 nir_deref_instr *new_deref = in rewrite_varying_deref() local 301 nir_ssa_def_rewrite_uses(&deref->dest.ssa, &new_deref->dest.ssa); in rewrite_varying_deref()
|