Searched refs:sgpr_limit (Results 1 – 8 of 8) sorted by relevance
351 return std::min(sgprs, program->dev.sgpr_limit); in get_addr_sgpr_from_waves()411 uint16_t sgpr_limit = get_addr_sgpr_from_waves(program, program->min_waves); in update_vgpr_sgpr_demand() local415 if (new_demand.vgpr > vgpr_limit || new_demand.sgpr > sgpr_limit) { in update_vgpr_sgpr_demand()
106 program->dev.sgpr_limit = in init_program()115 program->dev.sgpr_limit = 102; in init_program()121 program->dev.sgpr_limit = 104; in init_program()
1934 const uint16_t sgpr_limit = get_addr_sgpr_from_waves(program, program->min_waves); in spill() local1940 if (demand.sgpr > sgpr_limit) { in spill()1941 unsigned sgpr_spills = demand.sgpr - sgpr_limit; in spill()1950 if (demand.sgpr + extra_sgprs > sgpr_limit) { in spill()1952 unsigned sgpr_spills = demand.sgpr + extra_sgprs - sgpr_limit; in spill()1957 const RegisterDemand target(vgpr_limit - extra_vgprs, sgpr_limit - extra_sgprs); in spill()
999 uint16_t sgpr_limit = get_addr_sgpr_from_waves(program, program->num_waves); in validate_ra() local1030 op.physReg() < sgpr_limit)) in validate_ra()1061 def.physReg() < sgpr_limit)) in validate_ra()
83 uint16_t sgpr_limit; member98 sgpr_limit = get_addr_sgpr_from_waves(program, program->min_waves); in ra_ctx()747 uint16_t max_addressible_sgpr = ctx.sgpr_limit; in adjust_max_used_regs()1432 } else if (type == RegType::sgpr && ctx.program->max_reg_demand.sgpr < ctx.sgpr_limit) { in increase_register_file()
2062 uint16_t sgpr_limit; member
12214 unsigned count = MIN2((bld.program->dev.sgpr_limit - dest.reg()) / 4u, max); in load_vb_descs()
87 program->dev.sgpr_limit = 4;