1 # This file is licensed under the Apache License v2.0 with LLVM Exceptions.
2 # See https://llvm.org/LICENSE.txt for license information.
3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 # The MLIR "Multi-Level Intermediate Representation" Compiler Infrastructure
8 load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
9 load("@bazel_skylib//rules:write_file.bzl", "write_file")
14 "mlir_c_api_cc_library",
16 load(":linalggen.bzl", "genlinalg")
17 load(":tblgen.bzl", "gentbl_cc_library", "td_library")
20 default_visibility = ["//visibility:public"],
21 features = ["layering_check"],
29 "utils/textmate/mlir.json",
33 name = "mlir_config_h_gen",
34 out = "include/mlir/Config/mlir-config.h",
36 "#cmakedefine01 MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS": "#define MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS 0",
37 "#cmakedefine MLIR_GREEDY_REWRITE_RANDOMIZER_SEED ${MLIR_GREEDY_REWRITE_RANDOMIZER_SEED}": "/* #undef MLIR_GREEDY_REWRITE_RANDOMIZER_SEED */",
39 template = "include/mlir/Config/mlir-config.h.cmake",
45 "include/mlir/Config/mlir-config.h",
51 srcs = glob(["include/mlir-c/**/*"]), # <== i.e. match the entire tree
54 exports_files(glob(["include/**/*.td"]))
58 name = name + "IncGen",
61 ["-gen-op-interface-decls"],
62 "include/mlir/IR/" + name + ".h.inc",
65 ["-gen-op-interface-defs"],
66 "include/mlir/IR/" + name + ".cpp.inc",
69 tblgen = ":mlir-tblgen",
70 td_file = "include/mlir/IR/" + name + ".td",
71 deps = [":OpBaseTdFiles"],
75 "RegionKindInterface",
81 name = "TensorEncodingIncGen",
84 ["-gen-attr-interface-decls"],
85 "include/mlir/IR/TensorEncInterfaces.h.inc",
88 ["-gen-attr-interface-defs"],
89 "include/mlir/IR/TensorEncInterfaces.cpp.inc",
92 tblgen = ":mlir-tblgen",
93 td_file = "include/mlir/IR/TensorEncoding.td",
94 deps = [":TensorOpsTdFiles"],
98 name = "BuiltinDialectTdFiles",
100 "include/mlir/IR/BuiltinAttributeInterfaces.td",
101 "include/mlir/IR/BuiltinAttributes.td",
102 "include/mlir/IR/BuiltinDialect.td",
103 "include/mlir/IR/BuiltinLocationAttributes.td",
104 "include/mlir/IR/BuiltinOps.td",
105 "include/mlir/IR/BuiltinTypeInterfaces.td",
106 "include/mlir/IR/BuiltinTypes.td",
108 includes = ["include"],
111 ":CallInterfacesTdFiles",
112 ":CastInterfacesTdFiles",
113 ":DataLayoutInterfacesTdFiles",
115 ":SideEffectInterfacesTdFiles",
120 name = "BuiltinDialectBytecodeTdFiles",
121 srcs = ["include/mlir/IR/BuiltinDialectBytecode.td"],
122 includes = ["include"],
129 name = "BuiltinDialectIncGen",
132 ["-gen-dialect-decls"],
133 "include/mlir/IR/BuiltinDialect.h.inc",
136 ["-gen-dialect-defs"],
137 "include/mlir/IR/BuiltinDialect.cpp.inc",
140 tblgen = ":mlir-tblgen",
141 td_file = "include/mlir/IR/BuiltinDialect.td",
142 deps = [":BuiltinDialectTdFiles"],
146 name = "BuiltinDialectBytecodeGen",
151 "-bytecode-dialect=Builtin",
153 "include/mlir/IR/BuiltinDialectBytecode.cpp.inc",
156 tblgen = ":mlir-tblgen",
157 td_file = "include/mlir/IR/BuiltinDialectBytecode.td",
158 deps = [":BuiltinDialectTdFiles"],
162 name = "BuiltinAttributesIncGen",
165 ["--gen-attrdef-decls"],
166 "include/mlir/IR/BuiltinAttributes.h.inc",
169 ["--gen-attrdef-defs"],
170 "include/mlir/IR/BuiltinAttributes.cpp.inc",
173 tblgen = ":mlir-tblgen",
174 td_file = "include/mlir/IR/BuiltinAttributes.td",
175 deps = [":BuiltinDialectTdFiles"],
179 name = "BuiltinAttributeInterfacesIncGen",
182 ["--gen-attr-interface-decls"],
183 "include/mlir/IR/BuiltinAttributeInterfaces.h.inc",
186 ["--gen-attr-interface-defs"],
187 "include/mlir/IR/BuiltinAttributeInterfaces.cpp.inc",
190 tblgen = ":mlir-tblgen",
191 td_file = "include/mlir/IR/BuiltinAttributeInterfaces.td",
192 deps = [":BuiltinDialectTdFiles"],
196 name = "BuiltinLocationAttributesIncGen",
199 ["--gen-attrdef-decls"],
200 "include/mlir/IR/BuiltinLocationAttributes.h.inc",
203 ["--gen-attrdef-defs"],
204 "include/mlir/IR/BuiltinLocationAttributes.cpp.inc",
207 tblgen = ":mlir-tblgen",
208 td_file = "include/mlir/IR/BuiltinLocationAttributes.td",
209 deps = [":BuiltinDialectTdFiles"],
213 name = "BuiltinOpsIncGen",
217 "include/mlir/IR/BuiltinOps.h.inc",
221 "include/mlir/IR/BuiltinOps.cpp.inc",
224 tblgen = ":mlir-tblgen",
225 td_file = "include/mlir/IR/BuiltinOps.td",
227 ":BuiltinDialectTdFiles",
233 name = "BuiltinTypesIncGen",
236 ["--gen-typedef-decls"],
237 "include/mlir/IR/BuiltinTypes.h.inc",
240 ["--gen-typedef-defs"],
241 "include/mlir/IR/BuiltinTypes.cpp.inc",
244 tblgen = ":mlir-tblgen",
245 td_file = "include/mlir/IR/BuiltinTypes.td",
246 deps = [":BuiltinDialectTdFiles"],
250 name = "BuiltinTypeInterfacesIncGen",
253 ["--gen-type-interface-decls"],
254 "include/mlir/IR/BuiltinTypeInterfaces.h.inc",
257 ["--gen-type-interface-defs"],
258 "include/mlir/IR/BuiltinTypeInterfaces.cpp.inc",
261 tblgen = ":mlir-tblgen",
262 td_file = "include/mlir/IR/BuiltinTypeInterfaces.td",
264 ":BuiltinDialectTdFiles",
269 name = "FunctionInterfacesTdFiles",
270 srcs = ["include/mlir/Interfaces/FunctionInterfaces.td"],
271 includes = ["include"],
273 ":CallInterfacesTdFiles",
279 name = "FunctionInterfacesIncGen",
282 ["-gen-op-interface-decls"],
283 "include/mlir/Interfaces/FunctionInterfaces.h.inc",
286 ["-gen-op-interface-defs"],
287 "include/mlir/Interfaces/FunctionInterfaces.cpp.inc",
290 tblgen = ":mlir-tblgen",
291 td_file = "include/mlir/Interfaces/FunctionInterfaces.td",
293 ":FunctionInterfacesTdFiles",
298 name = "FunctionInterfaces",
300 "lib/Interfaces/FunctionImplementation.cpp",
301 "lib/Interfaces/FunctionInterfaces.cpp",
304 "include/mlir/Interfaces/FunctionImplementation.h",
305 "include/mlir/Interfaces/FunctionInterfaces.h",
307 includes = ["include"],
310 ":FunctionInterfacesIncGen",
321 "lib/Bytecode/Reader/*.h",
322 "lib/Bytecode/Writer/*.h",
325 "lib/Bytecode/BytecodeOpInterface.cpp",
328 "include/mlir/IR/*.h",
329 "include/mlir/Bytecode/*.h",
331 "include/mlir/Interfaces/CallInterfaces.h",
332 "include/mlir/Interfaces/DataLayoutInterfaces.h",
333 "include/mlir/Interfaces/FoldInterfaces.h",
334 "include/mlir/Interfaces/SideEffectInterfaces.h",
336 includes = ["include"],
338 ":BuiltinAttributeInterfacesIncGen",
339 ":BuiltinAttributesIncGen",
340 ":BuiltinDialectBytecodeGen",
341 ":BuiltinDialectIncGen",
342 ":BuiltinLocationAttributesIncGen",
344 ":BuiltinTypeInterfacesIncGen",
345 ":BuiltinTypesIncGen",
346 ":BytecodeOpInterfaceIncGen",
347 ":CallOpInterfacesIncGen",
348 ":DataLayoutInterfacesIncGen",
349 ":InferTypeOpInterfaceIncGen",
350 ":OpAsmInterfaceIncGen",
351 ":RegionKindInterfaceIncGen",
352 ":SideEffectInterfacesIncGen",
354 ":SymbolInterfacesIncGen",
355 ":TensorEncodingIncGen",
367 "include/mlir/Pass/*.h",
369 includes = ["include"],
378 mlir_c_api_cc_library(
381 "lib/CAPI/Dialect/Func.cpp",
382 "lib/CAPI/IR/AffineExpr.cpp",
383 "lib/CAPI/IR/AffineMap.cpp",
384 "lib/CAPI/IR/BuiltinAttributes.cpp",
385 "lib/CAPI/IR/BuiltinTypes.cpp",
386 "lib/CAPI/IR/Diagnostics.cpp",
387 "lib/CAPI/IR/DialectHandle.cpp",
388 "lib/CAPI/IR/IR.cpp",
389 "lib/CAPI/IR/IntegerSet.cpp",
390 "lib/CAPI/IR/Pass.cpp",
391 "lib/CAPI/IR/Support.cpp",
394 "include/mlir-c/AffineExpr.h",
395 "include/mlir-c/AffineMap.h",
396 "include/mlir-c/BuiltinAttributes.h",
397 "include/mlir-c/BuiltinTypes.h",
398 "include/mlir-c/Diagnostics.h",
399 "include/mlir-c/Dialect/Func.h",
400 "include/mlir-c/ExecutionEngine.h",
401 "include/mlir-c/IR.h",
402 "include/mlir-c/IntegerSet.h",
403 "include/mlir-c/Interfaces.h",
404 "include/mlir-c/Pass.h",
405 "include/mlir-c/RegisterEverything.h",
406 "include/mlir-c/Support.h",
407 "include/mlir/CAPI/AffineExpr.h",
408 "include/mlir/CAPI/AffineMap.h",
409 "include/mlir/CAPI/Diagnostics.h",
410 "include/mlir/CAPI/IR.h",
411 "include/mlir/CAPI/IntegerSet.h",
412 "include/mlir/CAPI/Interfaces.h",
413 "include/mlir/CAPI/Pass.h",
414 "include/mlir/CAPI/Registration.h",
415 "include/mlir/CAPI/Support.h",
416 "include/mlir/CAPI/Utils.h",
417 "include/mlir/CAPI/Wrap.h",
426 includes = ["include"],
429 ":ConversionPassIncGen",
431 ":InferTypeOpInterface",
436 mlir_c_api_cc_library(
437 name = "CAPIInterfaces",
439 "lib/CAPI/Interfaces/Interfaces.cpp",
444 includes = ["include"],
447 ":InferTypeOpInterface",
452 mlir_c_api_cc_library(
454 srcs = ["lib/CAPI/Dialect/AMDGPU.cpp"],
455 hdrs = ["include/mlir-c/Dialect/AMDGPU.h"],
459 includes = ["include"],
465 mlir_c_api_cc_library(
467 srcs = ["lib/CAPI/Dialect/Arith.cpp"],
468 hdrs = ["include/mlir-c/Dialect/Arith.h"],
472 includes = ["include"],
478 mlir_c_api_cc_library(
481 "lib/CAPI/Dialect/Async.cpp",
482 "lib/CAPI/Dialect/AsyncPasses.cpp",
484 hdrs = ["include/mlir-c/Dialect/Async.h"],
491 includes = ["include"],
499 mlir_c_api_cc_library(
502 "lib/CAPI/Dialect/Linalg.cpp",
503 "lib/CAPI/Dialect/LinalgPasses.cpp",
506 "include/mlir-c/Dialect/Linalg.h",
514 includes = ["include"],
522 mlir_c_api_cc_library(
525 "lib/CAPI/Dialect/LLVM.cpp",
528 "include/mlir-c/Dialect/LLVM.h",
533 includes = ["include"],
539 mlir_c_api_cc_library(
541 srcs = ["lib/CAPI/Dialect/Math.cpp"],
542 hdrs = ["include/mlir-c/Dialect/Math.h"],
546 includes = ["include"],
552 mlir_c_api_cc_library(
554 srcs = ["lib/CAPI/Dialect/MemRef.cpp"],
555 hdrs = ["include/mlir-c/Dialect/MemRef.h"],
559 includes = ["include"],
565 mlir_c_api_cc_library(
567 srcs = ["lib/CAPI/Dialect/NVGPU.cpp"],
568 hdrs = ["include/mlir-c/Dialect/NVGPU.h"],
572 includes = ["include"],
578 mlir_c_api_cc_library(
580 srcs = ["lib/CAPI/Dialect/NVVM.cpp"],
581 hdrs = ["include/mlir-c/Dialect/NVVM.h"],
585 includes = ["include"],
591 mlir_c_api_cc_library(
594 "lib/CAPI/Dialect/GPU.cpp",
595 "lib/CAPI/Dialect/GPUPasses.cpp",
598 "include/mlir-c/Dialect/GPU.h",
606 includes = ["include"],
614 mlir_c_api_cc_library(
616 srcs = ["lib/CAPI/Dialect/ROCDL.cpp"],
617 hdrs = ["include/mlir-c/Dialect/ROCDL.h"],
621 includes = ["include"],
627 mlir_c_api_cc_library(
629 srcs = ["lib/CAPI/Dialect/SCF.cpp"],
630 hdrs = ["include/mlir-c/Dialect/SCF.h"],
634 includes = ["include"],
640 mlir_c_api_cc_library(
641 name = "CAPISparseTensor",
643 "lib/CAPI/Dialect/SparseTensor.cpp",
644 "lib/CAPI/Dialect/SparseTensorPasses.cpp",
647 "include/mlir-c/Dialect/SparseTensor.h",
653 ":SparseTensorPassIncGen",
655 includes = ["include"],
658 ":SparseTensorDialect",
659 ":SparseTensorTransforms",
664 mlir_c_api_cc_library(
667 "lib/CAPI/Dialect/Quant.cpp",
670 "include/mlir-c/Dialect/Quant.h",
675 includes = ["include"],
681 mlir_c_api_cc_library(
684 "lib/CAPI/Dialect/PDL.cpp",
687 "include/mlir-c/Dialect/PDL.h",
692 includes = ["include"],
701 mlir_c_api_cc_library(
702 name = "CAPITransformDialect",
704 "lib/CAPI/Dialect/Transform.cpp",
707 "include/mlir-c/Dialect/Transform.h",
712 includes = ["include"],
718 mlir_c_api_cc_library(
719 name = "CAPIMLProgram",
721 "lib/CAPI/Dialect/MLProgram.cpp",
724 "include/mlir-c/Dialect/MLProgram.h",
729 includes = ["include"],
733 ":MLProgramOpsIncGen",
734 ":MLProgramTypesIncGen",
738 mlir_c_api_cc_library(
740 srcs = ["lib/CAPI/Dialect/Vector.cpp"],
741 hdrs = ["include/mlir-c/Dialect/Vector.h"],
745 includes = ["include"],
751 mlir_c_api_cc_library(
752 name = "CAPIConversion",
753 srcs = ["lib/CAPI/Conversion/Passes.cpp"],
754 hdrs = ["include/mlir-c/Conversion.h"],
759 ":ConversionPassIncGen",
761 includes = ["include"],
768 mlir_c_api_cc_library(
770 srcs = ["lib/CAPI/Debug/Debug.cpp"],
771 hdrs = ["include/mlir-c/Debug.h"],
775 includes = ["include"],
782 mlir_c_api_cc_library(
783 name = "CAPIExecutionEngine",
784 srcs = ["lib/CAPI/ExecutionEngine/ExecutionEngine.cpp"],
786 "include/mlir-c/ExecutionEngine.h",
787 "include/mlir/CAPI/ExecutionEngine.h",
795 includes = ["include"],
797 ":BuiltinToLLVMIRTranslation",
798 ":ExecutionEngineUtils",
799 ":LLVMToLLVMIRTranslation",
800 ":OpenMPToLLVMIRTranslation",
806 mlir_c_api_cc_library(
807 name = "CAPITransforms",
808 srcs = ["lib/CAPI/Transforms/Passes.cpp"],
809 hdrs = ["include/mlir-c/Transforms.h"],
814 ":TransformsPassIncGen",
816 includes = ["include"],
823 mlir_c_api_cc_library(
824 name = "CAPIRegisterEverything",
825 srcs = ["lib/CAPI/RegisterEverything/RegisterEverything.cpp"],
826 hdrs = ["include/mlir-c/RegisterEverything.h"],
830 includes = ["include"],
833 ":AllPassesAndDialects",
834 ":AllToLLVMIRTranslations",
835 ":BuiltinToLLVMIRTranslation",
837 ":LLVMToLLVMIRTranslation",
841 ##---------------------------------------------------------------------------##
842 # Sources of Python bindings.
843 #----------------------------------------------------------------------------##
846 glob(["lib/Bindings/Python/**/*.cpp"]),
849 MLIR_BINDINGS_PYTHON_HEADERS = [
850 "lib/Bindings/Python/*.h",
851 "include/mlir-c/Bindings/Python/*.h",
852 "include/mlir/Bindings/Python/*.h",
856 name = "MLIRBindingsPythonHeaders",
859 "lib/Bindings/Python",
862 "manual", # External dependency
863 "nobuildkite", # TODO(gcmn): Add support for this target
865 textual_hdrs = glob(MLIR_BINDINGS_PYTHON_HEADERS),
869 "@python_runtime//:headers",
874 name = "MLIRBindingsPythonHeadersAndDeps",
877 "lib/Bindings/Python",
880 "manual", # External dependency
881 "nobuildkite", # TODO(gcmn): Add support for this target
883 textual_hdrs = glob(MLIR_BINDINGS_PYTHON_HEADERS),
887 "@python_runtime//:headers",
891 # These flags are needed for pybind11 to work.
897 PYBIND11_FEATURES = [
898 # Cannot use header_modules (parse_headers feature fails).
899 "-use_header_modules",
902 MLIR_PYTHON_BINDINGS_SOURCES = [
903 "lib/Bindings/Python/IRAffine.cpp",
904 "lib/Bindings/Python/IRAttributes.cpp",
905 "lib/Bindings/Python/IRCore.cpp",
906 "lib/Bindings/Python/IRInterfaces.cpp",
907 "lib/Bindings/Python/IRModule.cpp",
908 "lib/Bindings/Python/IRTypes.cpp",
909 "lib/Bindings/Python/Pass.cpp",
913 name = "MLIRBindingsPythonCore",
914 srcs = MLIR_PYTHON_BINDINGS_SOURCES,
915 copts = PYBIND11_COPTS,
916 features = PYBIND11_FEATURES,
918 "manual", # External dependency
919 "nobuildkite", # TODO(gcmn): Add support for this target
927 ":MLIRBindingsPythonHeadersAndDeps",
930 "@python_runtime//:headers",
935 name = "MLIRBindingsPythonCoreNoCAPI",
936 srcs = MLIR_PYTHON_BINDINGS_SOURCES,
937 copts = PYBIND11_COPTS,
938 features = PYBIND11_FEATURES,
940 "manual", # External dependency
941 "nobuildkite", # TODO(gcmn): Add support for this target
948 ":MLIRBindingsPythonHeaders",
951 "@python_runtime//:headers",
955 # Target that bundles together the CAPI objects needed for
956 # MLIRBindingsPythonCoreNoCAPI.
958 name = "MLIRBindingsPythonCAPIObjects",
960 "manual", # External dependency
961 "nobuildkite", # TODO(gcmn): Add support for this target
968 ":CAPIInterfacesObjects",
972 # Dynamic library with the MLIR Python extension.
975 srcs = ["lib/Bindings/Python/MainModule.cpp"],
976 # These flags are needed for pybind11 to work.
977 copts = PYBIND11_COPTS,
978 features = PYBIND11_FEATURES,
982 "manual", # External dependency
983 "nobuildkite", # TODO(gcmn): Add support for this target
986 ":MLIRBindingsPythonCore",
987 ":MLIRBindingsPythonHeadersAndDeps",
992 name = "_mlirDialectsLinalg.so",
993 srcs = ["lib/Bindings/Python/DialectLinalg.cpp"],
994 copts = PYBIND11_COPTS,
995 features = PYBIND11_FEATURES,
999 "manual", # External dependency
1000 "nobuildkite", # TODO(gcmn): Add support for this target
1005 ":MLIRBindingsPythonHeadersAndDeps",
1010 name = "_mlirDialectsQuant.so",
1011 srcs = ["lib/Bindings/Python/DialectQuant.cpp"],
1012 copts = PYBIND11_COPTS,
1013 features = PYBIND11_FEATURES,
1017 "manual", # External dependency
1018 "nobuildkite", # TODO(gcmn): Add support for this target
1023 ":MLIRBindingsPythonHeadersAndDeps",
1028 name = "_mlirDialectsSparseTensor.so",
1029 srcs = ["lib/Bindings/Python/DialectSparseTensor.cpp"],
1030 copts = PYBIND11_COPTS,
1031 features = PYBIND11_FEATURES,
1035 "manual", # External dependency
1036 "nobuildkite", # TODO(gcmn): Add support for this target
1040 ":CAPISparseTensor",
1041 ":MLIRBindingsPythonHeadersAndDeps",
1045 # Dynamic library with the MLIR Conversions Python extension.
1047 name = "_mlirExecutionEngine.so",
1048 srcs = ["lib/Bindings/Python/ExecutionEngineModule.cpp"],
1049 copts = PYBIND11_COPTS,
1050 features = PYBIND11_FEATURES,
1054 "manual", # External dependency
1055 "nobuildkite", # TODO(gcmn): Add support for this target
1058 ":CAPIExecutionEngine",
1059 ":MLIRBindingsPythonHeadersAndDeps",
1061 "@python_runtime//:headers",
1065 # Dynamic library with the MLIR Linalg dialect+passes Python extension.
1067 name = "_mlirLinalgPasses.so",
1068 srcs = ["lib/Bindings/Python/LinalgPasses.cpp"],
1069 copts = PYBIND11_COPTS,
1070 features = PYBIND11_FEATURES,
1074 "manual", # External dependency
1075 "nobuildkite", # TODO(gcmn): Add support for this target
1079 ":MLIRBindingsPythonHeadersAndDeps",
1081 "@python_runtime//:headers",
1085 ##---------------------------------------------------------------------------##
1088 name = "AttrTdFiles",
1090 "include/mlir/IR/AttrTypeBase.td",
1091 "include/mlir/IR/EnumAttr.td",
1093 includes = ["include"],
1097 name = "OpBaseTdFiles",
1099 "include/mlir/IR/CommonAttrConstraints.td",
1100 "include/mlir/IR/CommonTypeConstraints.td",
1101 "include/mlir/IR/Constraints.td",
1102 "include/mlir/IR/DialectBase.td",
1103 "include/mlir/IR/Interfaces.td",
1104 "include/mlir/IR/OpAsmInterface.td",
1105 "include/mlir/IR/OpBase.td",
1106 "include/mlir/IR/PatternBase.td",
1107 "include/mlir/IR/Properties.td",
1108 "include/mlir/IR/RegionKindInterface.td",
1109 "include/mlir/IR/SymbolInterfaces.td",
1110 "include/mlir/IR/TensorEncoding.td",
1111 "include/mlir/IR/Traits.td",
1112 "include/mlir/IR/Utils.td",
1114 includes = ["include"],
1121 name = "BytecodeTdFiles",
1122 srcs = ["include/mlir/IR/BytecodeBase.td"],
1123 includes = ["include"],
1127 name = "CallInterfacesTdFiles",
1128 srcs = ["include/mlir/Interfaces/CallInterfaces.td"],
1129 includes = ["include"],
1130 deps = [":OpBaseTdFiles"],
1134 name = "CastInterfacesTdFiles",
1135 srcs = ["include/mlir/Interfaces/CastInterfaces.td"],
1136 includes = ["include"],
1137 deps = [":OpBaseTdFiles"],
1141 name = "ControlFlowInterfacesTdFiles",
1142 srcs = ["include/mlir/Interfaces/ControlFlowInterfaces.td"],
1143 includes = ["include"],
1144 deps = [":OpBaseTdFiles"],
1148 name = "BytecodeOpInterfaceTdFiles",
1149 srcs = ["include/mlir/Bytecode/BytecodeOpInterface.td"],
1150 includes = ["include"],
1151 deps = [":OpBaseTdFiles"],
1155 name = "CopyOpInterfaceTdFiles",
1156 srcs = ["include/mlir/Interfaces/CopyOpInterface.td"],
1157 includes = ["include"],
1158 deps = [":OpBaseTdFiles"],
1162 name = "DerivedAttributeOpInterfaceTdFiles",
1163 srcs = ["include/mlir/Interfaces/DerivedAttributeOpInterface.td"],
1164 includes = ["include"],
1165 deps = [":OpBaseTdFiles"],
1169 name = "DestinationStyleOpInterfaceTdFiles",
1170 srcs = ["include/mlir/Interfaces/DestinationStyleOpInterface.td"],
1171 includes = ["include"],
1172 deps = [":OpBaseTdFiles"],
1176 name = "InferIntRangeInterfaceTdFiles",
1177 srcs = ["include/mlir/Interfaces/InferIntRangeInterface.td"],
1178 includes = ["include"],
1179 deps = [":OpBaseTdFiles"],
1183 name = "InferTypeOpInterfaceTdFiles",
1184 srcs = ["include/mlir/Interfaces/InferTypeOpInterface.td"],
1185 includes = ["include"],
1186 deps = [":OpBaseTdFiles"],
1190 name = "LoopLikeInterfaceTdFiles",
1191 srcs = ["include/mlir/Interfaces/LoopLikeInterface.td"],
1192 includes = ["include"],
1193 deps = [":OpBaseTdFiles"],
1197 name = "MemorySlotInterfacesTdFiles",
1198 srcs = ["include/mlir/Interfaces/MemorySlotInterfaces.td"],
1199 includes = ["include"],
1200 deps = [":OpBaseTdFiles"],
1204 name = "ShapedOpInterfacesTdFiles",
1205 srcs = ["include/mlir/Interfaces/ShapedOpInterfaces.td"],
1206 includes = ["include"],
1207 deps = [":OpBaseTdFiles"],
1211 name = "ParallelCombiningOpInterfaceTdFiles",
1212 srcs = ["include/mlir/Interfaces/ParallelCombiningOpInterface.td"],
1213 includes = ["include"],
1214 deps = [":OpBaseTdFiles"],
1218 name = "RuntimeVerifiableOpInterfaceTdFiles",
1219 srcs = ["include/mlir/Interfaces/RuntimeVerifiableOpInterface.td"],
1220 includes = ["include"],
1221 deps = [":OpBaseTdFiles"],
1225 name = "SideEffectInterfacesTdFiles",
1227 "include/mlir/Interfaces/SideEffectInterfaceBase.td",
1228 "include/mlir/Interfaces/SideEffectInterfaces.td",
1230 includes = ["include"],
1231 deps = [":OpBaseTdFiles"],
1235 name = "TilingInterfaceTdFiles",
1236 srcs = ["include/mlir/Interfaces/TilingInterface.td"],
1237 includes = ["include"],
1238 deps = [":OpBaseTdFiles"],
1242 name = "VectorInterfacesTdFiles",
1243 srcs = ["include/mlir/Interfaces/VectorInterfaces.td"],
1244 includes = ["include"],
1245 deps = [":OpBaseTdFiles"],
1249 name = "ViewLikeInterfaceTdFiles",
1250 srcs = ["include/mlir/Interfaces/ViewLikeInterface.td"],
1251 includes = ["include"],
1252 deps = [":OpBaseTdFiles"],
1256 name = "ReducerTdFiles",
1257 srcs = ["include/mlir/Reducer/Passes.td"],
1258 includes = ["include"],
1259 deps = [":OpBaseTdFiles"],
1262 ##---------------------------------------------------------------------------##
1264 ##---------------------------------------------------------------------------##
1267 name = "PassBaseTdFiles",
1268 srcs = ["include/mlir/Pass/PassBase.td"],
1269 includes = ["include"],
1273 name = "RewritePassBaseTdFiles",
1274 srcs = ["include/mlir/Rewrite/PassUtil.td"],
1275 includes = ["include"],
1279 name = "AffineOpsTdFiles",
1281 "include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.td",
1282 "include/mlir/Dialect/Affine/IR/AffineOps.td",
1284 includes = ["include"],
1288 ":LoopLikeInterfaceTdFiles",
1290 ":SideEffectInterfacesTdFiles",
1295 name = "AffineOpsIncGen",
1299 "include/mlir/Dialect/Affine/IR/AffineOps.h.inc",
1303 "include/mlir/Dialect/Affine/IR/AffineOps.cpp.inc",
1307 "-gen-dialect-decls",
1310 "include/mlir/Dialect/Affine/IR/AffineOpsDialect.h.inc",
1314 "-gen-dialect-defs",
1317 "include/mlir/Dialect/Affine/IR/AffineOpsDialect.cpp.inc",
1320 tblgen = ":mlir-tblgen",
1321 td_file = "include/mlir/Dialect/Affine/IR/AffineOps.td",
1322 deps = [":AffineOpsTdFiles"],
1326 name = "AffineMemoryOpInterfacesIncGen",
1329 ["-gen-op-interface-decls"],
1330 "include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.h.inc",
1333 ["-gen-op-interface-defs"],
1334 "include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.cpp.inc",
1337 tblgen = ":mlir-tblgen",
1338 td_file = "include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.td",
1339 deps = [":AffineOpsTdFiles"],
1343 name = "AffineTransformOpsTdFiles",
1345 "include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.td",
1347 includes = ["include"],
1349 ":TransformDialectTdFiles",
1354 name = "AffineTransformOpsIncGen",
1358 "include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.h.inc",
1362 "include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.cpp.inc",
1365 tblgen = ":mlir-tblgen",
1366 td_file = "include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.td",
1368 ":AffineTransformOpsTdFiles",
1373 name = "AffineTransformOps",
1374 srcs = glob(["lib/Dialect/Affine/TransformOps/*.cpp"]),
1375 hdrs = glob(["include/mlir/Dialect/Affine/TransformOps/*.h"]),
1376 includes = ["include"],
1380 ":AffineTransformOpsIncGen",
1381 ":AffineTransforms",
1385 ":TransformDialect",
1391 ##---------------------------------------------------------------------------##
1393 ##---------------------------------------------------------------------------##
1396 name = "AMDGPUTdFiles",
1397 srcs = ["include/mlir/Dialect/AMDGPU/IR/AMDGPU.td"],
1398 includes = ["include"],
1400 ":SideEffectInterfacesTdFiles",
1405 name = "AMDGPUIncGen",
1409 "-gen-attrdef-decls",
1412 "include/mlir/Dialect/AMDGPU/IR/AMDGPUAttributes.h.inc",
1416 "-gen-attrdef-defs",
1419 "include/mlir/Dialect/AMDGPU/IR/AMDGPUAttributes.cpp.inc",
1423 "-gen-dialect-decls",
1426 "include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h.inc",
1430 "-gen-dialect-defs",
1433 "include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.cpp.inc",
1436 ["-gen-enum-decls"],
1437 "include/mlir/Dialect/AMDGPU/IR/AMDGPUEnums.h.inc",
1441 "include/mlir/Dialect/AMDGPU/IR/AMDGPUEnums.cpp.inc",
1445 "include/mlir/Dialect/AMDGPU/IR/AMDGPU.h.inc",
1449 "include/mlir/Dialect/AMDGPU/IR/AMDGPU.cpp.inc",
1453 "g3doc/Dialects/AMDGPU/IR/AMDGPU.md",
1456 tblgen = ":mlir-tblgen",
1457 td_file = "include/mlir/Dialect/AMDGPU/IR/AMDGPU.td",
1458 deps = [":AMDGPUTdFiles"],
1462 name = "AMDGPUDialect",
1463 srcs = ["lib/Dialect/AMDGPU/IR/AMDGPUDialect.cpp"],
1464 hdrs = ["include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h"],
1465 includes = ["include"],
1471 ":SideEffectInterfaces",
1478 name = "AMDGPUPassIncGen",
1485 "include/mlir/Dialect/AMDGPU/Transforms/Passes.h.inc",
1488 tblgen = ":mlir-tblgen",
1489 td_file = "include/mlir/Dialect/AMDGPU/Transforms/Passes.td",
1490 deps = [":PassBaseTdFiles"],
1494 name = "AMDGPUTransforms",
1497 "lib/Dialect/AMDGPU/Transforms/*.cpp",
1498 "lib/Dialect/AMDGPU/Transforms/*.h",
1501 hdrs = glob(["include/mlir/Dialect/AMDGPU/Transforms/*.h"]),
1502 includes = ["include"],
1505 ":AMDGPUPassIncGen",
1508 ":ControlFlowDialect",
1517 name = "AMDGPUUtils",
1518 srcs = glob(["lib/Dialect/AMDGPU/Utils/*.cpp"]),
1519 hdrs = glob(["include/mlir/Dialect/AMDGPU/Utils/*.h"]),
1520 includes = ["include"],
1528 ##---------------------------------------------------------------------------##
1530 ##---------------------------------------------------------------------------##
1533 name = "EmitCTdFiles",
1535 "include/mlir/Dialect/EmitC/IR/EmitC.td",
1536 "include/mlir/Dialect/EmitC/IR/EmitCAttributes.td",
1537 "include/mlir/Dialect/EmitC/IR/EmitCBase.td",
1538 "include/mlir/Dialect/EmitC/IR/EmitCTypes.td",
1540 includes = ["include"],
1542 ":BuiltinDialectTdFiles",
1543 ":CastInterfacesTdFiles",
1545 ":SideEffectInterfacesTdFiles",
1550 name = "EmitCAttributesIncGen",
1553 ["--gen-attrdef-decls"],
1554 "include/mlir/Dialect/EmitC/IR/EmitCAttributes.h.inc",
1557 ["--gen-attrdef-defs"],
1558 "include/mlir/Dialect/EmitC/IR/EmitCAttributes.cpp.inc",
1561 tblgen = ":mlir-tblgen",
1562 td_file = "include/mlir/Dialect/EmitC/IR/EmitCAttributes.td",
1563 deps = [":EmitCTdFiles"],
1567 name = "EmitCOpsIncGen",
1570 ["-gen-dialect-decls"],
1571 "include/mlir/Dialect/EmitC/IR/EmitCDialect.h.inc",
1574 ["-gen-dialect-defs"],
1575 "include/mlir/Dialect/EmitC/IR/EmitCDialect.cpp.inc",
1578 ["-gen-enum-decls"],
1579 "include/mlir/Dialect/EmitC/IR/EmitCEnums.h.inc",
1583 "include/mlir/Dialect/EmitC/IR/EmitCEnums.cpp.inc",
1587 "include/mlir/Dialect/EmitC/IR/EmitC.h.inc",
1591 "include/mlir/Dialect/EmitC/IR/EmitC.cpp.inc",
1594 ["-gen-typedef-decls"],
1595 "include/mlir/Dialect/EmitC/IR/EmitCTypes.h.inc",
1598 ["-gen-typedef-defs"],
1599 "include/mlir/Dialect/EmitC/IR/EmitCTypes.cpp.inc",
1602 tblgen = ":mlir-tblgen",
1603 td_file = "include/mlir/Dialect/EmitC/IR/EmitC.td",
1604 deps = [":EmitCTdFiles"],
1610 "lib/Target/Cpp/*.cpp",
1611 "lib/Target/Cpp/*.h",
1613 hdrs = glob(["include/mlir/Target/Cpp/*.h"]),
1616 ":ControlFlowDialect",
1628 ##---------------------------------------------------------------------------##
1630 ##---------------------------------------------------------------------------##
1633 name = "AsyncOpsTdFiles",
1635 "include/mlir/Dialect/Async/IR/AsyncDialect.td",
1636 "include/mlir/Dialect/Async/IR/AsyncOps.td",
1637 "include/mlir/Dialect/Async/IR/AsyncTypes.td",
1639 includes = ["include"],
1641 ":CallInterfacesTdFiles",
1642 ":ControlFlowInterfacesTdFiles",
1643 ":FunctionInterfacesTdFiles",
1644 ":InferTypeOpInterfaceTdFiles",
1646 ":SideEffectInterfacesTdFiles",
1651 name = "AsyncOpsIncGen",
1655 "include/mlir/Dialect/Async/IR/AsyncOps.h.inc",
1659 "include/mlir/Dialect/Async/IR/AsyncOps.cpp.inc",
1662 ["-gen-dialect-decls"],
1663 "include/mlir/Dialect/Async/IR/AsyncOpsDialect.h.inc",
1666 ["-gen-dialect-defs"],
1667 "include/mlir/Dialect/Async/IR/AsyncOpsDialect.cpp.inc",
1670 ["-gen-typedef-decls"],
1671 "include/mlir/Dialect/Async/IR/AsyncOpsTypes.h.inc",
1674 ["-gen-typedef-defs"],
1675 "include/mlir/Dialect/Async/IR/AsyncOpsTypes.cpp.inc",
1678 tblgen = ":mlir-tblgen",
1679 td_file = "include/mlir/Dialect/Async/IR/AsyncOps.td",
1680 deps = [":AsyncOpsTdFiles"],
1684 name = "AsyncPassIncGen",
1691 "include/mlir/Dialect/Async/Passes.h.inc",
1695 "-gen-pass-capi-header",
1698 "include/mlir/Dialect/Async/Passes.capi.h.inc",
1702 "-gen-pass-capi-impl",
1705 "include/mlir/Dialect/Async/Passes.capi.cpp.inc",
1708 tblgen = ":mlir-tblgen",
1709 td_file = "include/mlir/Dialect/Async/Passes.td",
1710 deps = [":PassBaseTdFiles"],
1713 ##---------------------------------------------------------------------------##
1715 ##---------------------------------------------------------------------------##
1718 name = "ArmNeonTdFiles",
1719 srcs = ["include/mlir/Dialect/ArmNeon/ArmNeon.td"],
1720 includes = ["include"],
1724 ":SideEffectInterfacesTdFiles",
1729 name = "ArmNeonIncGen",
1733 "-gen-dialect-decls",
1734 "-dialect=arm_neon",
1736 "include/mlir/Dialect/ArmNeon/ArmNeonDialect.h.inc",
1740 "-gen-dialect-defs",
1741 "-dialect=arm_neon",
1743 "include/mlir/Dialect/ArmNeon/ArmNeonDialect.cpp.inc",
1747 "include/mlir/Dialect/ArmNeon/ArmNeon.h.inc",
1751 "include/mlir/Dialect/ArmNeon/ArmNeon.cpp.inc",
1755 "g3doc/Dialects/ArmNeon/ArmNeon.md",
1758 tblgen = ":mlir-tblgen",
1759 td_file = "include/mlir/Dialect/ArmNeon/ArmNeon.td",
1760 deps = [":ArmNeonTdFiles"],
1764 name = "ArmNeonDialect",
1765 srcs = ["lib/Dialect/ArmNeon/IR/ArmNeonDialect.cpp"],
1766 hdrs = ["include/mlir/Dialect/ArmNeon/ArmNeonDialect.h"],
1767 includes = ["include"],
1771 ":SideEffectInterfaces",
1779 name = "ArmNeonConversionIncGen",
1782 ["-gen-llvmir-conversions"],
1783 "include/mlir/Dialect/ArmNeon/ArmNeonConversions.inc",
1786 tblgen = ":mlir-tblgen",
1787 td_file = "include/mlir/Dialect/ArmNeon/ArmNeon.td",
1788 deps = [":ArmNeonTdFiles"],
1792 name = "ArmNeon2dToIntr",
1794 "lib/Conversion/ArmNeon2dToIntr/*.cpp",
1795 "lib/Conversion/ArmNeon2dToIntr/*.h",
1798 "include/mlir/Conversion/ArmNeon2dToIntr/*.h",
1800 includes = ["include"],
1803 ":ConversionPassIncGen",
1816 ##---------------------------------------------------------------------------##
1818 ##---------------------------------------------------------------------------##
1821 name = "ArmSMETdFiles",
1823 "include/mlir/Dialect/ArmSME/IR/ArmSME.td",
1825 includes = ["include"],
1831 ":SideEffectInterfacesTdFiles",
1836 name = "ArmSMETransformsPassIncGen",
1842 "include/mlir/Dialect/ArmSME/Transforms/Passes.h.inc",
1844 tblgen = ":mlir-tblgen",
1845 td_file = "include/mlir/Dialect/ArmSME/Transforms/Passes.td",
1846 deps = [":PassBaseTdFiles"],
1850 name = "ArmSMEIncGen",
1854 "include/mlir/Dialect/ArmSME/IR/ArmSME.h.inc",
1858 "include/mlir/Dialect/ArmSME/IR/ArmSME.cpp.inc",
1861 ["-gen-typedef-decls"],
1862 "include/mlir/Dialect/ArmSME/IR/ArmSMETypes.h.inc",
1865 ["-gen-typedef-defs"],
1866 "include/mlir/Dialect/ArmSME/IR/ArmSMETypes.cpp.inc",
1870 "-gen-dialect-decls",
1873 "include/mlir/Dialect/ArmSME/IR/ArmSMEDialect.h.inc",
1877 "-gen-dialect-defs",
1880 "include/mlir/Dialect/ArmSME/IR/ArmSMEDialect.cpp.inc",
1883 tblgen = ":mlir-tblgen",
1884 td_file = "include/mlir/Dialect/ArmSME/IR/ArmSME.td",
1885 deps = [":ArmSMETdFiles"],
1889 name = "ArmSMEConversionIncGen",
1892 ["-gen-llvmir-conversions"],
1893 "include/mlir/Dialect/ArmSME/IR/ArmSMEConversions.inc",
1896 tblgen = ":mlir-tblgen",
1897 td_file = "include/mlir/Dialect/ArmSME/IR/ArmSME.td",
1898 deps = [":ArmSMETdFiles"],
1902 name = "ArmSMEDialect",
1903 srcs = ["lib/Dialect/ArmSME/IR/ArmSME.cpp"],
1904 hdrs = ["include/mlir/Dialect/ArmSME/IR/ArmSME.h"],
1905 includes = ["include"],
1911 ":SideEffectInterfaces",
1919 name = "ArmSMEUtils",
1920 srcs = glob(["lib/Dialect/ArmSME/Utils/*.cpp"]),
1921 hdrs = glob(["include/mlir/Dialect/ArmSME/Utils/*.h"]),
1922 includes = ["include"],
1931 name = "ArmSMETransforms",
1932 srcs = glob(["lib/Dialect/ArmSME/Transforms/*.cpp"]),
1933 hdrs = glob(["include/mlir/Dialect/ArmSME/Transforms/*.h"]),
1934 includes = ["include"],
1938 ":ArmSMETransformsPassIncGen",
1942 ":LLVMCommonConversion",
1952 name = "ArmSMEToSCF",
1953 srcs = glob(["lib/Conversion/ArmSMEToSCF/*.cpp"]),
1954 hdrs = glob(["include/mlir/Conversion/ArmSMEToSCF/*.h"]),
1955 includes = ["include"],
1960 ":ConversionPassIncGen",
1967 ##---------------------------------------------------------------------------##
1969 ##---------------------------------------------------------------------------##
1972 name = "ArmSVETdFiles",
1974 "include/mlir/Dialect/ArmSVE/ArmSVE.td",
1976 includes = ["include"],
1982 ":SideEffectInterfacesTdFiles",
1987 name = "ArmSVEIncGen",
1991 "include/mlir/Dialect/ArmSVE/ArmSVE.h.inc",
1995 "include/mlir/Dialect/ArmSVE/ArmSVE.cpp.inc",
1998 ["-gen-typedef-decls"],
1999 "include/mlir/Dialect/ArmSVE/ArmSVETypes.h.inc",
2002 ["-gen-typedef-defs"],
2003 "include/mlir/Dialect/ArmSVE/ArmSVETypes.cpp.inc",
2007 "-gen-dialect-decls",
2010 "include/mlir/Dialect/ArmSVE/ArmSVEDialect.h.inc",
2014 "-gen-dialect-defs",
2017 "include/mlir/Dialect/ArmSVE/ArmSVEDialect.cpp.inc",
2020 tblgen = ":mlir-tblgen",
2021 td_file = "include/mlir/Dialect/ArmSVE/ArmSVE.td",
2022 deps = [":ArmSVETdFiles"],
2026 name = "ArmSVEDialect",
2027 srcs = ["lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp"],
2028 hdrs = ["include/mlir/Dialect/ArmSVE/ArmSVEDialect.h"],
2029 includes = ["include"],
2034 ":SideEffectInterfaces",
2041 name = "ArmSVETransforms",
2042 srcs = glob(["lib/Dialect/ArmSVE/Transforms/*.cpp"]),
2043 hdrs = ["include/mlir/Dialect/ArmSVE/Transforms.h"],
2044 includes = ["include"],
2049 ":LLVMCommonConversion",
2058 name = "ArmSVEConversionIncGen",
2061 ["-gen-llvmir-conversions"],
2062 "include/mlir/Dialect/ArmSVE/ArmSVEConversions.inc",
2065 tblgen = ":mlir-tblgen",
2066 td_file = "include/mlir/Dialect/ArmSVE/ArmSVE.td",
2067 deps = [":ArmSVETdFiles"],
2070 ##---------------------------------------------------------------------------##
2072 ##---------------------------------------------------------------------------##
2075 name = "AMXTdFiles",
2076 srcs = ["include/mlir/Dialect/AMX/AMX.td"],
2077 includes = ["include"],
2080 ":SideEffectInterfacesTdFiles",
2089 "-gen-dialect-decls",
2092 "include/mlir/Dialect/AMX/AMXDialect.h.inc",
2096 "-gen-dialect-defs",
2099 "include/mlir/Dialect/AMX/AMXDialect.cpp.inc",
2103 "include/mlir/Dialect/AMX/AMX.h.inc",
2107 "include/mlir/Dialect/AMX/AMX.cpp.inc",
2111 "g3doc/Dialects/AMX/AMX.md",
2114 tblgen = ":mlir-tblgen",
2115 td_file = "include/mlir/Dialect/AMX/AMX.td",
2116 deps = [":AMXTdFiles"],
2120 name = "AMXDialect",
2121 srcs = ["lib/Dialect/AMX/IR/AMXDialect.cpp"],
2122 hdrs = ["include/mlir/Dialect/AMX/AMXDialect.h"],
2123 includes = ["include"],
2128 ":SideEffectInterfaces",
2135 name = "AMXTransforms",
2136 srcs = glob(["lib/Dialect/AMX/Transforms/*.cpp"]),
2137 hdrs = ["include/mlir/Dialect/AMX/Transforms.h"],
2138 includes = ["include"],
2143 ":LLVMCommonConversion",
2151 name = "AMXConversionIncGen",
2154 ["-gen-llvmir-conversions"],
2155 "include/mlir/Dialect/AMX/AMXConversions.inc",
2158 tblgen = ":mlir-tblgen",
2159 td_file = "include/mlir/Dialect/AMX/AMX.td",
2160 deps = [":AMXTdFiles"],
2163 ##---------------------------------------------------------------------------##
2164 # X86Vector dialect.
2165 ##---------------------------------------------------------------------------##
2168 name = "X86VectorTdFiles",
2169 srcs = ["include/mlir/Dialect/X86Vector/X86Vector.td"],
2170 includes = ["include"],
2172 ":InferTypeOpInterfaceTdFiles",
2174 ":SideEffectInterfacesTdFiles",
2179 name = "X86VectorIncGen",
2183 "-gen-dialect-decls",
2184 "-dialect=x86vector",
2186 "include/mlir/Dialect/X86Vector/X86VectorDialect.h.inc",
2190 "-gen-dialect-defs",
2191 "-dialect=x86vector",
2193 "include/mlir/Dialect/X86Vector/X86VectorDialect.cpp.inc",
2197 "include/mlir/Dialect/X86Vector/X86Vector.h.inc",
2201 "include/mlir/Dialect/X86Vector/X86Vector.cpp.inc",
2205 "g3doc/Dialects/X86Vector/X86Vector.md",
2208 tblgen = ":mlir-tblgen",
2209 td_file = "include/mlir/Dialect/X86Vector/X86Vector.td",
2210 deps = [":X86VectorTdFiles"],
2214 name = "X86VectorDialect",
2215 srcs = ["lib/Dialect/X86Vector/IR/X86VectorDialect.cpp"],
2216 hdrs = ["include/mlir/Dialect/X86Vector/X86VectorDialect.h"],
2217 includes = ["include"],
2220 ":InferTypeOpInterface",
2222 ":SideEffectInterfaces",
2230 name = "X86VectorTransforms",
2231 srcs = glob(["lib/Dialect/X86Vector/Transforms/*.cpp"]),
2232 hdrs = ["include/mlir/Dialect/X86Vector/Transforms.h"],
2233 includes = ["include"],
2238 ":LLVMCommonConversion",
2242 ":X86VectorDialect",
2249 name = "X86VectorConversionIncGen",
2252 ["-gen-llvmir-conversions"],
2253 "include/mlir/Dialect/X86Vector/X86VectorConversions.inc",
2256 tblgen = ":mlir-tblgen",
2257 td_file = "include/mlir/Dialect/X86Vector/X86Vector.td",
2258 deps = [":X86VectorTdFiles"],
2261 ##---------------------------------------------------------------------------##
2263 ##---------------------------------------------------------------------------##
2266 name = "IRDLTdFiles",
2268 "include/mlir/Dialect/IRDL/IR/IRDL.td",
2269 "include/mlir/Dialect/IRDL/IR/IRDLAttributes.td",
2270 "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.td",
2271 "include/mlir/Dialect/IRDL/IR/IRDLOps.td",
2272 "include/mlir/Dialect/IRDL/IR/IRDLTypes.td",
2274 includes = ["include"],
2276 ":InferTypeOpInterfaceTdFiles",
2278 ":SideEffectInterfacesTdFiles",
2283 name = "IRDLIncGen",
2286 ["-gen-dialect-decls"],
2287 "include/mlir/Dialect/IRDL/IR/IRDLDialect.h.inc",
2290 ["-gen-dialect-defs"],
2291 "include/mlir/Dialect/IRDL/IR/IRDLDialect.cpp.inc",
2295 "include/mlir/Dialect/IRDL/IR/IRDL.h.inc",
2299 "include/mlir/Dialect/IRDL/IR/IRDL.cpp.inc",
2302 ["-gen-typedef-decls"],
2303 "include/mlir/Dialect/IRDL/IR/IRDLTypes.h.inc",
2306 ["-gen-typedef-defs"],
2307 "include/mlir/Dialect/IRDL/IR/IRDLTypes.cpp.inc",
2310 tblgen = ":mlir-tblgen",
2311 td_file = "include/mlir/Dialect/IRDL/IR/IRDLOps.td",
2312 deps = [":IRDLTdFiles"],
2316 name = "IRDLInterfacesIncGen",
2319 ["-gen-op-interface-decls"],
2320 "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.h.inc",
2323 ["-gen-op-interface-defs"],
2324 "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.cpp.inc",
2327 tblgen = ":mlir-tblgen",
2328 td_file = "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.td",
2329 deps = [":IRDLTdFiles"],
2333 name = "IRDLAttributesIncGen",
2336 ["-gen-attrdef-decls"],
2337 "include/mlir/Dialect/IRDL/IR/IRDLAttributes.h.inc",
2340 ["-gen-attrdef-defs"],
2341 "include/mlir/Dialect/IRDL/IR/IRDLAttributes.cpp.inc",
2344 tblgen = ":mlir-tblgen",
2345 td_file = "include/mlir/Dialect/IRDL/IR/IRDLAttributes.td",
2346 deps = [":IRDLTdFiles"],
2350 name = "IRDLEnumsIncGen",
2353 ["-gen-enum-decls"],
2354 "include/mlir/Dialect/IRDL/IR/IRDLEnums.h.inc",
2358 "include/mlir/Dialect/IRDL/IR/IRDLEnums.cpp.inc",
2361 tblgen = ":mlir-tblgen",
2362 td_file = "include/mlir/Dialect/IRDL/IR/IRDLAttributes.td",
2363 deps = [":IRDLTdFiles"],
2367 name = "IRDLOpsIncGen",
2371 "include/mlir/Dialect/IRDL/IR/IRDLOps.h.inc",
2375 "include/mlir/Dialect/IRDL/IR/IRDLOps.cpp.inc",
2378 tblgen = ":mlir-tblgen",
2379 td_file = "include/mlir/Dialect/IRDL/IR/IRDLOps.td",
2380 deps = [":IRDLTdFiles"],
2384 name = "IRDLTypesIncGen",
2387 ["-gen-typedef-decls"],
2388 "include/mlir/Dialect/IRDL/IR/IRDLTypesGen.h.inc",
2391 ["-gen-typedef-defs"],
2392 "include/mlir/Dialect/IRDL/IR/IRDLTypesGen.cpp.inc",
2395 tblgen = ":mlir-tblgen",
2396 td_file = "include/mlir/Dialect/IRDL/IR/IRDLTypes.td",
2397 deps = [":IRDLTdFiles"],
2401 name = "IRDLDialect",
2403 "lib/Dialect/IRDL/IR/IRDL.cpp",
2404 "lib/Dialect/IRDL/IR/IRDLOps.cpp",
2405 "lib/Dialect/IRDL/IRDLLoading.cpp",
2406 "lib/Dialect/IRDL/IRDLVerifiers.cpp",
2409 "include/mlir/Dialect/IRDL/IR/IRDL.h",
2410 "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.h",
2411 "include/mlir/Dialect/IRDL/IR/IRDLTraits.h",
2412 "include/mlir/Dialect/IRDL/IRDLLoading.h",
2413 "include/mlir/Dialect/IRDL/IRDLVerifiers.h",
2415 includes = ["include"],
2419 ":IRDLAttributesIncGen",
2422 ":IRDLInterfacesIncGen",
2425 ":InferTypeOpInterface",
2432 ##---------------------------------------------------------------------------##
2434 ##---------------------------------------------------------------------------##
2437 name = "SCFTdFiles",
2439 "include/mlir/Dialect/SCF/IR/DeviceMappingInterface.td",
2440 "include/mlir/Dialect/SCF/IR/SCFOps.td",
2442 includes = ["include"],
2444 ":ControlFlowInterfacesTdFiles",
2445 ":InferTypeOpInterfaceTdFiles",
2446 ":LoopLikeInterfaceTdFiles",
2447 ":ParallelCombiningOpInterfaceTdFiles",
2448 ":SideEffectInterfacesTdFiles",
2449 ":ViewLikeInterfaceTdFiles",
2458 "include/mlir/Dialect/SCF/IR/SCFOps.h.inc",
2462 "include/mlir/Dialect/SCF/IR/SCFOps.cpp.inc",
2465 ["-gen-dialect-decls"],
2466 "include/mlir/Dialect/SCF/IR/SCFOpsDialect.h.inc",
2469 ["-gen-dialect-defs"],
2470 "include/mlir/Dialect/SCF/IR/SCFOpsDialect.cpp.inc",
2473 tblgen = ":mlir-tblgen",
2474 td_file = "include/mlir/Dialect/SCF/IR/SCFOps.td",
2475 deps = [":SCFTdFiles"],
2479 name = "SCFDeviceMappingInterfacesIncGen",
2482 ["-gen-attr-interface-decls"],
2483 "include/mlir/Dialect/SCF/IR/DeviceMappingAttrInterface.h.inc",
2486 ["-gen-attr-interface-defs"],
2487 "include/mlir/Dialect/SCF/IR/DeviceMappingAttrInterface.cpp.inc",
2490 ["-gen-attrdef-decls"],
2491 "include/mlir/Dialect/SCF/IR/DeviceMappingAttributes.h.inc",
2494 ["-gen-attrdef-defs"],
2495 "include/mlir/Dialect/SCF/IR/DeviceMappingAttributes.cpp.inc",
2498 tblgen = ":mlir-tblgen",
2499 td_file = "include/mlir/Dialect/SCF/IR/DeviceMappingInterface.td",
2500 deps = [":SCFTdFiles"],
2504 name = "SCFPassIncGen",
2511 "include/mlir/Dialect/SCF/Transforms/Passes.h.inc",
2514 tblgen = ":mlir-tblgen",
2515 td_file = "include/mlir/Dialect/SCF/Transforms/Passes.td",
2516 deps = [":PassBaseTdFiles"],
2520 name = "SCFTransforms",
2522 "lib/Dialect/SCF/Transforms/*.cpp",
2523 "lib/Dialect/SCF/Transforms/*.h",
2526 "include/mlir/Dialect/SCF/Transforms/*.h",
2528 includes = ["include"],
2534 ":BufferizationDialect",
2535 ":BufferizationTransforms",
2536 ":DestinationStyleOpInterface",
2545 ":SideEffectInterfaces",
2548 ":TensorTransforms",
2556 name = "SCFTransformOpsTdFiles",
2558 "include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td",
2560 includes = ["include"],
2563 ":TransformDialectTdFiles",
2568 name = "SCFTransformOpsIncGen",
2572 "include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.h.inc",
2576 "include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.cpp.inc",
2579 tblgen = ":mlir-tblgen",
2580 td_file = "include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td",
2582 ":SCFTransformOpsTdFiles",
2587 name = "SCFTransformOps",
2588 srcs = glob(["lib/Dialect/SCF/TransformOps/*.cpp"]),
2589 hdrs = glob(["include/mlir/Dialect/SCF/TransformOps/*.h"]),
2590 includes = ["include"],
2596 ":LoopLikeInterface",
2598 ":SCFTransformOpsIncGen",
2601 ":SideEffectInterfaces",
2602 ":TransformDialect",
2608 ##---------------------------------------------------------------------------##
2609 # SparseTensor dialect.
2610 ##---------------------------------------------------------------------------##
2613 name = "SparseTensorTdFiles",
2615 "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td",
2616 "include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td",
2617 "include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td",
2618 "include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td",
2620 includes = ["include"],
2622 ":InferTypeOpInterfaceTdFiles",
2624 ":SideEffectInterfacesTdFiles",
2629 name = "SparseTensorAttrDefsIncGen",
2632 ["--gen-attrdef-decls"],
2633 "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.h.inc",
2636 ["--gen-attrdef-defs"],
2637 "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.cpp.inc",
2640 ["--gen-enum-decls"],
2641 "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrEnums.h.inc",
2644 ["--gen-enum-defs"],
2645 "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrEnums.cpp.inc",
2648 tblgen = ":mlir-tblgen",
2649 td_file = "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td",
2650 deps = [":SparseTensorTdFiles"],
2654 name = "SparseTensorOpsIncGen",
2658 "-gen-dialect-decls",
2659 "-dialect=sparse_tensor",
2661 "include/mlir/Dialect/SparseTensor/IR/SparseTensorOpsDialect.h.inc",
2665 "-gen-dialect-defs",
2666 "-dialect=sparse_tensor",
2668 "include/mlir/Dialect/SparseTensor/IR/SparseTensorOpsDialect.cpp.inc",
2672 "include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.h.inc",
2676 "include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.cpp.inc",
2680 "g3doc/Dialects/SparseTensor/SparseTensor.md",
2683 tblgen = ":mlir-tblgen",
2684 td_file = "include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td",
2685 deps = [":SparseTensorTdFiles"],
2689 name = "SparseTensorTypesIncGen",
2692 ["--gen-typedef-decls"],
2693 "include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.h.inc",
2696 ["--gen-typedef-defs"],
2697 "include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.cpp.inc",
2700 tblgen = ":mlir-tblgen",
2701 td_file = "include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td",
2702 deps = [":SparseTensorTdFiles"],
2706 name = "SparseTensorPassIncGen",
2711 "-name=SparseTensor",
2713 "include/mlir/Dialect/SparseTensor/Transforms/Passes.h.inc",
2717 "-gen-pass-capi-header",
2718 "--prefix=SparseTensor",
2720 "include/mlir/Dialect/SparseTensor/Transforms/Passes.capi.h.inc",
2724 "-gen-pass-capi-impl",
2725 "--prefix=SparseTensor",
2727 "include/mlir/Dialect/SparseTensor/Transforms/Passes.capi.cpp.inc",
2730 tblgen = ":mlir-tblgen",
2731 td_file = "include/mlir/Dialect/SparseTensor/Transforms/Passes.td",
2732 deps = [":PassBaseTdFiles"],
2735 # This library is shared by both SparseTensorDialect and
2736 # SparseTensorRuntime, so it must not depend on any of the MLIR/LLVM
2737 # internals or else mlir_c_runner_utils will inherit that dependency.
2739 name = "SparseTensorEnums",
2740 hdrs = ["include/mlir/Dialect/SparseTensor/IR/Enums.h"],
2741 includes = ["include"],
2745 name = "SparseTensorDialect",
2747 "lib/Dialect/SparseTensor/IR/Detail/DimLvlMap.cpp",
2748 "lib/Dialect/SparseTensor/IR/Detail/DimLvlMap.h",
2749 "lib/Dialect/SparseTensor/IR/Detail/DimLvlMapParser.cpp",
2750 "lib/Dialect/SparseTensor/IR/Detail/DimLvlMapParser.h",
2751 "lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp",
2752 "lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.h",
2753 "lib/Dialect/SparseTensor/IR/Detail/TemplateExtras.h",
2754 "lib/Dialect/SparseTensor/IR/Detail/Var.cpp",
2755 "lib/Dialect/SparseTensor/IR/Detail/Var.h",
2756 "lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp",
2759 "include/mlir/Dialect/SparseTensor/IR/SparseTensor.h",
2760 "include/mlir/Dialect/SparseTensor/IR/SparseTensorStorageLayout.h",
2761 "include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h",
2763 includes = ["include"],
2768 ":InferTypeOpInterface",
2769 ":SparseTensorAttrDefsIncGen",
2770 ":SparseTensorEnums",
2771 ":SparseTensorOpsIncGen",
2772 ":SparseTensorTypesIncGen",
2778 name = "SparseTensorTransformOps",
2780 "lib/Dialect/SparseTensor/TransformOps/*.cpp",
2783 "include/mlir/Dialect/SparseTensor/TransformOps/*.h",
2785 includes = ["include"],
2789 ":LinalgTransformOps",
2790 ":SparseTensorDialect",
2791 ":SparseTensorTransformOpsIncGen",
2793 ":TransformDialect",
2799 name = "SparseTensorTransformOpsTdFiles",
2801 "include/mlir/Dialect/SparseTensor/TransformOps/*.td",
2803 includes = ["include"],
2805 ":TransformDialectTdFiles",
2810 name = "SparseTensorTransformOpsIncGen",
2814 "include/mlir/Dialect/SparseTensor/TransformOps/SparseTensorTransformOps.h.inc",
2818 "include/mlir/Dialect/SparseTensor/TransformOps/SparseTensorTransformOps.cpp.inc",
2821 tblgen = ":mlir-tblgen",
2822 td_file = "include/mlir/Dialect/SparseTensor/TransformOps/SparseTensorTransformOps.td",
2824 ":SparseTensorTransformOpsTdFiles",
2829 name = "SparseTensorUtils",
2830 srcs = glob(["lib/Dialect/SparseTensor/Utils/*.cpp"]),
2831 hdrs = glob(["include/mlir/Dialect/SparseTensor/Utils/*.h"]),
2832 includes = ["include"],
2839 ":SparseTensorDialect",
2840 ":SparseTensorEnums",
2846 name = "SparseTensorTransforms",
2848 "lib/Dialect/SparseTensor/Transforms/*.cpp",
2849 "lib/Dialect/SparseTensor/Transforms/*.h",
2852 "include/mlir/Dialect/SparseTensor/Transforms/BufferizableOpInterfaceImpl.h",
2853 "include/mlir/Dialect/SparseTensor/Transforms/Passes.h",
2855 includes = ["include"],
2860 ":BufferizationDialect",
2861 ":BufferizationTransforms",
2868 ":LLVMCommonConversion",
2871 ":LinalgTransforms",
2878 ":SparseTensorDialect",
2879 ":SparseTensorEnums",
2880 ":SparseTensorPassIncGen",
2881 ":SparseTensorUtils",
2891 name = "SparseTensorPipelines",
2892 srcs = glob(["lib/Dialect/SparseTensor/Pipelines/*.cpp"]),
2893 hdrs = ["include/mlir/Dialect/SparseTensor/Pipelines/Passes.h"],
2894 includes = ["include"],
2895 local_defines = if_cuda_available(["MLIR_GPU_TO_CUBIN_PASS_ENABLE"]),
2898 ":BufferizationTransforms",
2899 ":ConversionPasses",
2903 ":GPUToNVVMTransforms",
2905 ":LinalgTransforms",
2906 ":MemRefTransforms",
2909 ":SparseTensorDialect",
2910 ":SparseTensorTransforms",
2911 ":TensorTransforms",
2914 ":VectorTransforms",
2915 ] + if_cuda_available([
2916 ":SerializeToCubin",
2920 ##---------------------------------------------------------------------------##
2922 ##---------------------------------------------------------------------------##
2925 name = "NVGPUTdFiles",
2926 srcs = ["include/mlir/Dialect/NVGPU/IR/NVGPU.td"],
2927 includes = ["include"],
2929 ":SideEffectInterfacesTdFiles",
2934 name = "NVGPUIncGen",
2938 "-gen-dialect-decls",
2941 "include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h.inc",
2945 "-gen-dialect-defs",
2948 "include/mlir/Dialect/NVGPU/IR/NVGPUDialect.cpp.inc",
2952 "include/mlir/Dialect/NVGPU/IR/NVGPU.h.inc",
2956 "include/mlir/Dialect/NVGPU/IR/NVGPU.cpp.inc",
2960 "g3doc/Dialects/NVGPU/NVGPU.md",
2963 ["-gen-typedef-decls"],
2964 "include/mlir/Dialect/NVGPU/IR/NVGPUTypes.h.inc",
2967 ["-gen-typedef-defs"],
2968 "include/mlir/Dialect/NVGPU/IR/NVGPUTypes.cpp.inc",
2971 ["-gen-enum-decls"],
2972 "include/mlir/Dialect/NVGPU/IR/NVGPUEnums.h.inc",
2976 "include/mlir/Dialect/NVGPU/IR/NVGPUEnums.cpp.inc",
2979 ["-gen-attrdef-decls"],
2980 "include/mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.h.inc",
2983 ["-gen-attrdef-defs"],
2984 "include/mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.cpp.inc",
2987 tblgen = ":mlir-tblgen",
2988 td_file = "include/mlir/Dialect/NVGPU/IR/NVGPU.td",
2989 deps = [":NVGPUTdFiles"],
2993 name = "NVGPUPassIncGen",
3000 "include/mlir/Dialect/NVGPU/Transforms/Passes.h.inc",
3003 tblgen = ":mlir-tblgen",
3004 td_file = "include/mlir/Dialect/NVGPU/Transforms/Passes.td",
3005 deps = [":PassBaseTdFiles"],
3009 name = "NVGPUDialect",
3010 srcs = ["lib/Dialect/NVGPU/IR/NVGPUDialect.cpp"],
3011 hdrs = ["include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h"],
3012 includes = ["include"],
3017 ":SideEffectInterfaces",
3024 name = "NVGPUTransformOps",
3026 "lib/Dialect/NVGPU/TransformOps/*.cpp",
3029 "include/mlir/Dialect/NVGPU/TransformOps/*.h",
3031 includes = ["include"],
3038 ":GPUCompilationAttrInterfacesIncGen",
3041 ":LLVMCommonConversion",
3046 ":NVGPUTransformOpsIncGen",
3052 ":TransformDialect",
3059 name = "NVGPUTransformOpsTdFiles",
3061 "include/mlir/Dialect/NVGPU/TransformOps/*.td",
3063 includes = ["include"],
3065 ":TransformDialectTdFiles",
3070 name = "NVGPUTransformOpsIncGen",
3074 "include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.h.inc",
3078 "include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp.inc",
3081 tblgen = ":mlir-tblgen",
3082 td_file = "include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.td",
3084 ":NVGPUTransformOpsTdFiles",
3089 name = "NVGPUUtils",
3090 srcs = ["lib/Dialect/NVGPU/Utils/MMAUtils.cpp"],
3091 hdrs = ["include/mlir/Dialect/NVGPU/Utils/MMAUtils.h"],
3092 includes = ["include"],
3104 name = "NVGPUTransforms",
3106 "lib/Dialect/NVGPU/Transforms/*.cpp",
3109 "include/mlir/Dialect/NVGPU/Transforms/*.h",
3111 includes = ["include"],
3122 ":SideEffectInterfaces",
3132 name = "FuncTdFiles",
3134 "include/mlir/Dialect/Func/IR/FuncOps.td",
3136 includes = ["include"],
3139 ":CallInterfacesTdFiles",
3140 ":CastInterfacesTdFiles",
3141 ":ControlFlowInterfacesTdFiles",
3142 ":FunctionInterfacesTdFiles",
3143 ":InferTypeOpInterfaceTdFiles",
3145 ":SideEffectInterfacesTdFiles",
3146 ":VectorInterfacesTdFiles",
3151 name = "FuncIncGen",
3155 "include/mlir/Dialect/Func/IR/FuncOps.h.inc",
3159 "include/mlir/Dialect/Func/IR/FuncOps.cpp.inc",
3162 ["-gen-dialect-decls"],
3163 "include/mlir/Dialect/Func/IR/FuncOpsDialect.h.inc",
3166 ["-gen-dialect-defs"],
3167 "include/mlir/Dialect/Func/IR/FuncOpsDialect.cpp.inc",
3170 ["-gen-enum-decls"],
3171 "include/mlir/Dialect/Func/IR/FuncOpsEnums.h.inc",
3175 "include/mlir/Dialect/Func/IR/FuncOpsEnums.cpp.inc",
3178 tblgen = ":mlir-tblgen",
3179 td_file = "include/mlir/Dialect/Func/IR/FuncOps.td",
3180 deps = [":FuncTdFiles"],
3186 "lib/Dialect/*.cpp",
3190 "include/mlir/Dialect/*.h",
3192 includes = ["include"],
3200 name = "DialectUtilsTdFiles",
3202 "include/mlir/Dialect/Utils/StructuredOpsUtils.td",
3204 includes = ["include"],
3205 deps = [":OpBaseTdFiles"],
3209 name = "DialectUtilsIncGen",
3212 ["-gen-enum-decls"],
3213 "include/mlir/Dialect/Utils/DialectUtilsEnums.h.inc",
3217 "include/mlir/Dialect/Utils/DialectUtilsEnums.cpp.inc",
3220 tblgen = ":mlir-tblgen",
3221 td_file = "include/mlir/Dialect/Utils/StructuredOpsUtils.td",
3222 deps = [":DialectUtilsTdFiles"],
3226 name = "DialectUtils",
3228 "lib/Dialect/Utils/*.cpp",
3229 "lib/Dialect/Utils/*.h",
3232 "include/mlir/Dialect/Utils/*.h",
3234 includes = ["include"],
3237 ":DialectUtilsIncGen",
3245 name = "AffineDialect",
3247 "lib/Dialect/Affine/IR/*.cpp",
3248 "lib/Dialect/Affine/IR/*.h",
3251 "include/mlir/Dialect/Affine/IR/*.h",
3253 includes = ["include"],
3255 ":AffineMemoryOpInterfacesIncGen",
3258 ":ControlFlowInterfaces",
3261 ":LoopLikeInterface",
3263 ":ShapedOpInterfaces",
3264 ":SideEffectInterfaces",
3266 ":ValueBoundsOpInterface",
3272 name = "EmitCDialect",
3274 "lib/Dialect/EmitC/IR/*.cpp",
3277 "include/mlir/Dialect/EmitC/IR/*.h",
3279 includes = ["include"],
3282 ":EmitCAttributesIncGen",
3285 ":SideEffectInterfaces",
3291 name = "AsyncDialect",
3293 "lib/Dialect/Async/IR/*.cpp",
3296 "include/mlir/Dialect/Async/IR/*.h",
3298 includes = ["include"],
3301 ":ControlFlowInterfaces",
3302 ":FunctionInterfaces",
3304 ":InferTypeOpInterface",
3305 ":SideEffectInterfaces",
3311 name = "AsyncTransforms",
3313 "lib/Dialect/Async/Transforms/*.cpp",
3314 "lib/Dialect/Async/Transforms/*.h",
3317 "include/mlir/Dialect/Async/Passes.h",
3318 "include/mlir/Dialect/Async/Transforms.h",
3320 includes = ["include"],
3326 ":ControlFlowDialect",
3331 ":SCFToControlFlow",
3335 ":TransformsPassIncGen",
3342 name = "AffineAnalysis",
3344 "lib/Dialect/Affine/Analysis/*.cpp",
3345 "lib/Dialect/Affine/Analysis/*.h",
3347 hdrs = glob(["include/mlir/Dialect/Affine/Analysis/*.h"]),
3348 includes = ["include"],
3356 ":SideEffectInterfaces",
3358 ":ViewLikeInterface",
3364 name = "AffineUtils",
3367 "lib/Dialect/Affine/Utils/*.cpp",
3368 "lib/Dialect/Affine/Utils/*.h",
3372 "include/mlir/Dialect/Affine/LoopFusionUtils.h",
3373 "include/mlir/Dialect/Affine/LoopUtils.h",
3374 "include/mlir/Dialect/Affine/Utils.h",
3375 "include/mlir/Dialect/Affine/ViewLikeInterfaceUtils.h",
3377 includes = ["include"],
3390 ":ViewLikeInterface",
3396 name = "AffinePassIncGen",
3403 "include/mlir/Dialect/Affine/Passes.h.inc",
3406 tblgen = ":mlir-tblgen",
3407 td_file = "include/mlir/Dialect/Affine/Passes.td",
3408 deps = [":PassBaseTdFiles"],
3412 name = "AffineTransforms",
3414 "lib/Dialect/Affine/Transforms/*.cpp",
3415 "lib/Dialect/Affine/Transforms/*.h",
3418 "include/mlir/Dialect/Affine/Passes.h",
3419 "include/mlir/Dialect/Affine/Transforms/Transforms.h",
3421 includes = ["include"],
3425 ":AffinePassIncGen",
3439 ":ValueBoundsOpInterface",
3447 name = "ConversionPassIncGen",
3454 "include/mlir/Conversion/Passes.h.inc",
3458 "-gen-pass-capi-header",
3459 "--prefix=Conversion",
3461 "include/mlir/Conversion/Passes.capi.h.inc",
3465 "-gen-pass-capi-impl",
3466 "--prefix=Conversion",
3468 "include/mlir/Conversion/Passes.capi.cpp.inc",
3471 tblgen = ":mlir-tblgen",
3472 td_file = "include/mlir/Conversion/Passes.td",
3473 deps = [":PassBaseTdFiles"],
3477 name = "ConversionPasses",
3478 hdrs = ["include/mlir/Conversion/Passes.h"],
3479 includes = ["include"],
3482 ":AffineToStandard",
3488 ":BufferizationToMemRef",
3492 ":ComplexToStandard",
3493 ":ControlFlowToLLVM",
3494 ":ControlFlowToSCF",
3495 ":ControlFlowToSPIRV",
3496 ":ConversionPassIncGen",
3500 ":GPUToGPURuntimeTransforms",
3501 ":GPUToNVVMTransforms",
3502 ":GPUToROCDLTransforms",
3504 ":GPUToVulkanTransforms",
3506 ":LinalgToStandard",
3519 ":ReconcileUnrealizedCasts",
3520 ":SCFToControlFlow",
3543 name = "AsyncToLLVM",
3545 "lib/Conversion/AsyncToLLVM/*.cpp",
3546 "lib/Conversion/AsyncToLLVM/*.h",
3548 hdrs = glob(["include/mlir/Conversion/AsyncToLLVM/*.h"]),
3549 includes = ["include"],
3553 ":ConversionPassIncGen",
3559 ":LLVMCommonConversion",
3569 name = "AffineToStandard",
3571 "lib/Conversion/AffineToStandard/*.cpp",
3572 "lib/Conversion/AffineToStandard/*.h",
3574 hdrs = glob(["include/mlir/Conversion/AffineToStandard/*.h"]),
3575 includes = ["include"],
3580 ":ConversionPassIncGen",
3592 # SDBM dialect only contains attribute components that can be constructed given
3593 # a dialect object, so whenever it is used it must also be registered. Therefore
3594 # we don't split out the registration library for it.
3598 "lib/Dialect/SDBM/*.cpp",
3599 "lib/Dialect/SDBM/*.h",
3602 "include/mlir/Dialect/SDBM/*.h",
3604 includes = ["include"],
3613 name = "SCFDialect",
3616 "lib/Dialect/SCF/IR/*.cpp",
3617 "lib/Dialect/SCF/IR/*.h",
3622 "include/mlir/Dialect/SCF/IR/*.h",
3625 includes = ["include"],
3629 ":BufferizationDialect",
3630 ":ControlFlowDialect",
3631 ":ControlFlowInterfaces",
3633 ":FunctionInterfaces",
3635 ":InferTypeOpInterface",
3636 ":LoopLikeInterface",
3638 ":ParallelCombiningOpInterface",
3640 ":SCFDeviceMappingInterfacesIncGen",
3645 ":ValueBoundsOpInterface",
3646 ":ViewLikeInterface",
3655 "lib/Dialect/SCF/Utils/*.cpp",
3660 "include/mlir/Dialect/SCF/Utils/*.h",
3663 includes = ["include"],
3673 ":SideEffectInterfaces",
3681 name = "InferIntRangeCommon",
3683 "lib/Interfaces/Utils/InferIntRangeCommon.cpp",
3685 hdrs = ["include/mlir/Interfaces/Utils/InferIntRangeCommon.h"],
3686 includes = ["include"],
3689 ":InferIntRangeInterface",
3695 name = "DataLayoutInterfaces",
3696 srcs = ["lib/Interfaces/DataLayoutInterfaces.cpp"],
3697 hdrs = ["include/mlir/Interfaces/DataLayoutInterfaces.h"],
3698 includes = ["include"],
3700 ":DataLayoutInterfacesIncGen",
3707 name = "LoopLikeInterface",
3708 srcs = ["lib/Interfaces/LoopLikeInterface.cpp"],
3709 hdrs = ["include/mlir/Interfaces/LoopLikeInterface.h"],
3710 includes = ["include"],
3712 ":FunctionInterfaces",
3714 ":LoopLikeInterfaceIncGen",
3720 name = "MemorySlotInterfaces",
3721 srcs = ["lib/Interfaces/MemorySlotInterfaces.cpp"],
3722 hdrs = ["include/mlir/Interfaces/MemorySlotInterfaces.h"],
3723 includes = ["include"],
3726 ":MemorySlotInterfacesIncGen",
3732 name = "ShapedOpInterfaces",
3733 srcs = ["lib/Interfaces/ShapedOpInterfaces.cpp"],
3734 hdrs = ["include/mlir/Interfaces/ShapedOpInterfaces.h"],
3735 includes = ["include"],
3738 ":ShapedOpInterfacesIncGen",
3744 name = "ParallelCombiningOpInterface",
3745 srcs = ["lib/Interfaces/ParallelCombiningOpInterface.cpp"],
3746 hdrs = ["include/mlir/Interfaces/ParallelCombiningOpInterface.h"],
3747 includes = ["include"],
3750 ":ParallelCombiningOpInterfaceIncGen",
3756 name = "RuntimeVerifiableOpInterface",
3757 srcs = ["lib/Interfaces/RuntimeVerifiableOpInterface.cpp"],
3758 hdrs = ["include/mlir/Interfaces/RuntimeVerifiableOpInterface.h"],
3759 includes = ["include"],
3762 ":RuntimeVerifiableOpInterfaceIncGen",
3768 name = "VectorInterfaces",
3769 srcs = ["lib/Interfaces/VectorInterfaces.cpp"],
3770 hdrs = ["include/mlir/Interfaces/VectorInterfaces.h"],
3771 includes = ["include"],
3774 ":VectorInterfacesIncGen",
3779 name = "ViewLikeInterface",
3780 srcs = ["lib/Interfaces/ViewLikeInterface.cpp"],
3781 hdrs = ["include/mlir/Interfaces/ViewLikeInterface.h"],
3782 includes = ["include"],
3786 ":ViewLikeInterfaceIncGen",
3791 name = "CopyOpInterface",
3792 srcs = ["lib/Interfaces/CopyOpInterface.cpp"],
3793 hdrs = ["include/mlir/Interfaces/CopyOpInterface.h"],
3794 includes = ["include"],
3796 ":CopyOpInterfaceIncGen",
3802 name = "ShapeOpsTdFiles",
3804 "include/mlir/Dialect/Shape/IR/ShapeBase.td",
3805 "include/mlir/Dialect/Shape/IR/ShapeOps.td",
3807 includes = ["include"],
3809 ":CallInterfacesTdFiles",
3810 ":CastInterfacesTdFiles",
3811 ":ControlFlowInterfacesTdFiles",
3812 ":FunctionInterfacesTdFiles",
3813 ":InferTypeOpInterfaceTdFiles",
3814 ":SideEffectInterfacesTdFiles",
3819 name = "ShapeOpsIncGen",
3823 "include/mlir/Dialect/Shape/IR/ShapeOps.h.inc",
3827 "include/mlir/Dialect/Shape/IR/ShapeOps.cpp.inc",
3830 ["-gen-dialect-decls"],
3831 "include/mlir/Dialect/Shape/IR/ShapeOpsDialect.h.inc",
3834 ["-gen-dialect-defs"],
3835 "include/mlir/Dialect/Shape/IR/ShapeOpsDialect.cpp.inc",
3838 ["-gen-typedef-decls"],
3839 "include/mlir/Dialect/Shape/IR/ShapeOpsTypes.h.inc",
3842 ["-gen-typedef-defs"],
3843 "include/mlir/Dialect/Shape/IR/ShapeOpsTypes.cpp.inc",
3846 tblgen = ":mlir-tblgen",
3847 td_file = "include/mlir/Dialect/Shape/IR/ShapeOps.td",
3848 deps = [":ShapeOpsTdFiles"],
3852 name = "MLIRShapeCanonicalizationIncGen",
3853 strip_include_prefix = "include/mlir/Dialect/Shape/IR",
3857 "include/mlir/Dialect/Shape/IR/ShapeCanonicalization.inc",
3860 tblgen = ":mlir-tblgen",
3861 td_file = "lib/Dialect/Shape/IR/ShapeCanonicalization.td",
3865 ":TensorOpsTdFiles",
3870 name = "ShapeDialect",
3871 srcs = glob(["lib/Dialect/Shape/IR/*.cpp"]),
3872 hdrs = ["include/mlir/Dialect/Shape/IR/Shape.h"],
3873 includes = ["include"],
3877 ":ControlFlowInterfaces",
3880 ":FunctionInterfaces",
3882 ":InferTypeOpInterface",
3883 ":MLIRShapeCanonicalizationIncGen",
3885 ":SideEffectInterfaces",
3893 name = "ShapeToStandardGen",
3894 strip_include_prefix = "lib/Conversion/ShapeToStandard",
3898 "lib/Conversion/ShapeToStandard/ShapeToStandard.cpp.inc",
3901 tblgen = ":mlir-tblgen",
3902 td_file = "lib/Conversion/ShapeToStandard/ShapeToStandard.td",
3903 deps = [":ShapeOpsTdFiles"],
3907 name = "ShapeToStandard",
3909 "lib/Conversion/ShapeToStandard/*.cpp",
3910 "lib/Conversion/ShapeToStandard/*.h",
3912 hdrs = ["include/mlir/Conversion/ShapeToStandard/ShapeToStandard.h"],
3913 includes = ["include"],
3916 ":ControlFlowDialect",
3917 ":ConversionPassIncGen",
3924 ":ShapeToStandardGen",
3933 name = "ShapeTransformsPassIncGen",
3939 "include/mlir/Dialect/Shape/Transforms/Passes.h.inc",
3941 tblgen = ":mlir-tblgen",
3942 td_file = "include/mlir/Dialect/Shape/Transforms/Passes.td",
3943 deps = [":PassBaseTdFiles"],
3947 name = "ShapeTransforms",
3949 "lib/Dialect/Shape/Transforms/*.cpp",
3950 "lib/Dialect/Shape/Transforms/*.h",
3953 "include/mlir/Dialect/Shape/Analysis/ShapeMappingAnalysis.h",
3954 "include/mlir/Dialect/Shape/Transforms/BufferizableOpInterfaceImpl.h",
3955 "include/mlir/Dialect/Shape/Transforms/Passes.h",
3957 includes = ["include"],
3960 ":BufferizationDialect",
3961 ":BufferizationTransforms",
3967 ":ShapeTransformsPassIncGen",
3975 name = "ControlFlowOpsTdFiles",
3977 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td",
3979 includes = ["include"],
3982 ":CallInterfacesTdFiles",
3983 ":CastInterfacesTdFiles",
3984 ":ControlFlowInterfacesTdFiles",
3985 ":InferTypeOpInterfaceTdFiles",
3987 ":SideEffectInterfacesTdFiles",
3992 name = "ControlFlowOpsIncGen",
3996 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.h.inc",
4000 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.cpp.inc",
4003 ["-gen-dialect-decls"],
4004 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOpsDialect.h.inc",
4007 ["-gen-dialect-defs"],
4008 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOpsDialect.cpp.inc",
4011 ["-gen-enum-decls"],
4012 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOpsEnums.h.inc",
4016 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOpsEnums.cpp.inc",
4019 tblgen = ":mlir-tblgen",
4020 td_file = "include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td",
4023 ":ControlFlowOpsTdFiles",
4028 name = "ControlFlowDialect",
4031 "lib/Dialect/ControlFlow/IR/*.cpp",
4032 "lib/Dialect/ControlFlow/IR/*.h",
4036 "include/mlir/Dialect/ControlFlow/IR/*.h",
4038 includes = ["include"],
4042 ":ControlFlowInterfaces",
4043 ":ControlFlowOpsIncGen",
4045 ":SideEffectInterfaces",
4052 name = "ControlFlowTransforms",
4054 "lib/Dialect/ControlFlow/Transforms/*.cpp",
4057 "include/mlir/Dialect/ControlFlow/Transforms/*.h",
4059 includes = ["include"],
4061 ":BufferizationDialect",
4062 ":BufferizationTransforms",
4063 ":ControlFlowDialect",
4070 name = "FuncDialect",
4073 "lib/Dialect/Func/IR/*.cpp",
4074 "lib/Dialect/Func/IR/*.h",
4075 "lib/Dialect/Func/Utils/*.cpp",
4079 "include/mlir/Dialect/Func/IR/*.h",
4080 "include/mlir/Dialect/Func/Utils/*.h",
4081 ]) + ["include/mlir/Transforms/InliningUtils.h"],
4082 includes = ["include"],
4085 ":CallOpInterfaces",
4088 ":ControlFlowDialect",
4089 ":ControlFlowInterfaces",
4091 ":FunctionInterfaces",
4093 ":InferTypeOpInterface",
4094 ":SideEffectInterfaces",
4101 name = "FuncExtensions",
4102 srcs = glob(["lib/Dialect/Func/Extensions/*.cpp"]),
4103 hdrs = glob(["include/mlir/Dialect/Func/Extensions/*.h"]),
4104 includes = ["include"],
4106 ":ControlFlowDialect",
4109 ":InferTypeOpInterface",
4114 name = "FuncTransformOpsTdFiles",
4116 "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.td",
4118 includes = ["include"],
4120 ":TransformDialectTdFiles",
4125 name = "FuncTransformOpsIncGen",
4126 strip_include_prefix = "include",
4130 "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.h.inc",
4134 "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.cpp.inc",
4137 tblgen = ":mlir-tblgen",
4138 td_file = "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.td",
4140 ":FuncTransformOpsTdFiles",
4145 name = "FuncTransformOps",
4147 "lib/Dialect/Func/TransformOps/FuncTransformOps.cpp",
4150 "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.h",
4152 includes = ["include"],
4156 ":FuncTransformOpsIncGen",
4158 ":LLVMCommonConversion",
4160 ":TransformDialect",
4165 name = "AllExtensions",
4166 hdrs = ["include/mlir/InitAllExtensions.h"],
4168 ":AffineTransformOps",
4170 ":BufferizationTransformOps",
4171 ":BuiltinToLLVMIRTranslation",
4173 ":ControlFlowToLLVM",
4176 ":FuncTransformOps",
4177 ":GPUToLLVMIRTranslation",
4180 ":LLVMToLLVMIRTranslation",
4181 ":LinalgTransformOps",
4184 ":MemRefTransformOps",
4185 ":NVGPUTransformOps",
4189 ":ROCDLToLLVMIRTranslation",
4191 ":SparseTensorTransformOps",
4192 ":TensorTransformOps",
4193 ":TransformPDLExtension",
4195 ":VectorTransformOps",
4199 # TODO(zinenko): remove this after updating users.
4202 name = "FuncTransformsPassIncGen",
4208 "include/mlir/Dialect/Func/Transforms/Passes.h.inc",
4210 tblgen = ":mlir-tblgen",
4211 td_file = "include/mlir/Dialect/Func/Transforms/Passes.td",
4212 deps = [":PassBaseTdFiles"],
4216 name = "FuncTransforms",
4218 "lib/Dialect/Func/Transforms/*.cpp",
4219 "lib/Dialect/Func/Transforms/*.h",
4221 hdrs = glob(["include/mlir/Dialect/Func/Transforms/*.h"]),
4222 includes = ["include"],
4224 ":BufferizationDialect",
4225 ":BufferizationTransforms",
4227 ":FuncTransformsPassIncGen",
4239 name = "VectorDialect",
4242 "lib/Dialect/Vector/IR/*.cpp",
4246 "include/mlir/Dialect/Vector/IR/*.h",
4248 includes = ["include"],
4252 ":ControlFlowInterfaces",
4253 ":DataLayoutInterfaces",
4254 ":DestinationStyleOpInterface",
4257 ":InferTypeOpInterface",
4258 ":MaskableOpInterface",
4259 ":MaskingOpInterface",
4261 ":SideEffectInterfaces",
4264 ":VectorInterfaces",
4266 ":ViewLikeInterface",
4272 name = "VectorTransformOps",
4274 "lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp",
4277 "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.h",
4279 includes = ["include"],
4285 ":LLVMCommonConversion",
4287 ":SideEffectInterfaces",
4288 ":TransformDialect",
4291 ":VectorEnumsIncGen",
4294 ":VectorTransformOpsIncGen",
4295 ":VectorTransforms",
4296 ":X86VectorTransforms",
4302 name = "VectorTransformsTdFiles",
4303 srcs = ["include/mlir/Dialect/Vector/Transforms/VectorTransformsBase.td"],
4304 includes = ["include"],
4305 deps = [":OpBaseTdFiles"],
4309 name = "VectorEnumsIncGen",
4312 ["-gen-enum-decls"],
4313 "include/mlir/Dialect/Vector/Transforms/VectorTransformsEnums.h.inc",
4317 "include/mlir/Dialect/Vector/Transforms/VectorTransformsEnums.cpp.inc",
4320 tblgen = ":mlir-tblgen",
4321 td_file = "include/mlir/Dialect/Vector/Transforms/VectorTransformsBase.td",
4328 name = "VectorPassIncGen",
4335 "include/mlir/Dialect/Vector/Transforms/Passes.h.inc",
4338 tblgen = ":mlir-tblgen",
4339 td_file = "include/mlir/Dialect/Vector/Transforms/Passes.td",
4340 deps = [":PassBaseTdFiles"],
4344 name = "VectorTransforms",
4347 "lib/Dialect/Vector/Transforms/*.cpp",
4348 "lib/Dialect/Vector/Transforms/*.h",
4352 "include/mlir/Dialect/Vector/Transforms/*.h",
4354 includes = ["include"],
4360 ":BufferizationDialect",
4361 ":BufferizationTransforms",
4370 ":SideEffectInterfaces",
4375 ":VectorEnumsIncGen",
4376 ":VectorInterfaces",
4377 ":VectorPassIncGen",
4384 name = "VectorUtils",
4387 "lib/Dialect/Vector/Utils/*.cpp",
4391 "include/mlir/Dialect/Vector/Utils/*.h",
4393 includes = ["include"],
4412 "lib/Support/*.cpp",
4415 hdrs = glob(["include/mlir/Support/*.h"]),
4416 includes = ["include"],
4419 "//llvm:TargetParser",
4428 "lib/Debug/BreakpointManagers/*.cpp",
4429 "lib/Debug/BreakpointManagers/*.h",
4430 "lib/Debug/Observers/*.cpp",
4431 "lib/Debug/Observers/*.h",
4434 "include/mlir/Debug/*.h",
4435 "include/mlir/Debug/BreakpointManagers/*.h",
4436 "include/mlir/Debug/Observers/*.h",
4438 includes = ["include"],
4448 name = "MlirLspServerSupportLib",
4451 "lib/Tools/lsp-server-support/*.cpp",
4456 "include/mlir/Tools/lsp-server-support/*.h",
4462 "//llvm:TargetParser",
4467 name = "MlirLspServerLib",
4470 "lib/Tools/mlir-lsp-server/*.cpp",
4471 "lib/Tools/mlir-lsp-server/*.h",
4472 "lib/Tools/mlir-lsp-server/lsp/*.cpp",
4473 "lib/Tools/mlir-lsp-server/lsp/*.h",
4477 ["include/mlir/Tools/mlir-lsp-server/*.h"],
4479 includes = ["include"],
4483 ":FunctionInterfaces",
4485 ":MlirLspServerSupportLib",
4493 name = "MlirPdllLspServerLib",
4496 "lib/Tools/mlir-pdll-lsp-server/*.cpp",
4497 "lib/Tools/mlir-pdll-lsp-server/*.h",
4501 ["include/mlir/Tools/mlir-pdll-lsp-server/*.h"],
4503 includes = ["include"],
4506 ":MlirLspServerSupportLib",
4517 name = "AsmParserTokenKinds",
4518 # strip_include_prefix does not apply to textual_hdrs.
4519 hdrs = ["lib/AsmParser/TokenKinds.def"],
4520 strip_include_prefix = "lib/AsmParser",
4521 textual_hdrs = ["lib/AsmParser/TokenKinds.def"],
4527 "lib/AsmParser/*.cpp",
4528 "lib/AsmParser/*.h",
4531 "include/mlir/AsmParser/*.h",
4533 includes = ["include"],
4535 ":AsmParserTokenKinds",
4539 "//llvm:TargetParser",
4544 name = "BytecodeReader",
4546 "lib/Bytecode/Reader/*.cpp",
4547 "lib/Bytecode/Reader/*.h",
4551 "include/mlir/Bytecode/*.h",
4553 includes = ["include"],
4556 ":BytecodeOpInterfaceIncGen",
4564 name = "BytecodeWriter",
4566 "lib/Bytecode/Writer/*.cpp",
4567 "lib/Bytecode/Writer/*.h",
4571 "include/mlir/Bytecode/*.h",
4573 includes = ["include"],
4575 ":BytecodeOpInterfaceIncGen",
4589 "include/mlir/Parser/*.h",
4591 includes = ["include"],
4602 name = "LLVMDialectInterfaceIncGen",
4605 ["-gen-op-interface-decls"],
4606 "include/mlir/Dialect/LLVMIR/LLVMInterfaces.h.inc",
4609 ["-gen-op-interface-defs"],
4610 "include/mlir/Dialect/LLVMIR/LLVMInterfaces.cpp.inc",
4613 ["-gen-type-interface-decls"],
4614 "include/mlir/Dialect/LLVMIR/LLVMTypeInterfaces.h.inc",
4617 ["-gen-type-interface-defs"],
4618 "include/mlir/Dialect/LLVMIR/LLVMTypeInterfaces.cpp.inc",
4621 tblgen = ":mlir-tblgen",
4622 td_file = "include/mlir/Dialect/LLVMIR/LLVMInterfaces.td",
4623 deps = [":LLVMOpsTdFiles"],
4627 name = "LLVMDialect",
4630 "lib/Dialect/LLVMIR/IR/*.cpp",
4631 "lib/Dialect/LLVMIR/IR/*.h",
4634 "lib/Dialect/LLVMIR/IR/*AMX*.cpp",
4635 "lib/Dialect/LLVMIR/IR/*AMX*.h",
4636 "lib/Dialect/LLVMIR/IR/*ArmSVE*.cpp",
4637 "lib/Dialect/LLVMIR/IR/*ArmSVE*.h",
4638 "lib/Dialect/LLVMIR/IR/NVVM*.cpp",
4639 "lib/Dialect/LLVMIR/IR/NVVM*.h",
4640 "lib/Dialect/LLVMIR/IR/ROCDL*.cpp",
4641 "lib/Dialect/LLVMIR/IR/ROCDL*.h",
4642 "lib/Dialect/LLVMIR/IR/*X86Vector*.cpp",
4643 "lib/Dialect/LLVMIR/IR/*X86Vector*.h",
4647 ["include/mlir/Dialect/LLVMIR/*.h"],
4649 "include/mlir/Dialect/LLVMIR/*AMX*.h",
4650 "include/mlir/Dialect/LLVMIR/*ArmSVE*.h",
4651 "include/mlir/Dialect/LLVMIR/NVVM*.h",
4652 "include/mlir/Dialect/LLVMIR/ROCDL*.h",
4653 "include/mlir/Dialect/LLVMIR/*X86Vector*.h",
4656 "include/mlir/Transforms/InliningUtils.h",
4657 "include/mlir/Transforms/Mem2Reg.h",
4659 includes = ["include"],
4661 ":CallOpInterfaces",
4662 ":ControlFlowInterfaces",
4663 ":DataLayoutInterfaces",
4664 ":FunctionInterfaces",
4666 ":InferTypeOpInterface",
4667 ":LLVMDialectInterfaceIncGen",
4668 ":LLVMIntrinsicOpsIncGen",
4671 ":MemorySlotInterfaces",
4672 ":MemorySlotInterfacesIncGen",
4673 ":SideEffectInterfaces",
4676 "//llvm:BinaryFormat",
4685 name = "LLVMPassIncGen",
4692 "include/mlir/Dialect/LLVMIR/Transforms/Passes.h.inc",
4695 tblgen = ":mlir-tblgen",
4696 td_file = "include/mlir/Dialect/LLVMIR/Transforms/Passes.td",
4697 deps = [":PassBaseTdFiles"],
4701 name = "LLVMIRTransforms",
4703 "lib/Dialect/LLVMIR/Transforms/*.cpp",
4704 "lib/Dialect/LLVMIR/Transforms/*.h",
4706 hdrs = glob(["include/mlir/Dialect/LLVMIR/Transforms/*.h"]),
4707 includes = ["include"],
4717 "//llvm:BinaryFormat",
4723 name = "GPUOpsTdFiles",
4725 "include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.td",
4726 "include/mlir/Dialect/GPU/IR/CompilationAttrs.td",
4727 "include/mlir/Dialect/GPU/IR/GPUBase.td",
4728 "include/mlir/Dialect/GPU/IR/GPUOps.td",
4729 "include/mlir/Dialect/GPU/IR/ParallelLoopMapperAttr.td",
4730 "include/mlir/Dialect/GPU/TransformOps/GPUDeviceMappingAttr.td",
4732 includes = ["include"],
4734 ":DLTIDialectTdFiles",
4735 ":DataLayoutInterfacesTdFiles",
4736 ":FunctionInterfacesTdFiles",
4737 ":InferIntRangeInterfaceTdFiles",
4741 ":SideEffectInterfacesTdFiles",
4746 name = "GPUDeviceMapperEnumsGen",
4749 ["-gen-enum-decls"],
4750 "include/mlir/Dialect/GPU/TransformOps/GPUDeviceMapperEnums.h.inc",
4754 "include/mlir/Dialect/GPU/TransformOps/GPUDeviceMapperEnums.cpp.inc",
4757 tblgen = ":mlir-tblgen",
4758 td_file = "include/mlir/Dialect/GPU/TransformOps/GPUDeviceMappingAttr.td",
4766 name = "GPUCompilationAttrInterfacesIncGen",
4769 ["-gen-attr-interface-decls"],
4770 "include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.h.inc",
4773 ["-gen-attr-interface-defs"],
4774 "include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.cpp.inc",
4777 tblgen = ":mlir-tblgen",
4778 td_file = "include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.td",
4786 name = "GPUBaseIncGen",
4789 ["-gen-op-interface-decls"],
4790 "include/mlir/Dialect/GPU/IR/GPUOpInterfaces.h.inc",
4793 ["-gen-op-interface-defs"],
4794 "include/mlir/Dialect/GPU/IR/GPUOpInterfaces.cpp.inc",
4797 tblgen = ":mlir-tblgen",
4798 td_file = "include/mlir/Dialect/GPU/IR/GPUBase.td",
4799 deps = [":OpBaseTdFiles"],
4803 name = "GPUOpsIncGen",
4807 "-gen-dialect-decls",
4810 "include/mlir/Dialect/GPU/IR/GPUOpsDialect.h.inc",
4814 "-gen-dialect-defs",
4817 "include/mlir/Dialect/GPU/IR/GPUOpsDialect.cpp.inc",
4821 "include/mlir/Dialect/GPU/IR/GPUOps.h.inc",
4825 "include/mlir/Dialect/GPU/IR/GPUOps.cpp.inc",
4828 ["-gen-enum-decls"],
4829 "include/mlir/Dialect/GPU/IR/GPUOpsEnums.h.inc",
4833 "include/mlir/Dialect/GPU/IR/GPUOpsEnums.cpp.inc",
4836 ["-gen-attrdef-decls"],
4837 "include/mlir/Dialect/GPU/IR/GPUOpsAttributes.h.inc",
4840 ["-gen-attrdef-defs"],
4841 "include/mlir/Dialect/GPU/IR/GPUOpsAttributes.cpp.inc",
4844 tblgen = ":mlir-tblgen",
4845 td_file = "include/mlir/Dialect/GPU/IR/GPUOps.td",
4847 ":DLTIDialectTdFiles",
4853 name = "GPUDialect",
4856 "lib/Dialect/GPU/IR/*.cpp",
4857 "lib/Dialect/GPU/IR/*.h",
4860 hdrs = glob(["include/mlir/Dialect/GPU/IR/*.h"]),
4861 includes = ["include"],
4865 ":FunctionInterfaces",
4867 ":GPUCompilationAttrInterfacesIncGen",
4870 ":InferIntRangeInterface",
4871 ":InferTypeOpInterface",
4875 ":SideEffectInterfaces",
4881 name = "GPUPassIncGen",
4888 "include/mlir/Dialect/GPU/Transforms/Passes.h.inc",
4892 "-gen-pass-capi-header",
4895 "include/mlir/Dialect/GPU/Transforms/Passes.capi.h.inc",
4899 "-gen-pass-capi-impl",
4902 "include/mlir/Dialect/GPU/Transforms/Passes.capi.cpp.inc",
4905 tblgen = ":mlir-tblgen",
4906 td_file = "include/mlir/Dialect/GPU/Transforms/Passes.td",
4907 deps = [":PassBaseTdFiles"],
4911 name = "GPUTransforms",
4914 "lib/Dialect/GPU/Transforms/*.cpp",
4915 "lib/Dialect/GPU/Transforms/*.h",
4918 "lib/Dialect/GPU/Transforms/SerializeToCubin.cpp",
4921 hdrs = glob(["include/mlir/Dialect/GPU/Transforms/*.h"]),
4922 includes = ["include"],
4923 local_defines = if_cuda_available(["MLIR_GPU_TO_CUBIN_PASS_ENABLE"]),
4930 ":ControlFlowDialect",
4933 ":ExecutionEngineUtils",
4937 ":GPUToLLVMIRTranslation",
4941 ":LLVMToLLVMIRTranslation",
4948 ":ROCDLToLLVMIRTranslation",
4950 ":SerializeToCubin_stub",
4951 ":SideEffectInterfaces",
4953 ":ToLLVMIRTranslation",
4959 ] + if_cuda_available([
4960 ":NVVMToLLVMIRTranslation",
4961 "//llvm:NVPTXCodeGen",
4966 name = "SerializeToCubin",
4968 "lib/Dialect/GPU/Transforms/SerializeToCubin.cpp",
4970 local_defines = if_cuda_available(["MLIR_GPU_TO_CUBIN_PASS_ENABLE"]),
4976 ":NVVMToLLVMIRTranslation",
4979 ":ToLLVMIRTranslation",
4981 ] + if_cuda_available([
4982 "@cuda//:cuda_headers",
4988 name = "SerializeToCubin_stub_cc",
4989 out = "SerializeToCubin_stub.cc",
4992 #include "mlir/Dialect/GPU/Transforms/Passes.h"
4994 // Provide a weak registration stub in case the real SerializeToCubin is not
4997 #if defined(_MSC_VER)
4998 // This might not work correctly, but it avoids a compilation error because
4999 // MSVC does not support __attribute__((weak)).
5000 void mlir::registerGpuSerializeToCubinPass() {}
5002 __attribute__((weak)) void mlir::registerGpuSerializeToCubinPass() {}
5009 name = "SerializeToCubin_stub",
5010 srcs = [":SerializeToCubin_stub_cc"],
5011 hdrs = glob(["include/mlir/Dialect/GPU/Transforms/*.h"]),
5012 includes = ["include"],
5023 name = "GPUTransformOpsTdFiles",
5025 "include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td",
5027 includes = ["include"],
5029 ":TransformDialectTdFiles",
5034 name = "GPUTransformOpsIncGen",
5038 "include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.h.inc",
5042 "include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.cpp.inc",
5045 tblgen = ":mlir-tblgen",
5046 td_file = "include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td",
5048 ":GPUTransformOpsTdFiles",
5053 name = "GPUTransformOps",
5055 "lib/Dialect/GPU/TransformOps/*.cpp",
5058 "include/mlir/Dialect/GPU/TransformOps/*.h",
5060 includes = ["include"],
5065 ":ControlFlowDialect",
5068 ":GPUCommonTransforms",
5070 ":GPUToNVVMTransforms",
5071 ":GPUTransformOpsIncGen",
5074 ":LLVMCommonConversion",
5079 ":SideEffectInterfaces",
5081 ":TransformDialect",
5084 ":VectorTransforms",
5090 name = "LLVMOpsTdFiles",
5092 "include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td",
5093 "include/mlir/Dialect/LLVMIR/LLVMDialect.td",
5094 "include/mlir/Dialect/LLVMIR/LLVMEnums.td",
5095 "include/mlir/Dialect/LLVMIR/LLVMInterfaces.td",
5096 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td",
5097 "include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
5098 "include/mlir/Dialect/LLVMIR/LLVMOps.td",
5099 "include/mlir/Dialect/LLVMIR/LLVMTypes.td",
5101 includes = ["include"],
5103 ":CallInterfacesTdFiles",
5104 ":ControlFlowInterfacesTdFiles",
5105 ":DataLayoutInterfacesTdFiles",
5106 ":FunctionInterfacesTdFiles",
5107 ":InferTypeOpInterfaceTdFiles",
5108 ":MemorySlotInterfacesTdFiles",
5110 ":SideEffectInterfacesTdFiles",
5115 name = "GPUCommonTransforms",
5117 "lib/Conversion/GPUCommon/GPUOpsLowering.cpp",
5120 "include/mlir/Conversion/GPUCommon/GPUCommonPass.h",
5121 "lib/Conversion/GPUCommon/GPUOpsLowering.h",
5122 "lib/Conversion/GPUCommon/IndexIntrinsicsOpLowering.h",
5123 "lib/Conversion/GPUCommon/OpToFuncCallLowering.h",
5126 ":ConversionPassIncGen",
5131 ":LLVMCommonConversion",
5139 name = "GPUToNVVMGen",
5140 strip_include_prefix = "lib/Conversion/GPUToNVVM",
5144 "lib/Conversion/GPUToNVVM/GPUToNVVM.cpp.inc",
5147 tblgen = ":mlir-tblgen",
5148 td_file = "lib/Conversion/GPUToNVVM/GPUToNVVM.td",
5156 name = "GPUToNVVMTransforms",
5158 "lib/Conversion/GPUToNVVM/*.cpp",
5159 "lib/Conversion/GPUToNVVM/*.h",
5162 "include/mlir/Conversion/GPUToNVVM/*.h",
5164 includes = ["include"],
5168 ":ControlFlowDialect",
5169 ":ControlFlowToLLVM",
5170 ":ConversionPassIncGen",
5173 ":GPUCommonTransforms",
5178 ":LLVMCommonConversion",
5191 name = "AMDGPUToROCDL",
5193 "lib/Conversion/AMDGPUToROCDL/*.cpp",
5194 "lib/Conversion/AMDGPUToROCDL/*.h",
5195 ]) + ["include/mlir/Conversion/GPUToROCDL/Runtimes.h"],
5197 "include/mlir/Conversion/AMDGPUToROCDL/*.h",
5199 includes = ["include"],
5203 ":ConversionPassIncGen",
5205 ":LLVMCommonConversion",
5216 name = "NVGPUToNVVM",
5218 "lib/Conversion/NVGPUToNVVM/*.cpp",
5219 "lib/Conversion/NVGPUToNVVM/*.h",
5222 "include/mlir/Conversion/NVGPUToNVVM/*.h",
5224 includes = ["include"],
5226 ":ConversionPassIncGen",
5227 ":GPUCommonTransforms",
5229 ":GPUToGPURuntimeTransforms",
5231 ":LLVMCommonConversion",
5242 name = "VectorToSPIRV",
5244 "lib/Conversion/VectorToSPIRV/*.cpp",
5245 "lib/Conversion/VectorToSPIRV/*.h",
5248 "include/mlir/Conversion/VectorToSPIRV/*.h",
5250 includes = ["include"],
5253 ":ConversionPassIncGen",
5266 name = "GPUToROCDLTGen",
5267 strip_include_prefix = "lib/Conversion/GPUToROCDL",
5271 "lib/Conversion/GPUToROCDL/GPUToROCDL.cpp.inc",
5274 tblgen = ":mlir-tblgen",
5275 td_file = "lib/Conversion/GPUToROCDL/GPUToROCDL.td",
5283 name = "GPUToROCDLTransforms",
5285 "include/mlir/Conversion/GPUToROCDL/Runtimes.h",
5286 "lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp",
5288 hdrs = ["include/mlir/Conversion/GPUToROCDL/GPUToROCDLPass.h"],
5289 includes = ["include"],
5294 ":ControlFlowDialect",
5295 ":ControlFlowToLLVM",
5296 ":ConversionPassIncGen",
5299 ":GPUCommonTransforms",
5304 ":LLVMCommonConversion",
5320 name = "GPUToVulkanTransforms",
5322 "lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp",
5323 "lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp",
5325 hdrs = ["include/mlir/Conversion/GPUToVulkan/ConvertGPUToVulkanPass.h"],
5326 includes = ["include"],
5328 ":ConversionPassIncGen",
5335 ":SPIRVSerialization",
5342 name = "GPUToGPURuntimeTransforms",
5344 "lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp",
5346 hdrs = ["include/mlir/Conversion/GPUCommon/GPUCommonPass.h"],
5347 includes = ["include"],
5352 ":ControlFlowToLLVM",
5353 ":ConversionPassIncGen",
5358 ":LLVMCommonConversion",
5369 name = "GPUToSPIRV",
5371 "lib/Conversion/GPUToSPIRV/*.cpp",
5372 "lib/Conversion/GPUToSPIRV/*.h",
5375 "include/mlir/Conversion/GPUToSPIRV/*.h",
5379 "lib/Conversions/GPUToSPIRV",
5383 ":ConversionPassIncGen",
5401 name = "PDLToPDLInterp",
5403 "lib/Conversion/PDLToPDLInterp/*.cpp",
5404 "lib/Conversion/PDLToPDLInterp/*.h",
5407 "include/mlir/Conversion/PDLToPDLInterp/PDLToPDLInterp.h",
5408 "lib/Conversion/PDLToPDLInterp/RootOrdering.h",
5410 includes = ["include"],
5412 ":ConversionPassIncGen",
5414 ":InferTypeOpInterface",
5416 ":PDLInterpDialect",
5424 name = "SPIRVToLLVM",
5426 "lib/Conversion/SPIRVToLLVM/*.cpp",
5429 "include/mlir/Conversion/SPIRVToLLVM/*.h",
5431 includes = ["include"],
5434 ":ConversionPassIncGen",
5439 ":LLVMCommonConversion",
5452 name = "LLVMOpsIncGen",
5456 "include/mlir/Dialect/LLVMIR/LLVMOps.h.inc",
5460 "include/mlir/Dialect/LLVMIR/LLVMOps.cpp.inc",
5463 ["-gen-dialect-decls"],
5464 "include/mlir/Dialect/LLVMIR/LLVMOpsDialect.h.inc",
5467 ["-gen-dialect-defs"],
5468 "include/mlir/Dialect/LLVMIR/LLVMOpsDialect.cpp.inc",
5471 ["-gen-enum-decls"],
5472 "include/mlir/Dialect/LLVMIR/LLVMOpsEnums.h.inc",
5476 "include/mlir/Dialect/LLVMIR/LLVMOpsEnums.cpp.inc",
5480 "--gen-attrdef-decls",
5481 "-attrdefs-dialect=llvm",
5483 "include/mlir/Dialect/LLVMIR/LLVMOpsAttrDefs.h.inc",
5487 "--gen-attrdef-defs",
5488 "-attrdefs-dialect=llvm",
5490 "include/mlir/Dialect/LLVMIR/LLVMOpsAttrDefs.cpp.inc",
5493 tblgen = ":mlir-tblgen",
5494 td_file = "include/mlir/Dialect/LLVMIR/LLVMOps.td",
5495 deps = [":LLVMOpsTdFiles"],
5499 name = "LLVMTypesIncGen",
5503 "-gen-typedef-decls",
5504 "-typedefs-dialect=llvm",
5506 "include/mlir/Dialect/LLVMIR/LLVMTypes.h.inc",
5510 "-gen-typedef-defs",
5511 "-typedefs-dialect=llvm",
5513 "include/mlir/Dialect/LLVMIR/LLVMTypes.cpp.inc",
5516 tblgen = ":mlir-tblgen",
5517 td_file = "include/mlir/Dialect/LLVMIR/LLVMTypes.td",
5518 deps = [":LLVMOpsTdFiles"],
5522 name = "LLVMIntrinsicOpsIncGen",
5526 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.h.inc",
5530 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.cpp.inc",
5533 tblgen = ":mlir-tblgen",
5534 td_file = "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td",
5535 deps = [":LLVMOpsTdFiles"],
5539 name = "LLVMConversionIncGen",
5542 ["-gen-llvmir-conversions"],
5543 "include/mlir/Dialect/LLVMIR/LLVMConversions.inc",
5546 ["-gen-enum-to-llvmir-conversions"],
5547 "include/mlir/Dialect/LLVMIR/LLVMConversionEnumsToLLVM.inc",
5550 ["-gen-enum-from-llvmir-conversions"],
5551 "include/mlir/Dialect/LLVMIR/LLVMConversionEnumsFromLLVM.inc",
5554 ["-gen-op-from-llvmir-conversions"],
5555 "include/mlir/Dialect/LLVMIR/LLVMOpFromLLVMIRConversions.inc",
5558 tblgen = ":mlir-tblgen",
5559 td_file = "include/mlir/Dialect/LLVMIR/LLVMOps.td",
5560 deps = [":LLVMOpsTdFiles"],
5564 name = "LLVMIntrinsicConversionIncGen",
5567 ["-gen-llvmir-conversions"],
5568 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicConversions.inc",
5571 ["-gen-intr-from-llvmir-conversions"],
5572 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicFromLLVMIRConversions.inc",
5575 ["-gen-convertible-llvmir-intrinsics"],
5576 "include/mlir/Dialect/LLVMIR/LLVMConvertibleLLVMIRIntrinsics.inc",
5579 tblgen = ":mlir-tblgen",
5580 td_file = "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td",
5581 deps = [":LLVMOpsTdFiles"],
5585 name = "NVVMDialect",
5586 srcs = ["lib/Dialect/LLVMIR/IR/NVVMDialect.cpp"],
5587 hdrs = ["include/mlir/Dialect/LLVMIR/NVVMDialect.h"],
5588 includes = ["include"],
5596 ":SideEffectInterfaces",
5605 name = "TargetLLVM",
5606 srcs = ["lib/Target/LLVM/ModuleToObject.cpp"],
5607 hdrs = glob(["include/mlir/Target/LLVM/*.h"]),
5608 includes = ["include"],
5610 ":ExecutionEngineUtils",
5612 ":LLVMToLLVMIRTranslation",
5613 ":ToLLVMIRTranslation",
5623 "//llvm:TargetParser",
5628 name = "NVVMTarget",
5629 srcs = ["lib/Target/LLVM/NVVM/Target.cpp"],
5630 hdrs = glob(["include/mlir/Target/LLVM/NVVM/*.h"]),
5631 includes = ["include"],
5634 ":GPUToLLVMIRTranslation",
5635 ":LLVMToLLVMIRTranslation",
5637 ":NVVMToLLVMIRTranslation",
5639 ":ToLLVMIRTranslation",
5645 name = "NVVMOpsTdFiles",
5646 srcs = ["include/mlir/Dialect/LLVMIR/NVVMOps.td"],
5647 includes = ["include"],
5652 ":SideEffectInterfacesTdFiles",
5657 name = "NVVMOpsIncGen",
5661 "include/mlir/Dialect/LLVMIR/NVVMOps.h.inc",
5665 "include/mlir/Dialect/LLVMIR/NVVMOps.cpp.inc",
5669 "-gen-dialect-decls",
5672 "include/mlir/Dialect/LLVMIR/NVVMOpsDialect.h.inc",
5676 "-gen-dialect-defs",
5679 "include/mlir/Dialect/LLVMIR/NVVMOpsDialect.cpp.inc",
5682 ["-gen-enum-decls"],
5683 "include/mlir/Dialect/LLVMIR/NVVMOpsEnums.h.inc",
5687 "include/mlir/Dialect/LLVMIR/NVVMOpsEnums.cpp.inc",
5691 "-gen-attrdef-decls",
5692 "-attrdefs-dialect=nvvm",
5694 "include/mlir/Dialect/LLVMIR/NVVMOpsAttributes.h.inc",
5698 "-gen-attrdef-defs",
5699 "-attrdefs-dialect=nvvm",
5701 "include/mlir/Dialect/LLVMIR/NVVMOpsAttributes.cpp.inc",
5705 "-gen-op-interface-decls",
5706 "-attrdefs-dialect=nvvm",
5708 "include/mlir/Dialect/LLVMIR/NVVMOpsInterface.h.inc",
5712 "-gen-op-interface-defs",
5713 "-attrdefs-dialect=nvvm",
5715 "include/mlir/Dialect/LLVMIR/NVVMOpsInterface.cpp.inc",
5718 tblgen = ":mlir-tblgen",
5719 td_file = "include/mlir/Dialect/LLVMIR/NVVMOps.td",
5720 deps = [":NVVMOpsTdFiles"],
5724 name = "NVVMConversionIncGen",
5727 ["-gen-llvmir-conversions"],
5728 "include/mlir/Dialect/LLVMIR/NVVMConversions.inc",
5731 tblgen = ":mlir-tblgen",
5732 td_file = "include/mlir/Dialect/LLVMIR/NVVMOps.td",
5733 deps = [":NVVMOpsTdFiles"],
5737 name = "NVVMToLLVM",
5738 srcs = glob(["lib/Conversion/NVVMToLLVM/NVVMToLLVM.cpp"]),
5739 hdrs = glob(["include/mlir/Conversion/NVVMToLLVM/*.h"]),
5740 includes = ["include"],
5742 ":ConversionPassIncGen",
5747 ":LLVMCommonConversion",
5759 name = "ROCDLDialect",
5760 srcs = ["lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp"],
5761 hdrs = ["include/mlir/Dialect/LLVMIR/ROCDLDialect.h"],
5762 includes = ["include"],
5768 ":SideEffectInterfaces",
5776 name = "ROCDLTarget",
5777 srcs = ["lib/Target/LLVM/ROCDL/Target.cpp"],
5778 hdrs = glob(["include/mlir/Target/LLVM/ROCDL/*.h"]),
5779 includes = ["include"],
5782 ":GPUToLLVMIRTranslation",
5783 ":LLVMToLLVMIRTranslation",
5785 ":ROCDLToLLVMIRTranslation",
5788 ":ToLLVMIRTranslation",
5793 "//llvm:TargetParser",
5798 name = "ROCDLOpsTdFiles",
5799 srcs = ["include/mlir/Dialect/LLVMIR/ROCDLOps.td"],
5800 includes = ["include"],
5805 ":SideEffectInterfacesTdFiles",
5810 name = "ROCDLOpsIncGen",
5814 "include/mlir/Dialect/LLVMIR/ROCDLOps.h.inc",
5818 "include/mlir/Dialect/LLVMIR/ROCDLOps.cpp.inc",
5822 "-gen-dialect-decls",
5825 "include/mlir/Dialect/LLVMIR/ROCDLOpsDialect.h.inc",
5829 "-gen-dialect-defs",
5832 "include/mlir/Dialect/LLVMIR/ROCDLOpsDialect.cpp.inc",
5836 "-gen-attrdef-decls",
5837 "-attrdefs-dialect=rocdl",
5839 "include/mlir/Dialect/LLVMIR/ROCDLOpsAttributes.h.inc",
5843 "-gen-attrdef-defs",
5844 "-attrdefs-dialect=rocdl",
5846 "include/mlir/Dialect/LLVMIR/ROCDLOpsAttributes.cpp.inc",
5849 tblgen = ":mlir-tblgen",
5850 td_file = "include/mlir/Dialect/LLVMIR/ROCDLOps.td",
5851 deps = [":ROCDLOpsTdFiles"],
5855 name = "ROCDLConversionIncGen",
5858 ["-gen-llvmir-conversions"],
5859 "include/mlir/Dialect/LLVMIR/ROCDLConversions.inc",
5862 tblgen = ":mlir-tblgen",
5863 td_file = "include/mlir/Dialect/LLVMIR/ROCDLOps.td",
5864 deps = [":ROCDLOpsTdFiles"],
5868 name = "PDLDialect",
5870 "lib/Dialect/PDL/IR/*.cpp",
5871 "lib/Dialect/PDL/IR/*.h",
5874 "include/mlir/Dialect/PDL/IR/*.h",
5876 includes = ["include"],
5879 ":InferTypeOpInterface",
5882 ":SideEffectInterfaces",
5888 name = "PDLDialectTdFiles",
5890 "include/mlir/Dialect/PDL/IR/PDLDialect.td",
5891 "include/mlir/Dialect/PDL/IR/PDLOps.td",
5892 "include/mlir/Dialect/PDL/IR/PDLTypes.td",
5896 ":SideEffectInterfacesTdFiles",
5901 name = "PDLOpsIncGen",
5905 "include/mlir/Dialect/PDL/IR/PDLOps.h.inc",
5909 "include/mlir/Dialect/PDL/IR/PDLOps.cpp.inc",
5912 ["-gen-dialect-decls"],
5913 "include/mlir/Dialect/PDL/IR/PDLOpsDialect.h.inc",
5916 ["-gen-dialect-defs"],
5917 "include/mlir/Dialect/PDL/IR/PDLOpsDialect.cpp.inc",
5920 tblgen = ":mlir-tblgen",
5921 td_file = "include/mlir/Dialect/PDL/IR/PDLOps.td",
5922 deps = [":PDLDialectTdFiles"],
5926 name = "PDLTypesIncGen",
5929 ["-gen-typedef-decls"],
5930 "include/mlir/Dialect/PDL/IR/PDLOpsTypes.h.inc",
5933 ["-gen-typedef-defs"],
5934 "include/mlir/Dialect/PDL/IR/PDLOpsTypes.cpp.inc",
5937 tblgen = ":mlir-tblgen",
5938 td_file = "include/mlir/Dialect/PDL/IR/PDLTypes.td",
5939 deps = [":PDLDialectTdFiles"],
5943 name = "PDLInterpDialect",
5945 "lib/Dialect/PDLInterp/IR/*.cpp",
5946 "lib/Dialect/PDLInterp/IR/*.h",
5949 "include/mlir/Dialect/PDLInterp/IR/*.h",
5951 includes = ["include"],
5953 ":FunctionInterfaces",
5955 ":InferTypeOpInterface",
5957 ":PDLInterpOpsIncGen",
5958 ":SideEffectInterfaces",
5964 name = "PDLInterpOpsTdFiles",
5965 srcs = ["include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td"],
5966 includes = ["include"],
5968 ":FunctionInterfacesTdFiles",
5970 ":PDLDialectTdFiles",
5971 ":SideEffectInterfacesTdFiles",
5976 name = "PDLInterpOpsIncGen",
5980 "include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.h.inc",
5984 "include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.cpp.inc",
5988 "-gen-dialect-decls",
5989 "-dialect=pdl_interp",
5991 "include/mlir/Dialect/PDLInterp/IR/PDLInterpOpsDialect.h.inc",
5995 "-gen-dialect-defs",
5996 "-dialect=pdl_interp",
5998 "include/mlir/Dialect/PDLInterp/IR/PDLInterpOpsDialect.cpp.inc",
6001 tblgen = ":mlir-tblgen",
6002 td_file = "include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td",
6003 deps = [":PDLInterpOpsTdFiles"],
6007 name = "SPIRVOpsTdFiles",
6008 srcs = glob(["include/mlir/Dialect/SPIRV/IR/*.td"]),
6009 includes = ["include"],
6011 ":BuiltinDialectTdFiles",
6012 ":CallInterfacesTdFiles",
6013 ":ControlFlowInterfacesTdFiles",
6014 ":FunctionInterfacesTdFiles",
6015 ":InferTypeOpInterfaceTdFiles",
6017 ":SideEffectInterfacesTdFiles",
6022 name = "SPIRVOpsIncGen",
6026 "include/mlir/Dialect/SPIRV/IR/SPIRVOps.h.inc",
6030 "include/mlir/Dialect/SPIRV/IR/SPIRVOps.cpp.inc",
6033 ["-gen-dialect-decls"],
6034 "include/mlir/Dialect/SPIRV/IR/SPIRVOpsDialect.h.inc",
6037 ["-gen-dialect-defs"],
6038 "include/mlir/Dialect/SPIRV/IR/SPIRVOpsDialect.cpp.inc",
6042 "g3doc/Dialects/SPIRV/SPIRVOps.md",
6045 ["-gen-enum-decls"],
6046 "include/mlir/Dialect/SPIRV/IR/SPIRVEnums.h.inc",
6050 "include/mlir/Dialect/SPIRV/IR/SPIRVEnums.cpp.inc",
6053 ["-gen-spirv-enum-avail-decls"],
6054 "include/mlir/Dialect/SPIRV/IR/SPIRVEnumAvailability.h.inc",
6057 ["-gen-spirv-enum-avail-defs"],
6058 "include/mlir/Dialect/SPIRV/IR/SPIRVEnumAvailability.cpp.inc",
6061 ["-gen-spirv-capability-implication"],
6062 "include/mlir/Dialect/SPIRV/IR/SPIRVCapabilityImplication.inc",
6065 tblgen = ":mlir-tblgen",
6066 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVOps.td",
6067 deps = [":SPIRVOpsTdFiles"],
6071 name = "SPIRVAttributesIncGen",
6074 ["-gen-attrdef-decls"],
6075 "include/mlir/Dialect/SPIRV/IR/SPIRVAttributes.h.inc",
6078 ["-gen-attrdef-defs"],
6079 "include/mlir/Dialect/SPIRV/IR/SPIRVAttributes.cpp.inc",
6082 tblgen = ":mlir-tblgen",
6083 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVAttributes.td",
6084 deps = [":SPIRVOpsTdFiles"],
6088 name = "SPIRVCanonicalizationIncGen",
6089 strip_include_prefix = "lib/Dialect/SPIRV/IR",
6093 "lib/Dialect/SPIRV/IR/SPIRVCanonicalization.inc",
6096 tblgen = ":mlir-tblgen",
6097 td_file = "lib/Dialect/SPIRV/IR/SPIRVCanonicalization.td",
6098 deps = [":SPIRVOpsTdFiles"],
6102 name = "SPIRVAvailabilityIncGen",
6105 ["-gen-avail-interface-decls"],
6106 "include/mlir/Dialect/SPIRV/IR/SPIRVAvailability.h.inc",
6109 ["-gen-avail-interface-defs"],
6110 "include/mlir/Dialect/SPIRV/IR/SPIRVAvailability.cpp.inc",
6113 ["-gen-spirv-avail-impls"],
6114 "include/mlir/Dialect/SPIRV/IR/SPIRVOpAvailabilityImpl.inc",
6117 tblgen = ":mlir-tblgen",
6118 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVOps.td",
6119 deps = [":SPIRVOpsTdFiles"],
6123 name = "SPIRVAttrUtilsGen",
6126 ["-gen-spirv-attr-utils"],
6127 "include/mlir/Dialect/SPIRV/IR/SPIRVAttrUtils.inc",
6130 tblgen = ":mlir-tblgen",
6131 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVBase.td",
6132 deps = [":SPIRVOpsTdFiles"],
6136 name = "SPIRVSerializationGen",
6139 ["-gen-spirv-serialization"],
6140 "include/mlir/Dialect/SPIRV/IR/SPIRVSerialization.inc",
6143 tblgen = ":mlir-tblgen",
6144 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVOps.td",
6145 deps = [":SPIRVOpsTdFiles"],
6149 name = "SPIRVDialect",
6151 "lib/Dialect/SPIRV/IR/*.cpp",
6152 "lib/Dialect/SPIRV/IR/*.h",
6153 ]) + ["include/mlir/Transforms/InliningUtils.h"],
6155 "include/mlir/Dialect/SPIRV/IR/*.h",
6157 includes = ["include"],
6160 ":ControlFlowInterfaces",
6161 ":FunctionInterfaces",
6163 ":InferTypeOpInterface",
6165 ":SPIRVAttrUtilsGen",
6166 ":SPIRVAttributesIncGen",
6167 ":SPIRVAvailabilityIncGen",
6168 ":SPIRVCanonicalizationIncGen",
6170 ":SPIRVSerializationGen",
6171 ":SideEffectInterfaces",
6180 name = "SPIRVPassIncGen",
6187 "include/mlir/Dialect/SPIRV/Transforms/Passes.h.inc",
6190 tblgen = ":mlir-tblgen",
6191 td_file = "include/mlir/Dialect/SPIRV/Transforms/Passes.td",
6192 deps = [":PassBaseTdFiles"],
6196 name = "SPIRVUtils",
6198 "lib/Dialect/SPIRV/Utils/*.cpp",
6201 "include/mlir/Dialect/SPIRV/Utils/*.h",
6203 includes = ["include"],
6211 name = "SPIRVConversion",
6212 srcs = ["lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp"],
6213 hdrs = ["include/mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h"],
6214 includes = ["include"],
6225 name = "SPIRVTransforms",
6228 "lib/Dialect/SPIRV/Transforms/*.cpp",
6229 "lib/Dialect/SPIRV/Transforms/*.h",
6231 exclude = ["lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp"],
6234 ["include/mlir/Dialect/SPIRV/Transforms/*.h"],
6235 exclude = ["include/mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h"],
6237 includes = ["include"],
6253 name = "SPIRVCommonConversion",
6254 hdrs = ["lib/Conversion/SPIRVCommon/Pattern.h"],
6255 includes = ["include"],
6265 name = "MathToSPIRV",
6267 "lib/Conversion/MathToSPIRV/*.cpp",
6268 "lib/Conversion/MathToSPIRV/*.h",
6271 "include/mlir/Conversion/MathToSPIRV/*.h",
6275 "lib/Conversion/MathToSPIRV",
6278 ":ConversionPassIncGen",
6282 ":SPIRVCommonConversion",
6292 name = "FuncToSPIRV",
6294 "lib/Conversion/FuncToSPIRV/*.cpp",
6295 "lib/Conversion/FuncToSPIRV/*.h",
6298 "include/mlir/Conversion/FuncToSPIRV/*.h",
6302 "lib/Conversion/FuncToSPIRV",
6305 ":ControlFlowToSPIRV",
6306 ":ConversionPassIncGen",
6311 ":SPIRVCommonConversion",
6324 name = "TensorToLinalg",
6326 "lib/Conversion/TensorToLinalg/*.cpp",
6327 "lib/Conversion/TensorToLinalg/*.h",
6330 "include/mlir/Conversion/TensorToLinalg/*.h",
6334 "lib/Conversion/TensorToLinalg",
6338 ":ConversionPassIncGen",
6342 ":LinalgTransforms",
6353 name = "TensorToSPIRV",
6355 "lib/Conversion/TensorToSPIRV/*.cpp",
6356 "lib/Conversion/TensorToSPIRV/*.h",
6359 "include/mlir/Conversion/TensorToSPIRV/*.h",
6363 "lib/Conversion/TensorToSPIRV",
6367 ":ControlFlowToSPIRV",
6368 ":ConversionPassIncGen",
6374 ":SPIRVCommonConversion",
6387 name = "SPIRVBinaryUtils",
6388 srcs = ["lib/Target/SPIRV/SPIRVBinaryUtils.cpp"],
6389 hdrs = ["include/mlir/Target/SPIRV/SPIRVBinaryUtils.h"],
6390 includes = ["include"],
6392 ":SPIRVAttrUtilsGen",
6401 name = "SPIRVSerialization",
6403 "lib/Target/SPIRV/Serialization/Serialization.cpp",
6404 "lib/Target/SPIRV/Serialization/SerializeOps.cpp",
6405 "lib/Target/SPIRV/Serialization/Serializer.cpp",
6406 "lib/Target/SPIRV/Serialization/Serializer.h",
6408 hdrs = ["include/mlir/Target/SPIRV/Serialization.h"],
6409 includes = ["include"],
6412 ":SPIRVAttrUtilsGen",
6413 ":SPIRVBinaryUtils",
6416 ":SPIRVSerializationGen",
6424 name = "SPIRVDeserialization",
6426 "lib/Target/SPIRV/Deserialization/*.cpp",
6427 "lib/Target/SPIRV/Deserialization/*.h",
6429 hdrs = ["include/mlir/Target/SPIRV/Deserialization.h"],
6430 includes = ["include"],
6433 ":SPIRVAttrUtilsGen",
6434 ":SPIRVBinaryUtils",
6437 ":SPIRVSerializationGen",
6445 name = "SPIRVModuleCombiner",
6447 ["lib/Dialect/SPIRV/Linking/ModuleCombiner/*.cpp"],
6449 hdrs = ["include/mlir/Dialect/SPIRV/Linking/ModuleCombiner.h"],
6450 includes = ["include"],
6460 name = "SPIRVTranslateRegistration",
6461 srcs = ["lib/Target/SPIRV/TranslateRegistration.cpp"],
6462 includes = ["include"],
6466 ":SPIRVDeserialization",
6468 ":SPIRVSerialization",
6476 name = "TensorOpsTdFiles",
6478 "include/mlir/Dialect/Tensor/IR/TensorBase.td",
6479 "include/mlir/Dialect/Tensor/IR/TensorOps.td",
6481 includes = ["include"],
6483 ":CastInterfacesTdFiles",
6484 ":ControlFlowInterfacesTdFiles",
6485 ":DestinationStyleOpInterfaceTdFiles",
6486 ":InferTypeOpInterfaceTdFiles",
6488 ":ParallelCombiningOpInterfaceTdFiles",
6489 ":ShapedOpInterfacesTdFiles",
6490 ":SideEffectInterfacesTdFiles",
6491 ":TilingInterfaceTdFiles",
6492 ":ViewLikeInterfaceTdFiles",
6497 name = "TensorOpsIncGen",
6501 "-gen-dialect-decls",
6504 "include/mlir/Dialect/Tensor/IR/TensorOpsDialect.h.inc",
6508 "-gen-dialect-defs",
6511 "include/mlir/Dialect/Tensor/IR/TensorOpsDialect.cpp.inc",
6515 "include/mlir/Dialect/Tensor/IR/TensorOps.h.inc",
6519 "include/mlir/Dialect/Tensor/IR/TensorOps.cpp.inc",
6522 tblgen = ":mlir-tblgen",
6523 td_file = "include/mlir/Dialect/Tensor/IR/TensorOps.td",
6524 deps = [":TensorOpsTdFiles"],
6528 name = "TensorDialect",
6530 "include/mlir/Transforms/InliningUtils.h",
6531 "lib/Dialect/Tensor/IR/TensorDialect.cpp",
6532 "lib/Dialect/Tensor/IR/TensorOps.cpp",
6533 "lib/Dialect/Tensor/IR/ValueBoundsOpInterfaceImpl.cpp",
6536 "include/mlir/Dialect/Tensor/IR/Tensor.h",
6537 "include/mlir/Dialect/Tensor/IR/ValueBoundsOpInterfaceImpl.h",
6539 includes = ["include"],
6546 ":ControlFlowInterfaces",
6547 ":DestinationStyleOpInterface",
6550 ":InferTypeOpInterface",
6551 ":ParallelCombiningOpInterface",
6552 ":ShapedOpInterfaces",
6553 ":SideEffectInterfaces",
6557 ":ValueBoundsOpInterface",
6558 ":ViewLikeInterface",
6564 name = "TensorInferTypeOpInterfaceImpl",
6565 srcs = ["lib/Dialect/Tensor/IR/TensorInferTypeOpInterfaceImpl.cpp"],
6566 hdrs = ["include/mlir/Dialect/Tensor/IR/TensorInferTypeOpInterfaceImpl.h"],
6567 includes = ["include"],
6573 ":InferTypeOpInterface",
6580 name = "TensorTilingInterfaceImpl",
6581 srcs = ["lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp"],
6582 hdrs = ["include/mlir/Dialect/Tensor/IR/TensorTilingInterfaceImpl.h"],
6583 includes = ["include"],
6596 ":ValueBoundsOpInterface",
6602 name = "TensorUtils",
6603 srcs = ["lib/Dialect/Tensor/Utils/Utils.cpp"],
6604 hdrs = ["include/mlir/Dialect/Tensor/Utils/Utils.h"],
6605 includes = ["include"],
6612 ":ValueBoundsOpInterface",
6618 name = "TensorPassIncGen",
6625 "include/mlir/Dialect/Tensor/Transforms/Passes.h.inc",
6628 tblgen = ":mlir-tblgen",
6629 td_file = "include/mlir/Dialect/Tensor/Transforms/Passes.td",
6630 deps = [":PassBaseTdFiles"],
6634 name = "TensorTransforms",
6637 "lib/Dialect/Tensor/Transforms/*.cpp",
6638 "lib/Dialect/Tensor/Transforms/*.h",
6642 "include/mlir/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.h",
6643 "include/mlir/Dialect/Tensor/Transforms/Passes.h",
6644 "include/mlir/Dialect/Tensor/Transforms/TransformUtils.h",
6645 "include/mlir/Dialect/Tensor/Transforms/Transforms.h",
6647 includes = ["include"],
6650 ":AffineTransforms",
6654 ":BufferizationDialect",
6655 ":BufferizationTransforms",
6664 ":TensorPassIncGen",
6668 ":ValueBoundsOpInterface",
6675 name = "TensorTransformOpsTdFiles",
6677 "include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.td",
6679 includes = ["include"],
6681 ":TransformDialectTdFiles",
6686 name = "TensorTransformOpsIncGen",
6690 "include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.h.inc",
6694 "include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.cpp.inc",
6697 tblgen = ":mlir-tblgen",
6698 td_file = "include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.td",
6700 ":TensorTransformOpsTdFiles",
6705 name = "TensorTransformOps",
6706 srcs = glob(["lib/Dialect/Tensor/TransformOps/*.cpp"]),
6707 hdrs = glob(["include/mlir/Dialect/Tensor/TransformOps/*.h"]),
6708 includes = ["include"],
6714 ":TensorTransformOpsIncGen",
6715 ":TensorTransforms",
6717 ":TransformDialect",
6718 ":ValueBoundsOpInterface",
6726 "lib/Rewrite/*.cpp",
6729 hdrs = glob(["include/mlir/Rewrite/*.h"]),
6730 includes = ["include"],
6735 ":PDLInterpDialect",
6738 ":SideEffectInterfaces",
6744 name = "TransformUtils",
6746 "lib/Transforms/Utils/*.cpp",
6747 "lib/Transforms/Utils/*.h",
6751 "include/mlir/Transforms/*.h",
6753 exclude = ["include/mlir/Transforms/Passes.h"],
6755 includes = ["include"],
6757 ":ControlFlowInterfaces",
6758 ":FunctionInterfaces",
6760 ":LoopLikeInterface",
6761 ":MemorySlotInterfaces",
6763 ":SideEffectInterfaces",
6765 ":TransformsPassIncGen",
6772 name = "DerivedAttributeOpInterfaceIncGen",
6775 ["-gen-op-interface-decls"],
6776 "include/mlir/Interfaces/DerivedAttributeOpInterface.h.inc",
6779 ["-gen-op-interface-defs"],
6780 "include/mlir/Interfaces/DerivedAttributeOpInterface.cpp.inc",
6783 tblgen = ":mlir-tblgen",
6784 td_file = "include/mlir/Interfaces/DerivedAttributeOpInterface.td",
6785 deps = [":DerivedAttributeOpInterfaceTdFiles"],
6789 name = "DerivedAttributeOpInterface",
6790 srcs = ["lib/Interfaces/DerivedAttributeOpInterface.cpp"],
6791 hdrs = ["include/mlir/Interfaces/DerivedAttributeOpInterface.h"],
6792 includes = ["include"],
6794 ":DerivedAttributeOpInterfaceIncGen",
6801 name = "DestinationStyleOpInterfaceIncGen",
6804 ["-gen-op-interface-decls"],
6805 "include/mlir/Interfaces/DestinationStyleOpInterface.h.inc",
6808 ["-gen-op-interface-defs"],
6809 "include/mlir/Interfaces/DestinationStyleOpInterface.cpp.inc",
6812 tblgen = ":mlir-tblgen",
6813 td_file = "include/mlir/Interfaces/DestinationStyleOpInterface.td",
6814 deps = [":DestinationStyleOpInterfaceTdFiles"],
6818 name = "DestinationStyleOpInterface",
6819 srcs = ["lib/Interfaces/DestinationStyleOpInterface.cpp"],
6820 hdrs = ["include/mlir/Interfaces/DestinationStyleOpInterface.h"],
6821 includes = ["include"],
6823 ":DestinationStyleOpInterfaceIncGen",
6830 name = "InferIntRangeInterfaceIncGen",
6833 ["-gen-op-interface-decls"],
6834 "include/mlir/Interfaces/InferIntRangeInterface.h.inc",
6837 ["-gen-op-interface-defs"],
6838 "include/mlir/Interfaces/InferIntRangeInterface.cpp.inc",
6841 tblgen = ":mlir-tblgen",
6842 td_file = "include/mlir/Interfaces/InferIntRangeInterface.td",
6843 deps = [":InferIntRangeInterfaceTdFiles"],
6847 name = "InferIntRangeInterface",
6848 srcs = ["lib/Interfaces/InferIntRangeInterface.cpp"],
6849 hdrs = ["include/mlir/Interfaces/InferIntRangeInterface.h"],
6850 includes = ["include"],
6853 ":InferIntRangeInterfaceIncGen",
6859 name = "DataLayoutInterfacesTdFiles",
6860 srcs = ["include/mlir/Interfaces/DataLayoutInterfaces.td"],
6861 includes = ["include"],
6865 name = "DataLayoutInterfacesIncGen",
6868 ["-gen-attr-interface-decls"],
6869 "include/mlir/Interfaces/DataLayoutAttrInterface.h.inc",
6872 ["-gen-attr-interface-defs"],
6873 "include/mlir/Interfaces/DataLayoutAttrInterface.cpp.inc",
6876 ["-gen-op-interface-decls"],
6877 "include/mlir/Interfaces/DataLayoutOpInterface.h.inc",
6880 ["-gen-op-interface-defs"],
6881 "include/mlir/Interfaces/DataLayoutOpInterface.cpp.inc",
6884 ["-gen-type-interface-decls"],
6885 "include/mlir/Interfaces/DataLayoutTypeInterface.h.inc",
6888 ["-gen-type-interface-defs"],
6889 "include/mlir/Interfaces/DataLayoutTypeInterface.cpp.inc",
6892 tblgen = ":mlir-tblgen",
6893 td_file = "include/mlir/Interfaces/DataLayoutInterfaces.td",
6894 deps = [":OpBaseTdFiles"],
6898 name = "LoopLikeInterfaceIncGen",
6901 ["-gen-op-interface-decls"],
6902 "include/mlir/Interfaces/LoopLikeInterface.h.inc",
6905 ["-gen-op-interface-defs"],
6906 "include/mlir/Interfaces/LoopLikeInterface.cpp.inc",
6909 tblgen = ":mlir-tblgen",
6910 td_file = "include/mlir/Interfaces/LoopLikeInterface.td",
6911 deps = [":LoopLikeInterfaceTdFiles"],
6915 name = "MemorySlotInterfacesIncGen",
6918 ["-gen-op-interface-decls"],
6919 "include/mlir/Interfaces/MemorySlotOpInterfaces.h.inc",
6922 ["-gen-op-interface-defs"],
6923 "include/mlir/Interfaces/MemorySlotOpInterfaces.cpp.inc",
6926 ["-gen-type-interface-decls"],
6927 "include/mlir/Interfaces/MemorySlotTypeInterfaces.h.inc",
6930 ["-gen-type-interface-defs"],
6931 "include/mlir/Interfaces/MemorySlotTypeInterfaces.cpp.inc",
6934 tblgen = ":mlir-tblgen",
6935 td_file = "include/mlir/Interfaces/MemorySlotInterfaces.td",
6936 deps = [":MemorySlotInterfacesTdFiles"],
6940 name = "ShapedOpInterfacesIncGen",
6943 ["-gen-op-interface-decls"],
6944 "include/mlir/Interfaces/ShapedOpInterfaces.h.inc",
6947 ["-gen-op-interface-defs"],
6948 "include/mlir/Interfaces/ShapedOpInterfaces.cpp.inc",
6951 tblgen = ":mlir-tblgen",
6952 td_file = "include/mlir/Interfaces/ShapedOpInterfaces.td",
6953 deps = [":ShapedOpInterfacesTdFiles"],
6957 name = "ParallelCombiningOpInterfaceIncGen",
6960 ["-gen-op-interface-decls"],
6961 "include/mlir/Interfaces/ParallelCombiningOpInterface.h.inc",
6964 ["-gen-op-interface-defs"],
6965 "include/mlir/Interfaces/ParallelCombiningOpInterface.cpp.inc",
6968 tblgen = ":mlir-tblgen",
6969 td_file = "include/mlir/Interfaces/ParallelCombiningOpInterface.td",
6970 deps = [":ParallelCombiningOpInterfaceTdFiles"],
6974 name = "RuntimeVerifiableOpInterfaceIncGen",
6977 ["-gen-op-interface-decls"],
6978 "include/mlir/Interfaces/RuntimeVerifiableOpInterface.h.inc",
6981 ["-gen-op-interface-defs"],
6982 "include/mlir/Interfaces/RuntimeVerifiableOpInterface.cpp.inc",
6985 tblgen = ":mlir-tblgen",
6986 td_file = "include/mlir/Interfaces/RuntimeVerifiableOpInterface.td",
6987 deps = [":RuntimeVerifiableOpInterfaceTdFiles"],
6991 name = "VectorInterfacesIncGen",
6994 ["-gen-op-interface-decls"],
6995 "include/mlir/Interfaces/VectorInterfaces.h.inc",
6998 ["-gen-op-interface-defs"],
6999 "include/mlir/Interfaces/VectorInterfaces.cpp.inc",
7002 tblgen = ":mlir-tblgen",
7003 td_file = "include/mlir/Interfaces/VectorInterfaces.td",
7004 deps = [":VectorInterfacesTdFiles"],
7008 name = "ViewLikeInterfaceIncGen",
7011 ["-gen-op-interface-decls"],
7012 "include/mlir/Interfaces/ViewLikeInterface.h.inc",
7015 ["-gen-op-interface-defs"],
7016 "include/mlir/Interfaces/ViewLikeInterface.cpp.inc",
7019 tblgen = ":mlir-tblgen",
7020 td_file = "include/mlir/Interfaces/ViewLikeInterface.td",
7021 deps = [":ViewLikeInterfaceTdFiles"],
7025 name = "CopyOpInterfaceIncGen",
7028 ["-gen-op-interface-decls"],
7029 "include/mlir/Interfaces/CopyOpInterface.h.inc",
7032 ["-gen-op-interface-defs"],
7033 "include/mlir/Interfaces/CopyOpInterface.cpp.inc",
7036 tblgen = ":mlir-tblgen",
7037 td_file = "include/mlir/Interfaces/CopyOpInterface.td",
7038 deps = [":CopyOpInterfaceTdFiles"],
7042 name = "TransformsPassIncGen",
7049 "include/mlir/Transforms/Passes.h.inc",
7053 "-gen-pass-capi-header",
7054 "--prefix=Transforms",
7056 "include/mlir/Transforms/Transforms.capi.h.inc",
7060 "-gen-pass-capi-impl",
7061 "--prefix=Transforms",
7063 "include/mlir/Transforms/Transforms.capi.cpp.inc",
7066 tblgen = ":mlir-tblgen",
7067 td_file = "include/mlir/Transforms/Passes.td",
7070 ":RewritePassBaseTdFiles",
7075 name = "Transforms",
7077 "lib/Transforms/*.cpp",
7078 "lib/Transforms/*.h",
7080 hdrs = glob(["include/mlir/Transforms/*.h"]),
7081 includes = ["include"],
7084 ":ControlFlowInterfaces",
7085 ":FunctionInterfaces",
7087 ":LoopLikeInterface",
7088 ":MemorySlotInterfaces",
7091 ":RuntimeVerifiableOpInterface",
7092 ":SideEffectInterfaces",
7095 ":TransformsPassIncGen",
7101 name = "CommonFolders",
7104 hdrs = ["include/mlir/Dialect/CommonFolders.h"],
7105 includes = ["include"],
7114 srcs = glob(["lib/Conversion/SCFToGPU/*.cpp"]),
7115 hdrs = glob(["include/mlir/Conversion/SCFToGPU/*.h"]),
7116 includes = ["include"],
7119 ":AffineToStandard",
7122 ":ConversionPassIncGen",
7124 ":FunctionInterfaces",
7131 ":SideEffectInterfaces",
7140 name = "SCFToSPIRV",
7142 "lib/Conversion/SCFToSPIRV/*.cpp",
7143 "lib/Conversion/SCFToSPIRV/*.h",
7146 "include/mlir/Conversion/SCFToSPIRV/*.h",
7148 includes = ["include"],
7152 ":ConversionPassIncGen",
7169 name = "SCFToOpenMP",
7171 "lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp",
7173 hdrs = ["include/mlir/Conversion/SCFToOpenMP/SCFToOpenMP.h"],
7174 includes = ["include"],
7179 ":ConversionPassIncGen",
7193 name = "SCFToControlFlow",
7195 "lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp",
7197 hdrs = ["include/mlir/Conversion/SCFToControlFlow/SCFToControlFlow.h"],
7198 includes = ["include"],
7201 ":ControlFlowDialect",
7202 ":ConversionPassIncGen",
7215 name = "LLVMCommonConversion",
7217 "lib/Conversion/LLVMCommon/*.cpp",
7218 ]) + ["lib/Conversion/LLVMCommon/MemRefDescriptor.h"],
7219 hdrs = glob(["include/mlir/Conversion/LLVMCommon/*.h"]),
7220 includes = ["include"],
7232 name = "ReconcileUnrealizedCasts",
7233 srcs = glob(["lib/Conversion/ReconcileUnrealizedCasts/*.cpp"]),
7234 hdrs = glob(["include/mlir/Conversion/ReconcileUnrealizedCasts/*.h"]),
7235 includes = ["include"],
7237 ":ConversionPassIncGen",
7245 name = "ConvertToLLVM",
7246 srcs = glob(["lib/Conversion/ConvertToLLVM/*.cpp"]),
7247 hdrs = glob(["include/mlir/Conversion/ConvertToLLVM/*.h"]),
7248 includes = ["include"],
7250 ":ConversionPassIncGen",
7252 ":LLVMCommonConversion",
7263 name = "FuncToLLVM",
7265 "lib/Conversion/FuncToLLVM/FuncToLLVM.cpp",
7268 "include/mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h",
7269 "include/mlir/Conversion/FuncToLLVM/ConvertFuncToLLVMPass.h",
7271 includes = ["include"],
7275 ":ControlFlowToLLVM",
7276 ":ConversionPassIncGen",
7278 ":DataLayoutInterfaces",
7283 ":LLVMCommonConversion",
7298 name = "ControlFlowToSCF",
7300 "lib/Conversion/ControlFlowToSCF/ControlFlowToSCF.cpp",
7303 "include/mlir/Conversion/ControlFlowToSCF/ControlFlowToSCF.h",
7305 includes = ["include"],
7308 ":ControlFlowDialect",
7309 ":ConversionPassIncGen",
7322 name = "ControlFlowToLLVM",
7324 "lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp",
7327 "include/mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h",
7329 includes = ["include"],
7333 ":ControlFlowDialect",
7334 ":ConversionPassIncGen",
7336 ":DataLayoutInterfaces",
7339 ":LLVMCommonConversion",
7354 name = "ControlFlowToSPIRV",
7355 srcs = glob(["lib/Conversion/ControlFlowToSPIRV/*.cpp"]),
7356 hdrs = glob(["include/mlir/Conversion/ControlFlowToSPIRV/*.h"]),
7357 includes = ["include"],
7359 ":ControlFlowDialect",
7360 ":ConversionPassIncGen",
7363 ":SPIRVCommonConversion",
7374 name = "MemRefToLLVM",
7375 srcs = glob(["lib/Conversion/MemRefToLLVM/*.cpp"]),
7376 hdrs = glob(["include/mlir/Conversion/MemRefToLLVM/*.h"]),
7377 includes = ["include"],
7381 ":ConversionPassIncGen",
7383 ":DataLayoutInterfaces",
7386 ":LLVMCommonConversion",
7398 name = "MemRefToSPIRV",
7400 "lib/Conversion/MemRefToSPIRV/*.cpp",
7401 "lib/Conversion/MemRefToSPIRV/*.h",
7404 "include/mlir/Conversion/MemRefToSPIRV/*.h",
7408 "lib/Conversion/MemRefToSPIRV",
7412 ":ConversionPassIncGen",
7414 ":FunctionInterfaces",
7427 name = "ArithAttrToLLVMConversion",
7428 srcs = glob(["lib/Conversion/ArithCommon/*.cpp"]),
7429 hdrs = glob(["include/mlir/Conversion/ArithCommon/*.h"]),
7430 includes = ["include"],
7438 name = "ArithToLLVM",
7439 srcs = glob(["lib/Conversion/ArithToLLVM/*.cpp"]),
7440 hdrs = glob(["include/mlir/Conversion/ArithToLLVM/*.h"]),
7441 includes = ["include"],
7444 ":ArithAttrToLLVMConversion",
7446 ":ConversionPassIncGen",
7449 ":LLVMCommonConversion",
7458 name = "ArithToSPIRV",
7459 srcs = glob(["lib/Conversion/ArithToSPIRV/*.cpp"]),
7460 hdrs = glob(["include/mlir/Conversion/ArithToSPIRV/*.h"]),
7461 includes = ["include"],
7464 ":ConversionPassIncGen",
7468 ":SPIRVCommonConversion",
7478 name = "MathToLLVM",
7479 srcs = glob(["lib/Conversion/MathToLLVM/*.cpp"]),
7480 hdrs = glob(["include/mlir/Conversion/MathToLLVM/*.h"]),
7481 includes = ["include"],
7484 ":ArithAttrToLLVMConversion",
7485 ":ConversionPassIncGen",
7487 ":DataLayoutInterfaces",
7489 ":LLVMCommonConversion",
7499 name = "MathToFuncs",
7500 srcs = glob(["lib/Conversion/MathToFuncs/*.cpp"]),
7501 hdrs = glob(["include/mlir/Conversion/MathToFuncs/*.h"]),
7502 includes = ["include"],
7505 ":ControlFlowDialect",
7506 ":ConversionPassIncGen",
7522 name = "BytecodeOpInterfaceIncGen",
7525 ["-gen-op-interface-decls"],
7526 "include/mlir/Bytecode/BytecodeOpInterface.h.inc",
7529 ["-gen-op-interface-defs"],
7530 "include/mlir/Bytecode/BytecodeOpInterface.cpp.inc",
7533 tblgen = ":mlir-tblgen",
7534 td_file = "include/mlir/Bytecode/BytecodeOpInterface.td",
7535 deps = [":BytecodeOpInterfaceTdFiles"],
7539 name = "CallOpInterfacesIncGen",
7542 ["-gen-op-interface-decls"],
7543 "include/mlir/Interfaces/CallInterfaces.h.inc",
7546 ["-gen-op-interface-defs"],
7547 "include/mlir/Interfaces/CallInterfaces.cpp.inc",
7550 tblgen = ":mlir-tblgen",
7551 td_file = "include/mlir/Interfaces/CallInterfaces.td",
7552 deps = [":CallInterfacesTdFiles"],
7556 name = "CallOpInterfaces",
7557 srcs = ["lib/Interfaces/CallInterfaces.cpp"],
7558 hdrs = ["include/mlir/Interfaces/CallInterfaces.h"],
7559 includes = ["include"],
7561 ":CallOpInterfacesIncGen",
7568 name = "CastInterfacesIncGen",
7571 ["-gen-op-interface-decls"],
7572 "include/mlir/Interfaces/CastInterfaces.h.inc",
7575 ["-gen-op-interface-defs"],
7576 "include/mlir/Interfaces/CastInterfaces.cpp.inc",
7579 tblgen = ":mlir-tblgen",
7580 td_file = "include/mlir/Interfaces/CastInterfaces.td",
7581 deps = [":CastInterfacesTdFiles"],
7585 name = "CastInterfaces",
7586 srcs = ["lib/Interfaces/CastInterfaces.cpp"],
7587 hdrs = ["include/mlir/Interfaces/CastInterfaces.h"],
7588 includes = ["include"],
7590 ":CastInterfacesIncGen",
7597 name = "ControlFlowInterfacesIncGen",
7600 ["-gen-op-interface-decls"],
7601 "include/mlir/Interfaces/ControlFlowInterfaces.h.inc",
7604 ["-gen-op-interface-defs"],
7605 "include/mlir/Interfaces/ControlFlowInterfaces.cpp.inc",
7608 tblgen = ":mlir-tblgen",
7609 td_file = "include/mlir/Interfaces/ControlFlowInterfaces.td",
7610 deps = [":ControlFlowInterfacesTdFiles"],
7614 name = "ControlFlowInterfaces",
7615 srcs = ["lib/Interfaces/ControlFlowInterfaces.cpp"],
7616 hdrs = ["include/mlir/Interfaces/ControlFlowInterfaces.h"],
7617 includes = ["include"],
7619 ":ControlFlowInterfacesIncGen",
7626 name = "InferTypeOpInterfaceIncGen",
7629 ["-gen-op-interface-decls"],
7630 "include/mlir/Interfaces/InferTypeOpInterface.h.inc",
7633 ["-gen-op-interface-defs"],
7634 "include/mlir/Interfaces/InferTypeOpInterface.cpp.inc",
7637 tblgen = ":mlir-tblgen",
7638 td_file = "include/mlir/Interfaces/InferTypeOpInterface.td",
7639 deps = [":InferTypeOpInterfaceTdFiles"],
7643 name = "InferTypeOpInterface",
7644 srcs = ["lib/Interfaces/InferTypeOpInterface.cpp"],
7645 hdrs = ["include/mlir/Interfaces/InferTypeOpInterface.h"],
7646 includes = ["include"],
7649 ":InferTypeOpInterfaceIncGen",
7656 name = "SideEffectInterfacesIncGen",
7659 ["-gen-op-interface-decls"],
7660 "include/mlir/Interfaces/SideEffectInterfaces.h.inc",
7663 ["-gen-op-interface-defs"],
7664 "include/mlir/Interfaces/SideEffectInterfaces.cpp.inc",
7667 tblgen = ":mlir-tblgen",
7668 td_file = "include/mlir/Interfaces/SideEffectInterfaces.td",
7669 deps = [":SideEffectInterfacesTdFiles"],
7673 name = "SideEffectInterfaces",
7674 srcs = ["lib/Interfaces/SideEffectInterfaces.cpp"],
7675 hdrs = ["include/mlir/Interfaces/SideEffectInterfaces.h"],
7676 includes = ["include"],
7679 ":SideEffectInterfacesIncGen",
7685 name = "TilingInterfaceIncGen",
7688 ["-gen-op-interface-decls"],
7689 "include/mlir/Interfaces/TilingInterface.h.inc",
7692 ["-gen-op-interface-defs"],
7693 "include/mlir/Interfaces/TilingInterface.cpp.inc",
7696 tblgen = ":mlir-tblgen",
7697 td_file = "include/mlir/Interfaces/TilingInterface.td",
7698 deps = [":TilingInterfaceTdFiles"],
7705 "lib/Analysis/*.cpp",
7707 "lib/Analysis/*/*.cpp",
7708 "lib/Analysis/*/*.h",
7713 "include/mlir/Analysis/*.h",
7714 "include/mlir/Analysis/*/*.h",
7718 "$(STACK_FRAME_UNLIMITED)",
7720 includes = ["include"],
7723 ":CallOpInterfaces",
7724 ":ControlFlowInterfaces",
7725 ":DataLayoutInterfaces",
7726 ":FunctionInterfaces",
7728 ":InferIntRangeInterface",
7729 ":LoopLikeInterface",
7731 ":SideEffectInterfaces",
7733 ":ViewLikeInterface",
7739 name = "TranslateLib",
7741 "lib/Tools/mlir-translate/*.cpp",
7743 "include/mlir/Tools/ParseUtilities.h",
7745 hdrs = glob(["include/mlir/Tools/mlir-translate/*.h"]),
7746 includes = ["include"],
7756 name = "ToLLVMIRTranslation",
7758 "lib/Target/LLVMIR/DebugTranslation.cpp",
7759 "lib/Target/LLVMIR/DebugTranslation.h",
7760 "lib/Target/LLVMIR/LoopAnnotationTranslation.cpp",
7761 "lib/Target/LLVMIR/LoopAnnotationTranslation.h",
7762 "lib/Target/LLVMIR/ModuleTranslation.cpp",
7763 "lib/Target/LLVMIR/TypeToLLVM.cpp",
7766 "include/mlir/Target/LLVMIR/Export.h",
7767 "include/mlir/Target/LLVMIR/LLVMTranslationInterface.h",
7768 "include/mlir/Target/LLVMIR/ModuleTranslation.h",
7769 "include/mlir/Target/LLVMIR/TypeToLLVM.h",
7770 "lib/Target/LLVMIR/AttrKindDetail.h",
7772 includes = ["include"],
7776 ":LLVMConversionIncGen",
7778 ":LLVMIRTransforms",
7779 ":LLVMIntrinsicConversionIncGen",
7783 "//llvm:FrontendOpenMP",
7785 "//llvm:TransformUtils",
7790 name = "AMXToLLVMIRTranslation",
7791 srcs = glob(["lib/Target/LLVMIR/Dialect/AMX/*.cpp"]),
7792 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/AMX/*.h"]),
7793 includes = ["include"],
7795 ":AMXConversionIncGen",
7798 ":ToLLVMIRTranslation",
7805 name = "X86VectorToLLVMIRTranslation",
7806 srcs = glob(["lib/Target/LLVMIR/Dialect/X86Vector/*.cpp"]),
7807 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/X86Vector/*.h"]),
7808 includes = ["include"],
7811 ":ToLLVMIRTranslation",
7812 ":X86VectorConversionIncGen",
7813 ":X86VectorDialect",
7820 name = "ArmNeonToLLVMIRTranslation",
7821 srcs = glob(["lib/Target/LLVMIR/Dialect/ArmNeon/*.cpp"]),
7822 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/ArmNeon/*.h"]),
7823 includes = ["include"],
7825 ":ArmNeonConversionIncGen",
7829 ":ToLLVMIRTranslation",
7836 name = "ArmSMEToLLVMIRTranslation",
7837 srcs = glob(["lib/Target/LLVMIR/Dialect/ArmSME/*.cpp"]),
7838 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/ArmSME/*.h"]),
7839 includes = ["include"],
7841 ":ArmSMEConversionIncGen",
7844 ":ToLLVMIRTranslation",
7851 name = "ArmSVEToLLVMIRTranslation",
7852 srcs = glob(["lib/Target/LLVMIR/Dialect/ArmSVE/*.cpp"]),
7853 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/ArmSVE/*.h"]),
7854 includes = ["include"],
7856 ":ArmSVEConversionIncGen",
7859 ":ToLLVMIRTranslation",
7866 name = "NVVMToLLVMIRTranslation",
7867 srcs = glob(["lib/Target/LLVMIR/Dialect/NVVM/*.cpp"]),
7868 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/NVVM/*.h"]),
7869 includes = ["include"],
7873 ":NVVMConversionIncGen",
7876 ":ToLLVMIRTranslation",
7883 name = "ROCDLToLLVMIRTranslation",
7884 srcs = glob(["lib/Target/LLVMIR/Dialect/ROCDL/*.cpp"]),
7885 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/ROCDL/*.h"]),
7886 includes = ["include"],
7889 ":ROCDLConversionIncGen",
7891 ":ToLLVMIRTranslation",
7898 name = "GPUToLLVMIRTranslation",
7900 "lib/Target/LLVMIR/Dialect/GPU/GPUToLLVMIRTranslation.cpp",
7901 "lib/Target/LLVMIR/Dialect/GPU/SelectObjectAttr.cpp",
7903 hdrs = ["include/mlir/Target/LLVMIR/Dialect/GPU/GPUToLLVMIRTranslation.h"],
7904 includes = ["include"],
7908 ":ToLLVMIRTranslation",
7915 name = "BuiltinToLLVMIRTranslation",
7916 srcs = ["lib/Target/LLVMIR/Dialect/Builtin/BuiltinToLLVMIRTranslation.cpp"],
7917 hdrs = ["include/mlir/Target/LLVMIR/Dialect/Builtin/BuiltinToLLVMIRTranslation.h"],
7918 includes = ["include"],
7921 ":ToLLVMIRTranslation",
7928 name = "LLVMToLLVMIRTranslation",
7929 srcs = ["lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp"],
7930 hdrs = ["include/mlir/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.h"],
7931 includes = ["include"],
7934 ":LLVMConversionIncGen",
7936 ":LLVMIntrinsicConversionIncGen",
7938 ":ToLLVMIRTranslation",
7945 name = "OpenMPCommon",
7946 srcs = ["lib/Target/LLVMIR/Dialect/OpenMPCommon.cpp"],
7947 hdrs = ["include/mlir/Target/LLVMIR/Dialect/OpenMPCommon.h"],
7948 includes = ["include"],
7953 "//llvm:FrontendOpenMP",
7958 name = "LLVMIRToLLVMTranslation",
7959 srcs = ["lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp"],
7960 hdrs = ["include/mlir/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.h"],
7961 includes = ["include"],
7963 ":FromLLVMIRTranslation",
7964 ":LLVMConversionIncGen",
7966 ":LLVMIntrinsicConversionIncGen",
7974 name = "OpenACCToLLVMIRTranslation",
7975 srcs = glob(["lib/Target/LLVMIR/Dialect/OpenACC/*.cpp"]),
7976 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/OpenACC/*.h"]),
7977 includes = ["include"],
7985 ":ToLLVMIRTranslation",
7987 "//llvm:FrontendOpenMP",
7993 name = "OpenMPToLLVMIRTranslation",
7994 srcs = glob(["lib/Target/LLVMIR/Dialect/OpenMP/*.cpp"]),
7995 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/OpenMP/*.h"]),
7996 includes = ["include"],
8003 ":ToLLVMIRTranslation",
8006 "//llvm:FrontendOpenMP",
8012 name = "AllToLLVMIRTranslations",
8013 hdrs = ["include/mlir/Target/LLVMIR/Dialect/All.h"],
8014 includes = ["include"],
8016 ":AMXToLLVMIRTranslation",
8017 ":ArmNeonToLLVMIRTranslation",
8018 ":ArmSMEToLLVMIRTranslation",
8019 ":ArmSVEToLLVMIRTranslation",
8020 ":BuiltinToLLVMIRTranslation",
8021 ":GPUToLLVMIRTranslation",
8022 ":LLVMIRToLLVMTranslation",
8023 ":LLVMToLLVMIRTranslation",
8025 ":NVVMToLLVMIRTranslation",
8026 ":OpenACCToLLVMIRTranslation",
8027 ":OpenMPToLLVMIRTranslation",
8029 ":ROCDLToLLVMIRTranslation",
8030 ":X86VectorToLLVMIRTranslation",
8035 name = "ToLLVMIRTranslationRegistration",
8036 srcs = ["lib/Target/LLVMIR/ConvertToLLVMIR.cpp"],
8037 includes = ["include"],
8039 ":AllToLLVMIRTranslations",
8045 ":ToLLVMIRTranslation",
8053 name = "FromLLVMIRTranslation",
8055 "lib/Target/LLVMIR/DataLayoutImporter.cpp",
8056 "lib/Target/LLVMIR/DataLayoutImporter.h",
8057 "lib/Target/LLVMIR/DebugImporter.cpp",
8058 "lib/Target/LLVMIR/LoopAnnotationImporter.cpp",
8059 "lib/Target/LLVMIR/LoopAnnotationImporter.h",
8060 "lib/Target/LLVMIR/ModuleImport.cpp",
8061 "lib/Target/LLVMIR/TypeFromLLVM.cpp",
8064 "include/mlir/Target/LLVMIR/Import.h",
8065 "include/mlir/Target/LLVMIR/LLVMImportInterface.h",
8066 "include/mlir/Target/LLVMIR/ModuleImport.h",
8067 "include/mlir/Target/LLVMIR/TypeFromLLVM.h",
8068 "lib/Target/LLVMIR/AttrKindDetail.h",
8069 "lib/Target/LLVMIR/DebugImporter.h",
8071 includes = ["include"],
8075 ":LLVMConversionIncGen",
8077 ":LLVMIntrinsicConversionIncGen",
8088 name = "FromLLVMIRTranslationRegistration",
8090 "lib/Target/LLVMIR/ConvertFromLLVMIR.cpp",
8093 ":AllToLLVMIRTranslations",
8095 ":FromLLVMIRTranslation",
8105 name = "ExecutionEngine",
8107 "include/mlir/ExecutionEngine/CRunnerUtils.h",
8108 "lib/ExecutionEngine/ExecutionEngine.cpp",
8111 "include/mlir/ExecutionEngine/ExecutionEngine.h",
8112 "include/mlir/ExecutionEngine/MemRefUtils.h",
8114 includes = ["include"],
8116 ":AllToLLVMIRTranslations",
8120 ":ToLLVMIRTranslation",
8121 "//llvm:AllTargetsAsmParsers",
8124 "//llvm:ExecutionEngine",
8128 "//llvm:Target", # fixdeps: keep
8129 "//llvm:TargetParser",
8130 "//llvm:TransformUtils",
8131 "//llvm:X86CodeGen", # fixdeps: keep
8132 "//llvm:X86Disassembler", # fixdeps: keep
8137 name = "ExecutionEngineUtils",
8138 srcs = ["lib/ExecutionEngine/OptUtils.cpp"],
8139 hdrs = ["include/mlir/ExecutionEngine/OptUtils.h"],
8140 includes = ["include"],
8144 "//llvm:Coroutines",
8149 "//llvm:common_transforms",
8154 name = "PluginsLib",
8156 "lib/Tools/Plugins/DialectPlugin.cpp",
8157 "lib/Tools/Plugins/PassPlugin.cpp",
8160 "include/mlir/Tools/Plugins/DialectPlugin.h",
8161 "include/mlir/Tools/Plugins/PassPlugin.h",
8163 includes = ["include"],
8173 name = "MlirOptLib",
8175 "include/mlir/Tools/ParseUtilities.h",
8176 "lib/Tools/mlir-opt/MlirOptMain.cpp",
8178 hdrs = ["include/mlir/Tools/mlir-opt/MlirOptMain.h"],
8179 includes = ["include"],
8195 name = "AllTranslations",
8196 hdrs = ["include/mlir/InitAllTranslations.h"],
8198 ":FromLLVMIRTranslationRegistration",
8199 ":SPIRVTranslateRegistration",
8201 ":ToLLVMIRTranslationRegistration",
8206 name = "MlirTranslateMain",
8207 srcs = ["tools/mlir-translate/mlir-translate.cpp"],
8208 local_defines = ["MLIR_INCLUDE_TESTS"],
8210 ":AllPassesAndDialects",
8215 "//mlir/test:TestToLLVMIRTranslation",
8220 name = "mlir-translate",
8221 deps = [":MlirTranslateMain"],
8225 name = "AllPassesAndDialects",
8227 "include/mlir/InitAllDialects.h",
8228 "include/mlir/InitAllPasses.h",
8233 ":AMDGPUTransforms",
8237 ":AffinePassIncGen",
8238 ":AffineToStandard",
8239 ":AffineTransformOps",
8240 ":AffineTransforms",
8245 ":ArithValueBoundsOpInterfaceImpl",
8248 ":ArmSMETransforms",
8250 ":ArmSVETransforms",
8255 ":BufferizationDialect",
8256 ":BufferizationTransformOps",
8257 ":BufferizationTransforms",
8263 ":ControlFlowDialect",
8264 ":ControlFlowTransforms",
8265 ":ConversionPasses",
8272 ":FuncTransformOps",
8274 ":FuncTransformsPassIncGen",
8277 ":GPUToGPURuntimeTransforms",
8278 ":GPUToNVVMTransforms",
8279 ":GPUToROCDLTransforms",
8281 ":GPUToVulkanTransforms",
8288 ":LLVMIRTransforms",
8291 ":LinalgPassIncGen",
8292 ":LinalgToStandard",
8293 ":LinalgTransformOps",
8294 ":LinalgTransforms",
8295 ":MLProgramDialect",
8305 ":MemRefTransformOps",
8306 ":MemRefTransforms",
8310 ":NVGPUTransformOps",
8318 ":PDLInterpDialect",
8323 ":ReconcileUnrealizedCasts",
8326 ":SCFToControlFlow",
8338 ":ShapeTransformsPassIncGen",
8339 ":SparseTensorDialect",
8340 ":SparseTensorPipelines",
8341 ":SparseTensorTransformOps",
8342 ":SparseTensorTransforms",
8344 ":TensorInferTypeOpInterfaceImpl",
8345 ":TensorTilingInterfaceImpl",
8346 ":TensorTransformOps",
8347 ":TensorTransforms",
8350 ":TransformDialect",
8351 ":TransformDialectTransforms",
8352 ":TransformPDLExtension",
8354 ":TransformsPassIncGen",
8360 ":VectorTransformOps",
8361 ":VectorTransforms",
8362 ":X86VectorDialect",
8363 ":X86VectorTransforms",
8368 name = "mlir-lsp-server",
8369 srcs = ["tools/mlir-lsp-server/mlir-lsp-server.cpp"],
8370 includes = ["include"],
8373 ":AllPassesAndDialects",
8376 ":MlirLspServerLib",
8383 srcs = ["tools/mlir-opt/mlir-opt.cpp"],
8384 local_defines = ["MLIR_INCLUDE_TESTS"],
8387 ":AllPassesAndDialects",
8388 ":AllToLLVMIRTranslations",
8396 ":SerializeToCubin",
8399 "//llvm:AllTargetsCodeGens",
8401 "//mlir/test:TestAffine",
8402 "//mlir/test:TestAnalysis",
8403 "//mlir/test:TestArith",
8404 "//mlir/test:TestBufferization",
8405 "//mlir/test:TestControlFlow",
8406 "//mlir/test:TestDLTI",
8407 "//mlir/test:TestDialect",
8408 "//mlir/test:TestFunc",
8409 "//mlir/test:TestFuncToLLVM",
8410 "//mlir/test:TestGPU",
8411 "//mlir/test:TestIR",
8412 "//mlir/test:TestLLVM",
8413 "//mlir/test:TestLinalg",
8414 "//mlir/test:TestLoopLikeInterface",
8415 "//mlir/test:TestMath",
8416 "//mlir/test:TestMemRef",
8417 "//mlir/test:TestNVGPU",
8418 "//mlir/test:TestOneToNTypeConversion",
8419 "//mlir/test:TestPDLL",
8420 "//mlir/test:TestPass",
8421 "//mlir/test:TestReducer",
8422 "//mlir/test:TestRewrite",
8423 "//mlir/test:TestSCF",
8424 "//mlir/test:TestSPIRV",
8425 "//mlir/test:TestShapeDialect",
8426 "//mlir/test:TestTensor",
8427 "//mlir/test:TestTestDynDialect",
8428 "//mlir/test:TestTilingInterface",
8429 "//mlir/test:TestTosaDialect",
8430 "//mlir/test:TestTransformDialect",
8431 "//mlir/test:TestTransforms",
8432 "//mlir/test:TestTypeDialect",
8433 "//mlir/test:TestVector",
8434 "//mlir/test:TestVectorToSPIRV",
8439 name = "MlirJitRunner",
8440 srcs = ["lib/ExecutionEngine/JitRunner.cpp"],
8442 "include/mlir/ExecutionEngine/JitRunner.h",
8443 "include/mlir/Tools/ParseUtilities.h",
8445 includes = ["include"],
8447 ":AllPassesAndDialects",
8449 ":ExecutionEngineUtils",
8452 ":LLVMToLLVMIRTranslation",
8453 ":OpenACCToLLVMIRTranslation",
8454 ":OpenMPToLLVMIRTranslation",
8456 ":SCFToControlFlow",
8465 name = "mlir_async_runtime_api",
8466 hdrs = ["include/mlir/ExecutionEngine/AsyncRuntime.h"],
8467 includes = ["include"],
8471 name = "_mlir_async_runtime",
8472 srcs = ["lib/ExecutionEngine/AsyncRuntime.cpp"],
8473 copts = ["-Dmlir_async_runtime_EXPORTS"],
8475 ":mlir_async_runtime_api",
8480 # Indirection to avoid 'libmlir_async_runtime.so' filename clash.
8482 name = "mlir_async_runtime",
8483 actual = "_mlir_async_runtime",
8487 name = "libmlir_async_runtime.so",
8490 deps = [":mlir_async_runtime"],
8494 name = "_mlir_float16_utils",
8495 srcs = ["lib/ExecutionEngine/Float16bits.cpp"],
8496 hdrs = ["include/mlir/ExecutionEngine/Float16bits.h"],
8497 copts = ["-Dmlir_float16_utils_EXPORTS"],
8498 includes = ["include"],
8501 # Indirection to avoid 'libmlir_float16_utils.so' filename clash.
8503 name = "mlir_float16_utils",
8504 actual = "_mlir_float16_utils",
8508 name = "libmlir_float16_utils.so",
8511 deps = [":mlir_float16_utils"],
8514 # Unlike mlir_float16_utils, mlir_c_runner_utils, etc, we do *not* make
8515 # this a shared library: because on the CMake side, doing so causes issues
8516 # when building on Windows. In particular, various functions take/return
8517 # `std::vector` but that class is not designed with dllimport/dllexport
8518 # pragma, therefore it cannot be safely/correctly used across DLL boundaries.
8519 # Consequently, we avoid using the "mlir_xxx_utils" naming scheme,
8520 # since that is reserved/intended for shared libraries only.
8522 name = "SparseTensorRuntime",
8524 "lib/ExecutionEngine/SparseTensor/File.cpp",
8525 "lib/ExecutionEngine/SparseTensor/NNZ.cpp",
8526 "lib/ExecutionEngine/SparseTensor/Storage.cpp",
8529 "include/mlir/ExecutionEngine/SparseTensor/ArithmeticUtils.h",
8530 "include/mlir/ExecutionEngine/SparseTensor/COO.h",
8531 "include/mlir/ExecutionEngine/SparseTensor/ErrorHandling.h",
8532 "include/mlir/ExecutionEngine/SparseTensor/File.h",
8533 "include/mlir/ExecutionEngine/SparseTensor/Storage.h",
8535 includes = ["include"],
8537 ":SparseTensorEnums",
8538 ":mlir_float16_utils",
8543 name = "_mlir_c_runner_utils",
8545 "lib/ExecutionEngine/CRunnerUtils.cpp",
8546 "lib/ExecutionEngine/SparseTensorRuntime.cpp",
8549 "include/mlir/ExecutionEngine/CRunnerUtils.h",
8550 "include/mlir/ExecutionEngine/Msan.h",
8551 "include/mlir/ExecutionEngine/SparseTensorRuntime.h",
8553 includes = ["include"],
8555 ":SparseTensorEnums",
8556 ":SparseTensorRuntime",
8557 ":mlir_float16_utils",
8562 # Indirection to avoid 'libmlir_c_runner_utils.so' filename clash.
8564 name = "mlir_c_runner_utils",
8565 actual = "_mlir_c_runner_utils",
8569 name = "mlir_c_runner_utils_hdrs",
8570 src = ":mlir_c_runner_utils",
8574 name = "libmlir_c_runner_utils.so",
8577 deps = [":mlir_c_runner_utils"],
8581 name = "_mlir_runner_utils",
8582 srcs = ["lib/ExecutionEngine/RunnerUtils.cpp"],
8583 hdrs = ["include/mlir/ExecutionEngine/RunnerUtils.h"],
8584 includes = ["include"],
8586 ":mlir_c_runner_utils",
8591 # Indirection to avoid 'libmlir_runner_utils.so' filename clash.
8593 name = "mlir_runner_utils",
8594 actual = "_mlir_runner_utils",
8598 name = "mlir_runner_utils_hdrs",
8599 src = ":mlir_runner_utils",
8603 name = "libmlir_runner_utils.so",
8606 deps = [":mlir_runner_utils"],
8610 name = "mlir-cpu-runner",
8611 srcs = ["tools/mlir-cpu-runner/mlir-cpu-runner.cpp"],
8613 ":AllToLLVMIRTranslations",
8614 ":BuiltinToLLVMIRTranslation",
8615 ":ExecutionEngineUtils",
8618 ":LLVMToLLVMIRTranslation",
8620 ":OpenACCToLLVMIRTranslation",
8621 ":OpenMPToLLVMIRTranslation",
8622 ":ToLLVMIRTranslation",
8625 "//llvm:X86AsmParser",
8629 # This target provides the headers from LLVM's Support target without any of
8630 # the symbols. In particular, it does not contain the static registration code
8631 # which may be executed by at most one shared library loaded by ORCJit. Direct
8632 # dependencies need to avoid requiring symbols from LLVMSupport by adding
8633 # copts = ["-DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1"].
8635 # Bazel links the dependencies' object files instead of the archives, which
8636 # means that symbols are linked in even if none are used. The LLVM cmake build
8637 # on the other hand links archives (or shared libraries, depending on
8638 # BUILD_SHARED_LIBS), skipping them if none of the symbols are used.
8639 # See also https://reviews.llvm.org/D95613.
8641 name = "LLVMSupportHeaders",
8642 src = "//llvm:Support",
8646 name = "_mlir_cuda_runtime",
8647 srcs = ["lib/ExecutionEngine/CudaRuntimeWrappers.cpp"],
8648 # Prevent needing EnableABIBreakingChecks symbol from LLVMSupport.
8649 copts = ["-DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1"],
8651 # MLIR_ENABLE_CUDA_CUSPARSE : enables cuSPARSE
8652 # MLIR_ENABLE_CUDA_CUSPARSELT : enables cuSPARSElt
8653 local_defines = ["MLIR_ENABLE_CUDA_CUSPARSE"],
8655 "manual", # External dependency
8656 "nobuildkite", # TODO(gcmn): Add support for this target
8659 ":LLVMSupportHeaders",
8660 ":mlir_c_runner_utils_hdrs",
8661 "@cuda//:cuda_headers",
8662 "@cuda//:cusparse_static",
8667 # Indirection to avoid 'libmlir_cuda_runtime.so' filename clash.
8669 name = "mlir_cuda_runtime",
8670 actual = "_mlir_cuda_runtime",
8672 "manual", # External dependency
8673 "nobuildkite", # TODO(gcmn): Add support for this target
8678 name = "libmlir_cuda_runtime.so",
8682 "manual", # External dependency
8683 "nobuildkite", # TODO(gcmn): Add support for this target
8685 deps = [":mlir_cuda_runtime"],
8689 name = "VulkanRuntime",
8690 srcs = ["tools/mlir-vulkan-runner/VulkanRuntime.cpp"],
8691 hdrs = ["tools/mlir-vulkan-runner/VulkanRuntime.h"],
8693 "manual", # External dependency
8700 ":SideEffectInterfaces",
8704 "@vulkan_sdk//:sdk",
8709 name = "libvulkan-runtime-wrappers.so",
8710 srcs = ["tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp"],
8714 "manual", # External dependency
8716 deps = [":VulkanRuntime"],
8720 name = "mlir-vulkan-runner",
8721 srcs = ["tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp"],
8724 ":BuiltinToLLVMIRTranslation",
8725 ":ExecutionEngineUtils",
8731 ":GPUToVulkanTransforms",
8733 ":LLVMCommonConversion",
8735 ":LLVMIRTransforms",
8736 ":LLVMToLLVMIRTranslation",
8739 ":MemRefTransforms",
8742 ":ReconcileUnrealizedCasts",
8745 ":ToLLVMIRTranslation",
8753 name = "mlir-spirv-cpu-runner",
8754 srcs = ["tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp"],
8757 ":BuiltinToLLVMIRTranslation",
8758 ":ExecutionEngineUtils",
8765 ":LLVMToLLVMIRTranslation",
8773 ":ToLLVMIRTranslation",
8782 srcs = glob(["lib/TableGen/*.cpp"]),
8783 hdrs = glob(["include/mlir/TableGen/*.h"]),
8784 includes = ["include"],
8789 "//llvm:TargetParser",
8794 name = "MlirTableGenMain",
8795 srcs = glob(["lib/Tools/mlir-tblgen/*.cpp"]),
8796 hdrs = glob(["include/mlir/Tools/mlir-tblgen/*.h"]),
8797 includes = ["include"],
8802 "//llvm:TargetParser",
8808 name = "mlir-tblgen",
8810 "tools/mlir-tblgen/*.h",
8811 "tools/mlir-tblgen/*.cpp",
8814 ":MlirTableGenMain",
8817 "//llvm:CodeGenTypes",
8820 "//llvm:TargetParser",
8826 name = "mlir-linalg-ods-yaml-gen",
8828 "tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp",
8840 ## OpenMP / OpenACC common
8843 name = "AtomicInterfacesTdFiles",
8844 srcs = ["include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td"],
8845 includes = ["include"],
8847 ":ControlFlowInterfacesTdFiles",
8853 name = "AtomicInterfacesIncGen",
8856 ["-gen-op-interface-decls"],
8857 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h.inc",
8860 ["-gen-op-interface-defs"],
8861 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.cpp.inc",
8864 tblgen = ":mlir-tblgen",
8865 td_file = "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td",
8867 ":AtomicInterfacesTdFiles",
8872 name = "AtomicInterfaces",
8873 srcs = ["lib/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.cpp"],
8874 hdrs = ["include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h"],
8875 includes = ["include"],
8877 ":AtomicInterfacesIncGen",
8878 ":ControlFlowInterfaces",
8886 # TODO(gcmn): This is sticking td files in a cc_library
8888 name = "AccCommonGen",
8889 includes = ["/llvm/include"],
8893 "-gen-directive-decl",
8894 "-directives-dialect=OpenACC",
8896 "include/mlir/Dialect/OpenACC/AccCommon.td",
8899 tblgen = ":mlir-tblgen",
8900 td_file = "//llvm:include/llvm/Frontend/OpenACC/ACC.td",
8901 deps = ["//llvm:acc_td_files"],
8905 name = "OpenAccOpsTdFiles",
8907 "include/mlir/Dialect/OpenACC/AccCommon.td",
8908 "include/mlir/Dialect/OpenACC/OpenACCBase.td",
8909 "include/mlir/Dialect/OpenACC/OpenACCOps.td",
8910 "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td",
8911 "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td",
8912 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td",
8914 includes = ["include"],
8916 ":AtomicInterfacesTdFiles",
8922 name = "OpenACCOpsIncGen",
8926 "-gen-dialect-decls",
8929 "include/mlir/Dialect/OpenACC/OpenACCOpsDialect.h.inc",
8933 "-gen-dialect-defs",
8936 "include/mlir/Dialect/OpenACC/OpenACCOpsDialect.cpp.inc",
8940 "include/mlir/Dialect/OpenACC/OpenACCOps.h.inc",
8944 "include/mlir/Dialect/OpenACC/OpenACCOps.cpp.inc",
8947 ["-gen-enum-decls"],
8948 "include/mlir/Dialect/OpenACC/OpenACCOpsEnums.h.inc",
8952 "include/mlir/Dialect/OpenACC/OpenACCOpsEnums.cpp.inc",
8956 "-gen-attrdef-decls",
8957 "-attrdefs-dialect=acc",
8959 "include/mlir/Dialect/OpenACC/OpenACCOpsAttributes.h.inc",
8963 "-gen-attrdef-defs",
8964 "-attrdefs-dialect=acc",
8966 "include/mlir/Dialect/OpenACC/OpenACCOpsAttributes.cpp.inc",
8970 "g3doc/Dialects/OpenACC/OpenACCOps.md",
8973 tblgen = ":mlir-tblgen",
8974 td_file = "include/mlir/Dialect/OpenACC/OpenACCOps.td",
8976 ":BuiltinDialectTdFiles",
8977 ":ControlFlowInterfacesTdFiles",
8978 ":OpenAccOpsTdFiles",
8979 ":SideEffectInterfacesTdFiles",
8984 name = "OpenACCTypesIncGen",
8988 "--gen-typedef-decls",
8989 "-typedefs-dialect=acc",
8991 "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.h.inc",
8995 "--gen-typedef-defs",
8996 "-typedefs-dialect=acc",
8998 "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.cpp.inc",
9001 tblgen = ":mlir-tblgen",
9002 td_file = "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td",
9003 deps = [":OpenAccOpsTdFiles"],
9007 name = "OpenACCTypeInterfacesIncGen",
9010 ["-gen-type-interface-decls"],
9011 "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.h.inc",
9014 ["-gen-type-interface-defs"],
9015 "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.cpp.inc",
9018 tblgen = ":mlir-tblgen",
9019 td_file = "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td",
9020 deps = [":OpenAccOpsTdFiles"],
9024 name = "OpenACCDialect",
9027 "lib/Dialect/OpenACC/IR/*.cpp",
9028 "lib/Dialect/OpenACC/IR/*.h",
9033 "include/mlir/Dialect/OpenACC/*.h",
9037 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h",
9040 includes = ["include"],
9042 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h",
9045 ":AtomicInterfaces",
9046 ":AtomicInterfacesIncGen",
9047 ":ControlFlowInterfaces",
9051 ":OpenACCOpsIncGen",
9052 ":OpenACCTypeInterfacesIncGen",
9053 ":OpenACCTypesIncGen",
9061 # TODO(gcmn): This is sticking td files in a cc_library
9063 name = "OmpCommonTdGen",
9064 includes = ["/llvm/include"],
9068 "-gen-directive-decl",
9069 "-directives-dialect=OpenMP",
9071 "include/mlir/Dialect/OpenMP/OmpCommon.td",
9074 tblgen = ":mlir-tblgen",
9075 td_file = "//llvm:include/llvm/Frontend/OpenMP/OMP.td",
9078 "//llvm:omp_td_files",
9083 name = "OpenMPOpsTdFiles",
9085 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td",
9086 "include/mlir/Dialect/OpenMP/OmpCommon.td",
9087 "include/mlir/Dialect/OpenMP/OpenMPOps.td",
9088 "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td",
9089 "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.td",
9092 ":AtomicInterfacesTdFiles",
9099 name = "OpenMPOpsIncGen",
9103 "include/mlir/Dialect/OpenMP/OpenMPOps.h.inc",
9107 "include/mlir/Dialect/OpenMP/OpenMPOps.cpp.inc",
9110 ["-gen-enum-decls"],
9111 "include/mlir/Dialect/OpenMP/OpenMPOpsEnums.h.inc",
9115 "include/mlir/Dialect/OpenMP/OpenMPOpsEnums.cpp.inc",
9119 "-gen-dialect-decls",
9122 "include/mlir/Dialect/OpenMP/OpenMPOpsDialect.h.inc",
9126 "-gen-dialect-defs",
9129 "include/mlir/Dialect/OpenMP/OpenMPOpsDialect.cpp.inc",
9133 "-gen-attrdef-decls",
9134 "-attrdefs-dialect=omp",
9136 "include/mlir/Dialect/OpenMP/OpenMPOpsAttributes.h.inc",
9140 "-gen-attrdef-defs",
9141 "-attrdefs-dialect=omp",
9143 "include/mlir/Dialect/OpenMP/OpenMPOpsAttributes.cpp.inc",
9147 "g3doc/Dialects/OpenMP/OpenMPOps.md",
9150 tblgen = ":mlir-tblgen",
9151 td_file = "include/mlir/Dialect/OpenMP/OpenMPOps.td",
9152 deps = [":OpenMPOpsTdFiles"],
9156 name = "OpenMPTypeInterfacesIncGen",
9159 ["-gen-type-interface-decls"],
9160 "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.h.inc",
9163 ["-gen-type-interface-defs"],
9164 "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.cpp.inc",
9167 tblgen = ":mlir-tblgen",
9168 td_file = "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.td",
9169 deps = [":OpenMPOpsTdFiles"],
9173 name = "OpenMPInterfacesIncGen",
9176 ["-gen-op-interface-decls"],
9177 "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.h.inc",
9180 ["-gen-op-interface-defs"],
9181 "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.cpp.inc",
9184 tblgen = ":mlir-tblgen",
9185 td_file = "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td",
9186 deps = [":OpenMPOpsTdFiles"],
9190 name = "OpenMPDialect",
9193 "lib/Dialect/OpenMP/IR/*.cpp",
9194 "lib/Dialect/OpenMP/IR/*.h",
9199 "include/mlir/Dialect/OpenMP/*.h",
9203 "include/mlir/Dialect/OpenMP/OpenMPInterfaces.h",
9204 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h",
9207 includes = ["include"],
9209 "include/mlir/Dialect/OpenMP/OpenMPInterfaces.h",
9210 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h",
9213 ":AtomicInterfaces",
9214 ":AtomicInterfacesIncGen",
9215 ":ControlFlowInterfaces",
9219 ":OpenMPInterfacesIncGen",
9221 ":OpenMPTypeInterfacesIncGen",
9222 "//llvm:FrontendOpenMP",
9228 name = "OpenACCToSCF",
9230 "lib/Conversion/OpenACCToSCF/*.cpp",
9231 "lib/Conversion/OpenACCToSCF/*.h",
9234 "include/mlir/Conversion/OpenACCToSCF/*.h",
9236 includes = ["include"],
9239 ":ConversionPassIncGen",
9243 ":OpenACCOpsIncGen",
9244 ":OpenACCTypesIncGen",
9252 name = "OpenACCToLLVM",
9254 "lib/Conversion/OpenACCToLLVM/*.cpp",
9255 "lib/Conversion/OpenACCToLLVM/*.h",
9258 "include/mlir/Conversion/OpenACCToLLVM/*.h",
9260 includes = ["include"],
9262 ":ConversionPassIncGen",
9265 ":LLVMCommonConversion",
9276 name = "OpenMPToLLVM",
9278 "lib/Conversion/OpenMPToLLVM/*.cpp",
9279 "lib/Conversion/OpenMPToLLVM/*.h",
9282 "include/mlir/Conversion/OpenMPToLLVM/*.h",
9284 includes = ["include"],
9287 ":ControlFlowToLLVM",
9288 ":ConversionPassIncGen",
9292 ":LLVMCommonConversion",
9304 name = "QuantizationOpsTdFiles",
9306 "include/mlir/Dialect/Quant/QuantOps.td",
9307 "include/mlir/Dialect/Quant/QuantOpsBase.td",
9309 includes = ["include"],
9311 ":InferTypeOpInterfaceTdFiles",
9313 ":SideEffectInterfacesTdFiles",
9318 name = "QuantOpsIncGen",
9322 "include/mlir/Dialect/Quant/QuantOps.h.inc",
9326 "include/mlir/Dialect/Quant/QuantOps.cpp.inc",
9329 ["-gen-dialect-decls"],
9330 "include/mlir/Dialect/Quant/QuantOpsDialect.h.inc",
9333 ["-gen-dialect-defs"],
9334 "include/mlir/Dialect/Quant/QuantOpsDialect.cpp.inc",
9338 "g3doc/Dialects/QuantOps/QuantOps.md",
9341 tblgen = ":mlir-tblgen",
9342 td_file = "include/mlir/Dialect/Quant/QuantOps.td",
9343 deps = [":QuantizationOpsTdFiles"],
9347 name = "QuantDialectBytecodeGen",
9352 "-bytecode-dialect=Quant",
9354 "include/mlir/Dialect/Quant/QuantDialectBytecode.cpp.inc",
9357 tblgen = ":mlir-tblgen",
9358 td_file = "include/mlir/Dialect/Quant/QuantDialectBytecode.td",
9367 "lib/Dialect/Quant/IR/QuantDialectBytecode.cpp",
9368 "lib/Dialect/Quant/IR/QuantDialectBytecode.h",
9369 "lib/Dialect/Quant/IR/QuantOps.cpp",
9370 "lib/Dialect/Quant/IR/QuantTypes.cpp",
9371 "lib/Dialect/Quant/IR/TypeDetail.h",
9372 "lib/Dialect/Quant/IR/TypeParser.cpp",
9373 "lib/Dialect/Quant/Utils/FakeQuantSupport.cpp",
9374 "lib/Dialect/Quant/Utils/UniformSupport.cpp",
9377 "include/mlir/Dialect/Quant/FakeQuantSupport.h",
9378 "include/mlir/Dialect/Quant/QuantOps.h",
9379 "include/mlir/Dialect/Quant/QuantTypes.h",
9380 "include/mlir/Dialect/Quant/UniformSupport.h",
9382 includes = ["include"],
9387 ":InferTypeOpInterface",
9389 ":QuantDialectBytecodeGen",
9391 ":SideEffectInterfaces",
9399 name = "IndexOpsTdFiles",
9401 "include/mlir/Dialect/Index/IR/IndexDialect.td",
9402 "include/mlir/Dialect/Index/IR/IndexEnums.td",
9403 "include/mlir/Dialect/Index/IR/IndexOps.td",
9405 includes = ["include"],
9407 ":CastInterfacesTdFiles",
9408 ":InferIntRangeInterfaceTdFiles",
9409 ":InferTypeOpInterfaceTdFiles",
9411 ":SideEffectInterfacesTdFiles",
9416 name = "IndexOpsIncGen",
9420 "include/mlir/Dialect/Index/IR/IndexOps.h.inc",
9424 "include/mlir/Dialect/Index/IR/IndexOps.cpp.inc",
9428 "-gen-dialect-decls",
9431 "include/mlir/Dialect/Index/IR/IndexOpsDialect.h.inc",
9435 "-gen-dialect-defs",
9438 "include/mlir/Dialect/Index/IR/IndexOpsDialect.cpp.inc",
9441 ["-gen-attrdef-decls"],
9442 "include/mlir/Dialect/Index/IR/IndexOpsAttrDefs.h.inc",
9445 ["-gen-attrdef-defs"],
9446 "include/mlir/Dialect/Index/IR/IndexOpsAttrDefs.cpp.inc",
9449 tblgen = ":mlir-tblgen",
9450 td_file = "include/mlir/Dialect/Index/IR/IndexOps.td",
9451 deps = [":IndexOpsTdFiles"],
9455 name = "IndexEnumsIncGen",
9458 ["-gen-enum-decls"],
9459 "include/mlir/Dialect/Index/IR/IndexEnums.h.inc",
9463 "include/mlir/Dialect/Index/IR/IndexEnums.cpp.inc",
9467 "-gen-attrdef-decls",
9468 "-attrdefs-dialect=index",
9470 "include/mlir/Dialect/Index/IR/IndexAttrs.h.inc",
9474 "-gen-attrdef-defs",
9475 "-attrdefs-dialect=index",
9477 "include/mlir/Dialect/Index/IR/IndexAttrs.cpp.inc",
9480 tblgen = ":mlir-tblgen",
9481 td_file = "include/mlir/Dialect/Index/IR/IndexEnums.td",
9482 deps = [":IndexOpsTdFiles"],
9486 name = "IndexToLLVM",
9488 "lib/Conversion/IndexToLLVM/*.cpp",
9489 "lib/Conversion/IndexToLLVM/*.h",
9492 "include/mlir/Conversion/IndexToLLVM/*.h",
9494 includes = ["include"],
9497 ":ConversionPassIncGen",
9501 ":LLVMCommonConversion",
9512 name = "IndexDialect",
9513 srcs = glob(["lib/Dialect/Index/IR/*.cpp"]),
9514 hdrs = glob(["include/mlir/Dialect/Index/IR/*.h"]),
9515 includes = ["include"],
9519 ":IndexEnumsIncGen",
9521 ":InferIntRangeCommon",
9522 ":InferIntRangeInterface",
9523 ":InferTypeOpInterface",
9529 name = "LinalgOpsTdFiles",
9531 "include/mlir/Dialect/Linalg/IR/LinalgBase.td",
9532 "include/mlir/Dialect/Linalg/IR/LinalgEnums.td",
9533 "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td",
9534 "include/mlir/Dialect/Linalg/IR/LinalgOps.td",
9536 includes = ["include"],
9538 ":ControlFlowInterfacesTdFiles",
9539 ":DestinationStyleOpInterfaceTdFiles",
9540 ":DialectUtilsTdFiles",
9541 ":InferTypeOpInterfaceTdFiles",
9542 ":LoopLikeInterfaceTdFiles",
9544 ":SideEffectInterfacesTdFiles",
9545 ":TilingInterfaceTdFiles",
9546 ":ViewLikeInterfaceTdFiles",
9551 name = "LinalgTransformOpsTdFiles",
9553 "include/mlir/Dialect/Linalg/TransformOps/*.td",
9555 includes = ["include"],
9558 ":TransformDialectTdFiles",
9563 name = "LinalgOpsIncGen",
9567 "include/mlir/Dialect/Linalg/IR/LinalgOps.h.inc",
9571 "include/mlir/Dialect/Linalg/IR/LinalgOps.cpp.inc",
9575 "-gen-dialect-decls",
9578 "include/mlir/Dialect/Linalg/IR/LinalgOpsDialect.h.inc",
9582 "-gen-dialect-defs",
9585 "include/mlir/Dialect/Linalg/IR/LinalgOpsDialect.cpp.inc",
9588 ["-gen-attrdef-decls"],
9589 "include/mlir/Dialect/Linalg/IR/LinalgOpsAttrDefs.h.inc",
9592 ["-gen-attrdef-defs"],
9593 "include/mlir/Dialect/Linalg/IR/LinalgOpsAttrDefs.cpp.inc",
9596 tblgen = ":mlir-tblgen",
9597 td_file = "include/mlir/Dialect/Linalg/IR/LinalgOps.td",
9598 deps = [":LinalgOpsTdFiles"],
9602 name = "LinalgEnumsIncGen",
9605 ["-gen-enum-decls"],
9606 "include/mlir/Dialect/Linalg/IR/LinalgOpsEnums.h.inc",
9610 "include/mlir/Dialect/Linalg/IR/LinalgOpsEnums.cpp.inc",
9613 tblgen = ":mlir-tblgen",
9614 td_file = "include/mlir/Dialect/Linalg/IR/LinalgEnums.td",
9615 deps = [":LinalgOpsTdFiles"],
9619 name = "LinalgMatchOpsIncGen",
9623 "include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.h.inc",
9627 "include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.cpp.inc",
9630 tblgen = ":mlir-tblgen",
9631 td_file = "include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.td",
9633 ":LinalgTransformEnumsIncGen",
9634 ":LinalgTransformOpsIncGen",
9635 ":LinalgTransformOpsTdFiles",
9636 ":SCFDeviceMappingInterfacesIncGen",
9641 name = "LinalgTransformEnumsIncGen",
9644 ["-gen-enum-decls"],
9645 "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOpsEnums.h.inc",
9649 "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOpsEnums.cpp.inc",
9652 tblgen = ":mlir-tblgen",
9653 td_file = "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformEnums.td",
9655 ":LinalgTransformOpsTdFiles",
9656 ":SCFDeviceMappingInterfacesIncGen",
9661 name = "LinalgTransformOpsIncGen",
9665 "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.h.inc",
9669 "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp.inc",
9672 tblgen = ":mlir-tblgen",
9673 td_file = "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td",
9675 ":LinalgTransformEnumsIncGen",
9676 ":LinalgTransformOpsTdFiles",
9677 ":SCFDeviceMappingInterfacesIncGen",
9682 name = "LinalgNamedStructuredOpsYamlIncGen",
9683 src = "include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml",
9687 "include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.cpp.inc",
9691 "include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.td",
9694 linalggen = ":mlir-linalg-ods-yaml-gen",
9698 name = "LinalgStructuredOpsTdFiles",
9700 "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td",
9701 "include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.td",
9702 "include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td",
9704 includes = ["include"],
9706 ":CopyOpInterfaceTdFiles",
9707 ":DestinationStyleOpInterface",
9708 ":LinalgOpsTdFiles",
9710 ":SideEffectInterfacesTdFiles",
9715 name = "LinalgStructuredOpsIncGen",
9719 "include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.h.inc",
9723 "include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.cpp.inc",
9726 tblgen = ":mlir-tblgen",
9727 td_file = "include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td",
9728 deps = [":LinalgStructuredOpsTdFiles"],
9732 name = "LinalgInterfacesIncGen",
9735 ["-gen-op-interface-decls"],
9736 "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.h.inc",
9739 ["-gen-op-interface-defs"],
9740 "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.cpp.inc",
9743 tblgen = ":mlir-tblgen",
9744 td_file = "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td",
9745 deps = [":LinalgStructuredOpsTdFiles"],
9749 name = "BufferizableOpInterfaceTdFiles",
9751 "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td",
9753 includes = ["include"],
9760 name = "BufferizableOpInterfaceIncGen",
9763 ["-gen-op-interface-decls"],
9764 "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h.inc",
9767 ["-gen-op-interface-defs"],
9768 "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.cpp.inc",
9771 tblgen = ":mlir-tblgen",
9772 td_file = "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td",
9774 ":BufferizableOpInterfaceTdFiles",
9779 name = "LinalgDocTdFiles",
9780 srcs = ["include/mlir/Dialect/Linalg/IR/LinalgDoc.td"],
9781 includes = ["include"],
9783 ":LinalgOpsTdFiles",
9784 ":LinalgStructuredOpsTdFiles",
9789 name = "LinalgDocIncGen",
9793 "g3doc/Dialects/Linalg/LinalgOps.md",
9796 tblgen = ":mlir-tblgen",
9797 td_file = "include/mlir/Dialect/Linalg/IR/LinalgDoc.td",
9798 deps = [":LinalgDocTdFiles"],
9802 name = "LinalgToStandard",
9804 "lib/Conversion/LinalgToStandard/*.cpp",
9805 "lib/Conversion/LinalgToStandard/*.h",
9808 "include/mlir/Conversion/LinalgToStandard/*.h",
9810 includes = ["include"],
9813 ":ConversionPassIncGen",
9818 ":LinalgTransforms",
9830 name = "LinalgDialect",
9831 srcs = glob(["lib/Dialect/Linalg/IR/*.cpp"]),
9832 hdrs = glob(["include/mlir/Dialect/Linalg/IR/*.h"]),
9833 includes = ["include"],
9839 ":BufferizationDialect",
9841 ":ControlFlowInterfaces",
9843 ":DestinationStyleOpInterface",
9846 ":FunctionInterfaces",
9848 ":InferTypeOpInterface",
9849 ":LinalgEnumsIncGen",
9850 ":LinalgInterfacesIncGen",
9851 ":LinalgNamedStructuredOpsYamlIncGen",
9853 ":LinalgStructuredOpsIncGen",
9858 ":SideEffectInterfaces",
9859 ":SparseTensorDialect",
9863 ":ValueBoundsOpInterface",
9864 ":ViewLikeInterface",
9870 name = "LinalgTransformOps",
9872 "lib/Dialect/Linalg/TransformOps/*.cpp",
9875 "include/mlir/Dialect/Linalg/TransformOps/*.h",
9877 includes = ["include"],
9883 ":BufferizationDialect",
9884 ":BufferizationTransforms",
9887 ":FunctionInterfaces",
9892 ":LinalgMatchOpsIncGen",
9893 ":LinalgTransformEnumsIncGen",
9894 ":LinalgTransformOpsIncGen",
9895 ":LinalgTransforms",
9903 ":TransformDialect",
9904 ":TransformDialectUtils",
9907 ":VectorTransforms",
9913 name = "LinalgPassIncGen",
9920 "include/mlir/Dialect/Linalg/Passes.h.inc",
9924 "-gen-pass-capi-header",
9927 "include/mlir/Dialect/Linalg/Passes.capi.h.inc",
9931 "-gen-pass-capi-impl",
9934 "include/mlir/Dialect/Linalg/Passes.capi.cpp.inc",
9937 tblgen = ":mlir-tblgen",
9938 td_file = "include/mlir/Dialect/Linalg/Passes.td",
9939 deps = [":PassBaseTdFiles"],
9943 name = "LinalgUtils",
9945 "lib/Dialect/Linalg/Utils/*.cpp",
9946 "lib/Dialect/Linalg/Utils/*.h",
9949 "include/mlir/Dialect/Linalg/Utils/*.h",
9972 name = "LinalgTransforms",
9974 "lib/Dialect/Linalg/Transforms/*.cpp",
9975 "lib/Dialect/Linalg/Transforms/*.h",
9978 "include/mlir/Dialect/Linalg/Passes.h",
9980 "include/mlir/Dialect/Linalg/Transforms/*.h",
9982 includes = ["include"],
9986 ":AffineTransforms",
9992 ":BufferizationDialect",
9993 ":BufferizationTransforms",
9995 ":ControlFlowDialect",
9996 ":DestinationStyleOpInterface",
10003 ":LinalgPassIncGen",
10004 ":LinalgStructuredOpsIncGen",
10006 ":LoopLikeInterface",
10007 ":MaskableOpInterface",
10010 ":MemRefTransforms",
10015 ":SparseTensorDialect",
10018 ":TensorTilingInterfaceImpl",
10019 ":TensorTransforms",
10021 ":TilingInterface",
10024 ":ValueBoundsOpInterface",
10027 ":VectorTransforms",
10029 ":X86VectorTransforms",
10035 name = "ValueBoundsOpInterfaceTdFiles",
10037 "include/mlir/Interfaces/ValueBoundsOpInterface.td",
10039 includes = ["include"],
10046 name = "ValueBoundsOpInterfaceIncGen",
10049 ["-gen-op-interface-decls"],
10050 "include/mlir/Interfaces/ValueBoundsOpInterface.h.inc",
10053 ["-gen-op-interface-defs"],
10054 "include/mlir/Interfaces/ValueBoundsOpInterface.cpp.inc",
10057 tblgen = ":mlir-tblgen",
10058 td_file = "include/mlir/Interfaces/ValueBoundsOpInterface.td",
10060 ":ValueBoundsOpInterfaceTdFiles",
10065 name = "ValueBoundsOpInterface",
10066 srcs = ["lib/Interfaces/ValueBoundsOpInterface.cpp"],
10067 hdrs = ["include/mlir/Interfaces/ValueBoundsOpInterface.h"],
10068 includes = ["include"],
10071 ":DestinationStyleOpInterface",
10074 ":ValueBoundsOpInterfaceIncGen",
10080 name = "ArithValueBoundsOpInterfaceImpl",
10081 srcs = ["lib/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.cpp"],
10082 hdrs = ["include/mlir/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.h"],
10083 includes = ["include"],
10087 ":ValueBoundsOpInterface",
10092 name = "TilingInterface",
10093 srcs = ["lib/Interfaces/TilingInterface.cpp"],
10094 hdrs = ["include/mlir/Interfaces/TilingInterface.h"],
10095 includes = ["include"],
10100 ":TilingInterfaceIncGen",
10101 ":ViewLikeInterface",
10106 ##---------------------------------------------------------------------------##
10108 ##---------------------------------------------------------------------------##
10111 name = "MaskingOpInterfaceTdFiles",
10112 srcs = ["include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.td"],
10113 includes = ["include"],
10114 deps = [":OpBaseTdFiles"],
10118 name = "MaskableOpInterfaceTdFiles",
10119 srcs = ["include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.td"],
10120 includes = ["include"],
10121 deps = [":OpBaseTdFiles"],
10125 name = "VectorOpsTdFiles",
10126 srcs = ["include/mlir/Dialect/Vector/IR/VectorOps.td"],
10127 includes = ["include"],
10129 ":ControlFlowInterfacesTdFiles",
10130 ":DestinationStyleOpInterfaceTdFiles",
10131 ":InferTypeOpInterfaceTdFiles",
10132 ":MaskableOpInterfaceTdFiles",
10133 ":MaskingOpInterfaceTdFiles",
10135 ":SideEffectInterfacesTdFiles",
10136 ":VectorInterfacesTdFiles",
10137 ":ViewLikeInterfaceTdFiles",
10142 name = "VectorTransformOpsTdFiles",
10144 "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td",
10146 includes = ["include"],
10148 ":PDLDialectTdFiles",
10150 ":TransformDialectTdFiles",
10151 ":VectorTransformsTdFiles",
10156 name = "MaskableOpInterfaceIncGen",
10159 ["-gen-op-interface-decls"],
10160 "include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.h.inc",
10163 ["-gen-op-interface-defs"],
10164 "include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.cpp.inc",
10167 tblgen = ":mlir-tblgen",
10168 td_file = "include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.td",
10169 deps = [":MaskableOpInterfaceTdFiles"],
10173 name = "MaskingOpInterfaceIncGen",
10176 ["-gen-op-interface-decls"],
10177 "include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.h.inc",
10180 ["-gen-op-interface-defs"],
10181 "include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.cpp.inc",
10184 tblgen = ":mlir-tblgen",
10185 td_file = "include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.td",
10186 deps = [":MaskingOpInterfaceTdFiles"],
10190 name = "VectorOpsIncGen",
10194 "include/mlir/Dialect/Vector/IR/VectorOps.h.inc",
10198 "include/mlir/Dialect/Vector/IR/VectorOps.cpp.inc",
10202 "-gen-dialect-decls",
10205 "include/mlir/Dialect/Vector/IR/VectorOpsDialect.h.inc",
10209 "-gen-dialect-defs",
10212 "include/mlir/Dialect/Vector/IR/VectorOpsDialect.cpp.inc",
10215 ["-gen-enum-decls"],
10216 "include/mlir/Dialect/Vector/IR/VectorOpsEnums.h.inc",
10219 ["-gen-enum-defs"],
10220 "include/mlir/Dialect/Vector/IR/VectorOpsEnums.cpp.inc",
10223 ["-gen-attrdef-decls"],
10224 "include/mlir/Dialect/Vector/IR/VectorOpsAttrDefs.h.inc",
10227 ["-gen-attrdef-defs"],
10228 "include/mlir/Dialect/Vector/IR/VectorOpsAttrDefs.cpp.inc",
10232 "g3doc/Dialects/Vector/VectorOps.md",
10235 tblgen = ":mlir-tblgen",
10236 td_file = "include/mlir/Dialect/Vector/IR/VectorOps.td",
10237 deps = [":VectorOpsTdFiles"],
10241 name = "VectorTransformOpsIncGen",
10245 "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.h.inc",
10249 "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.cpp.inc",
10252 tblgen = ":mlir-tblgen",
10253 td_file = "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td",
10255 ":VectorTransformOpsTdFiles",
10260 name = "MaskableOpInterface",
10261 srcs = ["lib/Dialect/Vector/Interfaces/MaskableOpInterface.cpp"],
10262 hdrs = ["include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.h"],
10263 includes = ["include"],
10266 ":MaskableOpInterfaceIncGen",
10267 ":MaskingOpInterface",
10274 name = "MaskingOpInterface",
10275 srcs = ["lib/Dialect/Vector/Interfaces/MaskingOpInterface.cpp"],
10276 hdrs = ["include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.h"],
10277 includes = ["include"],
10280 ":MaskingOpInterfaceIncGen",
10287 name = "VectorToLLVM",
10289 "lib/Conversion/VectorToLLVM/*.cpp",
10290 "lib/Conversion/VectorToLLVM/*.h",
10293 "include/mlir/Conversion/VectorToLLVM/*.h",
10295 includes = ["include"],
10303 ":ArmSMETransforms",
10305 ":ArmSVETransforms",
10306 ":ConversionPassIncGen",
10310 ":LLVMCommonConversion",
10312 ":MaskableOpInterface",
10316 ":ToLLVMIRTranslation",
10319 ":VectorTransforms",
10320 ":X86VectorDialect",
10321 ":X86VectorTransforms",
10328 name = "VectorToArmSME",
10330 "lib/Conversion/VectorToArmSME/*.cpp",
10331 "lib/Conversion/VectorToArmSME/*.h",
10334 "include/mlir/Conversion/VectorToArmSME/*.h",
10336 includes = ["include"],
10340 ":ConversionPassIncGen",
10349 name = "VectorToGPU",
10351 "lib/Conversion/VectorToGPU/*.cpp",
10352 "lib/Conversion/VectorToGPU/*.h",
10355 "include/mlir/Conversion/VectorToGPU/*.h",
10357 includes = ["include"],
10362 ":ConversionPassIncGen",
10378 ":VectorTransforms",
10386 name = "VectorToSCF",
10388 "lib/Conversion/VectorToSCF/*.cpp",
10389 "lib/Conversion/VectorToSCF/*.h",
10392 "include/mlir/Conversion/VectorToSCF/*.h",
10394 includes = ["include"],
10399 ":ConversionPassIncGen",
10411 ":VectorTransforms",
10418 name = "TosaDialectTdFiles",
10419 srcs = glob(["include/mlir/Dialect/Tosa/IR/*.td"]),
10421 ":InferTypeOpInterfaceTdFiles",
10422 ":LoopLikeInterfaceTdFiles",
10424 ":SideEffectInterfacesTdFiles",
10425 ":VectorInterfacesTdFiles",
10430 name = "TosaDialectIncGen",
10434 "include/mlir/Dialect/Tosa/IR/TosaOps.h.inc",
10438 "include/mlir/Dialect/Tosa/IR/TosaOps.cpp.inc",
10441 ["-gen-dialect-decls"],
10442 "include/mlir/Dialect/Tosa/IR/TosaOpsDialect.h.inc",
10445 ["-gen-dialect-defs"],
10446 "include/mlir/Dialect/Tosa/IR/TosaOpsDialect.cpp.inc",
10449 ["-gen-attrdef-decls"],
10450 "include/mlir/Dialect/Tosa/IR/TosaAttributes.h.inc",
10453 ["-gen-attrdef-defs"],
10454 "include/mlir/Dialect/Tosa/IR/TosaAttributes.cpp.inc",
10458 "g3doc/Dialects/Tosa/TosaOps.md",
10461 tblgen = ":mlir-tblgen",
10462 td_file = "include/mlir/Dialect/Tosa/IR/TosaOps.td",
10463 deps = [":TosaDialectTdFiles"],
10467 name = "TosaInterfacesIncGen",
10470 ["-gen-op-interface-decls"],
10471 "include/mlir/Dialect/Tosa/IR/TosaInterfaces.h.inc",
10474 ["-gen-op-interface-defs"],
10475 "include/mlir/Dialect/Tosa/IR/TosaInterfaces.cpp.inc",
10478 tblgen = ":mlir-tblgen",
10479 td_file = "include/mlir/Dialect/Tosa/IR/TosaInterfaces.td",
10480 deps = [":TosaDialectTdFiles"],
10484 name = "TosaPassIncGen",
10491 "include/mlir/Dialect/Tosa/Transforms/Passes.h.inc",
10498 "include/mlir/Dialect/Tosa/Transforms/PassesEnums.h.inc",
10505 "include/mlir/Dialect/Tosa/Transforms/PassesEnums.cpp.inc",
10508 tblgen = ":mlir-tblgen",
10509 td_file = "include/mlir/Dialect/Tosa/Transforms/Passes.td",
10512 ":PassBaseTdFiles",
10517 name = "TosaDialect",
10519 "lib/Dialect/Tosa/IR/*.cpp",
10520 "lib/Dialect/Tosa/IR/*.h",
10521 "lib/Dialect/Tosa/Utils/*.cpp",
10522 "lib/Dialect/Tosa/Transforms/*.cpp",
10525 "include/mlir/Dialect/Tosa/IR/*.h",
10526 "include/mlir/Dialect/Tosa/Utils/*.h",
10527 "include/mlir/Dialect/Tosa/Transforms/*.h",
10529 includes = ["include"],
10537 ":InferTypeOpInterface",
10538 ":LoopLikeInterface",
10543 ":TosaDialectIncGen",
10544 ":TosaInterfacesIncGen",
10547 ":VectorInterfaces",
10553 name = "TosaToArith",
10555 "lib/Conversion/TosaToArith/*.cpp",
10556 "lib/Conversion/TosaToArith/*.h",
10559 "include/mlir/Conversion/TosaToArith/*.h",
10563 "lib/Conversion/TosaToArith",
10567 ":ConversionPassIncGen",
10577 name = "TosaToLinalg",
10579 "lib/Conversion/TosaToLinalg/*.cpp",
10580 "lib/Conversion/TosaToLinalg/*.h",
10583 "include/mlir/Conversion/TosaToLinalg/*.h",
10587 "lib/Conversion/TosaToLinalg",
10592 ":ConversionPassIncGen",
10610 name = "TosaToSCF",
10612 "lib/Conversion/TosaToSCF/*.cpp",
10613 "lib/Conversion/TosaToSCF/*.h",
10616 "include/mlir/Conversion/TosaToSCF/*.h",
10620 "lib/Conversion/TosaToSCF",
10623 ":ConversionPassIncGen",
10635 name = "TosaToTensor",
10637 "lib/Conversion/TosaToTensor/*.cpp",
10638 "lib/Conversion/TosaToTensor/*.h",
10641 "include/mlir/Conversion/TosaToTensor/*.h",
10645 "lib/Conversion/TosaToTensor",
10650 ":ConversionPassIncGen",
10662 name = "TransformDialectTdFiles",
10663 srcs = glob(["include/mlir/Dialect/Transform/IR/*.td"]),
10665 ":CastInterfacesTdFiles",
10666 ":ControlFlowInterfacesTdFiles",
10667 ":InferTypeOpInterfaceTdFiles",
10669 ":SideEffectInterfacesTdFiles",
10674 name = "TransformDialectEnumsIncGen",
10680 "include/mlir/Dialect/Transform/IR/TransformDialectEnums.h.inc",
10686 "include/mlir/Dialect/Transform/IR/TransformDialectEnums.cpp.inc",
10689 tblgen = ":mlir-tblgen",
10690 td_file = "include/mlir/Dialect/Transform/IR/TransformAttrs.td",
10691 deps = [":TransformDialectTdFiles"],
10695 name = "TransformDialectMatchInterfacesIncGen",
10699 "-gen-op-interface-decls",
10701 "include/mlir/Dialect/Transform/IR/MatchInterfaces.h.inc",
10705 "-gen-op-interface-defs",
10707 "include/mlir/Dialect/Transform/IR/MatchInterfaces.cpp.inc",
10710 tblgen = ":mlir-tblgen",
10711 td_file = "include/mlir/Dialect/Transform/IR/MatchInterfaces.td",
10713 ":TransformDialectInterfacesIncGen",
10714 ":TransformDialectTdFiles",
10719 name = "TransformDialectInterfacesIncGen",
10723 "-gen-op-interface-decls",
10725 "include/mlir/Dialect/Transform/IR/TransformInterfaces.h.inc",
10729 "-gen-op-interface-defs",
10731 "include/mlir/Dialect/Transform/IR/TransformInterfaces.cpp.inc",
10735 "-gen-type-interface-decls",
10737 "include/mlir/Dialect/Transform/IR/TransformTypeInterfaces.h.inc",
10741 "-gen-type-interface-defs",
10743 "include/mlir/Dialect/Transform/IR/TransformTypeInterfaces.cpp.inc",
10746 tblgen = ":mlir-tblgen",
10747 td_file = "include/mlir/Dialect/Transform/IR/TransformInterfaces.td",
10748 deps = [":TransformDialectTdFiles"],
10752 name = "TransformDialectIncGen",
10756 "-gen-dialect-decls",
10758 "include/mlir/Dialect/Transform/IR/TransformDialect.h.inc",
10762 "-gen-dialect-defs",
10764 "include/mlir/Dialect/Transform/IR/TransformDialect.cpp.inc",
10767 tblgen = ":mlir-tblgen",
10768 td_file = "include/mlir/Dialect/Transform/IR/TransformDialect.td",
10769 deps = [":TransformDialectTdFiles"],
10773 name = "TransformOpsIncGen",
10777 "include/mlir/Dialect/Transform/IR/TransformOps.h.inc",
10781 "include/mlir/Dialect/Transform/IR/TransformOps.cpp.inc",
10784 tblgen = ":mlir-tblgen",
10785 td_file = "include/mlir/Dialect/Transform/IR/TransformOps.td",
10787 ":CallInterfacesTdFiles",
10788 ":FunctionInterfacesTdFiles",
10789 ":TransformDialectTdFiles",
10794 name = "TransformTypesIncGen",
10797 ["-gen-typedef-decls"],
10798 "include/mlir/Dialect/Transform/IR/TransformTypes.h.inc",
10801 ["-gen-typedef-defs"],
10802 "include/mlir/Dialect/Transform/IR/TransformTypes.cpp.inc",
10805 tblgen = ":mlir-tblgen",
10806 td_file = "include/mlir/Dialect/Transform/IR/TransformTypes.td",
10807 deps = [":TransformDialectTdFiles"],
10811 name = "TransformDialect",
10812 srcs = glob(["lib/Dialect/Transform/IR/*.cpp"]),
10813 hdrs = glob(["include/mlir/Dialect/Transform/IR/*.h"]),
10816 ":CallOpInterfaces",
10818 ":ControlFlowInterfaces",
10820 ":FunctionInterfaces",
10822 ":LLVMCommonConversion",
10824 ":LoopLikeInterface",
10827 ":SideEffectInterfaces",
10829 ":TransformDialectEnumsIncGen",
10830 ":TransformDialectIncGen",
10831 ":TransformDialectInterfacesIncGen",
10832 ":TransformDialectMatchInterfacesIncGen",
10833 ":TransformDialectUtils",
10834 ":TransformOpsIncGen",
10835 ":TransformTypesIncGen",
10842 name = "TransformPDLExtensionTdFiles",
10843 srcs = glob(["include/mlir/Dialect/Transform/PDLExtension/*.td"]),
10845 ":PDLDialectTdFiles",
10846 ":TransformDialectTdFiles",
10851 name = "TransformPDLExtensionOpsIncGen",
10857 "include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.h.inc",
10863 "include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.cpp.inc",
10866 tblgen = ":mlir-tblgen",
10867 td_file = "include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.td",
10868 deps = [":TransformPDLExtensionTdFiles"],
10872 name = "TransformPDLExtension",
10873 srcs = glob(["lib/Dialect/Transform/PDLExtension/*.cpp"]),
10874 hdrs = glob(["include/mlir/Dialect/Transform/PDLExtension/*.h"]),
10878 ":PDLInterpDialect",
10880 ":SideEffectInterfaces",
10882 ":TransformDialect",
10883 ":TransformPDLExtensionOpsIncGen",
10889 name = "TransformDialectTransformsTdFiles",
10890 srcs = glob(["include/mlir/Dialect/Transform/Transforms/*.td"]),
10892 ":PassBaseTdFiles",
10893 ":TransformDialectTdFiles",
10898 name = "TransformDialectTransformsIncGen",
10905 "include/mlir/Dialect/Transform/Transforms/Passes.h.inc",
10908 tblgen = ":mlir-tblgen",
10909 td_file = "include/mlir/Dialect/Transform/Transforms/Passes.td",
10910 deps = [":TransformDialectTransformsTdFiles"],
10914 name = "TransformDialectTransforms",
10915 srcs = glob(["lib/Dialect/Transform/Transforms/*.cpp"]),
10916 hdrs = glob(["include/mlir/Dialect/Transform/Transforms/*.h"]),
10919 ":FunctionInterfaces",
10923 ":SideEffectInterfaces",
10925 ":TransformDialect",
10926 ":TransformDialectTransformsIncGen",
10932 name = "TransformDialectUtils",
10933 srcs = glob(["lib/Dialect/Transform/Utils/*cpp"]),
10934 hdrs = glob(["include/mlir/Dialect/Transform/Utils/*.h"]),
10935 includes = ["include"],
10940 ":ViewLikeInterface",
10946 name = "ComplexOpsTdFiles",
10948 "include/mlir/Dialect/Complex/IR/ComplexBase.td",
10949 "include/mlir/Dialect/Complex/IR/ComplexOps.td",
10951 includes = ["include"],
10953 ":ArithOpsInterfacesTdFiles",
10954 ":ArithOpsTdFiles",
10955 ":BuiltinDialectTdFiles",
10956 ":InferTypeOpInterfaceTdFiles",
10958 ":SideEffectInterfacesTdFiles",
10963 name = "ComplexAttributesIncGen",
10966 ["-gen-attrdef-decls"],
10967 "include/mlir/Dialect/Complex/IR/ComplexAttributes.h.inc",
10970 ["-gen-attrdef-defs"],
10971 "include/mlir/Dialect/Complex/IR/ComplexAttributes.cpp.inc",
10974 tblgen = ":mlir-tblgen",
10975 td_file = "include/mlir/Dialect/Complex/IR/ComplexAttributes.td",
10976 deps = [":ComplexOpsTdFiles"],
10980 name = "ComplexBaseIncGen",
10984 "-gen-dialect-decls",
10985 "-dialect=complex",
10987 "include/mlir/Dialect/Complex/IR/ComplexOpsDialect.h.inc",
10991 "-gen-dialect-defs",
10992 "-dialect=complex",
10994 "include/mlir/Dialect/Complex/IR/ComplexOpsDialect.cpp.inc",
10997 tblgen = ":mlir-tblgen",
10998 td_file = "include/mlir/Dialect/Complex/IR/ComplexBase.td",
10999 deps = [":ComplexOpsTdFiles"],
11003 name = "ComplexOpsIncGen",
11007 "include/mlir/Dialect/Complex/IR/ComplexOps.h.inc",
11011 "include/mlir/Dialect/Complex/IR/ComplexOps.cpp.inc",
11014 tblgen = ":mlir-tblgen",
11015 td_file = "include/mlir/Dialect/Complex/IR/ComplexOps.td",
11016 deps = [":ComplexOpsTdFiles"],
11020 name = "ComplexDialect",
11023 "lib/Dialect/Complex/IR/*.cpp",
11024 "lib/Dialect/Complex/IR/*.h",
11027 hdrs = ["include/mlir/Dialect/Complex/IR/Complex.h"],
11028 includes = ["include"],
11031 ":ComplexAttributesIncGen",
11032 ":ComplexBaseIncGen",
11033 ":ComplexOpsIncGen",
11035 ":InferTypeOpInterface",
11036 ":SideEffectInterfaces",
11042 name = "ComplexToLLVM",
11044 "lib/Conversion/ComplexToLLVM/*.cpp",
11045 "lib/Conversion/ComplexToLLVM/*.h",
11048 "include/mlir/Conversion/ComplexToLLVM/*.h",
11050 includes = ["include"],
11052 ":ArithAttrToLLVMConversion",
11055 ":ConversionPassIncGen",
11059 ":LLVMCommonConversion",
11070 name = "ComplexToLibm",
11072 "lib/Conversion/ComplexToLibm/*.cpp",
11073 "lib/Conversion/ComplexToLibm/*.h",
11076 "include/mlir/Conversion/ComplexToLibm/*.h",
11078 includes = ["include"],
11081 ":ConversionPassIncGen",
11094 name = "ComplexToSPIRV",
11096 "lib/Conversion/ComplexToSPIRV/*.cpp",
11097 "lib/Conversion/ComplexToSPIRV/*.h",
11100 "include/mlir/Conversion/ComplexToSPIRV/*.h",
11102 includes = ["include"],
11105 ":ConversionPassIncGen",
11108 ":SPIRVCommonConversion",
11109 ":SPIRVConversion",
11119 name = "ComplexToStandard",
11121 "lib/Conversion/ComplexToStandard/*.cpp",
11122 "lib/Conversion/ComplexToStandard/*.h",
11125 "include/mlir/Conversion/ComplexToStandard/*.h",
11127 includes = ["include"],
11131 ":ConversionPassIncGen",
11141 "include/mlir/Interfaces/CallInterfaces.h",
11142 "include/mlir/Interfaces/CastInterfaces.h",
11143 "include/mlir/Interfaces/ControlFlowInterfaces.h",
11144 "include/mlir/Transforms/InliningUtils.h",
11148 name = "ArithOpsTdFiles",
11150 "include/mlir/Dialect/Arith/IR/ArithBase.td",
11151 "include/mlir/Dialect/Arith/IR/ArithOps.td",
11153 includes = ["include"],
11155 ":ArithOpsInterfacesTdFiles",
11156 ":BuiltinDialectTdFiles",
11157 ":CastInterfacesTdFiles",
11158 ":InferIntRangeInterfaceTdFiles",
11159 ":InferTypeOpInterfaceTdFiles",
11161 ":SideEffectInterfacesTdFiles",
11162 ":VectorInterfacesTdFiles",
11167 name = "ArithOpsInterfacesTdFiles",
11169 "include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.td",
11171 includes = ["include"],
11178 name = "ArithBaseIncGen",
11182 "-gen-dialect-decls",
11185 "include/mlir/Dialect/Arith/IR/ArithOpsDialect.h.inc",
11189 "-gen-dialect-defs",
11192 "include/mlir/Dialect/Arith/IR/ArithOpsDialect.cpp.inc",
11195 ["-gen-enum-decls"],
11196 "include/mlir/Dialect/Arith/IR/ArithOpsEnums.h.inc",
11199 ["-gen-enum-defs"],
11200 "include/mlir/Dialect/Arith/IR/ArithOpsEnums.cpp.inc",
11203 tblgen = ":mlir-tblgen",
11204 td_file = "include/mlir/Dialect/Arith/IR/ArithBase.td",
11205 deps = [":ArithOpsTdFiles"],
11209 name = "ArithOpsIncGen",
11213 "include/mlir/Dialect/Arith/IR/ArithOps.h.inc",
11217 "include/mlir/Dialect/Arith/IR/ArithOps.cpp.inc",
11221 "-gen-attrdef-decls",
11222 "-attrdefs-dialect=arith",
11224 "include/mlir/Dialect/Arith/IR/ArithOpsAttributes.h.inc",
11228 "-gen-attrdef-defs",
11229 "-attrdefs-dialect=arith",
11231 "include/mlir/Dialect/Arith/IR/ArithOpsAttributes.cpp.inc",
11234 tblgen = ":mlir-tblgen",
11235 td_file = "include/mlir/Dialect/Arith/IR/ArithOps.td",
11237 ":ArithOpsTdFiles",
11242 name = "ArithOpsInterfacesIncGen",
11245 ["-gen-op-interface-decls"],
11246 "include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.h.inc",
11249 ["-gen-op-interface-defs"],
11250 "include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.cpp.inc",
11253 tblgen = ":mlir-tblgen",
11254 td_file = "include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.td",
11256 ":ArithOpsInterfacesTdFiles",
11261 name = "ArithCanonicalizationIncGen",
11262 strip_include_prefix = "include/mlir/Dialect/Arith/IR",
11265 ["-gen-rewriters"],
11266 "include/mlir/Dialect/Arith/IR/ArithCanonicalization.inc",
11269 tblgen = ":mlir-tblgen",
11270 td_file = "lib/Dialect/Arith/IR/ArithCanonicalization.td",
11272 ":ArithOpsTdFiles",
11273 ":CastInterfacesTdFiles",
11279 name = "ArithDialect",
11281 "lib/Dialect/Arith/IR/ArithDialect.cpp",
11282 "lib/Dialect/Arith/IR/ArithOps.cpp",
11283 "lib/Dialect/Arith/IR/InferIntRangeInterfaceImpls.cpp",
11286 "include/mlir/Dialect/Arith/IR/Arith.h",
11287 "include/mlir/Transforms/InliningUtils.h",
11289 includes = ["include"],
11291 ":ArithBaseIncGen",
11292 ":ArithCanonicalizationIncGen",
11294 ":ArithOpsInterfacesIncGen",
11298 ":InferIntRangeCommon",
11299 ":InferIntRangeInterface",
11300 ":InferTypeOpInterface",
11301 ":SideEffectInterfaces",
11303 ":VectorInterfaces",
11309 name = "ArithPassIncGen",
11316 "include/mlir/Dialect/Arith/Transforms/Passes.h.inc",
11319 tblgen = ":mlir-tblgen",
11320 td_file = "include/mlir/Dialect/Arith/Transforms/Passes.td",
11321 deps = [":PassBaseTdFiles"],
11325 name = "ArithTransforms",
11327 "lib/Dialect/Arith/Transforms/*.cpp",
11328 "lib/Dialect/Arith/Transforms/*.h",
11331 "include/mlir/Dialect/Arith/Transforms/*.h",
11333 includes = ["include"],
11337 ":ArithPassIncGen",
11339 ":BufferizationDialect",
11340 ":BufferizationTransforms",
11344 ":InferIntRangeInterface",
11351 ":ValueBoundsOpInterface",
11358 name = "ArithUtils",
11360 "lib/Dialect/Arith/Utils/*.cpp",
11362 hdrs = ["include/mlir/Dialect/Arith/Utils/Utils.h"],
11363 includes = ["include"],
11373 name = "MathOpsTdFiles",
11375 "include/mlir/Dialect/Math/IR/MathBase.td",
11376 "include/mlir/Dialect/Math/IR/MathOps.td",
11378 includes = ["include"],
11380 ":ArithOpsTdFiles",
11381 ":InferTypeOpInterfaceTdFiles",
11383 ":SideEffectInterfacesTdFiles",
11384 ":VectorInterfacesTdFiles",
11389 name = "MathBaseIncGen",
11393 "-gen-dialect-decls",
11396 "include/mlir/Dialect/Math/IR/MathOpsDialect.h.inc",
11400 "-gen-dialect-defs",
11403 "include/mlir/Dialect/Math/IR/MathOpsDialect.cpp.inc",
11406 tblgen = ":mlir-tblgen",
11407 td_file = "include/mlir/Dialect/Math/IR/MathBase.td",
11408 deps = [":MathOpsTdFiles"],
11412 name = "MathOpsIncGen",
11416 "include/mlir/Dialect/Math/IR/MathOps.h.inc",
11420 "include/mlir/Dialect/Math/IR/MathOps.cpp.inc",
11423 tblgen = ":mlir-tblgen",
11424 td_file = "include/mlir/Dialect/Math/IR/MathOps.td",
11425 deps = [":MathOpsTdFiles"],
11429 name = "MathPassIncGen",
11436 "include/mlir/Dialect/Math/Transforms/Passes.h.inc",
11439 tblgen = ":mlir-tblgen",
11440 td_file = "include/mlir/Dialect/Math/Transforms/Passes.td",
11441 deps = [":PassBaseTdFiles"],
11445 name = "MathDialect",
11448 "lib/Dialect/Math/IR/*.cpp",
11449 "lib/Dialect/Math/IR/*.h",
11453 "include/mlir/Dialect/Math/IR/Math.h",
11455 includes = ["include"],
11460 ":InferTypeOpInterface",
11463 ":SideEffectInterfaces",
11465 ":VectorInterfaces",
11471 name = "MathTransforms",
11473 "lib/Dialect/Math/Transforms/*.cpp",
11474 "lib/Dialect/Math/Transforms/*.h",
11476 hdrs = glob(["include/mlir/Dialect/Math/Transforms/*.h"]),
11477 includes = ["include"],
11489 ":X86VectorDialect",
11495 name = "MathToLibm",
11497 "lib/Conversion/MathToLibm/*.cpp",
11498 "lib/Conversion/MathToLibm/*.h",
11501 "include/mlir/Conversion/MathToLibm/*.h",
11503 includes = ["include"],
11506 ":ConversionPassIncGen",
11523 name = "MemRefOpsTdFiles",
11525 "include/mlir/Dialect/MemRef/IR/MemRefBase.td",
11526 "include/mlir/Dialect/MemRef/IR/MemRefOps.td",
11528 includes = ["include"],
11530 ":ArithOpsTdFiles",
11531 ":CastInterfacesTdFiles",
11532 ":ControlFlowInterfacesTdFiles",
11533 ":CopyOpInterfaceTdFiles",
11534 ":MemorySlotInterfacesTdFiles",
11536 ":ShapedOpInterfacesTdFiles",
11537 ":SideEffectInterfacesTdFiles",
11538 ":ViewLikeInterfaceTdFiles",
11543 name = "MemRefBaseIncGen",
11547 "-gen-dialect-decls",
11550 "include/mlir/Dialect/MemRef/IR/MemRefOpsDialect.h.inc",
11554 "-gen-dialect-defs",
11557 "include/mlir/Dialect/MemRef/IR/MemRefOpsDialect.cpp.inc",
11560 tblgen = ":mlir-tblgen",
11561 td_file = "include/mlir/Dialect/MemRef/IR/MemRefBase.td",
11562 deps = [":MemRefOpsTdFiles"],
11566 name = "MemRefOpsIncGen",
11570 "include/mlir/Dialect/MemRef/IR/MemRefOps.h.inc",
11574 "include/mlir/Dialect/MemRef/IR/MemRefOps.cpp.inc",
11577 tblgen = ":mlir-tblgen",
11578 td_file = "include/mlir/Dialect/MemRef/IR/MemRefOps.td",
11580 ":MemRefOpsTdFiles",
11585 name = "MemRefDialect",
11588 "lib/Dialect/MemRef/IR/*.cpp",
11589 "lib/Dialect/MemRef/IR/*.h",
11593 "include/mlir/Dialect/MemRef/IR/MemRef.h",
11594 "include/mlir/Dialect/MemRef/IR/MemRefMemorySlot.h",
11595 "include/mlir/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.h",
11597 includes = ["include"],
11603 ":ControlFlowInterfaces",
11604 ":CopyOpInterface",
11607 ":InferTypeOpInterface",
11608 ":MemRefBaseIncGen",
11609 ":MemRefOpsIncGen",
11610 ":MemorySlotInterfaces",
11611 ":ShapedOpInterfaces",
11613 ":ValueBoundsOpInterface",
11614 ":ViewLikeInterface",
11616 "//llvm:TargetParser",
11621 name = "MemRefUtils",
11624 "lib/Dialect/MemRef/Utils/*.cpp",
11628 "include/mlir/Dialect/MemRef/Utils/MemRefUtils.h",
11630 includes = ["include"],
11640 name = "MemRefPassIncGen",
11647 "include/mlir/Dialect/MemRef/Transforms/Passes.h.inc",
11650 tblgen = ":mlir-tblgen",
11651 td_file = "include/mlir/Dialect/MemRef/Transforms/Passes.td",
11652 deps = [":PassBaseTdFiles"],
11656 name = "MemRefTransforms",
11659 "lib/Dialect/MemRef/Transforms/*.cpp",
11660 "lib/Dialect/MemRef/Transforms/*.h",
11663 hdrs = glob(["include/mlir/Dialect/MemRef/Transforms/*.h"]),
11664 includes = ["include"],
11667 ":AffineTransforms",
11670 ":ArithTransforms",
11672 ":BufferizationDialect",
11673 ":ControlFlowDialect",
11678 ":InferTypeOpInterface",
11679 ":LoopLikeInterface",
11681 ":MemRefPassIncGen",
11685 ":RuntimeVerifiableOpInterface",
11690 ":ValueBoundsOpInterface",
11697 name = "MemRefTransformOpsTdFiles",
11699 "include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td",
11701 includes = ["include"],
11703 ":TransformDialectTdFiles",
11708 name = "MemRefTransformOpsIncGen",
11712 "include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.h.inc",
11716 "include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp.inc",
11719 tblgen = ":mlir-tblgen",
11720 td_file = "include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td",
11722 ":MemRefTransformOpsTdFiles",
11727 name = "MemRefTransformOps",
11728 srcs = glob(["lib/Dialect/MemRef/TransformOps/*.cpp"]),
11729 hdrs = glob(["include/mlir/Dialect/MemRef/TransformOps/*.h"]),
11730 includes = ["include"],
11736 ":LLVMCommonConversion",
11737 ":LoopLikeInterface",
11739 ":MemRefTransformOpsIncGen",
11740 ":MemRefTransforms",
11744 ":TransformDialect",
11747 ":VectorTransforms",
11752 ##---------------------------------------------------------------------------##
11753 # MLProgram dialect
11754 ##---------------------------------------------------------------------------##
11757 name = "MLProgramOpsTdFiles",
11759 "include/mlir/Dialect/MLProgram/IR/MLProgramAttributes.td",
11760 "include/mlir/Dialect/MLProgram/IR/MLProgramBase.td",
11761 "include/mlir/Dialect/MLProgram/IR/MLProgramOps.td",
11762 "include/mlir/Dialect/MLProgram/IR/MLProgramTypes.td",
11764 includes = ["include"],
11766 ":BuiltinDialectTdFiles",
11767 ":CallInterfacesTdFiles",
11768 ":ControlFlowInterfacesTdFiles",
11769 ":FunctionInterfacesTdFiles",
11771 ":RegionKindInterfaceIncGen",
11772 ":SideEffectInterfacesTdFiles",
11777 name = "MLProgramOpsIncGen",
11781 "include/mlir/Dialect/MLProgram/IR/MLProgramOps.h.inc",
11785 "include/mlir/Dialect/MLProgram/IR/MLProgramOps.cpp.inc",
11788 ["-gen-dialect-decls"],
11789 "include/mlir/Dialect/MLProgram/IR/MLProgramOpsDialect.h.inc",
11792 ["-gen-dialect-defs"],
11793 "include/mlir/Dialect/MLProgram/IR/MLProgramOpsDialect.cpp.inc",
11796 tblgen = ":mlir-tblgen",
11797 td_file = "include/mlir/Dialect/MLProgram/IR/MLProgramOps.td",
11798 deps = [":MLProgramOpsTdFiles"],
11802 name = "MLProgramAttributesIncGen",
11805 ["-gen-attrdef-decls"],
11806 "include/mlir/Dialect/MLProgram/IR/MLProgramAttributes.h.inc",
11809 ["-gen-attrdef-defs"],
11810 "include/mlir/Dialect/MLProgram/IR/MLProgramAttributes.cpp.inc",
11813 tblgen = ":mlir-tblgen",
11814 td_file = "include/mlir/Dialect/MLProgram/IR/MLProgramAttributes.td",
11815 deps = [":MLProgramOpsTdFiles"],
11819 name = "MLProgramTypesIncGen",
11822 ["-gen-typedef-decls"],
11823 "include/mlir/Dialect/MLProgram/IR/MLProgramTypes.h.inc",
11826 ["-gen-typedef-defs"],
11827 "include/mlir/Dialect/MLProgram/IR/MLProgramTypes.cpp.inc",
11830 tblgen = ":mlir-tblgen",
11831 td_file = "include/mlir/Dialect/MLProgram/IR/MLProgramTypes.td",
11832 deps = [":MLProgramOpsTdFiles"],
11836 name = "MLProgramDialect",
11838 "lib/Dialect/MLProgram/IR/*.cpp",
11839 "lib/Dialect/MLProgram/IR/*.h",
11842 "include/mlir/Dialect/MLProgram/IR/*.h",
11844 includes = ["include"],
11846 ":ControlFlowInterfaces",
11847 ":FunctionInterfaces",
11849 ":MLProgramAttributesIncGen",
11850 ":MLProgramOpsIncGen",
11851 ":MLProgramTypesIncGen",
11858 ##---------------------------------------------------------------------------##
11859 # Allocation interfaces
11860 ##---------------------------------------------------------------------------##
11863 name = "AllocationOpInterfaceTdFiles",
11864 srcs = ["include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td"],
11865 includes = ["include"],
11866 deps = [":OpBaseTdFiles"],
11870 name = "AllocationOpInterfaceIncGen",
11873 ["-gen-op-interface-decls"],
11874 "include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h.inc",
11877 ["-gen-op-interface-defs"],
11878 "include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.cpp.inc",
11881 tblgen = ":mlir-tblgen",
11882 td_file = "include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td",
11883 deps = [":AllocationOpInterfaceTdFiles"],
11887 name = "AllocationOpInterface",
11888 srcs = ["lib/Dialect/Bufferization/IR/AllocationOpInterface.cpp"],
11889 hdrs = ["include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h"],
11890 includes = ["include"],
11892 ":AllocationOpInterfaceIncGen",
11898 name = "BufferizationOpsTdFiles",
11900 "include/mlir/Dialect/Bufferization/IR/BufferizationBase.td",
11901 "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.td",
11902 "include/mlir/Dialect/Bufferization/IR/BufferizationOps.td",
11904 includes = ["include"],
11906 ":AllocationOpInterfaceTdFiles",
11907 ":CopyOpInterfaceTdFiles",
11908 ":InferTypeOpInterfaceTdFiles",
11910 ":SideEffectInterfacesTdFiles",
11915 name = "BufferizationBaseIncGen",
11919 "-gen-dialect-decls",
11920 "-dialect=bufferization",
11922 "include/mlir/Dialect/Bufferization/IR/BufferizationOpsDialect.h.inc",
11926 "-gen-dialect-defs",
11927 "-dialect=bufferization",
11929 "include/mlir/Dialect/Bufferization/IR/BufferizationOpsDialect.cpp.inc",
11932 tblgen = ":mlir-tblgen",
11933 td_file = "include/mlir/Dialect/Bufferization/IR/BufferizationBase.td",
11934 deps = [":BufferizationOpsTdFiles"],
11938 name = "BufferizationEnumsTdFiles",
11940 "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.td",
11942 includes = ["include"],
11949 name = "BufferizationEnumsIncGen",
11952 ["-gen-enum-decls"],
11953 "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.h.inc",
11956 ["-gen-enum-defs"],
11957 "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.cpp.inc",
11960 tblgen = ":mlir-tblgen",
11961 td_file = "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.td",
11962 deps = [":BufferizationEnumsTdFiles"],
11966 name = "BufferizationTransformOpsTdFiles",
11968 "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td",
11970 includes = ["include"],
11972 ":BufferizationOpsTdFiles",
11973 ":TransformDialectTdFiles",
11978 name = "BufferizationTransformOpsIncGen",
11982 "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.h.inc",
11986 "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.cpp.inc",
11989 tblgen = ":mlir-tblgen",
11990 td_file = "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td",
11992 ":BufferizationTransformOpsTdFiles",
11997 name = "BufferizationTransformOps",
11999 "lib/Dialect/Bufferization/TransformOps/BufferizationTransformOps.cpp",
12002 "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.h",
12004 includes = ["include"],
12006 ":BufferizationDialect",
12007 ":BufferizationEnumsIncGen",
12008 ":BufferizationTransformOpsIncGen",
12009 ":BufferizationTransforms",
12010 ":FunctionInterfaces",
12015 ":SideEffectInterfaces",
12017 ":TransformDialect",
12023 name = "BufferizationOpsIncGen",
12027 "include/mlir/Dialect/Bufferization/IR/BufferizationOps.h.inc",
12031 "include/mlir/Dialect/Bufferization/IR/BufferizationOps.cpp.inc",
12034 tblgen = ":mlir-tblgen",
12035 td_file = "include/mlir/Dialect/Bufferization/IR/BufferizationOps.td",
12037 ":BufferizableOpInterfaceTdFiles",
12038 ":BufferizationOpsTdFiles",
12043 name = "BufferizationDialect",
12045 "lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp",
12046 "lib/Dialect/Bufferization/IR/BufferizationDialect.cpp",
12047 "lib/Dialect/Bufferization/IR/BufferizationOps.cpp",
12048 "lib/Dialect/Bufferization/IR/UnstructuredControlFlow.cpp",
12051 "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h",
12052 "include/mlir/Dialect/Bufferization/IR/Bufferization.h",
12053 "include/mlir/Dialect/Bufferization/IR/DstBufferizableOpInterfaceImpl.h",
12054 "include/mlir/Dialect/Bufferization/IR/UnstructuredControlFlow.h",
12056 includes = ["include"],
12059 ":AllocationOpInterface",
12061 ":BufferizableOpInterfaceIncGen",
12062 ":BufferizationBaseIncGen",
12063 ":BufferizationEnumsIncGen",
12064 ":BufferizationOpsIncGen",
12065 ":ControlFlowInterfaces",
12066 ":CopyOpInterface",
12067 ":DestinationStyleOpInterface",
12069 ":FunctionInterfaces",
12071 ":InferTypeOpInterface",
12073 ":SparseTensorDialect",
12081 name = "BufferizationPassIncGen",
12086 "-name=Bufferization",
12088 "include/mlir/Dialect/Bufferization/Transforms/Passes.h.inc",
12091 tblgen = ":mlir-tblgen",
12092 td_file = "include/mlir/Dialect/Bufferization/Transforms/Passes.td",
12093 deps = [":PassBaseTdFiles"],
12097 name = "BufferizationTransforms",
12100 "lib/Dialect/Bufferization/Transforms/*.cpp",
12101 "lib/Dialect/Bufferization/Transforms/*.h",
12104 hdrs = glob(["include/mlir/Dialect/Bufferization/Transforms/*.h"]),
12105 includes = ["include"],
12107 ":AllocationOpInterface",
12110 ":BufferizationDialect",
12111 ":BufferizationEnumsIncGen",
12112 ":BufferizationPassIncGen",
12113 ":ControlFlowInterfaces",
12116 ":LoopLikeInterface",
12121 ":SideEffectInterfaces",
12125 ":ViewLikeInterface",
12131 name = "BufferizationToMemRef",
12133 "lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp",
12136 "include/mlir/Conversion/BufferizationToMemRef/BufferizationToMemRef.h",
12138 includes = ["include"],
12141 ":BufferizationDialect",
12142 ":BufferizationTransforms",
12143 ":ConversionPassIncGen",
12155 name = "DLTIDialectTdFiles",
12157 "include/mlir/Dialect/DLTI/DLTI.td",
12158 "include/mlir/Dialect/DLTI/DLTIBase.td",
12160 includes = ["include"],
12161 deps = [":OpBaseTdFiles"],
12165 name = "DLTIBaseIncGen",
12169 "-gen-dialect-decls",
12172 "include/mlir/Dialect/DLTI/DLTIDialect.h.inc",
12176 "-gen-dialect-defs",
12179 "include/mlir/Dialect/DLTI/DLTIDialect.cpp.inc",
12182 tblgen = ":mlir-tblgen",
12183 td_file = "include/mlir/Dialect/DLTI/DLTIBase.td",
12184 deps = [":OpBaseTdFiles"],
12188 name = "DLTIDialect",
12189 srcs = glob(["lib/Dialect/DLTI/*.cpp"]),
12190 hdrs = glob(["include/mlir/Dialect/DLTI/*.h"]),
12191 includes = ["include"],
12194 ":DataLayoutInterfaces",
12201 name = "ReducerIncGen",
12208 "include/mlir/Reducer/Passes.h.inc",
12211 tblgen = ":mlir-tblgen",
12212 td_file = "include/mlir/Reducer/Passes.td",
12214 ":PassBaseTdFiles",
12221 srcs = glob(["lib/Reducer/*.cpp"]),
12222 hdrs = glob(["include/mlir/Reducer/*.h"]),
12223 includes = ["include"],
12236 name = "MlirReduceLib",
12237 srcs = ["lib/Tools/mlir-reduce/MlirReduceMain.cpp"],
12239 "include/mlir/Tools/ParseUtilities.h",
12240 "include/mlir/Tools/mlir-reduce/MlirReduceMain.h",
12242 includes = ["include"],
12255 name = "mlir-reduce",
12256 srcs = ["tools/mlir-reduce/mlir-reduce.cpp"],
12257 includes = ["include"],
12258 local_defines = ["MLIR_INCLUDE_TESTS"],
12261 ":AllPassesAndDialects",
12265 "//mlir/test:TestDialect",
12273 "lib/Tools/PDLL/ODS/*.cpp",
12274 "lib/Tools/PDLL/ODS/*.h",
12277 hdrs = glob(["include/mlir/Tools/PDLL/ODS/*.h"]),
12278 includes = ["include"],
12282 "//llvm:TargetParser",
12290 "lib/Tools/PDLL/AST/*.cpp",
12291 "lib/Tools/PDLL/AST/*.h",
12294 hdrs = glob(["include/mlir/Tools/PDLL/AST/*.h"]),
12295 includes = ["include"],
12299 "//llvm:TargetParser",
12304 name = "PDLLCodeGen",
12307 "lib/Tools/PDLL/CodeGen/*.cpp",
12308 "lib/Tools/PDLL/CodeGen/*.h",
12311 hdrs = glob(["include/mlir/Tools/PDLL/CodeGen/*.h"]),
12312 includes = ["include"],
12325 name = "PDLLParser",
12328 "lib/Tools/PDLL/Parser/*.cpp",
12329 "lib/Tools/PDLL/Parser/*.h",
12332 hdrs = glob(["include/mlir/Tools/PDLL/Parser/*.h"]),
12333 includes = ["include"],
12341 "//llvm:TargetParser",
12346 name = "mlir-pdll",
12348 "tools/mlir-pdll/mlir-pdll.cpp",
12363 name = "mlir-pdll-lsp-server",
12364 srcs = ["tools/mlir-pdll-lsp-server/mlir-pdll-lsp-server.cpp"],
12365 includes = ["include"],
12367 ":MlirPdllLspServerLib",
12373 name = "DialectConversionPdllFiles",
12374 srcs = ["include/mlir/Transforms/DialectConversion.pdll"],
12375 includes = ["include"],
12379 name = "UBDialectTdFiles",
12381 "include/mlir/Dialect/UB/IR/UBOps.td",
12382 "include/mlir/Dialect/UB/IR/UBOpsInterfaces.td",
12384 includes = ["include"],
12387 ":SideEffectInterfacesTdFiles",
12392 name = "UBOpsInterfacesIncGen",
12395 ["--gen-attr-interface-decls"],
12396 "include/mlir/Dialect/UB/IR/UBOpsInterfaces.h.inc",
12399 ["--gen-attr-interface-defs"],
12400 "include/mlir/Dialect/UB/IR/UBOpsInterfaces.cpp.inc",
12403 tblgen = ":mlir-tblgen",
12404 td_file = "include/mlir/Dialect/UB/IR/UBOpsInterfaces.td",
12405 deps = [":UBDialectTdFiles"],
12409 name = "UBOpsIncGen",
12413 "-gen-dialect-decls",
12416 "include/mlir/Dialect/UB/IR/UBOpsDialect.h.inc",
12420 "-gen-dialect-defs",
12423 "include/mlir/Dialect/UB/IR/UBOpsDialect.cpp.inc",
12427 "include/mlir/Dialect/UB/IR/UBOps.h.inc",
12431 "include/mlir/Dialect/UB/IR/UBOps.cpp.inc",
12434 ["--gen-attrdef-decls"],
12435 "include/mlir/Dialect/UB/IR/UBOpsAttributes.h.inc",
12438 ["--gen-attrdef-defs"],
12439 "include/mlir/Dialect/UB/IR/UBOpsAttributes.cpp.inc",
12442 tblgen = ":mlir-tblgen",
12443 td_file = "include/mlir/Dialect/UB/IR/UBOps.td",
12444 deps = [":UBDialectTdFiles"],
12448 name = "UBDialect",
12449 srcs = ["lib/Dialect/UB/IR/UBOps.cpp"],
12450 hdrs = ["include/mlir/Dialect/UB/IR/UBOps.h"],
12451 includes = ["include"],
12454 ":SideEffectInterfaces",
12456 ":UBOpsInterfacesIncGen",
12464 "lib/Conversion/UBToLLVM/*.cpp",
12465 "lib/Conversion/UBToLLVM/*.h",
12468 "include/mlir/Conversion/UBToLLVM/*.h",
12470 includes = ["include"],
12472 ":ConversionPassIncGen",
12475 ":LLVMCommonConversion",
12483 name = "UBToSPIRV",
12485 "lib/Conversion/UBToSPIRV/*.cpp",
12486 "lib/Conversion/UBToSPIRV/*.h",
12489 "include/mlir/Conversion/UBToSPIRV/*.h",
12491 includes = ["include"],
12493 ":ConversionPassIncGen",
12495 ":SPIRVConversion",