Lines Matching refs:chip
159 bool can_use_SDWA(chip_class chip, const aco_ptr<Instruction>& instr) in can_use_SDWA() argument
164 if (chip < GFX8 || instr->isDPP()) in can_use_SDWA()
174 if (vop3->clamp && instr->format == asVOP3(Format::VOPC) && chip != GFX8) in can_use_SDWA()
176 if (vop3->omod && chip < GFX9) in can_use_SDWA()
186 if (chip < GFX9 && !instr->operands[i].isOfType(RegType::vgpr)) in can_use_SDWA()
194 if (chip < GFX9 && !instr->operands[0].isOfType(RegType::vgpr)) in can_use_SDWA()
203 if (chip != GFX8 && is_mac) in can_use_SDWA()
222 aco_ptr<Instruction> convert_to_SDWA(chip_class chip, aco_ptr<Instruction>& instr) in convert_to_SDWA() argument
274 if (instr->definitions[0].getTemp().type() == RegType::sgpr && chip == GFX8) in convert_to_SDWA()
284 bool can_use_opsel(chip_class chip, aco_opcode op, int idx, bool high) in can_use_opsel() argument
287 if ((high || idx == -1) && chip < GFX9) in can_use_opsel()