Searched refs:src_deref (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_var_copies.c | 58 nir_deref_instr *src_deref, in emit_deref_copy_load_store() argument 66 src_deref = build_deref_to_next_wildcard(b, src_deref, &src_deref_arr); in emit_deref_copy_load_store() 74 unsigned length = glsl_get_length(src_deref->type); in emit_deref_copy_load_store() 83 nir_build_deref_array_imm(b, src_deref, i), in emit_deref_copy_load_store() 88 glsl_get_bare_type(src_deref->type)); in emit_deref_copy_load_store() 92 nir_load_deref_with_access(b, src_deref, src_access), in emit_deref_copy_load_store()
|
D | nir_opt_find_array_copies.c | 578 nir_deref_instr *src_deref; in opt_find_array_copies_block() local 581 src_deref = nir_src_as_deref(intrin->src[1]); in opt_find_array_copies_block() 587 src_deref = NULL; in opt_find_array_copies_block() 589 src_deref = nir_src_as_deref(load->src[0]); in opt_find_array_copies_block() 595 src_deref = NULL; in opt_find_array_copies_block() 602 if (src_deref && in opt_find_array_copies_block() 603 !nir_deref_mode_must_be(src_deref, nir_var_function_temp | in opt_find_array_copies_block() 605 src_deref = NULL; in opt_find_array_copies_block() 614 if (src_deref && in opt_find_array_copies_block() 615 (nir_deref_instr_has_indirect(src_deref) || in opt_find_array_copies_block() [all …]
|
D | nir_opt_large_constants.c | 220 nir_deref_instr *src_deref = NULL, *dst_deref = NULL; in nir_opt_large_constants() local 230 src_deref = nir_src_as_deref(intrin->src[0]); in nir_opt_large_constants() 269 if (src_deref && nir_deref_mode_must_be(src_deref, nir_var_function_temp)) { in nir_opt_large_constants() 270 nir_variable *var = nir_deref_instr_get_variable(src_deref); in nir_opt_large_constants()
|
D | nir_lower_variable_initializers.c | 75 nir_deref_instr *src_deref = nir_build_deref_var(b, var->pointer_initializer); in lower_const_initializer() local 79 nir_store_deref(b, dst_deref, &src_deref->dest.ssa, ~0); in lower_const_initializer()
|
D | nir_split_vars.c | 734 nir_deref_instr *src_deref = nir_src_as_deref(copy->src[1]); in split_array_copies_impl() local 739 get_array_deref_info(src_deref, var_info_map, modes); in split_array_copies_impl() 746 nir_deref_path_init(&src_path, src_deref, mem_ctx); in split_array_copies_impl()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir.c | 984 nir_deref_instr *src_deref = nir_src_as_deref(intr->src[1]); in lower_memcpy_deref() local 988 assert(dst_deref && src_deref); in lower_memcpy_deref() 994 src_deref = nir_build_deref_cast(b, &src_deref->dest.ssa, src_deref->modes, in lower_memcpy_deref() 1014 nir_ssa_def *val = memcpy_load_deref_elem(b, src_deref, loop_index); in lower_memcpy_deref()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_variables.c | 2682 nir_deref_instr *src_deref = vtn_nir_deref(b, w[3]); in vtn_handle_variables() local 2694 nir_ssa_def *valid = nir_build_deref_mode_is(&b->nb, 1, &src_deref->dest.ssa, nir_mode); in vtn_handle_variables() 2696 &src_deref->dest.ssa, in vtn_handle_variables() 2715 nir_deref_instr *src_deref = vtn_nir_deref(b, w[3]); in vtn_handle_variables() local 2718 nir_bcsel(&b->nb, nir_build_deref_mode_is(&b->nb, 1, &src_deref->dest.ssa, in vtn_handle_variables() 2724 nir_bcsel(&b->nb, nir_build_deref_mode_is(&b->nb, 1, &src_deref->dest.ssa, in vtn_handle_variables()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_compiler.c | 1186 nir_deref_instr *src_deref = nir_src_as_deref(instr->src[0]); in lower_bindless_io_instr() local 1187 nir_variable *var = nir_deref_instr_get_variable(src_deref); in lower_bindless_io_instr() 1207 nir_instr_remove(&src_deref->instr); in lower_bindless_io_instr()
|