Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_dead_code_eliminate.cpp80 const fs_live_variables &live_vars = live_analysis.require(); in dead_code_eliminate() local
81 int num_vars = live_vars.num_vars; in dead_code_eliminate()
86 memcpy(live, live_vars.block_data[block->num].liveout, in dead_code_eliminate()
88 memcpy(flag_live, live_vars.block_data[block->num].flag_liveout, in dead_code_eliminate()
93 const unsigned var = live_vars.var_from_reg(inst->dst); in dead_code_eliminate()
114 const unsigned var = live_vars.var_from_reg(inst->dst); in dead_code_eliminate()
131 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.cpp6382 const fs_live_variables &live_vars = live_analysis.require(); in fixup_nomask_control_flow() local
6388 BITSET_WORD flag_liveout = live_vars.block_data[block->num] in fixup_nomask_control_flow()
6390 STATIC_ASSERT(ARRAY_SIZE(live_vars.block_data[0].flag_liveout) == 1); in fixup_nomask_control_flow()
/third_party/mesa3d/src/amd/compiler/
Daco_interface.cpp125 aco::live live_vars; in aco_postprocess_shader() local
146 live_vars = aco::live_var_analysis(program.get()); in aco_postprocess_shader()
147 aco::spill(program.get(), live_vars); in aco_postprocess_shader()
169 aco_print_program(program.get(), stderr, live_vars, aco::print_live_vars | aco::print_kill); in aco_postprocess_shader()
173 aco::schedule_program(program.get(), live_vars); in aco_postprocess_shader()
177 aco::register_allocation(program.get(), live_vars.live_out); in aco_postprocess_shader()
Daco_scheduler.cpp1006 schedule_block(sched_ctx& ctx, Program* program, Block* block, live& live_vars) in schedule_block() argument
1011 ctx.mv.register_demand = live_vars.register_demand[block->index].data(); in schedule_block()
1021 schedule_position_export(ctx, block, live_vars.register_demand[block->index], current, in schedule_block()
1031 schedule_VMEM(ctx, block, live_vars.register_demand[block->index], current, idx); in schedule_block()
1036 schedule_SMEM(ctx, block, live_vars.register_demand[block->index], current, idx); in schedule_block()
1043 block->register_demand.update(live_vars.register_demand[block->index][idx]); in schedule_block()
1048 schedule_program(Program* program, live& live_vars) in schedule_program() argument
1096 schedule_block(ctx, program, &block, live_vars); in schedule_program()
1120 assert(live_vars.register_demand[b.index][i] == live_vars2.register_demand[b.index][i]); in schedule_program()
Daco_lower_to_cssa.cpp528 lower_to_cssa(Program* program, live& live_vars) in lower_to_cssa() argument
530 reindex_ssa(program, live_vars.live_out); in lower_to_cssa()
531 cssa_ctx ctx = {program, live_vars.live_out}; in lower_to_cssa()
536 live_vars = live_var_analysis(program); in lower_to_cssa()
Daco_print_ir.cpp830 aco_print_block(const Block* block, FILE* output, unsigned flags, const live& live_vars) in aco_print_block() argument
845 for (unsigned id : live_vars.live_out[block->index]) in aco_print_block()
857 RegisterDemand demand = live_vars.register_demand[block->index][index]; in aco_print_block()
870 aco_print_program(const Program* program, FILE* output, const live& live_vars, unsigned flags) in aco_print_program() argument
884 aco_print_block(&block, output, flags, live_vars); in aco_print_program()
Daco_ir.h2227 void lower_to_cssa(Program* program, live& live_vars);
2232 void schedule_program(Program* program, live& live_vars);
2233 void spill(Program* program, live& live_vars);
2268 void aco_print_program(const Program* program, FILE* output, const live& live_vars,
Daco_spill.cpp1918 spill(Program* program, live& live_vars) in spill() argument
1930 lower_to_cssa(program, live_vars); in spill()
1960 spill_ctx ctx(target, program, live_vars.register_demand); in spill()
1972 live_vars = live_var_analysis(program); in spill()
Daco_validate.cpp997 aco::live live_vars = aco::live_var_analysis(program); in validate_ra() local
1086 IDSet live = live_vars.live_out[block.index]; in validate_ra()
/third_party/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp187 aco::live live_vars = aco::live_var_analysis(program.get()); in finish_ra_test() local
188 aco::register_allocation(program.get(), live_vars.live_out, policy); in finish_ra_test()