################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/Codegen/Utils/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
    Utils
  HDRS
    "CPUUtils.h"
    "CodegenPipelineOptions.h"
    "EncodingUtils.h"
    "GPUUtils.h"
    "LinalgOpInfo.h"
    "LinkingUtils.h"
    "MarkerUtils.h"
    "SliceUtils.h"
    "Utils.h"
  SRCS
    "CPUUtils.cpp"
    "CodegenPipelineOptions.cpp"
    "EncodingUtils.cpp"
    "GPUUtils.cpp"
    "LinalgOpInfo.cpp"
    "LinkingUtils.cpp"
    "MarkerUtils.cpp"
    "SliceUtils.cpp"
    "Utils.cpp"
  DEPS
    LLVMSupport
    LLVMTargetParser
    MLIRAMDGPUDialect
    MLIRAMDGPUUtils
    MLIRAffineDialect
    MLIRAnalysis
    MLIRArithDialect
    MLIRArithUtils
    MLIRDestinationStyleOpInterface
    MLIRFuncDialect
    MLIRFunctionInterfaces
    MLIRGPUDialect
    MLIRIR
    MLIRIndexingMapOpInterface
    MLIRLinalgDialect
    MLIRLinalgInterfacesIncGenLib
    MLIRLinalgTransforms
    MLIRLinalgUtils
    MLIRMemRefDialect
    MLIRMemRefTransforms
    MLIRSCFDialect
    MLIRSCFTransforms
    MLIRSideEffectInterfaces
    MLIRSubsetOpInterface
    MLIRSupport
    MLIRTensorDialect
    MLIRTilingInterface
    MLIRTransformUtils
    MLIRValueBoundsOpInterface
    MLIRVectorDialect
    MLIRVectorTransforms
    MLIRViewLikeInterface
    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::GPU::TargetUtils::KnownTargets
    iree::compiler::Codegen::Interfaces::PartitionableLoopsInterface
    iree::compiler::Codegen::Interfaces::ProcessorOpInterfaces
    iree::compiler::Codegen::Interfaces::UKernelOpInterface
    iree::compiler::Dialect::Encoding::IR
    iree::compiler::Dialect::Encoding::Utils
    iree::compiler::Dialect::HAL::IR
    iree::compiler::Dialect::LinalgExt::IR
    iree::compiler::Dialect::LinalgExt::Transforms
    iree::compiler::Dialect::TensorExt::IR
    iree::compiler::Utils
  PUBLIC
)

iree_cc_library(
  NAME
    VectorOpUtils
  HDRS
    "VectorOpUtils.h"
  SRCS
    "VectorOpUtils.cpp"
  DEPS
    LLVMSupport
    MLIRIR
    MLIRLinalgDialect
    MLIRLinalgInterfacesIncGenLib
    MLIRSupport
    MLIRVectorDialect
  PUBLIC
)

iree_cc_library(
  NAME
    CodegenOptions
  HDRS
    "CodegenOptions.h"
  SRCS
    "CodegenOptions.cpp"
  DEPS
    LLVMSupport
    iree::compiler::Utils
  PUBLIC
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
