################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/Codegen/Interfaces/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
    Interfaces
  HDRS
    "Interfaces.h"
  SRCS
    "Interfaces.cpp"
  DEPS
    ::BufferizationInterfaces
    ::HoistableRegionOpInterface
    ::PartitionableLoopsInterface
    ::ProcessorOpInterfaces
    ::TensorMaskingOpInterface
    ::UKernelOpInterface
    ::VectorizableOpInterface
    MLIRAMDGPUDialect
    MLIRAffineDialect
    MLIRAffineTransformOps
    MLIRArithValueBoundsOpInterfaceImpl
    MLIRBufferizationTransformOps
    MLIRGPUDialect
    MLIRGPUTransformOps
    MLIRGPUTransforms
    MLIRIR
    MLIRLinalgDialect
    MLIRLinalgTransformOps
    MLIRLinalgTransforms
    MLIRMemRefDialect
    MLIRMemRefTransformOps
    MLIRSCFDialect
    MLIRSCFTransformOps
    MLIRSideEffectInterfaces
    MLIRTensorDialect
    MLIRTensorTransformOps
    MLIRTensorTransforms
    MLIRTransformLoopExtension
    MLIRVectorDialect
    MLIRVectorTransformOps
    MLIRVectorTransforms
    iree::compiler::Codegen::Common::TransformExtensions::CommonExtensions
    iree::compiler::Codegen::Dialect::GPU::ExternalInterfaces::ExternalModels
    iree::compiler::Codegen::Dialect::GPU::TransformExtensions::IREEGPUExtensions
    iree::compiler::Codegen::Dialect::Map::ExternalInterfaces::ExternalModels
    iree::compiler::Codegen::Dialect::PCF::ExternalInterfaces::ExternalModels
    iree::compiler::Codegen::ExternalInterfaces::ExternalModels
    iree::compiler::Codegen::LLVMCPU::TransformExtensions::LLVMCPUExtensions
    iree::compiler::Codegen::LLVMGPU
    iree::compiler::Codegen::LLVMGPU::TransformExtensions::LLVMGPUExtensions
    iree::compiler::Dialect::LinalgExt::TransformExtensions::LinalgExtExtensions
  PUBLIC
)

iree_cc_library(
  NAME
    BufferizationInterfaces
  HDRS
    "BufferizationInterfaces.h"
  SRCS
    "BufferizationInterfaces.cpp"
  DEPS
    MLIRAMDGPUDialect
    MLIRArithTransforms
    MLIRBufferizationDialect
    MLIRBufferizationTransforms
    MLIRFuncTransforms
    MLIRIR
    MLIRLinalgTransforms
    MLIRMemRefDialect
    MLIRSCFTransforms
    MLIRSubsetOpInterface
    MLIRSupport
    MLIRTensorDialect
    MLIRTensorTransforms
    MLIRVectorTransforms
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Codegen::Dialect::GPU::IR::IREEGPUDialect
    iree::compiler::Codegen::Dialect::GPU::Transforms::BufferizationInterfaces
    iree::compiler::Codegen::Dialect::VectorExt::IR::IREEVectorExtDialect
    iree::compiler::Codegen::Dialect::VectorExt::Transforms::VectorExtTransforms
    iree::compiler::Codegen::Utils
    iree::compiler::Dialect::HAL::IR
    iree::compiler::Dialect::LinalgExt::IR
    iree::compiler::Dialect::TensorExt::IR
  PUBLIC
)

iree_cc_library(
  NAME
    HoistableRegionOpInterface
  HDRS
    "HoistableRegionOpInterface.h"
  TEXTUAL_HDRS
    "HoistableRegionOpInterface.cpp.inc"
    "HoistableRegionOpInterface.h.inc"
  SRCS
    "HoistableRegionOpInterface.cpp"
  DEPS
    ::HoistableRegionOpInterfaceGen
    MLIRIR
  PUBLIC
)

iree_tablegen_library(
  NAME
    HoistableRegionOpInterfaceGen
  TD_FILE
    "HoistableRegionOpInterface.td"
  OUTS
    --gen-op-interface-decls HoistableRegionOpInterface.h.inc
    --gen-op-interface-defs HoistableRegionOpInterface.cpp.inc
)

iree_cc_library(
  NAME
    UKernelOpInterface
  HDRS
    "UKernelOpInterface.h"
  TEXTUAL_HDRS
    "UKernelOpInterface.cpp.inc"
    "UKernelOpInterface.h.inc"
  SRCS
    "UKernelOpInterface.cpp"
  DEPS
    ::UKernelOpInterfaceGen
    MLIRFunctionInterfaces
    MLIRIR
  PUBLIC
)

