1//===- BuiltinDialectBytecode.h - MLIR Bytecode Implementation --*- C++ -*-===//
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 header defines hooks into the builtin dialect bytecode implementation.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LIB_MLIR_IR_BUILTINDIALECTBYTECODE_H
14#define LIB_MLIR_IR_BUILTINDIALECTBYTECODE_H
15
16namespace mlir {
17class BuiltinDialect;
18
19namespace builtin_dialect_detail {
20/// Add the interfaces necessary for encoding the builtin dialect components in
21/// bytecode.
22void addBytecodeInterface(BuiltinDialect *dialect);
23} // namespace builtin_dialect_detail
24} // namespace mlir
25
26#endif // LIB_MLIR_IR_BUILTINDIALECTBYTECODE_H
27

source code of mlir/lib/IR/BuiltinDialectBytecode.h