xref: /llvm-project/mlir/include/mlir/Dialect/Tosa/IR/TosaDialectBytecode.td (revision 1a7e8b90f23a87233280e966dcb939ed371e7c4d)
1//===-- TosaBytecode.td - Tosa bytecode defs -------------*- tablegen -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This is the TOSA bytecode reader/writer definition file.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef TOSA_DIALECT_BYTECODE
14#define TOSA_DIALECT_BYTECODE
15
16include "mlir/IR/BytecodeBase.td"
17
18/// This enum contains marker codes used to indicate which attribute is
19/// currently being decoded, and how it should be decoded. The order of these
20/// codes should generally be unchanged, as any changes will inevitably break
21/// compatibility with older bytecode.
22
23def TosaDialectTypes : DialectTypes<"Tosa"> {
24  let elems = [];
25}
26
27#endif // TOSA_DIALECT_BYTECODE
28
29