Lines Matching refs:get

71  * (4) The fourth pass cleans up the sequence: literals get applied and dead
627 if (info.label & instr_usedef_labels && info.instr == tmp.get())
628 info.instr = instr.get();
652 if (info.label & instr_labels && info.instr == tmp.get())
653 info.instr = instr.get();
859 } else if (parse_base_offset(ctx, instr.get(), 1, &base, &offset, prevent_overflow) &&
1087 SubdwordSel instrSel = parse_extract(instr.get());
1136 static_cast<SDWA_instruction*>(instr.get())->sel[idx] = sel;
1141 SubdwordSel instrSel = parse_extract(instr.get());
1275 perfwarn(ctx.program, all_const, "All instruction operands are constant", instr.get());
1281 instr.get());
1389 "v_cndmask_b32 with a constant selector", instr.get());
1435 parse_base_offset(ctx, instr.get(), i, &base, &offset,
1442 } else if (i == 2 && parse_base_offset(ctx, instr.get(), i, &base, &offset, true) &&
1458 if (i <= 1 && parse_base_offset(ctx, instr.get(), i, &base, &offset, false) &&
1460 is_scratch_offset_valid(ctx, instr.get(), scratch.offset + (int32_t)offset)) {
1482 parse_base_offset(ctx, instr.get(), i, &base, &offset, false) &&
1521 /* Flip the branch instruction to get rid of the scc_invert instruction */
1549 ctx.info[instr->definitions[0].tempId()].set_vopc(instr.get());
1554 ctx.info[instr->definitions[0].tempId()].set_vop3p(instr.get());
1602 ctx.info[instr->definitions[0].tempId()].set_vec(instr.get());
1629 ctx.info[instr->definitions[1].tempId()].set_split(instr.get());
1633 ctx.info[instr->definitions[1].tempId()].set_extract(instr.get());
1701 ctx.info[instr->definitions[0].tempId()].set_extract(instr.get());
1729 ctx.info[instr->definitions[0].tempId()].set_vec(instr.get());
1753 ctx.info[instr->definitions[0].tempId()].set_dpp16(instr.get());
1755 ctx.info[instr->definitions[0].tempId()].set_dpp8(instr.get());
1762 case aco_opcode::v_mul_f64: ctx.info[instr->definitions[0].tempId()].set_mul(instr.get()); break;
1766 ctx.info[instr->definitions[0].tempId()].set_mul(instr.get());
1799 ctx.info[instr->operands[i].tempId()].set_omod2(instr.get());
1802 ctx.info[instr->operands[i].tempId()].set_omod4(instr.get());
1805 ctx.info[instr->operands[i].tempId()].set_omod5(instr.get());
1822 ctx.info[instr->definitions[0].tempId()].set_usedef(instr.get());
1843 ctx.info[instr->operands[idx].tempId()].set_clamp(instr.get());
1902 ctx.info[instr->definitions[0].tempId()].set_add_sub(instr.get());
1915 ctx.info[instr->definitions[0].tempId()].set_bitwise(instr.get());
1921 /* Try to get rid of the superfluous s_cselect + s_and_b64 that comes from turning a
1929 /* Try to get rid of the superfluous s_and_b64, since the uniform bitwise instruction
1961 ctx.info[instr->definitions[0].tempId()].set_bitwise(instr.get());
1969 ctx.info[instr->definitions[0].tempId()].set_usedef(instr.get());
1987 ctx.info[instr->definitions[0].tempId()].set_minmax(instr.get());
1996 /* Flip the operands to get rid of the scc_invert instruction */
2014 ctx.info[instr->definitions[0].tempId()].set_extract(instr.get());
2015 if (instr->operands[0].regClass() == v1 && parse_insert(instr.get()))
2016 ctx.info[instr->operands[0].tempId()].set_insert(instr.get());
2023 ctx.info[instr->operands[0].tempId()].set_insert(instr.get());
2024 if (parse_extract(instr.get()))
2025 ctx.info[instr->definitions[0].tempId()].set_extract(instr.get());
2026 ctx.info[instr->definitions[0].tempId()].set_bitwise(instr.get());
2034 ctx.info[instr->definitions[0].tempId()].set_usedef(instr.get());
2039 ctx.info[instr->operands[0].tempId()].set_f2f16(instr.get());
2044 ctx.info[instr->definitions[0].tempId()].set_f2f32(instr.get());
2500 /* get operands and modifiers and check inbetween modifiers */
2578 if (match_op3_for_vop3(ctx, instr->opcode, op2, instr.get(), swap, shuffle, operands, neg,
2672 if (match_op3_for_vop3(ctx, instr->opcode, opposite, instr.get(), swap, "012", operands, neg,
2848 ctx.info[instr->definitions[0].tempId()].set_add_sub(instr.get());
2946 if (match_op3_for_vop3(ctx, instr->opcode, other_op, instr.get(), swap, "012", operands, neg,
3254 static_cast<SDWA_instruction*>(instr.get())->dst_sel = sel;
3581 propagate_swizzles(fma.get(), opsel_lo, opsel_hi);
3590 ctx.info[instr->definitions[0].tempId()].set_vop3p(instr.get());
3662 ctx.info[instr->definitions[0].tempId()].instr = instr.get();
3787 if (instr->definitions.empty() || is_dead(ctx.uses, instr.get()))
3903 ctx.info[instr->definitions[0].tempId()].set_mul(instr.get());
4114 ctx.info[instr->definitions[0].tempId()].set_mad(instr.get(), ctx.mad_infos.size() - 1);
4224 ctx.info[instr->definitions[0].tempId()].set_mad(instr.get(), ctx.mad_infos.size() - 1);
4274 * This allows the predecessor to get picked up by the same optimization (if it has no
4301 if (is_dead(ctx.uses, instr.get())) {