CMakeLists.txt
538 Bytes
add_llvm_library(MLIRQuantOps
IR/DialectRegistration.cpp
IR/QuantOps.cpp
IR/QuantTypes.cpp
IR/TypeDetail.h
IR/TypeParser.cpp
Transforms/ConvertConst.cpp
Transforms/ConvertSimQuant.cpp
Utils/QuantizeUtils.cpp
Utils/UniformSupport.cpp
Utils/FakeQuantSupport.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/QuantOps
)
add_dependencies(MLIRQuantOps
MLIRIR
MLIRPass
MLIRQuantOpsIncGen
MLIRSupport
MLIRStandardOps)