################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/Codegen/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
    PassHeaders
  HDRS
    "Passes.h"
    "Passes.h.inc"
  DEPS
    ::PassesIncGen
    MLIRLinalgTransforms
    MLIRMemRefDialect
    MLIRPass
    MLIRTransformUtils
    MLIRTransforms
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Dialect::HAL::IR
    iree::compiler::Utils
  PUBLIC
)

iree_tablegen_library(
  NAME
    FoldTensorExtractOpIncGen
  TD_FILE
    "FoldTensorExtractOp.td"
  OUTS
    --gen-rewriters FoldTensorExtractOp.cpp.inc
)

iree_cc_library(
  NAME
    VectorLayoutAnalysis
  HDRS
    "VectorLayoutAnalysis.h"
  SRCS
    "VectorLayoutAnalysis.cpp"
  DEPS
    LLVMSupport
    MLIRAnalysis
    MLIRIR
    MLIRSCFDialect
    MLIRVectorDialect
    iree::compiler::Codegen::Dialect::VectorExt::IR::IREEVectorExtDialect
  PUBLIC
)

iree_cc_library(
  NAME
    Common
  HDRS
    "BufferizationAnalysis.h"
    "EncodingUtils.h"
    "ExtractAddressComputation.h"
    "PassUtils.h"
    "Passes.h"
    "TensorDynamicDimAnalysis.h"
    "TileSizeSelection.h"
    "Transforms.h"
    "UserConfig.h"
  SRCS
    "AddFastMathFlags.cpp"
    "BlockDynamicDimensions.cpp"
    "BubbleUpOrdinalOps.cpp"
    "BufferizationAnalysis.cpp"
    "BufferizeCopyOnlyDispatchesPass.cpp"
    "CleanupBufferAllocViewPass.cpp"
    "ConcretizePadResultShape.cpp"
    "ConfigTrackingCanonicalizer.cpp"
    "ConvertBf16ArithToF32.cpp"
    "ConvertBf16ToUInt16Buffers.cpp"
    "ConvertToDestinationPassingStylePass.cpp"
    "ConvolutionToIGEMM.cpp"
    "DecomposeAffineOpsPass.cpp"
    "DecomposeConvolutionToLowerDimOps.cpp"
    "DecomposeLinalgGeneric.cpp"
    "DecomposePackUnPackOps.cpp"
    "DecomposeSoftmax.cpp"
    "DropVectorUnitDims.cpp"
    "EmulateNarrowType.cpp"
    "EncodingUtils.cpp"
    "EraseDeadAllocAndStores.cpp"
    "EraseHALDescriptorTypeFromMemRef.cpp"
    "ExtractAddressComputation.cpp"
    "FlattenMemRefSubspanPass.cpp"
    "FoldAffineMinInDistributedLoops.cpp"
    "FoldTensorExtractOpPass.cpp"
    "FoldTensorSubsetIntoVectorTransferOps.cpp"
    "ForOpCanonicalizationPass.cpp"
    "FuseTensorPadWithConsumer.cpp"
    "GenericVectorization.cpp"
    "HoistStaticallyBoundAllocations.cpp"
    "HoistUnrolledVectorExtractInsertSlice.cpp"
    "IREEComprehensiveBufferizePass.cpp"
    "IREEExpandStridedMetadata.cpp"
    "IREELoopInvariantCodeMotion.cpp"
    "InstrumentMemoryAccesses.cpp"
    "LinkTuningSpecsPass.cpp"
    "LowerExecutableUsingTransformDialect.cpp"
    "LowerUKernelsToCalls.cpp"
    "MaterializeEncoding.cpp"
    "MaterializeEncodingIntoNop.cpp"
    "MaterializeEncodingPatterns.cpp"
    "MaterializeTuningSpecsPass.cpp"
    "MemrefCopyToLinalg.cpp"
    "NormalizeLoopBounds.cpp"
    "OptimizeTensorInsertExtractSlices.cpp"
    "OptimizeVectorTransferPass.cpp"
    "PadDynamicAlloc.cpp"
    "PassUtils.cpp"
    "Passes.cpp"
    "PolynomialApproximationPass.cpp"
    "PropagateReshapesByExpansion.cpp"
    "ReconcileTranslationInfo.cpp"
    "RematerializeParallelOps.cpp"
    "RemoveSingleIterationLoop.cpp"
    "ReplaceSlowMinMaxOps.cpp"
    "SplitFullPartialTransferPass.cpp"
    "StripCompilationInfoPass.cpp"
    "TensorDynamicDimAnalysis.cpp"
    "TensorToVectorVectorizePad.cpp"
    "TestExecutablePreprocessing.cpp"
    "TestPartitionableLoopsInterface.cpp"
    "TileAndDistributeToWorkgroupsPass.cpp"
    "TileDispatchUsingForall.cpp"
    "TileDispatchUsingInterface.cpp"
    "TileLargeTensors.cpp"
    "TileSizeSelection.cpp"
    "TypePropagationPass.cpp"
    "UnrollAnnotatedLoops.cpp"
    "UserConfig.cpp"
    "VectorizeMemrefCopy.cpp"
    "VerifyWorkgroupDistribution.cpp"
  DEPS
    ::PassHeaders
    ::PassesIncGen
    IREELinalgTransformDialect
    LLVMSupport
    MLIRAffineAnalysis
    MLIRAffineDialect
    MLIRAffineTransforms
    MLIRAffineUtils
    MLIRAnalysis
    MLIRArithDialect
    MLIRArithTransforms
    MLIRArithUtils
    MLIRBufferizationDialect
    MLIRBufferizationTransforms
    MLIRBytecodeWriter
    MLIRDestinationStyleOpInterface
    MLIRFuncDialect
    MLIRFuncTransforms
    MLIRFunctionInterfaces
    MLIRGPUDialect
    MLIRIR
    MLIRLLVMCommonConversion
    MLIRLLVMDialect
    MLIRLinalgDialect
    MLIRLinalgTransforms
    MLIRLinalgUtils
    MLIRLoopLikeInterface
    MLIRMathDialect
    MLIRMathTransforms
    MLIRMemRefDialect
    MLIRMemRefTransforms
    MLIRMemRefUtils
    MLIRParser
    MLIRPass
    MLIRSCFDialect
    MLIRSCFToControlFlow
    MLIRSCFTransforms
    MLIRSCFUtils
    MLIRSideEffectInterfaces
    MLIRSubsetOpInterface
    MLIRSupport
    MLIRTensorDialect
    MLIRTensorTransforms
    MLIRTensorUtils
    MLIRTilingInterface
    MLIRTransformDialect
    MLIRTransformUtils
    MLIRTransforms
    MLIRValueBoundsOpInterface
    MLIRVectorDialect
    MLIRVectorTransforms
    MLIRViewLikeInterface
    iree::compiler::Codegen::Common::FoldTensorExtractOpIncGen
    iree::compiler::Codegen::Dialect::CPU::IR::IREECPUDialect
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Codegen::Dialect::Codegen::Utils
    iree::compiler::Codegen::Dialect::GPU::IR::IREEGPUDialect
    iree::compiler::Codegen::Dialect::VectorExt::IR::IREEVectorExtDialect
    iree::compiler::Codegen::Interfaces::BufferizationInterfaces
    iree::compiler::Codegen::Interfaces::PartitionableLoopsInterface
    iree::compiler::Codegen::Interfaces::UKernelOpInterface
    iree::compiler::Codegen::Transforms
    iree::compiler::Codegen::Utils
    iree::compiler::Dialect::Encoding::IR
    iree::compiler::Dialect::Flow::IR
    iree::compiler::Dialect::HAL::Analysis
    iree::compiler::Dialect::HAL::IR
    iree::compiler::Dialect::LinalgExt::IR
    iree::compiler::Dialect::LinalgExt::Transforms
    iree::compiler::Dialect::Stream::Analysis
    iree::compiler::Dialect::Util::Analysis
    iree::compiler::Dialect::Util::IR
    iree::compiler::Utils
  PUBLIC
)

