| ################################################################################ |
| # Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from # |
| # iree/compiler/InputConversion/TOSA/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_tablegen_library( |
| NAME |
| PassesIncGen |
| TD_FILE |
| "Passes.td" |
| OUTS |
| -gen-pass-decls Passes.h.inc |
| ) |
| |
| iree_cc_library( |
| NAME |
| PassHeaders |
| HDRS |
| "PassDetail.h" |
| "Passes.h" |
| "Passes.h.inc" |
| DEPS |
| ::PassesIncGen |
| MLIRPass |
| MLIRTransforms |
| PUBLIC |
| ) |
| |
| iree_cc_library( |
| NAME |
| TOSA |
| HDRS |
| "Passes.h" |
| SRCS |
| "Passes.cpp" |
| "VerifyCompilerTOSAInputLegality.cpp" |
| DEPS |
| ::PassHeaders |
| ::PassesIncGen |
| MLIRPass |
| MLIRSCFToControlFlow |
| MLIRTosa |
| MLIRTosaToArith |
| MLIRTosaToLinalg |
| MLIRTosaToSCF |
| MLIRTosaToTensor |
| MLIRTransforms |
| iree::compiler::Dialect::Flow::Transforms |
| iree::compiler::InputConversion::Common |
| PUBLIC |
| ) |
| |
| ### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ### |
| # TODO: For some reason, these dependencies are not being added automatically. |
| add_dependencies( |
| iree_compiler_InputConversion_TOSA_PassHeaders |
| iree_compiler_InputConversion_TOSA_PassesIncGen |
| ) |