################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/Preprocessing/Common/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_tablegen_library(
  NAME
    PassesIncGen
  TD_FILE
    "Passes.td"
  OUTS
    --gen-pass-decls Passes.h.inc
)

iree_cc_library(
  NAME
    Transforms
  HDRS
    "Passes.h"
    "Passes.h.inc"
  SRCS
    "ApplyPDLPatterns.cpp"
    "ConvertConv2DToImg2Col.cpp"
    "ConvertConvToChannelsLast.cpp"
    "FoldAttentionWithTranspose.cpp"
    "GeneralizeLinalgMatMul.cpp"
    "InterpreterPass.cpp"
    "MakeSingleDispatchForFunction.cpp"
    "PadLinalgOps.cpp"
    "PadToIntrinsics.cpp"
    "Passes.cpp"
    "TransposeMatmul.cpp"
  DEPS
    ::PassesIncGen
    LLVMSupport
    MLIRAffineDialect
    MLIRArithDialect
    MLIRFuncDialect
    MLIRFunctionInterfaces
    MLIRIR
    MLIRLinalgDialect
    MLIRLinalgTransforms
    MLIRMemRefDialect
    MLIRPDLDialect
    MLIRPDLInterpDialect
    MLIRParser
    MLIRPass
    MLIRSupport
    MLIRTensorDialect
    MLIRTensorUtils
    MLIRTransformDialect
    MLIRTransformDialectTransforms
    MLIRTransformUtils
    MLIRTransforms
    iree::compiler::Codegen::Common::GPU::GPUHeuristics
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Codegen::Dialect::GPU::IR::IREEGPUDialect
    iree::compiler::Codegen::Utils
    iree::compiler::Dialect::Flow::IR
    iree::compiler::Dialect::Flow::Transforms
    iree::compiler::Dialect::HAL::Analysis
    iree::compiler::Dialect::HAL::IR
    iree::compiler::Dialect::LinalgExt::IR
    iree::compiler::Dialect::Stream::Analysis
    iree::compiler::Dialect::Stream::IR
    iree::compiler::Dialect::Util::IR
  PUBLIC
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
