| # Copyright 2020 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 |
| |
| package( |
| default_visibility = ["//visibility:public"], |
| features = ["layering_check"], |
| licenses = ["notice"], # Apache 2.0 |
| ) |
| |
| cc_library( |
| name = "StandardToHAL", |
| srcs = [ |
| "ConvertShapeOps.cpp", |
| "ConvertStandardToHAL.cpp", |
| "ConvertStructuralOps.cpp", |
| ], |
| hdrs = [ |
| "ConvertStandardToHAL.h", |
| ], |
| deps = [ |
| "//iree/compiler/Dialect/HAL/Conversion", |
| "//iree/compiler/Dialect/HAL/IR", |
| "//iree/compiler/Dialect/HAL/IR:HALDialect", |
| "//iree/compiler/Dialect/HAL/Target", |
| "//iree/compiler/Dialect/Util/Conversion", |
| "@llvm-project//llvm:Support", |
| "@llvm-project//mlir:IR", |
| "@llvm-project//mlir:Pass", |
| "@llvm-project//mlir:SCFDialect", |
| "@llvm-project//mlir:Shape", |
| "@llvm-project//mlir:StandardOps", |
| "@llvm-project//mlir:TensorDialect", |
| "@llvm-project//mlir:Transforms", |
| ], |
| ) |