iree_tablegen_library(
  NAME
    UKernelOpInterfaceGen
  TD_FILE
    "UKernelOpInterface.td"
  OUTS
    --gen-op-interface-decls UKernelOpInterface.h.inc
    --gen-op-interface-defs UKernelOpInterface.cpp.inc
)

iree_tablegen_library(
  NAME
    VectorizableOpInterfaceGen
  TD_FILE
    "VectorizableOpInterface.td"
  OUTS
    --gen-op-interface-decls VectorizableOpInterface.h.inc
    --gen-op-interface-defs VectorizableOpInterface.cpp.inc
)

iree_cc_library(
  NAME
    VectorizableOpInterface
  HDRS
    "VectorizableOpInterface.h"
  TEXTUAL_HDRS
    "VectorizableOpInterface.cpp.inc"
    "VectorizableOpInterface.h.inc"
  SRCS
    "VectorizableOpInterface.cpp"
  DEPS
    ::VectorizableOpInterfaceGen
    LLVMSupport
    MLIRAffineDialect
    MLIRAffineUtils
    MLIRAnalysis
    MLIRArithDialect
    MLIRArithUtils
    MLIRIR
    MLIRLinalgDialect
    MLIRLinalgStructuredOpsIncGenLib
    MLIRLinalgTransforms
    MLIRSupport
    MLIRTensorDialect
    MLIRUBDialect
    MLIRVectorDialect
    MLIRVectorUtils
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Codegen::Dialect::VectorExt::IR::IREEVectorExtDialect
    iree::compiler::Codegen::Utils
    iree::compiler::Dialect::LinalgExt::IR
    iree::compiler::Dialect::LinalgExt::Utils
    iree::compiler::Utils
  PUBLIC
)

iree_cc_library(
  NAME
    PartitionableLoopsInterface
  HDRS
    "PartitionableLoopsInterface.h"
  TEXTUAL_HDRS
    "PartitionableLoopsInterface.cpp.inc"
    "PartitionableLoopsInterface.h.inc"
  SRCS
    "PartitionableLoopsInterface.cpp"
  DEPS
    ::PartitionableLoopsInterfaceGen
    LLVMSupport
    MLIRIR
    MLIRLinalgDialect
    MLIRLinalgStructuredOpsIncGenLib
    MLIRSupport
    MLIRTensorDialect
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Dialect::LinalgExt::IR
  PUBLIC
)

iree_tablegen_library(
  NAME
    PartitionableLoopsInterfaceGen
  TD_FILE
    "PartitionableLoopsInterface.td"
  OUTS
    --gen-op-interface-decls PartitionableLoopsInterface.h.inc
    --gen-op-interface-defs PartitionableLoopsInterface.cpp.inc
)

iree_cc_library(
  NAME
    ProcessorOpInterfaces
  HDRS
    "ProcessorOpInterfaces.h"
  TEXTUAL_HDRS
    "ProcessorOpInterfaces.cpp.inc"
    "ProcessorOpInterfaces.h.inc"
  SRCS
    "ProcessorOpInterfaces.cpp"
  DEPS
    ::ProcessorOpInterfaceGen
    MLIRGPUDialect
    MLIRIR
    iree::compiler::Dialect::HAL::IR
  PUBLIC
)

iree_tablegen_library(
  NAME
    ProcessorOpInterfaceGen
  TD_FILE
    "ProcessorOpInterfaces.td"
  OUTS
    --gen-op-interface-decls ProcessorOpInterfaces.h.inc
    --gen-op-interface-defs ProcessorOpInterfaces.cpp.inc
)

iree_cc_library(
  NAME
    TensorMaskingOpInterface
  HDRS
    "TensorMaskingOpInterface.h"
  TEXTUAL_HDRS
    "TensorMaskingOpInterface.cpp.inc"
    "TensorMaskingOpInterface.h.inc"
  SRCS
    "TensorMaskingOpInterface.cpp"
  DEPS
    ::TensorMaskingOpInterfaceGen
    MLIRAnalysis
    MLIRArithDialect
    MLIRFunctionInterfaces
    MLIRIR
    MLIRLinalgDialect
    MLIRLinalgTransforms
    MLIRUBDialect
    iree::compiler::Dialect::LinalgExt::IR
  PUBLIC
)

iree_tablegen_library(
  NAME
    TensorMaskingOpInterfaceGen
  TD_FILE
    "TensorMaskingOpInterface.td"
  OUTS
    --gen-op-interface-decls TensorMaskingOpInterface.h.inc
    --gen-op-interface-defs TensorMaskingOpInterface.cpp.inc
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
