blob: 6386512bd0169e6ed710fbc51bad56e262f64dcb [file]
# Copyright 2019 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 = [
"ApplyPatterns.cpp",
"CombineInitializers.cpp",
"DropCompilerHints.cpp",
"FixedPointIterator.cpp",
"FoldGlobals.cpp",
"FuseGlobals.cpp",
"HoistIntoGlobals.cpp",
"Patterns.cpp",
"SimplifyGlobalAccesses.cpp",
"TestFloatRangeAnalysis.cpp",
],
hdrs = [
"Passes.h",
"Patterns.h",
],
deps = [
"//iree/compiler/Dialect/Util/Analysis",
"//iree/compiler/Dialect/Util/Analysis/Attributes",
"//iree/compiler/Dialect/Util/Analysis/Constant",
"//iree/compiler/Dialect/Util/Analysis/DFX",
"//iree/compiler/Dialect/Util/IR",
"@llvm-project//llvm:Support",
"@llvm-project//mlir:Analysis",
"@llvm-project//mlir:IR",
"@llvm-project//mlir:Pass",
"@llvm-project//mlir:StandardOps",
"@llvm-project//mlir:Support",
"@llvm-project//mlir:Transforms",
],
)