Home
last modified time | relevance | path

Searched refs:new_demand (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/amd/compiler/
Daco_live_var_analysis.cpp88 RegisterDemand new_demand; in process_live_temps_per_block() local
103 new_demand += Temp(t, program->temp_rc[t]); in process_live_temps_per_block()
104 new_demand.sgpr -= phi_sgpr_ops[block->index]; in process_live_temps_per_block()
115 assert(new_demand.sgpr >= (int16_t) program->lane_mask.size()); in process_live_temps_per_block()
116 …register_demand[idx] = RegisterDemand(new_demand.vgpr, new_demand.sgpr - (exec_live ? program->lan… in process_live_temps_per_block()
130 new_demand -= temp; in process_live_temps_per_block()
143 new_demand.sgpr += phi_sgpr_ops[block->index]; in process_live_temps_per_block()
170 new_demand += temp; in process_live_temps_per_block()
183 assert(new_demand.sgpr >= (int16_t) program->lane_mask.size()); in process_live_temps_per_block()
184 new_demand.sgpr -= exec_live ? program->lane_mask.size() : 0; in process_live_temps_per_block()
[all …]
Daco_scheduler.cpp185 const RegisterDemand new_demand = register_demand[dest_insert_idx - 1] - temp2 + temp; in downwards_move() local
186 if (new_demand.exceeds(max_registers)) in downwards_move()
196 register_demand[dest_insert_idx - 1] = new_demand; in downwards_move()
280 … const RegisterDemand new_demand = register_demand[insert_idx - 1] - temp2 + candidate_diff + temp; in upwards_move() local
281 if (new_demand.exceeds(max_registers)) in upwards_move()
291 register_demand[insert_idx] = new_demand; in upwards_move()
923 RegisterDemand new_demand; in schedule_program() local
925 new_demand.update(block.register_demand); in schedule_program()
927 update_vgpr_sgpr_demand(program, new_demand); in schedule_program()
Daco_spill.cpp378 RegisterDemand new_demand; in init_live_in_vars() local
382 new_demand.update(ctx.program->blocks[i].register_demand); in init_live_in_vars()
402 while (new_demand.vgpr - spilled_registers.vgpr > ctx.target_pressure.vgpr) { in init_live_in_vars()
429 while (new_demand.sgpr - spilled_registers.sgpr > ctx.target_pressure.sgpr) { in init_live_in_vars()
458 if (!RegisterDemand(new_demand - spilled_registers).exceeds(ctx.target_pressure)) in init_live_in_vars()
1126 RegisterDemand new_demand = ctx.register_demand[block_idx][idx]; in process_block() local
1127 new_demand.update(get_demand_before(ctx, block_idx, idx)); in process_block()
1132 while (RegisterDemand(new_demand - spilled_registers).exceeds(ctx.target_pressure)) { in process_block()
1136 if (new_demand.vgpr - spilled_registers.vgpr > ctx.target_pressure.vgpr) { in process_block()
Daco_ir.h1733 void update_vgpr_sgpr_demand(Program* program, const RegisterDemand new_demand);
/external/mesa3d/docs/relnotes/
D19.3.0.rst2865 - aco: fix new_demand calculation for first instructions