Lines Matching defs:tmp

282    void set_temp(Temp tmp)
285 temp = tmp;
439 void set_fcanonicalize(Temp tmp)
442 temp = tmp;
618 aco_ptr<Instruction> tmp = std::move(instr);
619 Format format = asVOP3(tmp->format);
620 instr.reset(create_instruction<VOP3_instruction>(tmp->opcode, format, tmp->operands.size(),
621 tmp->definitions.size()));
622 std::copy(tmp->operands.cbegin(), tmp->operands.cend(), instr->operands.begin());
624 instr->definitions[i] = tmp->definitions[i];
627 if (info.label & instr_usedef_labels && info.instr == tmp.get())
634 instr->pass_flags = tmp->pass_flags;
646 aco_ptr<Instruction> tmp = convert_to_SDWA(ctx.program->gfx_level, instr);
647 if (!tmp)
652 if (info.label & instr_labels && info.instr == tmp.get())
752 Temp tmp = op.getTemp();
753 if (!ctx.info[tmp.id()].is_add_sub())
756 Instruction* add_instr = ctx.info[tmp.id()].instr;
1068 Temp tmp = info.instr->operands[0].getTemp();
1078 (tmp.type() == RegType::vgpr || ctx.program->gfx_level >= GFX9)) {
1109 Temp tmp = info.instr->operands[0].getTemp();
1116 ctx.info[tmp.id()].label &= ~label_insert;
1134 (tmp.type() == RegType::vgpr || ctx.program->gfx_level >= GFX9)) {
1196 can_eliminate_fcanonicalize(opt_ctx& ctx, aco_ptr<Instruction>& instr, Temp tmp)
1199 if (ctx.info[tmp.id()].is_canonicalized() ||
1200 (tmp.bytes() == 4 ? fp->denorm32 : fp->denorm16_64) == fp_denorm_keep)
1208 can_eliminate_and_exec(opt_ctx& ctx, Temp tmp, unsigned pass_flags)
1210 if (ctx.info[tmp.id()].is_vopc()) {
1211 Instruction* vopc_instr = ctx.info[tmp.id()].instr;
1216 if (ctx.info[tmp.id()].is_bitwise()) {
1217 Instruction* instr = ctx.info[tmp.id()].instr;
2057 original_temp_id(opt_ctx& ctx, Temp tmp)
2059 if (ctx.info[tmp.id()].is_temp())
2060 return ctx.info[tmp.id()].temp.id();
2062 return tmp.id();
3704 Temp tmp = instr->operands[i].getTemp();
3705 if (!ctx.info[tmp.id()].is_f2f32())
3708 Instruction* conv = ctx.info[tmp.id()].instr;
3737 if (--ctx.uses[tmp.id()])