blob: ae0370cb59a98a269f2574b7fbe24d2447486c60 [file] [log] [blame]
# Copyright 2023 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
load("//build_tools/bazel:build_defs.oss.bzl", "iree_compiler_cc_library")
package(
default_visibility = ["//visibility:public"],
features = ["layering_check"],
licenses = ["notice"], # Apache 2.0
)
iree_compiler_cc_library(
name = "ExternalModels",
srcs = [
"FlowExternalModels.cpp",
"Interfaces.cpp",
"LinalgExtExternalModels.cpp",
"StreamExternalModels.cpp",
"UtilExternalModels.cpp",
],
hdrs = [
"FlowExternalModels.h",
"Interfaces.h",
"LinalgExtExternalModels.h",
"StreamExternalModels.h",
"UtilExternalModels.h",
],
deps = [
"//compiler/src/iree/compiler/Codegen/Dialect/GPU/IR:IREEGPUDialect",
"//compiler/src/iree/compiler/Dialect/Encoding/IR",
"//compiler/src/iree/compiler/Dialect/Flow/IR",
"//compiler/src/iree/compiler/Dialect/HAL/IR",
"//compiler/src/iree/compiler/Dialect/LinalgExt/IR",
"//compiler/src/iree/compiler/Dialect/Stream/IR",
"//compiler/src/iree/compiler/Dialect/Util/IR",
"@llvm-project//mlir:ArithDialect",
"@llvm-project//mlir:GPUDialect",
"@llvm-project//mlir:IR",
"@llvm-project//mlir:LinalgDialect",
"@llvm-project//mlir:LinalgOpsIncGen",
"@llvm-project//mlir:LinalgStructuredOpsIncGen",
"@llvm-project//mlir:MLProgramDialect",
"@llvm-project//mlir:TensorDialect",
"@llvm-project//mlir:ValueBoundsOpInterface",
],
)