Lines Matching refs:isTemp
591 if (instr->definitions[i].isTemp()) { in to_VOP3()
604 return op.isTemp() && op.getTemp().type() == RegType::vgpr; in is_operand_vgpr()
714 if (!op.isTemp()) in parse_base_offset()
739 } else if (add_instr->operands[i].isTemp() && in parse_base_offset()
745 if (!add_instr->operands[!i].isTemp()) in parse_base_offset()
896 if (!op.isTemp()) in check_sdwa_extract()
948 if ((op.isTemp() && ctx.info[op.tempId()].is_canonicalized()) || in is_op_canonicalized()
952 if (op.isConstant() || (op.isTemp() && ctx.info[op.tempId()].is_constant_or_literal(32))) { in is_op_canonicalized()
953 uint32_t val = op.isTemp() ? ctx.info[op.tempId()].val : op.constantValue(); in is_op_canonicalized()
969 all_const && (!op.isTemp() || ctx.info[op.tempId()].is_constant_or_literal(32)); in label_instruction()
980 if (!instr->operands[i].isTemp()) in label_instruction()
1264 bool copy_prop = instr->operands.size() == 1 && instr->operands[0].isTemp() && in label_instruction()
1278 if (aligned && op.isTemp() && ctx.info[op.tempId()].is_vec()) { in label_instruction()
1294 if (ops[i].isTemp() && ctx.info[ops[i].tempId()].is_temp() && in label_instruction()
1343 assert(vec_op.isTemp()); in label_instruction()
1389 if (instr->operands[0].isTemp() && ctx.info[instr->operands[0].tempId()].is_vec() && in label_instruction()
1403 if (op.isTemp() && ctx.info[op.tempId()].is_temp() && in label_instruction()
1419 } else if (instr->operands[0].isTemp()) { in label_instruction()
1448 if (instr->operands[!i].isConstant() && instr->operands[i].isTemp()) { in label_instruction()
1516 if (found_zero && found_one && instr->operands[idx].isTemp()) in label_instruction()
1533 instr->operands[0].constantEquals(0) && instr->operands[1].isTemp() && in label_instruction()
1540 bool all_same_temp = instr->operands[0].isTemp(); in label_instruction()
1545 if (!instr->operands[i].isTemp() || in label_instruction()
1585 if (fixed_to_exec(instr->operands[1]) && instr->operands[0].isTemp()) { in label_instruction()
1629 return op.isTemp() && (ctx.info[op.tempId()].is_uniform_bool() || in label_instruction()
1663 if (instr->operands[2].isTemp() && ctx.info[instr->operands[2].tempId()].is_scc_invert()) { in label_instruction()
1670 if (instr->operands[0].isTemp() && ctx.info[instr->operands[0].tempId()].is_scc_invert()) { in label_instruction()
1728 if (op.isTemp()) in decrease_uses()
1737 if (!op.isTemp() || !(ctx.info[op.tempId()].label & instr_usedef_labels)) in follow_operand()
1745 assert(instr->definitions[0].isTemp() && instr->definitions[0].tempId() == op.tempId()); in follow_operand()
1746 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()]) in follow_operand()
1760 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()]) in combine_ordering_test()
1784 if (!op_instr[i]->operands[0].isTemp() || !op_instr[i]->operands[1].isTemp()) in combine_ordering_test()
1858 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()]) in combine_comparison_ordering()
1879 if (!nan_test->operands[0].isTemp() || !nan_test->operands[1].isTemp()) in combine_comparison_ordering()
1881 if (!cmp->operands[0].isTemp() || !cmp->operands[1].isTemp()) in combine_comparison_ordering()
1932 } else if (op.isTemp()) { in is_operand_constant()
1960 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()]) in combine_constant_comparison_ordering()
1983 if (!nan_test->operands[0].isTemp() || !nan_test->operands[1].isTemp()) in combine_constant_comparison_ordering()
1985 if (!cmp->operands[0].isTemp() && !cmp->operands[1].isTemp()) in combine_constant_comparison_ordering()
2002 if (cmp->operands[i].isTemp() && in combine_constant_comparison_ordering()
2017 if (cmp->operands[0].isTemp()) in combine_constant_comparison_ordering()
2019 if (cmp->operands[1].isTemp()) in combine_constant_comparison_ordering()
2069 if (cmp->operands[0].isTemp()) in combine_inverse_comparison()
2071 if (cmp->operands[1].isTemp()) in combine_inverse_comparison()
2351 if (!instr->operands[0].isTemp()) in combine_salu_not_bitwise()
2353 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()]) in combine_salu_not_bitwise()
2395 if (instr->definitions[0].isTemp() && ctx.info[instr->definitions[0].tempId()].is_uniform_bool()) in combine_salu_n2()
2474 if (instr->operands[i].isTemp() && ctx.info[instr->operands[i].tempId()].is_b2i() && in combine_add_sub_b2i()
2478 if (instr->operands[!i].isTemp() && in combine_add_sub_b2i()
2522 !op_instr->usesModifiers() && op_instr->operands[0].isTemp() && in combine_add_bcnt()
2605 } else if (operands[i].isTemp() && in combine_clamp()
2708 if (!instr->operands[i].isTemp()) in apply_sgprs()
2974 if (instr->operands[!i].isTemp() && in combine_and_subbrev()
3099 vop3p->clamp && instr->operands[0].isTemp() && ctx.uses[instr->operands[0].tempId()] == 1) { in combine_vop3p()
3119 if (!op.isTemp()) in combine_vop3p()
3165 if (!instr->operands[i].isTemp() || !ctx.info[instr->operands[i].tempId()].is_vop3p()) in combine_vop3p()
3199 if (op[0].isTemp()) in combine_vop3p()
3201 if (op[1].isTemp()) in combine_vop3p()
3248 if (!op.isTemp()) in combine_instruction()
3362 if (!instr->operands[i].isTemp() || !ctx.info[instr->operands[i].tempId()].is_mul()) in combine_instruction()
3389 if (op[0].isTemp()) in combine_instruction()
3391 if (op[1].isTemp()) in combine_instruction()
3460 if (instr->operands[i].isTemp() && ctx.info[instr->operands[i].tempId()].is_b2f() && in combine_instruction()
3461 ctx.uses[instr->operands[i].tempId()] == 1 && instr->operands[!i].isTemp() && in combine_instruction()
3577 if (!op.isTemp()) in to_uniform_bool_instr()
3665 if (vec_op.isTemp()) in select_instruction()
3668 if (op.isTemp()) in select_instruction()
3700 if (instr->operands[0].isTemp()) in select_instruction()
3702 if (instr->operands[1].isTemp()) in select_instruction()
3727 if (!instr->operands[i].isTemp()) in select_instruction()
3767 if (instr->isBranch() && instr->operands.size() && instr->operands[0].isTemp() && in select_instruction()
3773 instr->operands[2].isTemp()) { in select_instruction()
3775 } else if (instr->opcode == aco_opcode::p_wqm && instr->operands[0].isTemp() && in select_instruction()
3808 if (!instr->operands[i].isTemp()) in select_instruction()
3863 if (instr->isVALU() && op.isTemp() && op.getTemp().type() == RegType::sgpr && in select_instruction()
3870 } else if (!op.isTemp() || !ctx.info[op.tempId()].is_literal(bits)) { in select_instruction()
3907 if (instr->operands[i].isTemp() && instr->operands[i].tempId() == literal_id) in select_instruction()
3958 if (op.isTemp() && ctx.info[op.tempId()].is_literal(bits) && ctx.uses[op.tempId()] == 0) { in apply_literals()