28 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8//9// This header defines hooks into the quantization dialect bytecode10// implementation.11//12//===----------------------------------------------------------------------===//13 14#ifndef LIB_MLIR_DIALECT_QUANT_IR_QUANTDIALECTBYTECODE_H15#define LIB_MLIR_DIALECT_QUANT_IR_QUANTDIALECTBYTECODE_H16 17namespace mlir::quant {18class QuantDialect;19 20namespace detail {21/// Add the interfaces necessary for encoding the quantization dialect22/// components in bytecode.23void addBytecodeInterface(QuantDialect *dialect);24} // namespace detail25} // namespace mlir::quant26 27#endif // LIB_MLIR_DIALECT_QUANT_IR_QUANTDIALECTBYTECODE_H28