Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cfg.h34 struct bblock_t;
40 bblock_link(bblock_t *block) in bblock_link()
47 struct bblock_t *block;
52 struct bblock_t { struct
54 DECLARE_RALLOC_CXX_OPERATORS(bblock_t)
56 explicit bblock_t(cfg_t *cfg);
58 void add_successor(void *mem_ctx, bblock_t *successor);
59 bool is_predecessor_of(const bblock_t *block) const;
60 bool is_successor_of(const bblock_t *block) const;
61 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()
114 bblock_t::can_combine_with(const bblock_t *that) const in can_combine_with()
116 if ((const bblock_t *)this->link.next != that) in can_combine_with()
127 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()
Dbrw_vec4.h154 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,
334 bblock_t *block = NULL,
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 …]
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_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()
343 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
385 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
425 bblock_t *block0 = v->cfg->blocks[0]; in TEST_F()
[all …]
Dbrw_shader.h93 struct bblock_t;
108 void remove(bblock_t *block);
109 void insert_after(bblock_t *block, backend_instruction *inst);
110 void insert_before(bblock_t *block, backend_instruction *inst);
111 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()
140 bblock_t *then_block = block->next(); in opt_peephole_sel()
141 bblock_t *else_block = NULL; in opt_peephole_sel()
Dintel_asm_annotation.h43 struct bblock_t *block_start;
44 struct bblock_t *block_end;
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.h35 struct bblock_t;
135 bool opt_cse_local(bblock_t *block);
139 bool opt_copy_propagation_local(void *mem_ctx, bblock_t *block,
153 void insert_gen4_pre_send_dependency_workarounds(bblock_t *block,
155 void insert_gen4_post_send_dependency_workarounds(bblock_t *block,
Dbrw_shader.cpp1008 inst_is_in_block(const bblock_t *block, const backend_instruction *inst) in inst_is_in_block()
1021 adjust_later_block_ips(bblock_t *start_block, int ip_adjustment) in adjust_later_block_ips()
1023 for (bblock_t *block_iter = start_block->next(); in adjust_later_block_ips()
1032 backend_instruction::insert_after(bblock_t *block, backend_instruction *inst) in insert_after()
1047 backend_instruction::insert_before(bblock_t *block, backend_instruction *inst) in insert_before()
1062 backend_instruction::insert_before(bblock_t *block, exec_list *list) in insert_before()
1076 backend_instruction::remove(bblock_t *block) in remove()
Dintel_asm_annotation.c45 struct bblock_t *predecessor_block = predecessor_link->block; in dump_assembly()
76 struct bblock_t *successor_block = successor_link->block; in dump_assembly()
Dbrw_vec4_builder.h69 vec4_builder(backend_shader *shader, bblock_t *block, instruction *inst) : in vec4_builder()
84 at(bblock_t *block, exec_node *cursor) const in at()
620 bblock_t *block;
Dbrw_fs_builder.h72 fs_builder(backend_shader *shader, bblock_t *block, fs_inst *inst) : in fs_builder()
88 at(bblock_t *block, exec_node *cursor) const in at()
648 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_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_vec4_visitor.cpp76 vec4_visitor::emit_before(bblock_t *block, vec4_instruction *inst, in emit_before()
766 bblock_t *before_block, in emit_pull_constant_load_reg()
1431 vec4_visitor::get_scratch_offset(bblock_t *block, vec4_instruction *inst, in get_scratch_offset()
1476 vec4_visitor::emit_scratch_read(bblock_t *block, vec4_instruction *inst, in emit_scratch_read()
1506 vec4_visitor::emit_scratch_write(bblock_t *block, vec4_instruction *inst, in emit_scratch_write()
1596 vec4_visitor::emit_resolve_reladdr(int scratch_loc[], bblock_t *block, in emit_resolve_reladdr()
1704 vec4_visitor::emit_pull_constant_load(bblock_t *block, vec4_instruction *inst, in emit_pull_constant_load()
Dbrw_fs_copy_propagation.cpp235 bblock_t *parent = parent_link->block; in run()
253 bblock_t *parent = link->block; in dump_block_data()
740 fs_visitor::opt_copy_propagation_local(void *copy_prop_ctx, bblock_t *block, in opt_copy_propagation_local()
Dbrw_schedule_instructions.cpp488 void add_insts_from_block(bblock_t *block);
508 void schedule_instructions(bblock_t *block);
817 instruction_scheduler::add_insts_from_block(bblock_t *block) in add_insts_from_block()
1572 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