| 600 | } |
| 601 | |
| 602 | Id Builder::makeCooperativeMatrixTypeWithSameShape(Id component, Id otherType) |
| 603 | { |
| 604 | Instruction* instr = module.getInstruction(otherType); |
| 605 | if (instr->getOpCode() == Op::OpTypeCooperativeMatrixNV) { |
| 606 | return makeCooperativeMatrixTypeNV(component, instr->getIdOperand(1), instr->getIdOperand(2), instr->getIdOperand(3)); |
| 607 | } else { |
| 608 | assert(instr->getOpCode() == Op::OpTypeCooperativeMatrixKHR); |
| 609 | return makeCooperativeMatrixTypeKHR(component, instr->getIdOperand(1), instr->getIdOperand(2), instr->getIdOperand(3), instr->getIdOperand(4)); |
| 610 | } |
| 611 | } |
| 612 | |
| 613 | Id Builder::makeCooperativeVectorTypeNV(Id componentType, Id components) |
| 614 | { |
no test coverage detected