1//===- QuantDialectBytecode.h - Quant 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 quantization dialect bytecode
10// implementation.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LIB_MLIR_DIALECT_QUANT_IR_QUANTDIALECTBYTECODE_H
15#define LIB_MLIR_DIALECT_QUANT_IR_QUANTDIALECTBYTECODE_H
16
17namespace mlir::quant {
18class QuantizationDialect;
19
20namespace detail {
21/// Add the interfaces necessary for encoding the quantization dialect
22/// components in bytecode.
23void addBytecodeInterface(QuantizationDialect *dialect);
24} // namespace detail
25} // namespace mlir::quant
26
27#endif // LIB_MLIR_DIALECT_QUANT_IR_QUANTDIALECTBYTECODE_H
28

source code of mlir/lib/Dialect/Quant/IR/QuantDialectBytecode.h