################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/DispatchCreation/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
    DispatchCreation
  HDRS
    "FusionUtils.h"
    "Passes.h"
  SRCS
    "BubbleUpExpandShapes.cpp"
    "BubbleUpExtractSlices.cpp"
    "CloneProducersIntoDispatchRegions.cpp"
    "CollapseDimensions.cpp"
    "CollapseReductionDimensions.cpp"
    "ConvertDispatchRegionsToWorkgroups.cpp"
    "ConvertTensorToFlow.cpp"
    "ElementwiseOpFusion.cpp"
    "FoldUnitExtentDims.cpp"
    "FormDispatchRegions.cpp"
    "FormScalarDispatches.cpp"
    "FuseEncodingOpsIntoDispatchRegions.cpp"
    "FuseHorizontalContractions.cpp"
    "FuseMultiUseElementwiseProducer.cpp"
    "FusionPreprocessing.cpp"
    "FusionUtils.cpp"
    "HoistEncodingOps.cpp"
    "MaterializeDefaultWorkgroupCountRegion.cpp"
    "Passes.cpp"
    "SetEncoding.cpp"
    "SinkReshapes.cpp"
    "SplitReduction.cpp"
    "TensorPadToTensorInsertSlice.cpp"
    "TransposeGenericOps.cpp"
  DEPS
    ::PassHeaders
    ::PassesIncGen
    IREEDialectsTransforms
    IREELinalgTransformDialect
    LLVMSupport
    MLIRAffineDialect
    MLIRAffineUtils
    MLIRAnalysis
    MLIRArithDialect
    MLIRArithUtils
    MLIRControlFlowDialect
    MLIRDestinationStyleOpInterface
    MLIRFuncDialect
    MLIRFunctionInterfaces
    MLIRIR
    MLIRLinalgDialect
    MLIRLinalgTransforms
    MLIRLinalgUtils
    MLIRMathDialect
    MLIRMemRefDialect
    MLIRMemRefTransforms
    MLIRPDLDialect
    MLIRPDLInterpDialect
    MLIRPass
    MLIRSCFDialect
    MLIRSCFTransforms
    MLIRSideEffectInterfaces
    MLIRSupport
    MLIRTensorDialect
    MLIRTensorTransforms
    MLIRTensorUtils
    MLIRTilingInterface
    MLIRTransformDialect
    MLIRTransformDialectTransforms
    MLIRTransformUtils
    MLIRTransforms
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Dialect::Encoding::IR
    iree::compiler::Dialect::Flow::Conversion::TensorToFlow
    iree::compiler::Dialect::Flow::IR
    iree::compiler::Dialect::Flow::Transforms
    iree::compiler::Dialect::LinalgExt::IR
    iree::compiler::Dialect::LinalgExt::Transforms
    iree::compiler::Dialect::LinalgExt::Utils
    iree::compiler::Dialect::Stream::IR
    iree::compiler::Dialect::Util::Analysis
    iree::compiler::Dialect::Util::Analysis::Attributes
    iree::compiler::Dialect::Util::Analysis::DFX
    iree::compiler::Dialect::Util::IR
    iree::compiler::Dialect::Util::Transforms
    iree::compiler::Pipelines::Options
    iree::compiler::Utils
  PUBLIC
)

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

iree_cc_library(
  NAME
    PassHeaders
  HDRS
    "Passes.h"
    "Passes.h.inc"
  DEPS
    ::PassesIncGen
    MLIRPass
    MLIRTransformUtils
    MLIRTransforms
  PUBLIC
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
