| 3429 | } |
| 3430 | |
| 3431 | Id Builder::createVectorInsertDynamic(Id vector, Id typeId, Id component, Id componentIndex) |
| 3432 | { |
| 3433 | Instruction* insert = new Instruction(getUniqueId(), typeId, Op::OpVectorInsertDynamic); |
| 3434 | insert->reserveOperands(3); |
| 3435 | insert->addIdOperand(vector); |
| 3436 | insert->addIdOperand(component); |
| 3437 | insert->addIdOperand(componentIndex); |
| 3438 | addInstruction(std::unique_ptr<Instruction>(insert)); |
| 3439 | |
| 3440 | return insert->getResultId(); |
| 3441 | } |
| 3442 | |
| 3443 | // An opcode that has no operands, no result id, and no type |
| 3444 | void Builder::createNoResultOp(Op opCode) |
nothing calls this directly
no test coverage detected