":MemRefTransforms",
":NVVMDialect",
":Pass",
- ":SerializeToCubin",
":SparseTensorDialect",
":SparseTensorTransforms",
":TensorTransforms",
":Transforms",
":VectorToLLVM",
":VectorTransforms",
- ],
+ ] + if_cuda_available([
+ ":SerializeToCubin",
+ ]),
)
##---------------------------------------------------------------------------##
":SCFPassIncGen",
":Support",
":TensorDialect",
+ ":ValueBoundsOpInterface",
":ViewLikeInterface",
"//llvm:Support",
],
":TensorDialect",
":TensorUtils",
":TilingInterface",
+ ":ValueBoundsOpInterface",
"//llvm:Support",
],
)
":LLVMDialect",
":MathDialect",
":Pass",
+ ":SCFDialect",
":Transforms",
":VectorDialect",
":VectorUtils",
)
cc_library(
+ name = "PluginsLib",
+ srcs = [
+ "lib/Tools/Plugins/DialectPlugin.cpp",
+ "lib/Tools/Plugins/PassPlugin.cpp",
+ ],
+ hdrs = [
+ "include/mlir/Tools/Plugins/DialectPlugin.h",
+ "include/mlir/Tools/Plugins/PassPlugin.h",
+ ],
+ includes = ["include"],
+ deps = [
+ ":IR",
+ ":Pass",
+ ":Support",
+ "//llvm:Support",
+ ],
+)
+
+cc_library(
name = "MlirOptLib",
srcs = [
"include/mlir/Tools/ParseUtilities.h",
":Observers",
":Parser",
":Pass",
+ ":PluginsLib",
":Support",
"//llvm:Support",
],
":Support",
":TensorDialect",
":TilingInterface",
+ ":ValueBoundsOpInterface",
":ViewLikeInterface",
"//llvm:Support",
],
deps = [
":AffineAnalysis",
":AffineDialect",
+ ":AffineTransforms",
":AffineUtils",
":Analysis",
":ArithDialect",
":TilingInterface",
":TransformUtils",
":Transforms",
+ ":ValueBoundsOpInterface",
":VectorDialect",
":VectorToSCF",
":VectorTransforms",