Home
last modified time | relevance | path

Searched refs:reg_pressure (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dscheduler.c43 if (pred->reg_pressure < 0) in ppir_schedule_calc_sched_info()
58 instr->reg_pressure = 0; in ppir_schedule_calc_sched_info()
65 reg[i++] = pred->reg_pressure; in ppir_schedule_calc_sched_info()
73 if (pressure > instr->reg_pressure) in ppir_schedule_calc_sched_info()
74 instr->reg_pressure = pressure; in ppir_schedule_calc_sched_info()
91 instr->reg_pressure += extra_reg; in ppir_schedule_calc_sched_info()
102 (insert_instr->reg_pressure < instr->reg_pressure || in ppir_insert_ready_list()
103 (insert_instr->reg_pressure == instr->reg_pressure && in ppir_insert_ready_list()
Dinstr.c39 instr->reg_pressure = -1; in ppir_instr_create()
Dppir.h362 float reg_pressure; member
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dreduce_scheduler.c50 if (pred->rsched.reg_pressure < 0) in schedule_calc_sched_info()
66 node->rsched.reg_pressure = 0; in schedule_calc_sched_info()
74 reg[i++] = pred->rsched.reg_pressure; in schedule_calc_sched_info()
82 if (pressure > node->rsched.reg_pressure) in schedule_calc_sched_info()
83 node->rsched.reg_pressure = pressure; in schedule_calc_sched_info()
100 node->rsched.reg_pressure += extra_reg; in schedule_calc_sched_info()
116 (insert_node->rsched.reg_pressure < node->rsched.reg_pressure || in schedule_insert_ready_list()
117 (insert_node->rsched.reg_pressure == node->rsched.reg_pressure && in schedule_insert_ready_list()
239 node->rsched.reg_pressure = -1; in gpir_reduce_reg_pressure_schedule_prog()
Dgpir.h183 float reg_pressure; member
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_fusion_pass.cpp52 RegisterLiveness::RegionRegisterLiveness reg_pressure{}; in ProcessFunction() local
53 liveness.SimulateFusion(loop_0, loop_1, &reg_pressure); in ProcessFunction()
55 if (reg_pressure.used_registers_ <= max_registers_per_loop_) { in ProcessFunction()
Dregister_pressure.cpp64 ComputeRegisterLiveness(RegisterLiveness* reg_pressure, Function* f) in ComputeRegisterLiveness() argument
65 : reg_pressure_(reg_pressure), in ComputeRegisterLiveness()
66 context_(reg_pressure->GetContext()), in ComputeRegisterLiveness()
68 cfg_(*reg_pressure->GetContext()->cfg()), in ComputeRegisterLiveness()
69 def_use_manager_(*reg_pressure->GetContext()->get_def_use_mgr()), in ComputeRegisterLiveness()
71 reg_pressure->GetContext()->GetDominatorAnalysis(f)->GetDomTree()), in ComputeRegisterLiveness()
72 loop_desc_(*reg_pressure->GetContext()->GetLoopDescriptor(f)) {} in ComputeRegisterLiveness()
Dregister_pressure.h134 RegionRegisterLiveness* reg_pressure) const;
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_fusion_pass.cpp52 RegisterLiveness::RegionRegisterLiveness reg_pressure{}; in ProcessFunction() local
53 liveness.SimulateFusion(loop_0, loop_1, &reg_pressure); in ProcessFunction()
55 if (reg_pressure.used_registers_ <= max_registers_per_loop_) { in ProcessFunction()
Dregister_pressure.cpp64 ComputeRegisterLiveness(RegisterLiveness* reg_pressure, Function* f) in ComputeRegisterLiveness() argument
65 : reg_pressure_(reg_pressure), in ComputeRegisterLiveness()
66 context_(reg_pressure->GetContext()), in ComputeRegisterLiveness()
68 cfg_(*reg_pressure->GetContext()->cfg()), in ComputeRegisterLiveness()
69 def_use_manager_(*reg_pressure->GetContext()->get_def_use_mgr()), in ComputeRegisterLiveness()
71 reg_pressure->GetContext()->GetDominatorAnalysis(f)->GetDomTree()), in ComputeRegisterLiveness()
72 loop_desc_(*reg_pressure->GetContext()->GetLoopDescriptor(f)) {} in ComputeRegisterLiveness()
Dregister_pressure.h134 RegionRegisterLiveness* reg_pressure) const;
/third_party/spirv-tools/source/opt/
Dloop_fusion_pass.cpp52 RegisterLiveness::RegionRegisterLiveness reg_pressure{}; in ProcessFunction() local
53 liveness.SimulateFusion(loop_0, loop_1, &reg_pressure); in ProcessFunction()
55 if (reg_pressure.used_registers_ <= max_registers_per_loop_) { in ProcessFunction()
Dregister_pressure.cpp64 ComputeRegisterLiveness(RegisterLiveness* reg_pressure, Function* f) in ComputeRegisterLiveness() argument
65 : reg_pressure_(reg_pressure), in ComputeRegisterLiveness()
66 context_(reg_pressure->GetContext()), in ComputeRegisterLiveness()
68 cfg_(*reg_pressure->GetContext()->cfg()), in ComputeRegisterLiveness()
69 def_use_manager_(*reg_pressure->GetContext()->get_def_use_mgr()), in ComputeRegisterLiveness()
71 reg_pressure->GetContext()->GetDominatorAnalysis(f)->GetDomTree()), in ComputeRegisterLiveness()
72 loop_desc_(*reg_pressure->GetContext()->GetLoopDescriptor(f)) {} in ComputeRegisterLiveness()
Dregister_pressure.h134 RegionRegisterLiveness* reg_pressure) const;
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c322 int reg_pressure = 0; in qir_calculate_live_intervals() local
327 reg_pressure++; in qir_calculate_live_intervals()
329 reg_pressure--; in qir_calculate_live_intervals()
331 max_reg_pressure = MAX2(max_reg_pressure, reg_pressure); in qir_calculate_live_intervals()
/third_party/mesa3d/src/amd/compiler/
Daco_spill.cpp456 RegisterDemand reg_pressure = RegisterDemand(); in get_live_in_demand() local
469 reg_pressure += phi->definitions[0].getTemp(); in get_live_in_demand()
472 reg_pressure += get_demand_before(ctx, block_idx, idx); in get_live_in_demand()
477 reg_pressure.sgpr = in get_live_in_demand()
478 std::max<int16_t>(reg_pressure.sgpr, ctx.register_demand[pred].back().sgpr); in get_live_in_demand()
480 return reg_pressure; in get_live_in_demand()
504 RegisterDemand reg_pressure = get_live_in_demand(ctx, block_idx); in init_live_in_vars() local
505 RegisterDemand loop_demand = reg_pressure; in init_live_in_vars()
576 reg_pressure -= spilled_registers; in init_live_in_vars()
578 while (reg_pressure.exceeds(ctx.target_pressure)) { in init_live_in_vars()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_schedule_instructions.cpp613 this->reg_pressure = 0; in instruction_scheduler()
685 int reg_pressure; member in instruction_scheduler
1759 reg_pressure = reg_pressure_in[block->num]; in schedule_instructions()
1780 reg_pressure -= get_register_pressure_benefit(chosen->inst); in schedule_instructions()
1801 fprintf(stderr, "(register pressure %d)\n", reg_pressure); in schedule_instructions()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst1014 - aco: try forming clauses even if reg_pressure exceeds