Lines Matching defs:demand
443 RegisterDemand demand = ctx.register_demand[block_idx][idx];
446 return get_demand_before(demand, instr, instr_before);
531 /* if VGPR demand is low enough, select SGPRs */
534 /* if SGPR demand is low enough, break */
630 /* if register demand is still too high, we just keep all spilled live vars
1211 /* check if register demand is low enough before and after the current instruction */
1932 /* calculate target register demand */
1933 const RegisterDemand demand = program->max_reg_demand; /* current max */
1940 if (demand.sgpr > sgpr_limit) {
1941 unsigned sgpr_spills = demand.sgpr - sgpr_limit;
1945 if (demand.vgpr + extra_vgprs > vgpr_limit) {
1950 if (demand.sgpr + extra_sgprs > sgpr_limit) {
1952 unsigned sgpr_spills = demand.sgpr + extra_sgprs - sgpr_limit;
1956 /* the spiller has to target the following register demand */