Searched refs:src_deref (Results 1 – 6 of 6) sorted by relevance
/external/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 | 223 nir_deref_instr *src_deref = NULL, *dst_deref = NULL; in nir_opt_large_constants() local 233 src_deref = nir_src_as_deref(intrin->src[0]); in nir_opt_large_constants() 272 if (src_deref && nir_deref_mode_is(src_deref, nir_var_function_temp)) { in nir_opt_large_constants() 273 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()
|
/external/mesa3d/src/compiler/spirv/ |
D | vtn_variables.c | 2560 nir_deref_instr *src_deref = vtn_nir_deref(b, w[3]); in vtn_handle_variables() local 2572 nir_ssa_def *valid = nir_build_deref_mode_is(&b->nb, src_deref, nir_mode); in vtn_handle_variables() 2574 &src_deref->dest.ssa, in vtn_handle_variables() 2593 nir_deref_instr *src_deref = vtn_nir_deref(b, w[3]); in vtn_handle_variables() local 2596 nir_bcsel(&b->nb, nir_build_deref_mode_is(&b->nb, src_deref, in vtn_handle_variables() 2602 nir_bcsel(&b->nb, nir_build_deref_mode_is(&b->nb, src_deref, in vtn_handle_variables()
|