File tree 1 file changed +58
-0
lines changed
utils/bazel/llvm-project-overlay/mlir
1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -14262,6 +14262,64 @@ cc_binary(
14262
14262
],
14263
14263
)
14264
14264
14265
+ cc_library (
14266
+ name = "MlirQueryUtils" ,
14267
+ srcs = glob (
14268
+ [
14269
+ "lib/Query/Matcher/*.cpp" ,
14270
+ "lib/Query/Matcher/*.h" ,
14271
+ "lib/Query/*.cpp" ,
14272
+ "lib/Query/*.h" ,
14273
+ ],
14274
+ ),
14275
+ hdrs = glob (
14276
+ [
14277
+ "include/mlir/Query/Matcher/*.h" ,
14278
+ "include/mlir/Query/*.h" ,
14279
+ ],
14280
+ ),
14281
+ includes = ["include" ],
14282
+ deps = [
14283
+ ":IR" ,
14284
+ ":Reducer" ,
14285
+ ":Rewrite" ,
14286
+ ":FuncDialect" ,
14287
+ "//llvm:LineEditor" ,
14288
+ "//llvm:Support" ,
14289
+ ],
14290
+ )
14291
+
14292
+ cc_library (
14293
+ name = "MlirQueryLib" ,
14294
+ srcs = ["lib/Tools/mlir-query/MlirQueryMain.cpp" ],
14295
+ hdrs = ["include/mlir/Tools/mlir-query/MlirQueryMain.h" ],
14296
+ includes = ["include" ],
14297
+ deps = [
14298
+ ":IR" ,
14299
+ ":MlirQueryUtils" ,
14300
+ ":Parser" ,
14301
+ ":Support" ,
14302
+ "//llvm:LineEditor" ,
14303
+ "//llvm:Support" ,
14304
+ ],
14305
+ )
14306
+
14307
+ cc_binary (
14308
+ name = "mlir-query" ,
14309
+ srcs = ["tools/mlir-query/mlir-query.cpp" ],
14310
+ includes = ["include" ],
14311
+ local_defines = ["MLIR_INCLUDE_TESTS" ],
14312
+ stamp = 0 ,
14313
+ deps = [
14314
+ ":AllPassesAndDialects" ,
14315
+ ":MlirQueryLib" ,
14316
+ ":MlirQueryUtils" ,
14317
+ ":IR" ,
14318
+ "//llvm:Support" ,
14319
+ "//mlir/test:TestDialect" ,
14320
+ ],
14321
+ )
14322
+
14265
14323
cc_library (
14266
14324
name = "PDLLODS" ,
14267
14325
srcs = glob (
You can’t perform that action at this time.
0 commit comments