################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from           #
# compiler/src/iree/compiler/ConstEval/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
    MLIRPass
    MLIRTransforms
  PUBLIC
)

iree_cc_library(
  NAME
    ConstEval
  HDRS
    "Passes.h"
  SRCS
    "JitGlobals.cpp"
    "Passes.cpp"
  DEPS
    ::PassHeaders
    ::PassesIncGen
    ::Runtime
    LLVMSupport
    MLIRArithDialect
    MLIRFunctionInterfaces
    MLIRIR
    MLIRPass
    iree::compiler::Dialect::HAL::Target
    iree::compiler::Dialect::Util::Analysis::Constant
    iree::compiler::Dialect::Util::IR
    iree::compiler::Pipelines
    iree::compiler::Utils
  PUBLIC
)

iree_cc_library(
  NAME
    Runtime
  HDRS
    "Runtime.h"
  SRCS
    "Runtime.cpp"
  DEPS
    LLVMSupport
    MLIRIR
    iree::base
    iree::compiler::Dialect::Util::IR
    iree::compiler::Dialect::VM::Target::Bytecode
    iree::hal
    iree::hal::drivers::local_task::registration
    iree::modules::hal
    iree::vm
    iree::vm::bytecode::module
  PUBLIC
)

### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
