Home
last modified time | relevance | path

Searched refs:bblock_t (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/intel/compiler/
Dbrw_cfg.h33 struct bblock_t;
39 bblock_link(bblock_t *block) in bblock_link()
46 struct bblock_t *block;
51 struct bblock_t { struct
53 DECLARE_RALLOC_CXX_OPERATORS(bblock_t)
55 explicit bblock_t(cfg_t *cfg);
57 void add_successor(void *mem_ctx, bblock_t *successor);
58 bool is_predecessor_of(const bblock_t *block) const;
59 bool is_successor_of(const bblock_t *block) const;
60 bool can_combine_with(const bblock_t *that) const;
[all …]
Dbrw_cfg.cpp36 static bblock_t *
40 bblock_t *block = link->block; in pop_stack()
47 link(void *mem_ctx, bblock_t *block) in link()
53 bblock_t::bblock_t(cfg_t *cfg) : in bblock_t() function in bblock_t
62 bblock_t::add_successor(void *mem_ctx, bblock_t *successor) in add_successor()
69 bblock_t::is_predecessor_of(const bblock_t *block) const in is_predecessor_of()
81 bblock_t::is_successor_of(const bblock_t *block) const in is_successor_of()
115 bblock_t::can_combine_with(const bblock_t *that) const in can_combine_with()
117 if ((const bblock_t *)this->link.next != that) in can_combine_with()
128 bblock_t::combine_with(bblock_t *that) in combine_with()
[all …]
Dbrw_dead_control_flow.cpp44 bblock_t *prev_block = block->prev(); in dead_control_flow_eliminate()
57 bblock_t *const else_block = prev_block; in dead_control_flow_eliminate()
64 bblock_t *const endif_block = block; in dead_control_flow_eliminate()
65 bblock_t *const if_block = prev_block; in dead_control_flow_eliminate()
69 bblock_t *earlier_block = NULL, *later_block = NULL; in dead_control_flow_eliminate()
101 bblock_t *const else_block = block; in dead_control_flow_eliminate()
Dbrw_predicated_break.cpp81 bblock_t *jump_block = block; in opt_predicated_break()
82 bblock_t *if_block = jump_block->prev(); in opt_predicated_break()
83 bblock_t *endif_block = jump_block->next(); in opt_predicated_break()
88 bblock_t *earlier_block = if_block; in opt_predicated_break()
95 bblock_t *later_block = endif_block; in opt_predicated_break()
121 bblock_t *while_block = earlier_block->next(); in opt_predicated_break()
Dtest_vec4_cmod_propagation.cpp114 instruction(bblock_t *block, int num) in instruction()
166 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
201 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
237 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
271 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
308 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
348 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
388 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
433 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
471 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
[all …]
Dtest_fs_cmod_propagation.cpp72 instruction(bblock_t *block, int num) in instruction()
121 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
153 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
185 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
221 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
260 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
299 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
340 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
375 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
407 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
[all …]
Dbrw_vec4.h153 bool opt_cse_local(bblock_t *block);
183 vec4_instruction *emit_before(bblock_t *block,
291 src_reg get_scratch_offset(bblock_t *block, vec4_instruction *inst,
293 void emit_scratch_read(bblock_t *block, vec4_instruction *inst,
297 void emit_scratch_write(bblock_t *block, vec4_instruction *inst,
299 void emit_pull_constant_load(bblock_t *block, vec4_instruction *inst,
307 bblock_t *before_block,
309 src_reg emit_resolve_reladdr(int scratch_loc[], bblock_t *block,
330 bblock_t *block = NULL,
Dtest_fs_saturate_propagation.cpp72 instruction(bblock_t *block, int num) in instruction()
122 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
159 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
195 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
229 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
265 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
303 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
341 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
380 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
426 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
[all …]
Dbrw_shader.h95 struct bblock_t;
110 void remove(bblock_t *block);
111 void insert_after(bblock_t *block, backend_instruction *inst);
112 void insert_before(bblock_t *block, backend_instruction *inst);
113 void insert_before(bblock_t *block, exec_list *list);
Dbrw_fs_sel_peephole.cpp67 bblock_t *then_block, bblock_t *else_block) in count_movs_from_if()
142 bblock_t *then_block = block->next(); in opt_peephole_sel()
143 bblock_t *else_block = NULL; in opt_peephole_sel()
Dbrw_disasm_info.h48 struct bblock_t *block_start;
49 struct bblock_t *block_end;
Dbrw_shader.cpp1016 inst_is_in_block(const bblock_t *block, const backend_instruction *inst) in inst_is_in_block()
1029 adjust_later_block_ips(bblock_t *start_block, int ip_adjustment) in adjust_later_block_ips()
1031 for (bblock_t *block_iter = start_block->next(); in adjust_later_block_ips()
1040 backend_instruction::insert_after(bblock_t *block, backend_instruction *inst) in insert_after()
1055 backend_instruction::insert_before(bblock_t *block, backend_instruction *inst) in insert_before()
1070 backend_instruction::insert_before(bblock_t *block, exec_list *list) in insert_before()
1084 backend_instruction::remove(bblock_t *block) in remove()
Dtest_fs_copy_propagation.cpp72 instruction(bblock_t *block, int num) in instruction()
122 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
185 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
Dbrw_fs.h36 struct bblock_t;
140 bool opt_cse_local(bblock_t *block);
144 bool opt_copy_propagation_local(void *mem_ctx, bblock_t *block,
161 void insert_gen4_pre_send_dependency_workarounds(bblock_t *block,
163 void insert_gen4_post_send_dependency_workarounds(bblock_t *block,
Dbrw_disasm_info.c54 struct bblock_t *predecessor_block = predecessor_link->block; in dump_assembly()
85 struct bblock_t *successor_block = successor_link->block; in dump_assembly()
Dbrw_vec4_builder.h68 vec4_builder(backend_shader *shader, bblock_t *block, instruction *inst) : in vec4_builder()
83 at(bblock_t *block, exec_node *cursor) const in at()
619 bblock_t *block;
Dbrw_fs_builder.h71 fs_builder(backend_shader *shader, bblock_t *block, fs_inst *inst) : in fs_builder()
87 at(bblock_t *block, exec_node *cursor) const in at()
647 bblock_t *block;
Dbrw_fs_combine_constants.cpp103 bblock_t *block;
226 bblock_t *intersection = cfg_t::intersect(block, imm->block); in opt_combine_constants()
Dbrw_fs_cmod_propagation.cpp52 opt_cmod_propagation_local(const gen_device_info *devinfo, bblock_t *block) in opt_cmod_propagation_local()
Dbrw_vec4_visitor.cpp76 vec4_visitor::emit_before(bblock_t *block, vec4_instruction *inst, in emit_before()
771 bblock_t *before_block, in emit_pull_constant_load_reg()
1427 vec4_visitor::get_scratch_offset(bblock_t *block, vec4_instruction *inst, in get_scratch_offset()
1472 vec4_visitor::emit_scratch_read(bblock_t *block, vec4_instruction *inst, in emit_scratch_read()
1502 vec4_visitor::emit_scratch_write(bblock_t *block, vec4_instruction *inst, in emit_scratch_write()
1592 vec4_visitor::emit_resolve_reladdr(int scratch_loc[], bblock_t *block, in emit_resolve_reladdr()
1700 vec4_visitor::emit_pull_constant_load(bblock_t *block, vec4_instruction *inst, in emit_pull_constant_load()
Dbrw_vec4_cmod_propagation.cpp39 opt_cmod_propagation_local(bblock_t *block) in opt_cmod_propagation_local()
Dbrw_fs_saturate_propagation.cpp46 opt_saturate_propagation_local(fs_visitor *v, bblock_t *block) in opt_saturate_propagation_local()
Dbrw_fs_copy_propagation.cpp243 bblock_t *parent = parent_link->block; in run()
282 bblock_t *parent = link->block; in dump_block_data()
773 fs_visitor::opt_copy_propagation_local(void *copy_prop_ctx, bblock_t *block, in opt_copy_propagation_local()
Dbrw_schedule_instructions.cpp486 void add_insts_from_block(bblock_t *block);
506 void schedule_instructions(bblock_t *block);
814 instruction_scheduler::add_insts_from_block(bblock_t *block) in add_insts_from_block()
1564 instruction_scheduler::schedule_instructions(bblock_t *block) in schedule_instructions()
Dbrw_vec4_cse.cpp139 vec4_visitor::opt_cse_local(bblock_t *block) in opt_cse_local()

12