Lines Matching refs:regClass

232                     instr->operands[i].regClass().is_subdword() && !instr->operands[i].isFixed()))
235 if (instr->definitions[0].regClass().is_subdword() && !instr->definitions[0].isFixed())
242 instr->operands[i].regClass().is_subdword() && !instr->operands[i].isFixed())
246 check(instr->definitions[0].regClass() == v1, "VOP3P must have v1 definition",
268 if (instr->definitions[i].regClass().is_subdword())
327 check(i != 1 || (op.isTemp() && op.regClass().type() == RegType::sgpr) ||
330 check(i == 1 || (op.isTemp() && op.regClass().type() == RegType::vgpr &&
337 check(i != 0 || (op.isTemp() && op.regClass().type() == RegType::vgpr),
339 check(i == 0 || (op.isTemp() && op.regClass().type() == RegType::sgpr) ||
347 check(i != 2 || (op.isTemp() && op.regClass().type() == RegType::vgpr &&
350 check(i == 2 || (op.isTemp() && op.regClass().type() == RegType::sgpr) ||
355 if (op.isTemp() && instr->operands[i].regClass().type() == RegType::sgpr) {
377 check(op.isConstant() || op.regClass().type() <= RegType::sgpr,
395 check(op.isConstant() || op.regClass().type() == RegType::sgpr,
406 instr->operands[0].regClass().type() == RegType::sgpr,
409 !instr->definitions[0].regClass().is_subdword() ||
410 instr->operands[0].regClass().type() == RegType::vgpr,
422 check(def.regClass().type() == RegType::vgpr,
426 check(program->chip_class >= GFX9 || !def.regClass().is_subdword(),
437 instr->operands[i].regClass().type()) ||
439 instr->operands[i].regClass().type() == RegType::sgpr),
441 check(instr->definitions[i].regClass().is_linear_vgpr() ==
442 instr->operands[i].regClass().is_linear_vgpr(),
445 check(!instr->definitions[i].regClass().is_linear_vgpr(),
509 check(op.regClass().type() == RegType::vgpr,
515 check(instr->definitions[0].regClass().type() == RegType::sgpr ||
519 check(instr->definitions[0].regClass().type() == RegType::vgpr,
529 instr->operands[0].regClass().type() == RegType::sgpr),
534 instr->operands[1].regClass().type() == RegType::sgpr),
546 instr->operands[1].regClass().type() == RegType::vgpr,
549 instr->operands[0].isTemp() && instr->operands[0].regClass().type() == RegType::sgpr,
553 instr->operands[3].regClass().type() == RegType::vgpr),
561 (instr->operands[0].regClass() == s4 || instr->operands[0].regClass() == s8),
564 check(instr->operands[1].regClass() == s4,
570 (instr->definitions[0].regClass() == instr->operands[2].regClass() ||
581 instr->operands[i].regClass().type() == RegType::vgpr,
584 check(instr->operands[i].regClass() == v1, "MIMG VADDR must be v1 if NSA is used",
590 instr->definitions[0].regClass().type() == RegType::vgpr),
596 check((op.isTemp() && op.regClass().type() == RegType::vgpr) || op.physReg() == m0,
607 instr->operands[i].regClass().type() == RegType::vgpr,
618 instr->operands[0].isTemp() && instr->operands[0].regClass().type() == RegType::vgpr,
621 instr->operands[1].regClass().type() == RegType::sgpr,
627 check(instr->operands[2].regClass().type() == RegType::vgpr,
900 if (op.regClass().is_subdword() &&
929 if (def.regClass().is_subdword() &&
1046 if (def.regClass().is_subdword() && def.bytes() < 4) {