Lines Matching defs:opcode
76 /// Encodes an SPIR-V instruction with the given `opcode` and `operands` into
816 spirv::Opcode opcode = spirv::Opcode::OpConstantComposite;
817 encodeInstructionInto(typesGlobalValues, opcode, operands);
861 spirv::Opcode opcode = spirv::Opcode::OpConstantComposite;
862 encodeInstructionInto(typesGlobalValues, opcode, operands);
898 auto opcode = boolAttr.getValue()
903 encodeInstructionInto(typesGlobalValues, opcode, {typeID, resultID});
930 auto opcode =
948 encodeInstructionInto(typesGlobalValues, opcode, {typeID, resultID, word});
962 encodeInstructionInto(typesGlobalValues, opcode,
1001 auto opcode =
1006 encodeInstructionInto(typesGlobalValues, opcode, {typeID, resultID, word});
1012 encodeInstructionInto(typesGlobalValues, opcode,
1017 encodeInstructionInto(typesGlobalValues, opcode, {typeID, resultID, word});
1226 // <id> and the opcode need to be insert after this.
1278 uint32_t opcode) {
1301 encodeInstructionInto(functionBody, static_cast<spirv::Opcode>(opcode),
1304 if (failed(encodeExtensionInstruction(op, extInstSet, opcode, operands)))