Lines Matching defs:opcode
743 std::string opcode;
747 opcode = std::to_string(record->getValueAsInt("extendedInstOpcode"));
750 opcode = formatv("static_cast<uint32_t>(spirv::Opcode::{0})",
755 opVar, extInstSet, opcode);
795 /// the operation `opVar` based on its opcode.
1068 /// based on the `opcode`.
1069 static void initDispatchDeserializationFn(StringRef opcode, StringRef words,
1074 opcode, words);
1075 os << formatv(" switch ({0}) {{\n", opcode);
1079 /// for an opcode and the call to the method to perform the deserialization.
1093 static void finalizeDispatchDeserializationFn(StringRef opcode,
1100 opcode);
1106 os << formatv(" return emitError(unknownLoc, \"unhandled opcode \") << "
1108 opcode);
1193 StringRef opcode("opcode"), words("words");
1197 initDispatchDeserializationFn(opcode, words, dDesFn);
1212 finalizeDispatchDeserializationFn(opcode, dDesFn);