################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/Dialect/TensorExt/Transforms/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
    Transforms
  HDRS
    "Transforms.h"
  SRCS
    "Folders.cpp"
  DEPS
    ::Passes
    LLVMSupport
    MLIRAffineDialect
    MLIRAffineUtils
    MLIRSCFDialect
    MLIRTensorDialect
    MLIRTransformUtils
    MLIRViewLikeInterface
    iree::compiler::Dialect::TensorExt::IR
  PUBLIC
)

iree_cc_library(
  NAME
    Passes
  HDRS
    "Passes.h"
    "Passes.h.inc"
  SRCS
    "Passes.cpp"
    "TestSparseInterfaceMethods.cpp"
  DEPS
    ::PassesIncGen
    MLIRFunctionInterfaces
    MLIRIR
    MLIRPass
    MLIRSCFDialect
    MLIRTransforms
    iree::compiler::Dialect::TensorExt::IR
  PUBLIC
)

iree_tablegen_library(
  NAME
    PassesIncGen
  TD_FILE
    "Passes.td"
  OUTS
    --gen-pass-decls Passes.h.inc
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
