Searched refs:max_reg_demand (Results 1 – 5 of 5) sorted by relevance
367 program->max_reg_demand = new_demand; in update_vgpr_sgpr_demand()409 program->max_reg_demand.vgpr = get_addr_vgpr_from_waves(program, program->num_waves); in update_vgpr_sgpr_demand()410 program->max_reg_demand.sgpr = get_addr_sgpr_from_waves(program, program->num_waves); in update_vgpr_sgpr_demand()
187 return {PhysReg{256}, (unsigned)program->max_reg_demand.vgpr}; in get_reg_bounds()189 return {PhysReg{0}, (unsigned)program->max_reg_demand.sgpr}; in get_reg_bounds()1347 if (type == RegType::vgpr && ctx.program->max_reg_demand.vgpr < ctx.vgpr_limit) { in increase_register_file()1348 update_vgpr_sgpr_demand(ctx.program, RegisterDemand(ctx.program->max_reg_demand.vgpr + 1, in increase_register_file()1349 ctx.program->max_reg_demand.sgpr)); in increase_register_file()1350 } else if (type == RegType::sgpr && ctx.program->max_reg_demand.sgpr < ctx.sgpr_limit) { in increase_register_file()1351 update_vgpr_sgpr_demand(ctx.program, RegisterDemand(ctx.program->max_reg_demand.vgpr, in increase_register_file()1352 ctx.program->max_reg_demand.sgpr + 1)); in increase_register_file()1821 for (; reg < ctx.program->max_reg_demand.sgpr && reg_file[PhysReg{(unsigned)reg}]; reg++) in handle_pseudo()1823 if (reg == ctx.program->max_reg_demand.sgpr) { in handle_pseudo()[all …]
1104 const RegisterDemand prev_max_demand = program->max_reg_demand; in schedule_program()1120 assert(program->max_reg_demand == prev_max_demand); in schedule_program()
2040 RegisterDemand max_reg_demand = RegisterDemand(); variable
1890 const RegisterDemand demand = program->max_reg_demand; /* current max */ in spill()