blob: 8e915f2cbc18941d4b49c59fcc8943cdca25b32d [file]
# Copyright 2021 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 = "Analysis",
srcs = [
"BindingLayout.cpp",
"Captures.cpp",
"DeviceAnalysis.cpp",
"DeviceSet.cpp",
],
hdrs = [
"BindingLayout.h",
"Captures.h",
"DeviceAnalysis.h",
"DeviceSet.h",
],
deps = [
"//compiler/src/iree/compiler/Dialect/HAL/Analysis/Attributes",
"//compiler/src/iree/compiler/Dialect/HAL/IR",
"//compiler/src/iree/compiler/Dialect/Stream/IR",
"//compiler/src/iree/compiler/Dialect/Util/Analysis",
"//compiler/src/iree/compiler/Dialect/Util/Analysis/DFX",
"//compiler/src/iree/compiler/Dialect/Util/IR",
"@llvm-project//llvm:Support",
"@llvm-project//mlir:Analysis",
"@llvm-project//mlir:FunctionInterfaces",
"@llvm-project//mlir:IR",
"@llvm-project//mlir:Pass",
"@llvm-project//mlir:SCFDialect",
"@llvm-project//mlir:Support",
],
)