#include "QuantDialectBytecode.h"
#include "mlir/Bytecode/BytecodeImplementation.h"
#include "mlir/Dialect/Quant/QuantOps.h"
#include "mlir/Dialect/Quant/QuantTypes.h"
#include "mlir/IR/Diagnostics.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/TypeSwitch.h"
usingnamespacemlir;
usingnamespacemlir::quant;
namespace {
static LogicalResult readDoubleAPFloat(DialectBytecodeReader &reader,
double &val) { … }
#include "mlir/Dialect/Quant/QuantDialectBytecode.cpp.inc"
struct QuantDialectBytecodeInterface : public BytecodeDialectInterface { … };
}
void quant::detail::addBytecodeInterface(QuantizationDialect *dialect) { … }