File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
utils/bazel/llvm-project-overlay/mlir/python Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -1112,6 +1112,53 @@ filegroup(
1112
1112
],
1113
1113
)
1114
1114
1115
+ ##---------------------------------------------------------------------------##
1116
+ # SMT dialect.
1117
+ ##---------------------------------------------------------------------------##
1118
+
1119
+ td_library (
1120
+ name = "SMTOpsPyTdFiles" ,
1121
+ srcs = [],
1122
+ includes = ["../include" ],
1123
+ deps = [
1124
+ "//mlir:SMTTdFiles" ,
1125
+ "//mlir:OpBaseTdFiles" ,
1126
+ ],
1127
+ )
1128
+
1129
+ gentbl_filegroup (
1130
+ name = "SMTOpsPyGen" ,
1131
+ tbl_outs = [
1132
+ (
1133
+ [
1134
+ "-gen-python-enum-bindings" ,
1135
+ "-bind-dialect=smt" ,
1136
+ ],
1137
+ "mlir/dialects/_smt_enum_gen.py" ,
1138
+ ),
1139
+ (
1140
+ [
1141
+ "-gen-python-op-bindings" ,
1142
+ "-bind-dialect=smt" ,
1143
+ ],
1144
+ "mlir/dialects/_smt_ops_gen.py" ,
1145
+ ),
1146
+ ],
1147
+ tblgen = "//mlir:mlir-tblgen" ,
1148
+ td_file = "mlir/dialects/SMTOps.td" ,
1149
+ deps = [
1150
+ ":SMTOpsPyTdFiles" ,
1151
+ ],
1152
+ )
1153
+
1154
+ filegroup (
1155
+ name = "SMTOpsPyFiles" ,
1156
+ srcs = [
1157
+ "mlir/dialects/smt.py" ,
1158
+ ":SMTOpsPyGen" ,
1159
+ ],
1160
+ )
1161
+
1115
1162
##---------------------------------------------------------------------------##
1116
1163
# SparseTensor dialect.
1117
1164
##---------------------------------------------------------------------------##
You can’t perform that action at this time.
0 commit comments