Home
last modified time | relevance | path

Searched refs:sig_param (Results 1 – 7 of 7) 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.cpp162 ir_variable *sig_param = (ir_variable *) formal_node; in visit_enter() local
164 if (sig_param->data.mode == ir_var_function_in in visit_enter()
165 || sig_param->data.mode == ir_var_const_in) { in visit_enter()
Dopt_tree_grafting.cpp208 ir_variable *sig_param = (ir_variable *) formal_node; in visit_enter() local
212 if (sig_param->data.mode != ir_var_function_in in visit_enter()
213 && sig_param->data.mode != ir_var_const_in) { in visit_enter()
214 if (check_graft(ir, sig_param) == visit_stop) in visit_enter()
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()
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.cpp1699 ir_variable *sig_param = (ir_variable *) formal_node; in visit() local
1701 if (sig_param->data.mode == ir_var_function_out) { in visit()
1704 } else if (sig_param->data.mode == ir_var_function_in) { in visit()
1709 } else if (sig_param->data.mode == ir_var_function_inout) { in visit()
Dlinker.cpp132 ir_variable *sig_param = (ir_variable *) formal_node; in visit_enter() local
134 if (sig_param->data.mode == ir_var_function_out || in visit_enter()
135 sig_param->data.mode == ir_var_function_inout) { in visit_enter()