Lines Matching refs:num_sgprs
692 unsigned num_sgprs = 0; in check_vop3_operands() local
701 if (num_sgprs < 2) in check_vop3_operands()
702 sgpr[num_sgprs++] = op.tempId(); in check_vop3_operands()
1672 unsigned num_sgprs = (op[0].type() == RegType::sgpr) + (op[1].type() == RegType::sgpr); in combine_ordering_test() local
1673 if (num_sgprs > (ctx.program->chip_class >= GFX10 ? 2 : 1)) in combine_ordering_test()
1694 if (neg[0] || neg[1] || abs[0] || abs[1] || opsel || num_sgprs > 1) { in combine_ordering_test()
2478 unsigned num_sgprs = !!sgpr_ids[0] + !!sgpr_ids[1]; in apply_sgprs() local
2499 if (num_sgprs && ctx.uses[sgpr_info_id] > 1 && !instr->isVOP3() && !instr->isSDWA()) in apply_sgprs()
2504 if (new_sgpr && num_sgprs >= max_sgprs) in apply_sgprs()
2523 sgpr_ids[num_sgprs++] = sgpr.id(); in apply_sgprs()
3184 unsigned num_sgprs = !!sgpr_ids[0] + !!sgpr_ids[1]; in select_instruction() local
3185 if (num_sgprs == const_bus_limit && !is_literal_sgpr) in select_instruction()