@@ -902,8 +902,8 @@ cc_library(
902
902
textual_hdrs = glob (MLIR_BINDINGS_PYTHON_HEADERS ),
903
903
deps = [
904
904
":CAPIIRHeaders" ,
905
- "@pybind11" ,
906
905
"@local_config_python//:python_headers" ,
906
+ "@pybind11" ,
907
907
],
908
908
)
909
909
@@ -920,8 +920,8 @@ cc_library(
920
920
textual_hdrs = glob (MLIR_BINDINGS_PYTHON_HEADERS ),
921
921
deps = [
922
922
":CAPIIR" ,
923
- "@pybind11" ,
924
923
"@local_config_python//:python_headers" ,
924
+ "@pybind11" ,
925
925
],
926
926
)
927
927
@@ -963,8 +963,8 @@ cc_library(
963
963
":MLIRBindingsPythonHeadersAndDeps" ,
964
964
":Support" ,
965
965
"//llvm:Support" ,
966
- "@pybind11" ,
967
966
"@local_config_python//:python_headers" ,
967
+ "@pybind11" ,
968
968
],
969
969
)
970
970
@@ -983,8 +983,8 @@ cc_library(
983
983
":CAPIIRHeaders" ,
984
984
":MLIRBindingsPythonHeaders" ,
985
985
"//llvm:Support" ,
986
- "@pybind11" ,
987
986
"@local_config_python//:python_headers" ,
987
+ "@pybind11" ,
988
988
],
989
989
)
990
990
@@ -1094,8 +1094,8 @@ cc_binary(
1094
1094
deps = [
1095
1095
":CAPIExecutionEngine" ,
1096
1096
":MLIRBindingsPythonHeadersAndDeps" ,
1097
- "@pybind11" ,
1098
1097
"@local_config_python//:python_headers" ,
1098
+ "@pybind11" ,
1099
1099
],
1100
1100
)
1101
1101
@@ -1114,8 +1114,8 @@ cc_binary(
1114
1114
deps = [
1115
1115
":CAPILinalg" ,
1116
1116
":MLIRBindingsPythonHeadersAndDeps" ,
1117
- "@pybind11" ,
1118
1117
"@local_config_python//:python_headers" ,
1118
+ "@pybind11" ,
1119
1119
],
1120
1120
)
1121
1121
@@ -6886,8 +6886,8 @@ cc_library(
6886
6886
],
6887
6887
deps = [
6888
6888
":ConversionPassIncGen" ,
6889
- ":FuncDialect" ,
6890
6889
":EmitCDialect" ,
6890
+ ":FuncDialect" ,
6891
6891
":IR" ,
6892
6892
":Pass" ,
6893
6893
":Support" ,
@@ -9039,6 +9039,7 @@ cc_library(
9039
9039
":NVVMDialect" ,
9040
9040
":NVVMTarget" ,
9041
9041
":OpenACCDialect" ,
9042
+ ":OpenACCTransforms" ,
9042
9043
":OpenMPDialect" ,
9043
9044
":OpenMPToLLVM" ,
9044
9045
":PDLDialect" ,
@@ -9812,6 +9813,42 @@ cc_library(
9812
9813
],
9813
9814
)
9814
9815
9816
+ gentbl_cc_library (
9817
+ name = "OpenACCPassIncGen" ,
9818
+ tbl_outs = [
9819
+ (
9820
+ [
9821
+ "-gen-pass-decls" ,
9822
+ "-name=OpenACC" ,
9823
+ ],
9824
+ "include/mlir/Dialect/OpenACC/Transforms/Passes.h.inc" ,
9825
+ ),
9826
+ ],
9827
+ tblgen = ":mlir-tblgen" ,
9828
+ td_file = "include/mlir/Dialect/OpenACC/Transforms/Passes.td" ,
9829
+ deps = [":PassBaseTdFiles" ],
9830
+ )
9831
+
9832
+ cc_library (
9833
+ name = "OpenACCTransforms" ,
9834
+ srcs = glob (
9835
+ [
9836
+ "lib/Dialect/OpenACC/Transforms/*.cpp" ,
9837
+ "lib/Dialect/OpenACC/Transforms/*.h" ,
9838
+ ],
9839
+ ),
9840
+ hdrs = glob (["include/mlir/Dialect/OpenACC/Transforms/*.h" ]),
9841
+ includes = ["include" ],
9842
+ deps = [
9843
+ ":FuncDialect" ,
9844
+ ":LLVMIRTransforms" ,
9845
+ ":OpenACCDialect" ,
9846
+ ":OpenACCPassIncGen" ,
9847
+ ":Pass" ,
9848
+ ":TransformUtils" ,
9849
+ ],
9850
+ )
9851
+
9815
9852
## OpenMP dialect
9816
9853
9817
9854
# TODO(gcmn): This is sticking td files in a cc_library
0 commit comments