Lines Matching defs:ops
1540 unsigned ops = instr->opcode == aco_opcode::v_cndmask_b32 ? 2 : instr->operands.size();
1541 for (unsigned i = 0; canonicalized && (i < ops); i++)
1569 std::vector<Operand> ops;
1578 ops.emplace_back(vec_op);
1580 ops.emplace_back(op);
1585 if (ops.size() != instr->operands.size()) {
1586 assert(ops.size() > instr->operands.size());
1589 Format::PSEUDO, ops.size(), 1));
1590 for (unsigned i = 0; i < ops.size(); i++) {
1591 if (ops[i].isTemp() && ctx.info[ops[i].tempId()].is_temp() &&
1592 ops[i].regClass() == ctx.info[ops[i].tempId()].temp.regClass())
1593 ops[i].setTemp(ctx.info[ops[i].tempId()].temp);
1594 instr->operands[i] = ops[i];
1598 for (unsigned i = 0; i < ops.size(); i++) {
1599 assert(instr->operands[i] == ops[i]);
2569 const char* shuffle, uint8_t ops)
2572 if (!((1 << swap) & ops))
2810 combine_add_sub_b2i(opt_ctx& ctx, aco_ptr<Instruction>& instr, aco_opcode new_op, uint8_t ops)
2816 if (!((1 << i) & ops))
3398 Operand ops[3] = {
3403 if (!check_vop3_operands(ctx, 3, ops))
3412 new_instr->operands[op_idx] = ops[op_idx];
3484 Operand ops[3];
3486 ops[j] = instr->operands[j];
3487 ops[i] = info.instr->operands[0];
3488 if (!check_vop3_operands(ctx, instr->operands.size(), ops))