Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io_to_vector.c493 nir_deref_instr *new_deref; in nir_lower_io_to_vector_impl() local
495 new_deref = build_array_deref_of_new_var_flat( in nir_lower_io_to_vector_impl()
499 new_deref = build_array_deref_of_new_var(&b, new_var, old_deref); in nir_lower_io_to_vector_impl()
500 assert(glsl_type_is_vector(new_deref->type)); in nir_lower_io_to_vector_impl()
503 nir_src_for_ssa(&new_deref->dest.ssa)); in nir_lower_io_to_vector_impl()
506 glsl_get_components(new_deref->type); in nir_lower_io_to_vector_impl()
540 nir_deref_instr *new_deref; in nir_lower_io_to_vector_impl() local
542 new_deref = build_array_deref_of_new_var_flat( in nir_lower_io_to_vector_impl()
546 new_deref = build_array_deref_of_new_var(&b, new_var, old_deref); in nir_lower_io_to_vector_impl()
547 assert(glsl_type_is_vector(new_deref->type)); in nir_lower_io_to_vector_impl()
[all …]
Dnir_deref.c699 nir_deref_instr *new_deref = in rematerialize_deref_in_block() local
701 new_deref->modes = deref->modes; in rematerialize_deref_in_block()
702 new_deref->type = deref->type; in rematerialize_deref_in_block()
705 new_deref->var = deref->var; in rematerialize_deref_in_block()
710 new_deref->parent = nir_src_for_ssa(&parent->dest.ssa); in rematerialize_deref_in_block()
712 nir_src_copy(&new_deref->parent, &deref->parent); in rematerialize_deref_in_block()
723 new_deref->cast.ptr_stride = deref->cast.ptr_stride; in rematerialize_deref_in_block()
729 nir_src_copy(&new_deref->arr.index, &deref->arr.index); in rematerialize_deref_in_block()
733 new_deref->strct.index = deref->strct.index; in rematerialize_deref_in_block()
740 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 &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()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c210 nir_deref_instr *new_deref = nir_build_deref_var(b, var); in lower_deref() local
217 new_deref = nir_build_deref_array(b, new_deref, in lower_deref()
221 return new_deref; in lower_deref()