################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/Dialect/Util/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
    "Passes.h"
    "Passes.h.inc"
    "Patterns.h"
  SRCS
    "AnnotateOpOrdinals.cpp"
    "ApplyPatterns.cpp"
    "CombineInitializers.cpp"
    "DropCompilerHints.cpp"
    "DumpModule.cpp"
    "FixedPointIterator.cpp"
    "FoldGlobals.cpp"
    "FuseGlobals.cpp"
    "HoistIntoGlobals.cpp"
    "IPO.cpp"
    "ImportResources.cpp"
    "OptimizeIntArithmetic.cpp"
    "Passes.cpp"
    "Patterns.cpp"
    "PropagateSubranges.cpp"
    "SimplifyGlobalAccesses.cpp"
    "StripAndSplatConstants.cpp"
    "StripDebugOps.cpp"
    "TestConversion.cpp"
    "TestFloatRangeAnalysis.cpp"
  DEPS
    ::PassesIncGen
    LLVMSupport
    MLIRAffineDialect
    MLIRAffineTransforms
    MLIRAffineUtils
    MLIRAnalysis
    MLIRArithDialect
    MLIRArithTransforms
    MLIRBytecodeWriter
    MLIRControlFlowDialect
    MLIRFuncDialect
    MLIRFunctionInterfaces
    MLIRIR
    MLIRLinalgDialect
    MLIRMathDialect
    MLIRMemRefDialect
    MLIRPass
    MLIRSCFDialect
    MLIRSupport
    MLIRTransformUtils
    MLIRTransforms
    MLIRVectorDialect
    iree::compiler::Dialect::Util::Analysis
    iree::compiler::Dialect::Util::Analysis::Attributes
    iree::compiler::Dialect::Util::Analysis::Constant
    iree::compiler::Dialect::Util::Analysis::DFX
    iree::compiler::Dialect::Util::Conversion
    iree::compiler::Dialect::Util::Conversion::MemRefToUtil
    iree::compiler::Dialect::Util::IR
    iree::compiler::Utils
  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 ###
