Searched refs:dst_deref (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_var_copies.c | 56 nir_deref_instr *dst_deref, in emit_deref_copy_load_store() argument 65 dst_deref = build_deref_to_next_wildcard(b, dst_deref, &dst_deref_arr); in emit_deref_copy_load_store() 76 assert(length == glsl_get_length(dst_deref->type)); in emit_deref_copy_load_store() 81 nir_build_deref_array_imm(b, dst_deref, i), in emit_deref_copy_load_store() 87 assert(glsl_get_bare_type(dst_deref->type) == in emit_deref_copy_load_store() 89 assert(glsl_type_is_vector_or_scalar(dst_deref->type)); in emit_deref_copy_load_store() 91 nir_store_deref_with_access(b, dst_deref, in emit_deref_copy_load_store()
|
D | nir_opt_large_constants.c | 220 nir_deref_instr *src_deref = NULL, *dst_deref = NULL; in nir_opt_large_constants() local 224 dst_deref = nir_src_as_deref(intrin->src[0]); in nir_opt_large_constants() 241 if (dst_deref && nir_deref_mode_must_be(dst_deref, nir_var_function_temp)) { in nir_opt_large_constants() 242 nir_variable *var = nir_deref_instr_get_variable(dst_deref); in nir_opt_large_constants() 260 nir_deref_instr_has_indirect(dst_deref)) { in nir_opt_large_constants() 264 handle_constant_store(var_infos, info, dst_deref, val, writemask, in nir_opt_large_constants()
|
D | nir_opt_find_array_copies.c | 552 nir_deref_instr *dst_deref = nir_src_as_deref(intrin->src[0]); in opt_find_array_copies_block() local 558 if (!nir_deref_mode_may_be(dst_deref, nir_var_function_temp)) in opt_find_array_copies_block() 561 if (!nir_deref_mode_must_be(dst_deref, nir_var_function_temp)) { in opt_find_array_copies_block() 566 nir_deref_path_init(&dst_path, dst_deref, state->dead_ctx); in opt_find_array_copies_block() 575 if (nir_deref_instr_is_known_out_of_bounds(dst_deref)) in opt_find_array_copies_block() 594 (1 << glsl_get_components(dst_deref->type)) - 1) { in opt_find_array_copies_block() 617 nir_deref_instr_has_indirect(dst_deref) || in opt_find_array_copies_block() 620 glsl_get_bare_type(dst_deref->type))) { in opt_find_array_copies_block() 625 progress |= handle_write(dst_deref, src_deref, instr->index, in opt_find_array_copies_block()
|
D | nir_lower_const_arrays_to_uniforms.c | 287 nir_deref_instr *src_deref = NULL, *dst_deref = NULL; in nir_lower_const_arrays_to_uniforms() local 290 dst_deref = nir_src_as_deref(intrin->src[0]); in nir_lower_const_arrays_to_uniforms() 306 if (dst_deref && nir_deref_mode_must_be(dst_deref, nir_var_function_temp)) { in nir_lower_const_arrays_to_uniforms() 307 nir_variable *var = nir_deref_instr_get_variable(dst_deref); in nir_lower_const_arrays_to_uniforms() 325 nir_deref_instr_has_indirect(dst_deref)) { in nir_lower_const_arrays_to_uniforms()
|
D | nir_lower_variable_initializers.c | 76 nir_deref_instr *dst_deref = nir_build_deref_var(b, var); 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 | 722 nir_deref_instr *dst_deref = nir_src_as_deref(copy->src[0]); in split_array_copies_impl() local 726 get_array_deref_info(dst_deref, var_info_map, modes); in split_array_copies_impl() 734 nir_deref_path_init(&dst_path, dst_deref, mem_ctx); in split_array_copies_impl()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir.c | 1006 nir_deref_instr *dst_deref = nir_src_as_deref(intr->src[0]); in lower_memcpy_deref() local 1011 assert(dst_deref && src_deref); in lower_memcpy_deref() 1015 dst_deref = nir_build_deref_cast(b, &dst_deref->dest.ssa, dst_deref->modes, in lower_memcpy_deref() 1038 memcpy_store_deref_elem(b, dst_deref, loop_index, val); in lower_memcpy_deref()
|