/external/mesa3d/src/glsl/ |
D | ir_optimization.h | 39 bool do_common_optimization(exec_list *ir, bool linked, unsigned max_unroll_iterations); 41 bool do_algebraic(exec_list *instructions); 42 bool do_constant_folding(exec_list *instructions); 43 bool do_constant_variable(exec_list *instructions); 44 bool do_constant_variable_unlinked(exec_list *instructions); 45 bool do_copy_propagation(exec_list *instructions); 46 bool do_constant_propagation(exec_list *instructions); 47 bool do_dead_code(exec_list *instructions); 48 bool do_dead_code_local(exec_list *instructions); 49 bool do_dead_code_unlinked(exec_list *instructions); [all …]
|
D | opt_copy_propagation.cpp | 75 this->acp = new(mem_ctx) exec_list; in ir_copy_propagation_visitor() 76 this->kills = new(mem_ctx) exec_list; in ir_copy_propagation_visitor() 93 void handle_if_block(exec_list *instructions); 96 exec_list *acp; 101 exec_list *kills; 117 exec_list *orig_acp = this->acp; in visit_enter() 118 exec_list *orig_kills = this->kills; in visit_enter() 121 this->acp = new(mem_ctx) exec_list; in visit_enter() 122 this->kills = new(mem_ctx) exec_list; in visit_enter() 204 ir_copy_propagation_visitor::handle_if_block(exec_list *instructions) in handle_if_block() [all …]
|
D | ast.h | 79 virtual ir_rvalue *hir(exec_list *instructions, 214 virtual ir_rvalue *hir(exec_list *instructions, 236 exec_list expressions; 272 virtual ir_rvalue *hir(exec_list *instructions, 298 virtual ir_rvalue *hir(exec_list *instructions, 302 exec_list statements; 370 virtual ir_rvalue *hir(exec_list *instructions, 374 exec_list declarations; 462 ir_rvalue *hir(exec_list *, struct _mesa_glsl_parse_state *); 491 virtual ir_rvalue *hir(exec_list *instructions, [all …]
|
D | opt_constant_propagation.cpp | 82 this->acp = new(mem_ctx) exec_list; in ir_constant_propagation_visitor() 83 this->kills = new(mem_ctx) exec_list; in ir_constant_propagation_visitor() 99 void handle_if_block(exec_list *instructions); 103 exec_list *acp; 109 exec_list *kills; 209 exec_list *orig_acp = this->acp; in visit_enter() 210 exec_list *orig_kills = this->kills; in visit_enter() 213 this->acp = new(mem_ctx) exec_list; in visit_enter() 214 this->kills = new(mem_ctx) exec_list; in visit_enter() 275 ir_constant_propagation_visitor::handle_if_block(exec_list *instructions) in handle_if_block() [all …]
|
D | ir_variable.cpp | 29 static void generate_ARB_draw_buffers_variables(exec_list *, 35 const glsl_type *type, exec_list *instructions, in add_variable() 67 add_uniform(exec_list *instructions, in add_uniform() 76 add_builtin_variable(const builtin_variable *proto, exec_list *instructions, in add_builtin_variable() 91 add_builtin_constant(exec_list *instructions, in add_builtin_constant() 105 generate_100ES_uniforms(exec_list *instructions, in generate_100ES_uniforms() 128 generate_110_uniforms(exec_list *instructions, in generate_110_uniforms() 224 generate_100ES_vs_variables(exec_list *instructions, in generate_100ES_vs_variables() 240 generate_110_vs_variables(exec_list *instructions, in generate_110_vs_variables() 276 generate_120_vs_variables(exec_list *instructions, in generate_120_vs_variables() [all …]
|
D | loop_analysis.h | 36 analyze_loop_variables(exec_list *instructions); 56 set_loop_controls(exec_list *instructions, loop_state *ls); 60 unroll_loops(exec_list *instructions, loop_state *ls, unsigned max_iterations); 81 exec_list variables; 88 exec_list constants; 95 exec_list induction_variables; 104 exec_list terminators;
|
D | ir.h | 420 const char *qualifiers_match(exec_list *params); 427 void replace_parameters(exec_list *new_params); 442 struct exec_list parameters; 451 struct exec_list body; 502 ir_function_signature *matching_signature(const exec_list *actual_param); 508 ir_function_signature *exact_matching_signature(const exec_list *actual_ps); 521 struct exec_list signatures; 558 exec_list then_instructions; 560 exec_list else_instructions; 594 exec_list body_instructions; [all …]
|
D | ir_import_prototypes.cpp | 46 import_prototype_visitor(exec_list *list, glsl_symbol_table *symbols, in import_prototype_visitor() 97 exec_list *list; 115 import_prototypes(const exec_list *source, exec_list *dest, in import_prototypes() 122 v.run(const_cast<exec_list *>(source)); in import_prototypes()
|
D | ir_function.cpp | 89 parameter_lists_match(const exec_list *list_a, const exec_list *list_b) in parameter_lists_match() 164 ir_function::matching_signature(const exec_list *actual_parameters) in matching_signature() 191 parameter_lists_match_exact(const exec_list *list_a, const exec_list *list_b) in parameter_lists_match_exact() 216 ir_function::exact_matching_signature(const exec_list *actual_parameters) in exact_matching_signature()
|
D | opt_dead_code_local.cpp | 60 kill_for_derefs_visitor(exec_list *assignments) in kill_for_derefs_visitor() 83 exec_list *assignments; 114 process_assignment(void *ctx, ir_assignment *ir, exec_list *assignments) in process_assignment() 189 exec_list assignments; in dead_code_local_basic_block() 222 do_dead_code_local(exec_list *instructions) in do_dead_code_local()
|
D | ast_function.cpp | 38 process_parameters(exec_list *instructions, exec_list *actual_parameters, in process_parameters() 39 exec_list *parameters, in process_parameters() 73 exec_list *parameters) in prototype_string() 96 match_function_by_name(exec_list *instructions, const char *name, in match_function_by_name() 97 YYLTYPE *loc, exec_list *actual_parameters, in match_function_by_name() 334 process_array_constructor(exec_list *instructions, in process_array_constructor() 336 YYLTYPE *loc, exec_list *parameters, in process_array_constructor() 360 exec_list actual_parameters; in process_array_constructor() 450 exec_list *parameters, void *mem_ctx) in constant_record_constructor() 467 single_scalar_parameter(exec_list *parameters) in single_scalar_parameter() [all …]
|
D | loop_unroll.cpp | 157 exec_list copy_list; in visit_leave() 172 exec_list *const list = (continue_from_then_branch) in visit_leave() 188 exec_list copy_list; in visit_leave() 207 unroll_loops(exec_list *instructions, loop_state *ls, unsigned max_iterations) in unroll_loops()
|
D | opt_constant_variable.cpp | 55 exec_list list; 59 get_assignment_entry(ir_variable *var, exec_list *list) in get_assignment_entry() 156 do_constant_variable(exec_list *instructions) in do_constant_variable() 180 do_constant_variable_unlinked(exec_list *instructions) in do_constant_variable_unlinked()
|
D | ir_if_return.cpp | 50 exec_list *inner_block); 58 do_if_return(exec_list *instructions) in do_if_return() 88 find_return_in_block(exec_list *instructions) in find_return_in_block() 132 exec_list *inner_block) in move_outer_block_inside()
|
D | list.h | 172 void insert_before(struct exec_list *before); 286 struct exec_list { struct 311 exec_list() in exec_list() argument 406 void move_nodes_to(exec_list *target) in move_nodes_to() argument 426 append_list(exec_list *source) in append_list() argument 460 inline void exec_node::insert_before(exec_list *before) in insert_before()
|
D | lower_variable_index_to_cond_assign.cpp | 51 void generate(unsigned i, ir_rvalue* condition, exec_list *list) const in generate() 92 void linear_sequence(unsigned begin, unsigned end, exec_list *list) in linear_sequence() 171 void bisect(unsigned begin, unsigned end, exec_list *list) in bisect() 197 void generate(unsigned begin, unsigned end, exec_list *list) in generate() 305 exec_list list; in convert_dereference_array() 344 lower_variable_index_to_cond_assign(exec_list *instructions, in lower_variable_index_to_cond_assign()
|
D | lower_jumps.cpp | 124 exec_list& list = this->loop ? this->loop->body_instructions : signature->body; in get_execute_flag() 211 void move_outer_block_inside(ir_instruction *ir, exec_list *inner_block) in move_outer_block_inside() 286 block_record visit_block(exec_list* list) in visit_block() 312 exec_list& list = i ? ir->else_instructions : ir->then_instructions; in visit() 449 exec_list* list = move_into ? &ir->else_instructions : &ir->then_instructions; in visit() 454 exec_list list; in visit() 555 do_lower_jumps(exec_list *instructions, bool pull_out_jumps, bool lower_sub_return, bool lower_main… in do_lower_jumps()
|
D | link_functions.cpp | 37 find_matching_signature(const char *name, const exec_list *actual_parameters, 137 exec_list formal_parameters; in visit_enter() 229 find_matching_signature(const char *name, const exec_list *actual_parameters, in find_matching_signature()
|
D | opt_dead_code.cpp | 45 do_dead_code(exec_list *instructions) in do_dead_code() 124 do_dead_code_unlinked(exec_list *instructions) in do_dead_code_unlinked()
|
D | opt_structure_splitting.cpp | 95 exec_list variable_list; 177 ir_structure_splitting_visitor(exec_list *vars) in ir_structure_splitting_visitor() 192 exec_list *variable_list; 301 do_structure_splitting(exec_list *instructions) in do_structure_splitting()
|
D | lower_discard.cpp | 125 lower_discard(exec_list *instructions) in lower_discard() 136 find_discard(exec_list &instructions) in find_discard()
|
D | opt_discard_simplification.cpp | 103 find_unconditional_discard(exec_list &instructions) in find_unconditional_discard() 165 do_discard_simplification(exec_list *instructions) in do_discard_simplification()
|
D | opt_dead_functions.cpp | 68 exec_list signature_list; 112 do_dead_functions(exec_list *instructions) in do_dead_functions()
|
D | ast_to_hir.cpp | 60 _mesa_ast_to_hir(exec_list *instructions, struct _mesa_glsl_parse_state *state) in _mesa_ast_to_hir() 637 do_assignment(exec_list *instructions, struct _mesa_glsl_parse_state *state, in do_assignment() 716 get_lvalue_copy(exec_list *instructions, ir_rvalue *lvalue) in get_lvalue_copy() 739 ast_node::hir(exec_list *instructions, in hir() 838 ast_expression::hir(exec_list *instructions, in hir() 1322 exec_list then_instructions; in hir() 1323 exec_list else_instructions; in hir() 1691 ast_expression_statement::hir(exec_list *instructions, in hir() 1713 ast_compound_statement::hir(exec_list *instructions, in hir() 1740 exec_list dummy_instructions; in process_array_type() [all …]
|
D | opt_function_inlining.cpp | 39 do_sampler_replacement(exec_list *instructions, 78 do_function_inlining(exec_list *instructions) in do_function_inlining() 180 exec_list new_instructions; in generate_inline() 417 do_sampler_replacement(exec_list *instructions, in do_sampler_replacement()
|