/third_party/mesa3d/src/compiler/glsl/ |
D | ir_optimization.h | 81 bool do_common_optimization(exec_list *ir, bool linked, 87 bool do_rebalance_tree(exec_list *instructions); 88 bool do_algebraic(exec_list *instructions, bool native_integers, 90 bool do_constant_folding(exec_list *instructions); 91 bool do_constant_variable(exec_list *instructions); 92 bool do_constant_variable_unlinked(exec_list *instructions); 93 bool do_copy_propagation_elements(exec_list *instructions); 94 bool do_constant_propagation(exec_list *instructions); 95 bool do_dead_code(exec_list *instructions); 96 bool do_dead_code_local(exec_list *instructions); [all …]
|
D | list.h | 88 void insert_after(struct exec_list *after); 98 void insert_before(struct exec_list *before); 290 struct exec_list { struct 295 DECLARE_RALLOC_CXX_OPERATORS(exec_list) argument 297 exec_list() in exec_list() function 335 void move_nodes_to(exec_list *target); 340 void append_list(exec_list *source); 346 void prepend_list(exec_list *source); 351 exec_list_make_empty(struct exec_list *list) in exec_list_make_empty() 360 exec_list_is_empty(const struct exec_list *list) in exec_list_is_empty() [all …]
|
D | ast.h | 63 virtual ir_rvalue *hir(exec_list *instructions, 240 virtual ir_rvalue *hir(exec_list *instructions, 243 virtual void hir_no_rvalue(exec_list *instructions, 248 ir_rvalue *do_hir(exec_list *instructions, 274 exec_list expressions; 327 virtual ir_rvalue *hir(exec_list *instructions, 330 virtual void hir_no_rvalue(exec_list *instructions, 341 handle_method(exec_list *instructions, 349 exec_list declarations; 376 exec_list array_dimensions; [all …]
|
D | builtin_int64.h | 9 exec_list sig_parameters; in udivmod64() 33 exec_list *const f0013_parent_instructions = body.instructions; in udivmod64() 49 exec_list *const f0019_parent_instructions = body.instructions; in udivmod64() 56 exec_list *const f001A_parent_instructions = body.instructions; in udivmod64() 76 exec_list *const f001C_parent_instructions = body.instructions; in udivmod64() 103 exec_list *const f0024_parent_instructions = body.instructions; in udivmod64() 133 exec_list *const f0027_parent_instructions = body.instructions; in udivmod64() 140 exec_list *const f0028_parent_instructions = body.instructions; in udivmod64() 160 exec_list *const f002A_parent_instructions = body.instructions; in udivmod64() 187 exec_list *const f0032_parent_instructions = body.instructions; in udivmod64() [all …]
|
D | ir_function.cpp | 44 const exec_list *list_a, const exec_list *list_b) in parameter_lists_match() 201 is_best_inexact_overload(const exec_list *actual_parameters, in is_best_inexact_overload() 262 const exec_list *actual_parameters, in choose_best_inexact_overload() 292 const exec_list *actual_parameters, in matching_signature() 302 const exec_list *actual_parameters, in matching_signature() 374 parameter_lists_match_exact(const exec_list *list_a, const exec_list *list_b) in parameter_lists_match_exact() 400 const exec_list *actual_parameters) in exact_matching_signature()
|
D | ir.h | 1206 exec_list *actual_parameters, 1236 const char *qualifiers_match(exec_list *params); 1243 void replace_parameters(exec_list *new_params); 1258 struct exec_list parameters; 1289 struct exec_list body; 1318 const struct exec_list &body, 1353 const exec_list *actual_param, 1362 const exec_list *actual_param, 1370 const exec_list *actual_ps); 1383 struct exec_list signatures; [all …]
|
D | opt_copy_propagation_elements.cpp | 282 this->kills = new(mem_ctx) exec_list; in ir_copy_propagation_elements_visitor() 304 void handle_if_block(exec_list *instructions, exec_list *kills, bool *killed_all); 312 exec_list *kills; 349 exec_list *orig_kills = this->kills; in visit_enter() 352 this->kills = new(mem_ctx) exec_list; in visit_enter() 542 ir_copy_propagation_elements_visitor::handle_if_block(exec_list *instructions, exec_list *kills, bo… in handle_if_block() 544 exec_list *orig_kills = this->kills; in handle_if_block() 569 exec_list *new_kills = new(mem_ctx) exec_list; in visit_enter() 593 exec_list *orig_kills = this->kills; in handle_loop() 596 this->kills = new(mem_ctx) exec_list; in handle_loop() [all …]
|
D | opt_constant_propagation.cpp | 88 this->acp = new(mem_ctx) exec_list; in ir_constant_propagation_visitor() 107 void handle_if_block(exec_list *instructions, hash_table *kills, bool *killed_all); 112 exec_list *acp; 262 exec_list *orig_acp = this->acp; in visit_enter() 266 this->acp = new(mem_ctx) exec_list; in visit_enter() 349 ir_constant_propagation_visitor::handle_if_block(exec_list *instructions, hash_table *kills, bool *… in handle_if_block() 351 exec_list *orig_acp = this->acp; in handle_if_block() 355 this->acp = new(mem_ctx) exec_list; in handle_if_block() 402 exec_list *orig_acp = this->acp; in handle_loop() 406 this->acp = new(mem_ctx) exec_list; in handle_loop() [all …]
|
D | ast_function.cpp | 37 process_parameters(exec_list *instructions, exec_list *actual_parameters, in process_parameters() 38 exec_list *parameters, in process_parameters() 89 exec_list *parameters) in prototype_string() 225 exec_list &actual_ir_parameters, in verify_parameter_modes() 226 exec_list &actual_ast_parameters) in verify_parameter_modes() 402 exec_list *before_instructions; 443 exec_list *before_instructions, exec_list *after_instructions, in fix_parameter() 546 generate_call(exec_list *instructions, ir_function_signature *sig, in generate_call() 547 exec_list *actual_parameters, in generate_call() 553 exec_list post_call_conversions; in generate_call() [all …]
|
D | ir_function_detect_recursion.cpp | 148 exec_list callees; 151 exec_list callers; 231 destroy_links(exec_list *list, function *f) in destroy_links() 313 exec_list *instructions) in detect_recursion_unlinked() 339 exec_list *instructions) in detect_recursion_linked()
|
D | opt_dead_code_local.cpp | 71 kill_for_derefs_visitor(exec_list *assignments) in kill_for_derefs_visitor() 140 exec_list *assignments; 172 process_assignment(void *lin_ctx, ir_assignment *ir, exec_list *assignments) in process_assignment() 308 exec_list assignments; in dead_code_local_basic_block() 344 do_dead_code_local(exec_list *instructions) in do_dead_code_local()
|
D | opt_array_splitting.cpp | 104 bool get_split_list(exec_list *instructions, bool linked); 116 exec_list variable_list; 271 ir_array_reference_visitor::get_split_list(exec_list *instructions, in get_split_list() 312 ir_array_splitting_visitor(exec_list *vars) in ir_array_splitting_visitor() 327 exec_list *variable_list; 440 optimize_split_arrays(exec_list *instructions, bool linked) in optimize_split_arrays()
|
D | lower_int64.cpp | 71 lower_64bit_visitor(void *mem_ctx, exec_list *instructions, unsigned lower) in lower_64bit_visitor() 118 exec_list function_list; 135 lower_64bit_integer_instructions(exec_list *instructions, in lower_64bit_integer_instructions() 263 exec_list instructions; in lower_op_to_function_call() 281 exec_list parameters; in lower_op_to_function_call()
|
D | test_optpass.cpp | 57 do_optimization(struct exec_list *ir, const char *optimization, in do_optimization() 119 do_optimization_passes(struct exec_list *ir, char **optimizations, in do_optimization_passes() 192 shader->ir = new(shader) exec_list; in test_optpass() 207 shader->ir = new(shader) exec_list; in test_optpass()
|
D | lower_jumps.cpp | 188 exec_list& list = this->loop ? this->loop->body_instructions : signature->body; in get_execute_flag() 291 void move_outer_block_inside(ir_instruction *ir, exec_list *inner_block) in move_outer_block_inside() 435 block_record visit_block(exec_list* list) in visit_block() 481 exec_list& list = i ? ir->else_instructions : ir->then_instructions; in visit() 692 exec_list* list = move_into ? &ir->else_instructions : &ir->then_instructions; in visit() 704 exec_list list; in visit() 921 do_lower_jumps(exec_list *instructions, bool pull_out_jumps, bool lower_sub_return, bool lower_main… in do_lower_jumps()
|
D | opt_structure_splitting.cpp | 96 exec_list variable_list; 185 ir_structure_splitting_visitor(exec_list *vars) in ir_structure_splitting_visitor() 200 exec_list *variable_list; 301 do_structure_splitting(exec_list *instructions) in do_structure_splitting()
|
D | opt_function_inlining.cpp | 38 do_variable_replacement(exec_list *instructions, 73 do_function_inlining(exec_list *instructions) in do_function_inlining() 235 exec_list new_instructions; in generate_inline() 459 do_variable_replacement(exec_list *instructions, in do_variable_replacement()
|
D | ast_to_hir.cpp | 68 exec_list *instructions); 73 remove_per_vertex_blocks(exec_list *instructions, 129 _mesa_ast_to_hir(exec_list *instructions, struct _mesa_glsl_parse_state *state) in _mesa_ast_to_hir() 930 do_assignment(exec_list *instructions, struct _mesa_glsl_parse_state *state, in do_assignment() 1064 get_lvalue_copy(exec_list *instructions, ir_rvalue *lvalue) in get_lvalue_copy() 1081 ast_node::hir(exec_list *instructions, struct _mesa_glsl_parse_state *state) in hir() 1101 ast_function_expression::hir_no_rvalue(exec_list *instructions, in hir_no_rvalue() 1108 ast_aggregate_initializer::hir_no_rvalue(exec_list *instructions, in hir_no_rvalue() 1208 get_scalar_boolean_operand(exec_list *instructions, in get_scalar_boolean_operand() 1313 ast_expression::hir(exec_list *instructions, in hir() [all …]
|
D | opt_dead_functions.cpp | 68 exec_list signature_list; 114 do_dead_functions(exec_list *instructions) in do_dead_functions()
|
D | lower_discard.cpp | 128 lower_discard(exec_list *instructions) in lower_discard() 139 find_discard(exec_list &instructions) in find_discard()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_control_flow.h | 70 nir_cf_node_insert_begin(struct exec_list *list, nir_cf_node *node) in nir_cf_node_insert_begin() 77 nir_cf_node_insert_end(struct exec_list *list, nir_cf_node *node) in nir_cf_node_insert_end() 135 struct exec_list list; 160 nir_cf_list_extract(nir_cf_list *extracted, struct exec_list *cf_list) in nir_cf_list_extract()
|
D | nir_lower_io_to_temporaries.c | 40 struct exec_list old_outputs; 41 struct exec_list old_inputs; 42 struct exec_list new_outputs; 43 struct exec_list new_inputs; 50 emit_copies(nir_builder *b, struct exec_list *dest_vars, in emit_copies() 51 struct exec_list *src_vars) in emit_copies() 317 struct exec_list *dst_list) in move_variables_to_list()
|
D | nir_clone.c | 193 clone_var_list(clone_state *state, struct exec_list *dst, in clone_var_list() 194 const struct exec_list *list) in clone_var_list() 227 clone_reg_list(clone_state *state, struct exec_list *dst, in clone_reg_list() 228 const struct exec_list *list) in clone_reg_list() 540 clone_block(clone_state *state, struct exec_list *cf_list, const nir_block *blk) in clone_block() 572 clone_cf_list(clone_state *state, struct exec_list *dst, 573 const struct exec_list *list); 576 clone_if(clone_state *state, struct exec_list *cf_list, const nir_if *i) in clone_if() 592 clone_loop(clone_state *state, struct exec_list *cf_list, const nir_loop *loop) in clone_loop() 607 clone_cf_list(clone_state *state, struct exec_list *dst, in clone_cf_list() [all …]
|
D | nir_lower_returns.c | 30 struct exec_list *cf_list; 44 static bool lower_returns_in_cf_list(struct exec_list *cf_list, 232 lower_returns_in_cf_list(struct exec_list *cf_list, in lower_returns_in_cf_list() 237 struct exec_list *parent_list = state->cf_list; in lower_returns_in_cf_list()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_cfg.h | 123 struct exec_list instructions; 124 struct exec_list parents; 125 struct exec_list children; 311 cfg_t(const backend_shader *s, exec_list *instructions); 338 struct exec_list block_list;
|