Lines Matching refs:new_instr

870             SMEM_instruction* new_instr = create_instruction<SMEM_instruction>(
872 new_instr->operands[0] = smem.operands[0];
873 new_instr->operands[1] = Operand::c32(offset);
875 new_instr->operands[2] = smem.operands[2];
876 new_instr->operands.back() = Operand(base);
878 new_instr->definitions[0] = smem.definitions[0];
879 new_instr->sync = smem.sync;
880 new_instr->glc = smem.glc;
881 new_instr->dlc = smem.dlc;
882 new_instr->nv = smem.nv;
883 new_instr->disable_wqm = smem.disable_wqm;
884 instr.reset(new_instr);
2167 Instruction* new_instr;
2176 new_instr = static_cast<Instruction*>(vop3);
2178 new_instr = create_instruction<VOPC_instruction>(new_op, Format::VOPC, 2, 1);
2180 new_instr->operands[0] = Operand(op[0]);
2181 new_instr->operands[1] = Operand(op[1]);
2182 new_instr->definitions[0] = instr->definitions[0];
2185 ctx.info[instr->definitions[0].tempId()].set_vopc(new_instr);
2187 instr.reset(new_instr);
2240 Instruction* new_instr;
2250 new_instr = new_vop3;
2252 new_instr = create_instruction<VOPC_instruction>(new_op, Format::VOPC, 2, 1);
2254 new_instr->operands[0] = cmp->operands[0];
2255 new_instr->operands[1] = cmp->operands[1];
2256 new_instr->definitions[0] = instr->definitions[0];
2259 ctx.info[instr->definitions[0].tempId()].set_vopc(new_instr);
2261 instr.reset(new_instr);
2365 Instruction* new_instr;
2375 new_instr = new_vop3;
2377 new_instr = create_instruction<VOPC_instruction>(new_op, Format::VOPC, 2, 1);
2379 new_instr->operands[0] = cmp->operands[0];
2380 new_instr->operands[1] = cmp->operands[1];
2381 new_instr->definitions[0] = instr->definitions[0];
2384 ctx.info[instr->definitions[0].tempId()].set_vopc(new_instr);
2386 instr.reset(new_instr);
2416 Instruction* new_instr;
2426 new_instr = new_vop3;
2437 new_instr = new_sdwa;
2448 new_instr = new_dpp;
2454 new_instr = new_dpp;
2456 new_instr = create_instruction<VOPC_instruction>(new_opcode, Format::VOPC, 2, 1);
2458 new_instr->operands[0] = cmp->operands[0];
2459 new_instr->operands[1] = cmp->operands[1];
2460 new_instr->definitions[0] = instr->definitions[0];
2463 ctx.info[instr->definitions[0].tempId()].set_vopc(new_instr);
2465 instr.reset(new_instr);
2552 VOP3_instruction* new_instr = create_instruction<VOP3_instruction>(opcode, Format::VOP3, 3, 1);
2553 memcpy(new_instr->abs, abs, sizeof(bool[3]));
2554 memcpy(new_instr->neg, neg, sizeof(bool[3]));
2555 new_instr->clamp = clamp;
2556 new_instr->omod = omod;
2557 new_instr->opsel = opsel;
2558 new_instr->operands[0] = operands[0];
2559 new_instr->operands[1] = operands[1];
2560 new_instr->operands[2] = operands[2];
2561 new_instr->definitions[0] = instr->definitions[0];
2564 instr.reset(new_instr);
2821 aco_ptr<Instruction> new_instr;
2824 new_instr.reset(create_instruction<VOP2_instruction>(new_op, Format::VOP2, 3, 2));
2827 new_instr.reset(
2833 new_instr->definitions[0] = instr->definitions[0];
2835 new_instr->definitions[1] = instr->definitions[1];
2837 new_instr->definitions[1] =
2844 new_instr->operands[0] = Operand::zero();
2845 new_instr->operands[1] = instr->operands[!i];
2846 new_instr->operands[2] = Operand(ctx.info[instr->operands[i].tempId()].temp);
2847 instr = std::move(new_instr);
2868 aco_ptr<Instruction> new_instr{
2871 new_instr->operands[0] = op_instr->operands[0];
2872 new_instr->operands[1] = instr->operands[!i];
2873 new_instr->definitions[0] = instr->definitions[0];
2874 instr = std::move(new_instr);
3327 aco_ptr<Instruction> new_instr;
3330 new_instr.reset(
3334 new_instr.reset(create_instruction<VOP3_instruction>(aco_opcode::v_cndmask_b32,
3344 new_instr->operands[0] = Operand::zero();
3345 new_instr->operands[1] = instr->operands[!i];
3346 new_instr->operands[2] = Operand(op_instr->operands[2]);
3347 new_instr->definitions[0] = instr->definitions[0];
3348 instr = std::move(new_instr);
3409 aco_ptr<VOP3_instruction> new_instr{
3412 new_instr->operands[op_idx] = ops[op_idx];
3413 new_instr->definitions[0] = instr->definitions[0];
3414 instr = std::move(new_instr);
4130 aco_ptr<VOP2_instruction> new_instr{
4132 new_instr->operands[0] = Operand::zero();
4133 new_instr->operands[1] = instr->operands[!i];
4134 new_instr->operands[2] = Operand(ctx.info[instr->operands[i].tempId()].temp);
4135 new_instr->definitions[0] = instr->definitions[0];
4136 instr = std::move(new_instr);