Searched refs:dst_deref (Results 1 - 11 of 11) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_var_copies.c56 nir_deref_instr *dst_deref,
65 dst_deref = build_deref_to_next_wildcard(b, dst_deref, &dst_deref_arr);
76 assert(length == glsl_get_length(dst_deref->type));
81 nir_build_deref_array_imm(b, dst_deref, i),
87 assert(glsl_get_bare_type(dst_deref->type) ==
89 assert(glsl_type_is_vector_or_scalar(dst_deref->type));
91 nir_store_deref_with_access(b, dst_deref,
55 emit_deref_copy_load_store(nir_builder * b,nir_deref_instr * dst_deref,nir_deref_instr ** dst_deref_arr,nir_deref_instr * src_deref,nir_deref_instr ** src_deref_arr,enum gl_access_qualifier dst_access,enum gl_access_qualifier src_access) argument
H A Dnir_opt_large_constants.c220 nir_deref_instr *src_deref = NULL, *dst_deref = NULL; local in function:nir_opt_large_constants
224 dst_deref = nir_src_as_deref(intrin->src[0]);
241 if (dst_deref && nir_deref_mode_must_be(dst_deref, nir_var_function_temp)) {
242 nir_variable *var = nir_deref_instr_get_variable(dst_deref);
260 nir_deref_instr_has_indirect(dst_deref)) {
264 handle_constant_store(var_infos, info, dst_deref, val, writemask,
H A Dnir_opt_find_array_copies.c552 nir_deref_instr *dst_deref = nir_src_as_deref(intrin->src[0]); local in function:opt_find_array_copies_block
558 if (!nir_deref_mode_may_be(dst_deref, nir_var_function_temp))
561 if (!nir_deref_mode_must_be(dst_deref, nir_var_function_temp)) {
566 nir_deref_path_init(&dst_path, dst_deref, state->dead_ctx);
575 if (nir_deref_instr_is_known_out_of_bounds(dst_deref))
594 (1 << glsl_get_components(dst_deref->type)) - 1) {
617 nir_deref_instr_has_indirect(dst_deref) ||
620 glsl_get_bare_type(dst_deref->type))) {
625 progress |= handle_write(dst_deref, src_deref, instr->index,
H A Dnir_lower_variable_initializers.c76 nir_deref_instr *dst_deref = nir_build_deref_var(b, var); local in function:lower_const_initializer
79 nir_store_deref(b, dst_deref, &src_deref->dest.ssa, ~0);
H A Dnir_split_vars.c733 nir_deref_instr *dst_deref = nir_src_as_deref(copy->src[0]); local in function:split_array_copies_impl
737 get_array_deref_info(dst_deref, var_info_map, modes);
745 nir_deref_path_init(&dst_path, dst_deref, mem_ctx);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_var_copies.c56 nir_deref_instr *dst_deref,
65 dst_deref = build_deref_to_next_wildcard(b, dst_deref, &dst_deref_arr);
76 assert(length == glsl_get_length(dst_deref->type));
81 nir_build_deref_array_imm(b, dst_deref, i),
87 assert(glsl_get_bare_type(dst_deref->type) ==
89 assert(glsl_type_is_vector_or_scalar(dst_deref->type));
91 nir_store_deref_with_access(b, dst_deref,
55 emit_deref_copy_load_store(nir_builder * b,nir_deref_instr * dst_deref,nir_deref_instr ** dst_deref_arr,nir_deref_instr * src_deref,nir_deref_instr ** src_deref_arr,enum gl_access_qualifier dst_access,enum gl_access_qualifier src_access) argument
H A Dnir_opt_find_array_copies.c216 nir_deref_instr *dst_deref = nir_src_as_deref(intrin->src[0]); local in function:opt_find_array_copies_block
222 if (dst_deref->mode != nir_var_function_temp)
232 if (nir_deref_instr_get_variable(dst_deref) != dst_var) {
234 dst_var = nir_deref_instr_get_variable(dst_deref);
242 if (dst_deref->deref_type == nir_deref_type_var)
255 (1 << glsl_get_components(dst_deref->type)) - 1)
288 if (dst_deref->type != src_deref->type)
296 nir_deref_path_init(&s.first_dst_path, dst_deref, mem_ctx);
303 dst_deref, s.next_array_idx, mem_ctx) ||
H A Dnir_opt_large_constants.c174 nir_deref_instr *src_deref = NULL, *dst_deref = NULL; local in function:nir_opt_large_constants
177 dst_deref = nir_src_as_deref(intrin->src[0]);
190 dst_deref = nir_src_as_deref(intrin->src[0]);
199 if (dst_deref && dst_deref->mode == nir_var_function_temp) {
200 nir_variable *var = nir_deref_instr_get_variable(dst_deref);
209 nir_deref_instr_has_indirect(dst_deref))
H A Dnir_split_vars.c651 nir_deref_instr *dst_deref = nir_src_as_deref(copy->src[0]); local in function:split_array_copies_impl
655 get_array_deref_info(dst_deref, var_info_map, modes);
663 nir_deref_path_init(&dst_path, dst_deref, mem_ctx);
H A Dnir_opt_copy_prop_vars.c267 nir_deref_instr *dst_deref)
270 .dst = dst_deref,
266 copy_entry_create(struct util_dynarray * copies,nir_deref_instr * dst_deref) argument
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_nir.c983 nir_deref_instr *dst_deref = nir_src_as_deref(intr->src[0]); local in function:lower_memcpy_deref
988 assert(dst_deref && src_deref);
992 dst_deref = nir_build_deref_cast(b, &dst_deref->dest.ssa, dst_deref->modes,
1015 memcpy_store_deref_elem(b, dst_deref, loop_index, val);

Completed in 17 milliseconds