################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/Modules/IO/Parameters/IR/BUILD.bazel              #
#                                                                              #
# Use iree_cmake_extra_content from iree/build_defs.oss.bzl to add arbitrary   #
# CMake-only content.                                                          #
#                                                                              #
# To disable autogeneration for this file entirely, delete this header.        #
################################################################################

iree_add_all_subdirs()

iree_cc_library(
  NAME
    IR
  HDRS
    "IOParametersOps.h"
    "IOParametersOps.h.inc"
  TEXTUAL_HDRS
    "IOParametersOps.cpp.inc"
  SRCS
    "IOParametersOps.cpp"
  DEPS
    ::IOParametersOpsGen
    LLVMSupport
    MLIRArithDialect
    MLIRFuncDialect
    MLIRFunctionInterfaces
    MLIRIR
    MLIRSideEffectInterfaces
    MLIRSupport
    MLIRTransformUtils
    MLIRTranslateLib
    iree::compiler::Dialect::HAL::IR
    iree::compiler::Dialect::Util::IR
    iree::compiler::Dialect::VM::IR
  PUBLIC
)

iree_cc_library(
  NAME
    IOParametersDialect
  HDRS
    "IOParametersDialect.h"
  SRCS
    "IOParametersDialect.cpp"
  DEPS
    ::IR
    LLVMSupport
    MLIRFuncDialect
    MLIRFunctionInterfaces
    MLIRIR
    MLIRParser
    MLIRSupport
    MLIRTransformUtils
    iree::compiler::Dialect::HAL::Conversion
    iree::compiler::Dialect::VM::Conversion
    iree::compiler::Modules::IO::Parameters::Conversion::ParamsToVM
    iree::compiler::Modules::IO::Parameters::Conversion::StreamToParams
    iree::compiler::Modules::IO::Parameters::io_parameters_imports
  PUBLIC
)

iree_tablegen_library(
  NAME
    IOParametersOpsGen
  TD_FILE
    "IOParametersOps.td"
  OUTS
    --gen-op-decls IOParametersOps.h.inc
    --gen-op-defs IOParametersOps.cpp.inc
)

iree_tablegen_doc(
  NAME
    IOParametersDialectDocGen
  TD_FILE
    "IOParametersOps.td"
  OUTS
    --dialect=io_parameters --gen-dialect-doc IOParametersDialect.md
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
