Home
last modified time | relevance | path

Searched refs:sig_param (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dopt_function_inlining.cpp135 should_replace_variable(ir_variable *sig_param, ir_rvalue *param) { in should_replace_variable() argument
141 return sig_param->type->contains_opaque() && in should_replace_variable()
143 sig_param->data.mode == ir_var_function_in; in should_replace_variable()
166 ir_variable *sig_param = (ir_variable *) formal_node; in generate_inline() local
170 if (should_replace_variable(sig_param, param)) { in generate_inline()
174 parameters[i] = sig_param->clone(ctx, ht); in generate_inline()
205 if (sig_param->data.mode == ir_var_function_in || in generate_inline()
206 sig_param->data.mode == ir_var_const_in) { in generate_inline()
213 assert(sig_param->data.mode == ir_var_function_out || in generate_inline()
214 sig_param->data.mode == ir_var_function_inout); in generate_inline()
[all …]
Dopt_constant_folding.cpp179 ir_variable *sig_param = (ir_variable *) formal_node; in visit_enter() local
181 if (sig_param->data.mode == ir_var_function_in in visit_enter()
182 || sig_param->data.mode == ir_var_const_in) { in visit_enter()
Dopt_tree_grafting.cpp209 ir_variable *sig_param = (ir_variable *) formal_node; in visit_enter() local
213 if (sig_param->data.mode != ir_var_function_in in visit_enter()
214 && sig_param->data.mode != ir_var_const_in) { in visit_enter()
215 if (check_graft(ir, sig_param) == visit_stop) in visit_enter()
Dlower_shared_reference.cpp391 ir_variable *sig_param = new(mem_ctx) in lower_shared_atomic_intrinsic() local
393 sig_params.push_tail(sig_param); in lower_shared_atomic_intrinsic()
396 sig_param = new(mem_ctx) in lower_shared_atomic_intrinsic()
398 sig_params.push_tail(sig_param); in lower_shared_atomic_intrinsic()
401 sig_param = new(mem_ctx) in lower_shared_atomic_intrinsic()
403 sig_params.push_tail(sig_param); in lower_shared_atomic_intrinsic()
Dopt_copy_propagation_elements.cpp510 ir_variable *sig_param = (ir_variable *) formal_node; in visit_enter() local
512 if (sig_param->data.mode != ir_var_function_out in visit_enter()
513 && sig_param->data.mode != ir_var_function_inout) { in visit_enter()
528 ir_variable *sig_param = (ir_variable *) formal_node; in visit_enter() local
529 if (sig_param->data.mode == ir_var_function_out || in visit_enter()
530 sig_param->data.mode == ir_var_function_inout) { in visit_enter()
Dlower_ubo_reference.cpp1014 ir_variable *sig_param = new(mem_ctx) in lower_ssbo_atomic_intrinsic() local
1016 sig_params.push_tail(sig_param); in lower_ssbo_atomic_intrinsic()
1018 sig_param = new(mem_ctx) in lower_ssbo_atomic_intrinsic()
1020 sig_params.push_tail(sig_param); in lower_ssbo_atomic_intrinsic()
1023 sig_param = new(mem_ctx) in lower_ssbo_atomic_intrinsic()
1025 sig_params.push_tail(sig_param); in lower_ssbo_atomic_intrinsic()
1028 sig_param = new(mem_ctx) in lower_ssbo_atomic_intrinsic()
1030 sig_params.push_tail(sig_param); in lower_ssbo_atomic_intrinsic()
Dopt_constant_propagation.cpp326 ir_variable *sig_param = (ir_variable *) formal_node; in visit_enter() local
328 if (sig_param->data.mode != ir_var_function_out in visit_enter()
329 && sig_param->data.mode != ir_var_function_inout) { in visit_enter()
Dglsl_to_nir.cpp1630 ir_variable *sig_param = (ir_variable *) formal_node; in visit() local
1632 if (sig_param->data.mode == ir_var_function_out) { in visit()
1635 } else if (sig_param->data.mode == ir_var_function_in) { in visit()
1640 } else if (sig_param->data.mode == ir_var_function_inout) { in visit()
Dlinker.cpp129 ir_variable *sig_param = (ir_variable *) formal_node; in visit_enter() local
131 if (sig_param->data.mode == ir_var_function_out || in visit_enter()
132 sig_param->data.mode == ir_var_function_inout) { in visit_enter()