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

/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_live_var_analysis.cpp333 return std::min(sgprs, program->dev.sgpr_limit);
361 uint16_t sgpr_limit = get_addr_sgpr_from_waves(program, program->min_waves); local in function:aco::update_vgpr_sgpr_demand
365 if (new_demand.vgpr > vgpr_limit || new_demand.sgpr > sgpr_limit) {
H A Daco_ir.cpp106 program->dev.sgpr_limit =
115 program->dev.sgpr_limit = 102;
121 program->dev.sgpr_limit = 104;
H A Daco_spill.cpp1891 const uint16_t sgpr_limit = get_addr_sgpr_from_waves(program, program->min_waves); local in function:aco::spill
1897 if (demand.sgpr > sgpr_limit) {
1898 unsigned sgpr_spills = demand.sgpr - sgpr_limit;
1904 if (demand.sgpr + extra_sgprs > sgpr_limit) {
1906 unsigned sgpr_spills = demand.sgpr + extra_sgprs - sgpr_limit;
1911 const RegisterDemand target(vgpr_limit - extra_vgprs, sgpr_limit - extra_sgprs);
H A Daco_validate.cpp863 uint16_t sgpr_limit = get_addr_sgpr_from_waves(program, program->num_waves); local in function:aco::validate_ra
894 op.physReg() < sgpr_limit))
923 def.physReg() < sgpr_limit))
H A Daco_register_allocation.cpp76 uint16_t sgpr_limit; member in struct:aco::__anon1a58e4b40110::ra_ctx
89 sgpr_limit = get_addr_sgpr_from_waves(program, program->min_waves);
701 uint16_t max_addressible_sgpr = ctx.sgpr_limit;
1350 } else if (type == RegType::sgpr && ctx.program->max_reg_demand.sgpr < ctx.sgpr_limit) {
H A Daco_ir.h2020 uint16_t sgpr_limit; member in struct:aco::DeviceInfo
H A Daco_instruction_selection.cpp11838 unsigned count = MIN2((bld.program->dev.sgpr_limit - dest.reg()) / 4u, max);
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/
H A Dtest_regalloc.cpp86 program->dev.sgpr_limit = 4;

Completed in 38 milliseconds