| # 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 |
| |
| package( |
| default_visibility = ["//visibility:public"], |
| features = ["layering_check"], |
| licenses = ["notice"], # Apache 2.0 |
| ) |
| |
| cc_library( |
| name = "Transforms", |
| srcs = [ |
| "Conversion.cpp", |
| "Passes.cpp", |
| ], |
| hdrs = [ |
| "Passes.h", |
| ], |
| deps = [ |
| "//iree/compiler/Codegen:PassHeaders", |
| "//iree/compiler/Codegen/Common", |
| "//iree/compiler/Codegen/LLVMCPU", |
| "//iree/compiler/Dialect/HAL/IR:HALDialect", |
| "//iree/compiler/Dialect/HAL/Transforms", |
| "//iree/compiler/Dialect/Modules/VMVX/Conversion/HALToVMVX", |
| "//iree/compiler/Dialect/Modules/VMVX/Conversion/StandardToVMVX", |
| "//iree/compiler/Dialect/Modules/VMVX/IR", |
| "//iree/compiler/Dialect/Modules/VMVX/IR:VMVXDialect", |
| "//iree/compiler/Dialect/Util/IR", |
| "//iree/compiler/Dialect/Util/Transforms", |
| "//iree/compiler/Dialect/VM/IR", |
| "//llvm-external-projects/iree-dialects:IREELinalgExtTransforms", |
| "@llvm-project//llvm:Support", |
| "@llvm-project//mlir:Affine", |
| "@llvm-project//mlir:AffineToStandardTransforms", |
| "@llvm-project//mlir:AffineTransforms", |
| "@llvm-project//mlir:ArithmeticTransforms", |
| "@llvm-project//mlir:CFGTransforms", |
| "@llvm-project//mlir:IR", |
| "@llvm-project//mlir:LinalgInterfaces", |
| "@llvm-project//mlir:LinalgOps", |
| "@llvm-project//mlir:LinalgTransforms", |
| "@llvm-project//mlir:MathDialect", |
| "@llvm-project//mlir:MathTransforms", |
| "@llvm-project//mlir:MemRefDialect", |
| "@llvm-project//mlir:MemRefTransforms", |
| "@llvm-project//mlir:Pass", |
| "@llvm-project//mlir:SCFDialect", |
| "@llvm-project//mlir:StandardOps", |
| "@llvm-project//mlir:StandardOpsTransforms", |
| "@llvm-project//mlir:Support", |
| "@llvm-project//mlir:TensorDialect", |
| "@llvm-project//mlir:TosaToStandard", |
| "@llvm-project//mlir:Transforms", |
| "@llvm-project//mlir:VectorOps", |
| "@llvm-project//mlir:VectorToSCF", |
| ], |
| ) |