Home
last modified time | relevance | path

Searched refs:loop_demand (Results 1 - 1 of 1) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
H A Daco_spill.cpp505 RegisterDemand loop_demand = reg_pressure; in init_live_in_vars() local
509 loop_demand.update(ctx.program->blocks[i++].register_demand); in init_live_in_vars()
524 loop_demand -= spilled.first; in init_live_in_vars()
530 while (loop_demand.exceeds(ctx.target_pressure)) { in init_live_in_vars()
532 if (type == RegType::vgpr && loop_demand.vgpr <= ctx.target_pressure.vgpr) in init_live_in_vars()
535 if (type == RegType::sgpr && loop_demand.sgpr <= ctx.target_pressure.sgpr) in init_live_in_vars()
568 loop_demand -= to_spill; in init_live_in_vars()
572 if (!loop_demand.exceeds(ctx.target_pressure)) in init_live_in_vars()

Completed in 4 milliseconds