################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/Codegen/SPIRV/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_cc_library(
  NAME
    SPIRV
  HDRS
    "KernelConfig.h"
    "Passes.h"
    "Utils.h"
  SRCS
    "AMDConfig.cpp"
    "AdrenoConfig.cpp"
    "AppleConfig.cpp"
    "ConvertToSPIRVPass.cpp"
    "KernelConfig.cpp"
    "MaliConfig.cpp"
    "NVIDIAConfig.cpp"
    "Passes.cpp"
    "SPIRVAnnotateWinogradLoops.cpp"
    "SPIRVBreakDownLargeVector.cpp"
    "SPIRVConvertGPUTarget.cpp"
    "SPIRVEmulateI64.cpp"
    "SPIRVEraseStorageBufferStaticShape.cpp"
    "SPIRVFinalVectorLowering.cpp"
    "SPIRVInitialVectorLowering.cpp"
    "SPIRVLinkExecutables.cpp"
    "SPIRVLowerExecutableTargetPass.cpp"
    "SPIRVLowerExecutableUsingTransformDialect.cpp"
    "SPIRVMapMemRefStorageClass.cpp"
    "SPIRVMaterializeExecutableConditions.cpp"
    "SPIRVSelectLoweringStrategy.cpp"
    "SPIRVTileAndDistribute.cpp"
    "SPIRVTileAndPromote.cpp"
    "SPIRVTileAndVectorizeToCooperativeOps.cpp"
    "SPIRVTrimExecutableTargetEnv.cpp"
    "SPIRVVectorToGPUSubgroupMMAOps.cpp"
    "SPIRVVectorizeLoadStore.cpp"
    "Utils.cpp"
    "Verifiers.cpp"
  DEPS
    ::PassHeaders
    ::PassesIncGen
    IREELinalgTransformDialect
    IREELinalgTransformDialectPasses
    LLVMSupport
    MLIRAffineAnalysis
    MLIRAffineDialect
    MLIRAffineToStandard
    MLIRAffineUtils
    MLIRAnalysis
    MLIRArithDialect
    MLIRArithToSPIRV
    MLIRArithTransforms
    MLIRArithUtils
    MLIRBufferizationDialect
    MLIRComplexToSPIRV
    MLIRComplexToStandard
    MLIRControlFlowToSPIRV
    MLIRFuncDialect
    MLIRFuncToSPIRV
    MLIRFuncTransforms
    MLIRFunctionInterfaces
    MLIRGPUDialect
    MLIRGPUToSPIRV
    MLIRGPUTransforms
    MLIRIR
    MLIRLinalgDialect
    MLIRLinalgTransforms
    MLIRLinalgUtils
    MLIRMathToSPIRV
    MLIRMathTransforms
    MLIRMemRefDialect
    MLIRMemRefToSPIRV
    MLIRMemRefTransforms
    MLIRPass
    MLIRSCFDialect
    MLIRSCFToGPU
    MLIRSCFToSPIRV
    MLIRSCFTransforms
    MLIRSCFUtils
    MLIRSPIRVConversion
    MLIRSPIRVDialect
    MLIRSPIRVTransforms
    MLIRSideEffectInterfaces
    MLIRSupport
    MLIRTensorDialect
    MLIRTensorToSPIRV
    MLIRTensorTransforms
    MLIRTosaDialect
    MLIRTosaToArith
    MLIRTransformDialect
    MLIRTransformUtils
    MLIRTransforms
    MLIRVectorDialect
    MLIRVectorInterfaces
    MLIRVectorToGPU
    MLIRVectorToSPIRV
    MLIRVectorTransforms
    iree::compiler::Codegen::Common
    iree::compiler::Codegen::Common::GPU::CommonGPUPasses
    iree::compiler::Codegen::Common::GPU::GPUHeuristics
    iree::compiler::Codegen::Common::TransformDialectInterpreterPass
    iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect
    iree::compiler::Codegen::Dialect::GPU::IR::IREEGPUDialect
    iree::compiler::Codegen::Interfaces::PartitionableLoopsInterface
    iree::compiler::Codegen::Transforms
    iree::compiler::Codegen::Utils
    iree::compiler::Dialect::Flow::IR
    iree::compiler::Dialect::HAL::IR
    iree::compiler::Dialect::HAL::IR::HALDialect
    iree::compiler::Dialect::LinalgExt::IR
    iree::compiler::Dialect::LinalgExt::Transforms
    iree::compiler::Dialect::Util::IR
    iree::compiler::Dialect::Util::Transforms
    iree::compiler::Utils
  PUBLIC
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
