Home
last modified time | relevance | path

Searched refs:live_vars (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_fs_dead_code_eliminate.cpp79 const fs_live_variables &live_vars = live_analysis.require(); in dead_code_eliminate() local
80 int num_vars = live_vars.num_vars; in dead_code_eliminate()
85 memcpy(live, live_vars.block_data[block->num].liveout, in dead_code_eliminate()
87 memcpy(flag_live, live_vars.block_data[block->num].flag_liveout, in dead_code_eliminate()
92 const unsigned var = live_vars.var_from_reg(inst->dst); in dead_code_eliminate()
113 const unsigned var = live_vars.var_from_reg(inst->dst); in dead_code_eliminate()
130 int var = live_vars.var_from_reg(inst->src[i]); in dead_code_eliminate()
Dbrw_vec4_dead_code_eliminate.cpp44 const vec4_live_variables &live_vars = live_analysis.require(); in dead_code_eliminate() local
45 int num_vars = live_vars.num_vars; in dead_code_eliminate()
50 memcpy(live, live_vars.block_data[block->num].liveout, in dead_code_eliminate()
52 memcpy(flag_live, live_vars.block_data[block->num].flag_liveout, in dead_code_eliminate()
Dbrw_fs.cpp7857 const fs_live_variables &live_vars = live_analysis.require(); in fixup_nomask_control_flow() local
7863 BITSET_WORD flag_liveout = live_vars.block_data[block->num] in fixup_nomask_control_flow()
7865 STATIC_ASSERT(ARRAY_SIZE(live_vars.block_data[0].flag_liveout) == 1); in fixup_nomask_control_flow()
/external/mesa3d/src/amd/compiler/
Daco_lower_to_cssa.cpp48 live& live_vars; member
52 cssa_ctx(Program* program, live& live_vars) : program(program), live_vars(live_vars) {} in cssa_ctx()
91 ctx.live_vars.live_out[pred].count(op.tempId())); in collect_phi_info()
121 } else if (ctx.live_vars.live_out[idom].count(phi->definitions[0].tempId())) { in collect_phi_info()
197 void lower_to_cssa(Program* program, live& live_vars) in lower_to_cssa() argument
199 cssa_ctx ctx = {program, live_vars}; in lower_to_cssa()
209 live_vars = live_var_analysis(program); in lower_to_cssa()
Daco_interface.cpp84 aco::live live_vars; in aco_compile_shader() local
105 live_vars = aco::live_var_analysis(program.get()); in aco_compile_shader()
106 aco::spill(program.get(), live_vars); in aco_compile_shader()
131 aco::schedule_program(program.get(), live_vars); in aco_compile_shader()
135 aco::register_allocation(program.get(), live_vars.live_out); in aco_compile_shader()
Daco_scheduler.cpp840 void schedule_block(sched_ctx& ctx, Program *program, Block* block, live& live_vars) in schedule_block() argument
845 ctx.mv.register_demand = live_vars.register_demand[block->index].data(); in schedule_block()
856 schedule_VMEM(ctx, block, live_vars.register_demand[block->index], current, idx); in schedule_block()
861 schedule_SMEM(ctx, block, live_vars.register_demand[block->index], current, idx); in schedule_block()
876 … schedule_position_export(ctx, block, live_vars.register_demand[block->index], current, idx); in schedule_block()
885 block->register_demand.update(live_vars.register_demand[block->index][idx]); in schedule_block()
890 void schedule_program(Program *program, live& live_vars) in schedule_program() argument
920 schedule_block(ctx, program, &block, live_vars); in schedule_program()
944 assert(live_vars.register_demand[b.index][i] == live_vars2.register_demand[b.index][i]); in schedule_program()
Daco_ir.h1741 void lower_to_cssa(Program* program, live& live_vars);
1745 void schedule_program(Program* program, live& live_vars);
1746 void spill(Program* program, live& live_vars);
Daco_spill.cpp1764 void spill(Program* program, live& live_vars) in spill() argument
1774 lower_to_cssa(program, live_vars); in spill()
1788 spill_ctx ctx(register_target, program, live_vars.register_demand); in spill()
1800 live_vars = live_var_analysis(program); in spill()
Daco_validate.cpp701 aco::live live_vars = aco::live_var_analysis(program); in validate_ra() local
771 for (unsigned id : live_vars.live_out[block.index]) in validate_ra()