Lines Matching defs:temp

151       Temp temp;
163 label &= ~(instr_mod_labels | temp_labels | val_labels); /* instr, temp and val alias */
167 label &= ~(temp_labels | val_labels); /* instr, temp and val alias */
172 label &= ~(instr_labels | val_labels); /* instr, temp and val alias */
179 label &= ~(instr_labels | temp_labels); /* instr, temp and val alias */
182 label &= ~(instr_labels | temp_labels); /* instr, temp and val alias */
255 temp = abs_temp;
263 temp = neg_temp;
271 temp = neg_abs_temp;
285 temp = tmp;
346 temp = vcc_val;
354 temp = b2f_val;
402 temp = scc_inv;
410 temp = uniform_bool;
418 temp = b2i_val;
442 temp = tmp;
535 pseudo_propagate_temp(opt_ctx& ctx, aco_ptr<Instruction>& instr, Temp temp, unsigned index)
546 if (temp.type() == RegType::vgpr && !vgpr)
559 if (temp.bytes() != instr->operands[index].bytes())
564 if (temp.type() == RegType::sgpr && !can_accept_sgpr)
568 if (temp.type() == RegType::sgpr && !can_accept_sgpr)
571 if (temp.bytes() > instr->operands[index].bytes())
578 int decrease = instr->operands[index].bytes() - temp.bytes();
587 if (temp.regClass() == instr->definitions[0].regClass())
593 instr->operands[index].setTemp(temp);
1232 (info.is_fcanonicalize() && can_eliminate_fcanonicalize(ctx, instr, info.temp));
1296 while (info.is_temp() && info.temp.regClass() == instr->operands[i].getTemp().regClass()) {
1297 instr->operands[i].setTemp(ctx.info[instr->operands[i].tempId()].temp);
1298 info = ctx.info[info.temp.id()];
1304 pseudo_propagate_temp(ctx, instr, info.temp, i);
1305 info = ctx.info[info.temp.id()];
1321 if (is_copy_label(ctx, instr, info) && info.temp.type() == RegType::vgpr &&
1323 instr->operands[i].setTemp(info.temp);
1324 info = ctx.info[info.temp.id()];
1327 if (info.is_temp() && info.temp.type() == RegType::sgpr && can_apply_sgprs(ctx, instr) &&
1330 instr->operands[i].setTemp(info.temp);
1331 info = ctx.info[info.temp.id()];
1350 instr->operands[i].setTemp(info.temp);
1353 instr->operands[i].setTemp(info.temp);
1355 can_eliminate_fcanonicalize(ctx, instr, info.temp)) {
1358 instr->operands[i].setTemp(info.temp);
1367 can_eliminate_fcanonicalize(ctx, instr, info.temp)) {
1370 instr->operands[i] = Operand(info.temp);
1413 info = ctx.info[info.temp.id()];
1456 info = ctx.info[info.temp.id()];
1524 instr->operands[0].setTemp(ctx.info[instr->operands[0].tempId()].temp);
1592 ops[i].regClass() == ctx.info[ops[i].tempId()].temp.regClass())
1593 ops[i].setTemp(ctx.info[ops[i].tempId()].temp);
1726 ctx.info[op.tempId()].temp.type() == instr->definitions[0].regClass().type())
1727 op.setTemp(ctx.info[op.tempId()].temp);
1861 ctx.info[instr->operands[1].tempId()].temp);
1909 ctx.info[instr->operands[0].tempId()].temp);
1924 ctx.info[instr->operands[0].tempId()].temp);
1926 ctx.info[instr->operands[0].tempId()].temp);
1998 instr->operands[2].setTemp(ctx.info[instr->operands[2].tempId()].temp);
2060 return ctx.info[tmp.id()].temp.id();
2846 new_instr->operands[2] = Operand(ctx.info[instr->operands[i].tempId()].temp);
3069 if (is_copy_label(ctx, instr, info) && info.temp.type() == RegType::sgpr)
3107 Temp sgpr = info.is_extract() ? info.instr->operands[0].getTemp() : info.temp;
3143 ctx.info[sgpr.id()].temp.type() == RegType::sgpr)
3858 Temp val = ctx.info[instr->definitions[0].tempId()].temp;
4128 ctx.uses[ctx.info[instr->operands[i].tempId()].temp.id()]++;
4134 new_instr->operands[2] = Operand(ctx.info[instr->operands[i].tempId()].temp);
4270 /* Just use the uniform boolean temp. */
4271 op.setTemp(ctx.info[op.tempId()].temp);