Skip to content

Commit e4b9aa6

Browse files
committed
[bazel] Port d31ba52
1 parent 45c5eb1 commit e4b9aa6

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,43 @@ cc_library(
281281
],
282282
)
283283

284+
td_library(
285+
name = "IndexingMapOpInterfaceTdFiles",
286+
srcs = ["include/mlir/Interfaces/IndexingMapOpInterface.td"],
287+
includes = ["include"],
288+
deps = [
289+
":OpBaseTdFiles",
290+
],
291+
)
292+
293+
gentbl_cc_library(
294+
name = "IndexingMapOpInterfaceIncGen",
295+
tbl_outs = {
296+
"include/mlir/Interfaces/IndexingMapOpInterface.h.inc": ["-gen-op-interface-decls"],
297+
"include/mlir/Interfaces/IndexingMapOpInterface.cpp.inc": ["-gen-op-interface-defs"],
298+
},
299+
tblgen = ":mlir-tblgen",
300+
td_file = "include/mlir/Interfaces/IndexingMapOpInterface.td",
301+
deps = [
302+
":IndexingMapOpInterfaceTdFiles",
303+
],
304+
)
305+
306+
cc_library(
307+
name = "IndexingMapOpInterface",
308+
srcs = [
309+
"lib/Interfaces/IndexingMapOpInterface.cpp",
310+
],
311+
hdrs = [
312+
"include/mlir/Interfaces/IndexingMapOpInterface.h",
313+
],
314+
includes = ["include"],
315+
deps = [
316+
":IR",
317+
":IndexingMapOpInterfaceIncGen",
318+
],
319+
)
320+
284321
td_library(
285322
name = "RelayoutOpInterfaceTdFiles",
286323
srcs = ["include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.td"],
@@ -4655,6 +4692,7 @@ cc_library(
46554692
":DestinationStyleOpInterface",
46564693
":DialectUtils",
46574694
":IR",
4695+
":IndexingMapOpInterface",
46584696
":InferTypeOpInterface",
46594697
":InliningUtils",
46604698
":MaskableOpInterface",
@@ -10113,6 +10151,7 @@ td_library(
1011310151
":ControlFlowInterfacesTdFiles",
1011410152
":DestinationStyleOpInterfaceTdFiles",
1011510153
":DialectUtilsTdFiles",
10154+
":IndexingMapOpInterfaceTdFiles",
1011610155
":InferTypeOpInterfaceTdFiles",
1011710156
":LoopLikeInterfaceTdFiles",
1011810157
":OpBaseTdFiles",
@@ -10475,6 +10514,7 @@ cc_library(
1047510514
":DialectUtils",
1047610515
":FunctionInterfaces",
1047710516
":IR",
10517+
":IndexingMapOpInterface",
1047810518
":InferTypeOpInterface",
1047910519
":InliningUtils",
1048010520
":LinalgEnumsIncGen",
@@ -10757,6 +10797,7 @@ td_library(
1075710797
deps = [
1075810798
":ControlFlowInterfacesTdFiles",
1075910799
":DestinationStyleOpInterfaceTdFiles",
10800+
":IndexingMapOpInterfaceTdFiles",
1076010801
":InferTypeOpInterfaceTdFiles",
1076110802
":MaskableOpInterfaceTdFiles",
1076210803
":MaskingOpInterfaceTdFiles",

0 commit comments

Comments
 (0)