Lines Matching refs:definitions
206 if (!pre_ra && instr->definitions.size() >= 2) in can_use_SDWA()
217 if (!instr->definitions.empty() && instr->definitions[0].bytes() > 4 && !instr->isVOPC()) in can_use_SDWA()
260 tmp->definitions.size())); in convert_to_SDWA()
262 std::copy(tmp->definitions.cbegin(), tmp->definitions.cend(), instr->definitions.begin()); in convert_to_SDWA()
282 sdwa.dst_sel = SubdwordSel(instr->definitions[0].bytes(), 0, false); in convert_to_SDWA()
284 if (instr->definitions[0].getTemp().type() == RegType::sgpr && chip == GFX8) in convert_to_SDWA()
285 instr->definitions[0].setFixed(vcc); in convert_to_SDWA()
286 if (instr->definitions.size() >= 2) in convert_to_SDWA()
287 instr->definitions[1].setFixed(vcc); in convert_to_SDWA()
308 if (!pre_ra && (instr->isVOPC() || instr->definitions.size() > 1) && in can_use_DPP()
309 instr->definitions.back().physReg() != vcc) in can_use_DPP()
343 tmp->definitions.size())); in convert_to_DPP()
345 for (unsigned i = 0; i < instr->definitions.size(); i++) in convert_to_DPP()
346 instr->definitions[i] = tmp->definitions[i]; in convert_to_DPP()
359 if (instr->isVOPC() || instr->definitions.size() > 1) in convert_to_DPP()
360 instr->definitions.back().setFixed(vcc); in convert_to_DPP()
550 for (Definition def : instr->definitions) { in needs_exec_mask()