Home
last modified time | relevance | path

Searched refs:live_intervals (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_fs_register_coalesce.cpp98 can_coalesce_vars(brw::fs_live_variables *live_intervals, in can_coalesce_vars() argument
102 if (!live_intervals->vars_interfere(src_var, dst_var)) in can_coalesce_vars()
105 int dst_start = live_intervals->start[dst_var]; in can_coalesce_vars()
106 int dst_end = live_intervals->end[dst_var]; in can_coalesce_vars()
107 int src_start = live_intervals->start[src_var]; in can_coalesce_vars()
108 int src_end = live_intervals->end[src_var]; in can_coalesce_vars()
228 dst_var[i] = live_intervals->var_from_vgrf[dst_reg] + dst_reg_offset[i]; in register_coalesce()
229 src_var[i] = live_intervals->var_from_vgrf[src_reg] + i; in register_coalesce()
231 if (!can_coalesce_vars(live_intervals, cfg, inst, in register_coalesce()
274 live_intervals->start[dst_var[i]] = in register_coalesce()
[all …]
Dbrw_fs_dead_code_eliminate.cpp80 int num_vars = live_intervals->num_vars; in dead_code_eliminate()
85 memcpy(live, live_intervals->block_data[block->num].liveout, in dead_code_eliminate()
87 memcpy(flag_live, live_intervals->block_data[block->num].flag_liveout, in dead_code_eliminate()
92 const unsigned var = live_intervals->var_from_reg(inst->dst); in dead_code_eliminate()
112 int var = live_intervals->var_from_reg(inst->dst); in dead_code_eliminate()
129 int var = live_intervals->var_from_reg(inst->src[i]); in dead_code_eliminate()
Dbrw_fs_live_variables.cpp309 ralloc_free(live_intervals); in invalidate_live_intervals()
310 live_intervals = NULL; in invalidate_live_intervals()
322 if (this->live_intervals) in calculate_live_intervals()
336 this->live_intervals = new(mem_ctx) fs_live_variables(this, cfg); in calculate_live_intervals()
339 for (int i = 0; i < live_intervals->num_vars; i++) { in calculate_live_intervals()
340 int vgrf = live_intervals->vgrf_from_var[i]; in calculate_live_intervals()
342 live_intervals->start[i]); in calculate_live_intervals()
344 live_intervals->end[i]); in calculate_live_intervals()
Dbrw_vec4_live_variables.cpp236 if (this->live_intervals) in calculate_live_intervals()
288 this->live_intervals = new(mem_ctx) vec4_live_variables(alloc, cfg); in calculate_live_intervals()
291 struct block_data *bd = &live_intervals->block_data[block->num]; in calculate_live_intervals()
293 for (int i = 0; i < live_intervals->num_vars; i++) { in calculate_live_intervals()
310 ralloc_free(live_intervals); in invalidate_live_intervals()
311 live_intervals = NULL; in invalidate_live_intervals()
Dbrw_vec4_dead_code_eliminate.cpp46 int num_vars = live_intervals->num_vars; in dead_code_eliminate()
51 memcpy(live, live_intervals->block_data[block->num].liveout, in dead_code_eliminate()
53 memcpy(flag_live, live_intervals->block_data[block->num].flag_liveout, in dead_code_eliminate()
Dbrw_fs_saturate_propagation.cpp62 int src_var = v->live_intervals->var_from_reg(inst->src[0]); in opt_saturate_propagation_local()
63 int src_end_ip = v->live_intervals->end[src_var]; in opt_saturate_propagation_local()
Dbrw_schedule_instructions.cpp632 for (int i = 0; i < v->live_intervals->num_vars; i++) { in setup_liveness()
633 if (BITSET_TEST(v->live_intervals->block_data[block].livein, i)) { in setup_liveness()
634 int vgrf = v->live_intervals->vgrf_from_var[i]; in setup_liveness()
641 if (BITSET_TEST(v->live_intervals->block_data[block].liveout, i)) in setup_liveness()
642 BITSET_SET(liveout[block], v->live_intervals->vgrf_from_var[i]); in setup_liveness()
Dbrw_vec4.h112 brw::vec4_live_variables *live_intervals; variable
Dbrw_fs.h299 brw::fs_live_variables *live_intervals; variable
Dbrw_fs_copy_propagation.cpp877 fs_copy_prop_dataflow dataflow(copy_prop_ctx, cfg, live_intervals, out_acp); in opt_copy_propagation()
Dbrw_fs_visitor.cpp891 this->live_intervals = NULL; in init()
Dbrw_vec4_visitor.cpp1882 this->live_intervals = NULL; in vec4_visitor()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_variable.h38 struct live_intervals { struct
51 struct live_intervals Live[4]; argument
Dradeon_pair_regalloc.c53 struct live_intervals Live[4];
165 static void print_live_intervals(struct live_intervals * src) in print_live_intervals()
175 static int overlap_live_intervals(struct live_intervals * a, struct live_intervals * b) in overlap_live_intervals()
450 struct live_intervals * a, in overlap_live_intervals_array()
451 struct live_intervals * b) in overlap_live_intervals_array()