iree_cc_library(
  NAME
    TransformDialectInterpreterPass
  SRCS
    "CommonDialectRegistration.cpp"
    "MaterializeUserConfigs.cpp"
    "TransformDialectInterpreterPass.cpp"
  DEPS
    ::Common
    ::PassHeaders
    ::PassesIncGen
    IREEDialectsTransforms
    IREELinalgTransformDialect
    LLVMSupport
    MLIRAffineDialect
    MLIRAffineTransformOps
    MLIRAffineUtils
    MLIRAnalysis
    MLIRArithDialect
    MLIRArithTransforms
    MLIRArithUtils
    MLIRArmSMEDialect
    MLIRAsyncDialect
    MLIRBufferizationDialect
    MLIRBufferizationTransformOps
    MLIRBufferizationTransforms
    MLIRFuncDialect
    MLIRFunctionInterfaces
    MLIRGPUDialect
    MLIRGPUTransformOps
    MLIRIR
    MLIRLLVMDialect
    MLIRLinalgDialect
    MLIRLinalgTransformOps
    MLIRLinalgTransforms
    MLIRMemRefTransformOps
    MLIRPDLDialect
    MLIRPDLInterpDialect
    MLIRParser
    MLIRPass
    MLIRRewrite
    MLIRSCFDialect
    MLIRSCFTransformOps
    MLIRSCFTransforms
    MLIRSCFUtils
    MLIRSupport
    MLIRTensorDialect
    MLIRTensorTransformOps
    MLIRTensorTransforms
    MLIRTransformDialect
    MLIRTransformDialectTransforms
    MLIRTransformLoopExtension
    MLIRTransformUtils
    MLIRTransforms
    MLIRVectorDialect
    MLIRVectorTransformOps
    MLIRVectorTransforms
    iree::compiler::Codegen::Common::TransformExtensions::CommonExtensions
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Codegen::Dialect::GPU::IR::IREEGPUDialect
    iree::compiler::Codegen::Dialect::GPU::TransformExtensions::IREEGPUExtensions
    iree::compiler::Codegen::Dialect::VectorExt::IR::IREEVectorExtDialect
    iree::compiler::Codegen::LLVMCPU::TransformExtensions::LLVMCPUExtensions
    iree::compiler::Codegen::LLVMGPU::TransformExtensions::LLVMGPUExtensions
    iree::compiler::Dialect::Encoding::IR
    iree::compiler::Dialect::Flow::IR
    iree::compiler::Dialect::Flow::TransformExtensions::FlowExtensions
    iree::compiler::Dialect::LinalgExt::IR
    iree::compiler::Dialect::LinalgExt::TransformExtensions::LinalgExtExtensions
    iree::compiler::Utils
  PUBLIC
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
