Lines Matching refs:isTemp

591       if (instr->definitions[i].isTemp()) {
604 return op.isTemp() && op.getTemp().type() == RegType::vgpr;
714 if (!op.isTemp())
739 } else if (add_instr->operands[i].isTemp() &&
745 if (!add_instr->operands[!i].isTemp())
896 if (!op.isTemp())
948 if ((op.isTemp() && ctx.info[op.tempId()].is_canonicalized()) ||
952 if (op.isConstant() || (op.isTemp() && ctx.info[op.tempId()].is_constant_or_literal(32))) {
953 uint32_t val = op.isTemp() ? ctx.info[op.tempId()].val : op.constantValue();
969 all_const && (!op.isTemp() || ctx.info[op.tempId()].is_constant_or_literal(32));
980 if (!instr->operands[i].isTemp())
1264 bool copy_prop = instr->operands.size() == 1 && instr->operands[0].isTemp() &&
1278 if (aligned && op.isTemp() && ctx.info[op.tempId()].is_vec()) {
1294 if (ops[i].isTemp() && ctx.info[ops[i].tempId()].is_temp() &&
1343 assert(vec_op.isTemp());
1389 if (instr->operands[0].isTemp() && ctx.info[instr->operands[0].tempId()].is_vec() &&
1403 if (op.isTemp() && ctx.info[op.tempId()].is_temp() &&
1419 } else if (instr->operands[0].isTemp()) {
1448 if (instr->operands[!i].isConstant() && instr->operands[i].isTemp()) {
1516 if (found_zero && found_one && instr->operands[idx].isTemp())
1533 instr->operands[0].constantEquals(0) && instr->operands[1].isTemp() &&
1540 bool all_same_temp = instr->operands[0].isTemp();
1545 if (!instr->operands[i].isTemp() ||
1585 if (fixed_to_exec(instr->operands[1]) && instr->operands[0].isTemp()) {
1629 return op.isTemp() && (ctx.info[op.tempId()].is_uniform_bool() ||
1663 if (instr->operands[2].isTemp() && ctx.info[instr->operands[2].tempId()].is_scc_invert()) {
1670 if (instr->operands[0].isTemp() && ctx.info[instr->operands[0].tempId()].is_scc_invert()) {
1728 if (op.isTemp())
1737 if (!op.isTemp() || !(ctx.info[op.tempId()].label & instr_usedef_labels))
1745 assert(instr->definitions[0].isTemp() && instr->definitions[0].tempId() == op.tempId());
1746 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()])
1760 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()])
1784 if (!op_instr[i]->operands[0].isTemp() || !op_instr[i]->operands[1].isTemp())
1858 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()])
1879 if (!nan_test->operands[0].isTemp() || !nan_test->operands[1].isTemp())
1881 if (!cmp->operands[0].isTemp() || !cmp->operands[1].isTemp())
1932 } else if (op.isTemp()) {
1960 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()])
1983 if (!nan_test->operands[0].isTemp() || !nan_test->operands[1].isTemp())
1985 if (!cmp->operands[0].isTemp() && !cmp->operands[1].isTemp())
2002 if (cmp->operands[i].isTemp() &&
2017 if (cmp->operands[0].isTemp())
2019 if (cmp->operands[1].isTemp())
2069 if (cmp->operands[0].isTemp())
2071 if (cmp->operands[1].isTemp())
2351 if (!instr->operands[0].isTemp())
2353 if (instr->definitions[1].isTemp() && ctx.uses[instr->definitions[1].tempId()])
2395 if (instr->definitions[0].isTemp() && ctx.info[instr->definitions[0].tempId()].is_uniform_bool())
2474 if (instr->operands[i].isTemp() && ctx.info[instr->operands[i].tempId()].is_b2i() &&
2478 if (instr->operands[!i].isTemp() &&
2522 !op_instr->usesModifiers() && op_instr->operands[0].isTemp() &&
2605 } else if (operands[i].isTemp() &&
2708 if (!instr->operands[i].isTemp())
2974 if (instr->operands[!i].isTemp() &&
3099 vop3p->clamp && instr->operands[0].isTemp() && ctx.uses[instr->operands[0].tempId()] == 1) {
3119 if (!op.isTemp())
3165 if (!instr->operands[i].isTemp() || !ctx.info[instr->operands[i].tempId()].is_vop3p())
3199 if (op[0].isTemp())
3201 if (op[1].isTemp())
3248 if (!op.isTemp())
3366 if (!instr->operands[i].isTemp() || !ctx.info[instr->operands[i].tempId()].is_mul())
3393 if (op[0].isTemp())
3395 if (op[1].isTemp())
3464 if (instr->operands[i].isTemp() && ctx.info[instr->operands[i].tempId()].is_b2f() &&
3465 ctx.uses[instr->operands[i].tempId()] == 1 && instr->operands[!i].isTemp() &&
3581 if (!op.isTemp())
3669 if (vec_op.isTemp())
3672 if (op.isTemp())
3704 if (instr->operands[0].isTemp())
3706 if (instr->operands[1].isTemp())
3731 if (!instr->operands[i].isTemp())
3771 if (instr->isBranch() && instr->operands.size() && instr->operands[0].isTemp() &&
3777 instr->operands[2].isTemp()) {
3779 } else if (instr->opcode == aco_opcode::p_wqm && instr->operands[0].isTemp() &&
3812 if (!instr->operands[i].isTemp())
3867 if (instr->isVALU() && op.isTemp() && op.getTemp().type() == RegType::sgpr &&
3874 } else if (!op.isTemp() || !ctx.info[op.tempId()].is_literal(bits)) {
3911 if (instr->operands[i].isTemp() && instr->operands[i].tempId() == literal_id)
3962 if (op.isTemp() && ctx.info[op.tempId()].is_literal(bits) && ctx.uses[op.tempId()] == 0) {