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.cpp8748 const fs_live_variables &live_vars = live_analysis.require(); in fixup_nomask_control_flow() local
8754 BITSET_WORD flag_liveout = live_vars.block_data[block->num] in fixup_nomask_control_flow()
8756 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.cpp102 aco::live live_vars; in aco_compile_shader() local
123 live_vars = aco::live_var_analysis(program.get()); in aco_compile_shader()
124 aco::spill(program.get(), live_vars); in aco_compile_shader()
147 aco_print_program(program.get(), stderr, live_vars, aco::print_live_vars | aco::print_kill); in aco_compile_shader()
151 aco::schedule_program(program.get(), live_vars); in aco_compile_shader()
155 aco::register_allocation(program.get(), live_vars.live_out); in aco_compile_shader()
Daco_scheduler.cpp1003 schedule_block(sched_ctx& ctx, Program* program, Block* block, live& live_vars) in schedule_block() argument
1008 ctx.mv.register_demand = live_vars.register_demand[block->index].data(); in schedule_block()
1018 schedule_position_export(ctx, block, live_vars.register_demand[block->index], current, in schedule_block()
1028 schedule_VMEM(ctx, block, live_vars.register_demand[block->index], current, idx); in schedule_block()
1033 schedule_SMEM(ctx, block, live_vars.register_demand[block->index], current, idx); in schedule_block()
1040 block->register_demand.update(live_vars.register_demand[block->index][idx]); in schedule_block()
1045 schedule_program(Program* program, live& live_vars) in schedule_program() argument
1092 schedule_block(ctx, program, &block, live_vars); in schedule_program()
1116 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.cpp805 aco_print_block(const Block* block, FILE* output, unsigned flags, const live& live_vars) in aco_print_block() argument
820 for (unsigned id : live_vars.live_out[block->index]) in aco_print_block()
832 RegisterDemand demand = live_vars.register_demand[block->index][index]; in aco_print_block()
845 aco_print_program(const Program* program, FILE* output, const live& live_vars, unsigned flags) in aco_print_program() argument
859 aco_print_block(&block, output, flags, live_vars); in aco_print_program()
Daco_ir.h2166 void lower_to_cssa(Program* program, live& live_vars);
2171 void schedule_program(Program* program, live& live_vars);
2172 void spill(Program* program, live& live_vars);
2207 void aco_print_program(const Program* program, FILE* output, const live& live_vars,
Daco_spill.cpp1875 spill(Program* program, live& live_vars) in spill() argument
1887 lower_to_cssa(program, live_vars); in spill()
1914 spill_ctx ctx(target, program, live_vars.register_demand); in spill()
1926 live_vars = live_var_analysis(program); in spill()
Daco_validate.cpp848 aco::live live_vars = aco::live_var_analysis(program); in validate_ra() local
935 for (unsigned id : live_vars.live_out[block.index]) in validate_ra()
/third_party/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp181 aco::live live_vars = aco::live_var_analysis(program.get()); in finish_ra_test() local
182 aco::register_allocation(program.get(), live_vars.live_out, policy); in finish_ra_test()