blob: d46b977c62dea6b0c8623b3d3da8e902c5ca0e3b [file] [log] [blame]
################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from #
# compiler/src/iree/compiler/Utils/BUILD #
# #
# 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
"ConversionUtils.h"
"CustomKernelsTargetInfo.h"
"FlatbufferUtils.h"
"GraphUtils.h"
"IndexSet.h"
"ModuleUtils.h"
"OptionUtils.h"
"PassUtils.h"
"PatternUtils.h"
"StringUtils.h"
"TracingUtils.h"
SRCS
"ConversionUtils.cpp"
"CustomKernelsTargetInfo.cpp"
"FlatbufferUtils.cpp"
"GraphUtils.cpp"
"ModuleUtils.cpp"
"OptionUtils.cpp"
"PassUtils.cpp"
"StringUtils.cpp"
"TracingUtils.cpp"
DEPS
LLVMSupport
MLIRArithmetic
MLIRFunc
MLIRIR
MLIRParser
MLIRPass
MLIRSupport
MLIRTransformUtils
MLIRTransforms
iree::base::internal::flatcc::building
iree::base::internal::flatcc::debugging
iree::base::internal::flatcc::parsing
iree::base::tracing
iree::compiler::Dialect::Util::IR
PUBLIC
)
### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
if(IREE_ENABLE_COMPILER_TRACING)
target_compile_definitions(iree_compiler_Utils_Utils
PUBLIC
"IREE_ENABLE_COMPILER_TRACING=1"
)
endif()