Home
last modified time | relevance | path

Searched refs:ret_deref (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_opencl.c189 nir_deref_instr *ret_deref = NULL; in call_mangled_function() local
195 ret_deref = nir_build_deref_var(&b->nb, ret_tmp); in call_mangled_function()
196 call->params[param_idx++] = nir_src_for_ssa(&ret_deref->dest.ssa); in call_mangled_function()
203 *ret_deref_ptr = ret_deref; in call_mangled_function()
467 nir_deref_instr *ret_deref = NULL; in handle_clc_fn() local
470 dest_type, srcs, &ret_deref)) in handle_clc_fn()
473 return ret_deref ? nir_load_deref(&b->nb, ret_deref) : NULL; in handle_clc_fn()
579 nir_deref_instr *ret_deref = NULL; in handle_core() local
599 …on(b, "async_work_group_strided_copy", (1 << 1), num_srcs, src_types, dest_type, srcs, &ret_deref)) in handle_core()
605 …call_mangled_function(b, "wait_group_events", 0, num_srcs, src_types, dest_type, srcs, &ret_deref)) in handle_core()
[all …]
Dvtn_cfg.c125 nir_deref_instr *ret_deref = NULL; in vtn_handle_function_call() local
132 ret_deref = nir_build_deref_var(&b->nb, ret_tmp); in vtn_handle_function_call()
133 call->params[param_idx++] = nir_src_for_ssa(&ret_deref->dest.ssa); in vtn_handle_function_call()
147 vtn_push_ssa_value(b, w[2], vtn_local_load(b, ret_deref, 0)); in vtn_handle_function_call()
1041 nir_deref_instr *ret_deref = in vtn_emit_ret_store() local
1044 vtn_local_store(b, src, ret_deref, 0); in vtn_emit_ret_store()
/external/mesa3d/src/compiler/nir/
Dnir_lower_double_ops.c594 nir_deref_instr *ret_deref = nir_build_deref_var(b, ret_tmp); in lower_doubles_instr_to_soft() local
595 params[0] = &ret_deref->dest.ssa; in lower_doubles_instr_to_soft()
605 return nir_load_deref(b, ret_deref); in lower_doubles_instr_to_soft()
/external/mesa3d/src/compiler/glsl/
Dlower_precision.cpp1326 ir_dereference_variable *ret_deref = ir->return_deref; in visit_enter() local
1327 ir_variable *ret_var = ret_deref ? ret_deref->variable_referenced() : NULL; in visit_enter()
1331 ret_deref->type->without_array()->is_32bit()) { in visit_enter()
1339 ret_deref->var = new_var; in visit_enter()
Dglsl_to_nir.cpp877 nir_deref_instr *ret_deref = in visit() local
882 nir_store_deref(&b, ret_deref, val, ~0); in visit()
1633 nir_deref_instr *ret_deref = NULL; in visit() local
1638 ret_deref = nir_build_deref_var(&b, ret_tmp); in visit()
1639 call->params[i++] = nir_src_for_ssa(&ret_deref->dest.ssa); in visit()
1665 nir_store_deref(&b, evaluate_deref(ir->return_deref), nir_load_deref(&b, ret_deref), ~0); in visit()