1 //===- QuantOps.h - Quantization Ops and Types ------------------*- 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 #ifndef MLIR_DIALECT_QUANT_QUANTOPS_H_ 10 #define MLIR_DIALECT_QUANT_QUANTOPS_H_ 11 12 #include "mlir/IR/Attributes.h" 13 #include "mlir/IR/Builders.h" 14 #include "mlir/IR/BuiltinTypes.h" 15 #include "mlir/IR/Dialect.h" 16 #include "mlir/IR/OpDefinition.h" 17 #include "mlir/IR/Types.h" 18 #include "mlir/Interfaces/SideEffectInterfaces.h" 19 #include "llvm/Support/MathExtras.h" 20 21 #include "mlir/Dialect/Quant/QuantOpsDialect.h.inc" 22 23 #define GET_OP_CLASSES 24 #include "mlir/Dialect/Quant/QuantOps.h.inc" 25 26 #endif // MLIR_DIALECT_QUANT_QUANTOPS_H_ 27