MLIR  19.0.0git
QuantDialectBytecode.h
Go to the documentation of this file.
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 
17 namespace mlir::quant {
18 class QuantizationDialect;
19 
20 namespace detail {
21 /// Add the interfaces necessary for encoding the quantization dialect
22 /// components in bytecode.
23 void addBytecodeInterface(QuantizationDialect *dialect);
24 } // namespace detail
25 } // namespace mlir::quant
26 
27 #endif // LIB_MLIR_DIALECT_QUANT_IR_QUANTDIALECTBYTECODE_H
void addBytecodeInterface(QuantizationDialect *dialect)
Add the interfaces necessary for encoding the quantization dialect components in bytecode.