Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/compiler/
Daco_live_var_analysis.cpp351 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() local
415 if (new_demand.vgpr > vgpr_limit || new_demand.sgpr > sgpr_limit) { in update_vgpr_sgpr_demand()
Daco_ir.cpp106 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()
Daco_spill.cpp1934 const uint16_t sgpr_limit = get_addr_sgpr_from_waves(program, program->min_waves); in spill() local
1940 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()
Daco_validate.cpp999 uint16_t sgpr_limit = get_addr_sgpr_from_waves(program, program->num_waves); in validate_ra() local
1030 op.physReg() < sgpr_limit)) in validate_ra()
1061 def.physReg() < sgpr_limit)) in validate_ra()
Daco_register_allocation.cpp83 uint16_t sgpr_limit; member
98 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()
Daco_ir.h2062 uint16_t sgpr_limit; member
Daco_instruction_selection.cpp12214 unsigned count = MIN2((bld.program->dev.sgpr_limit - dest.reg()) / 4u, max); in load_vb_descs()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_regalloc.cpp87 program->dev.sgpr_limit = 4;