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:common_settings.bzl", "bool_flag")
9 load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
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/lldb-scripts/mlirDataFormatters.py",
30 "utils/textmate/mlir.json",
35 build_setting_default = False,
39 name = "enable_cuda_config",
41 ":enable_cuda": "True",
46 name = "mlir_config_h_gen",
47 out = "include/mlir/Config/mlir-config.h",
49 "#cmakedefine01 MLIR_DEPRECATED_GPU_SERIALIZATION_ENABLE": "#define MLIR_DEPRECATED_GPU_SERIALIZATION_ENABLE 0",
50 "#cmakedefine01 MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS": "#define MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS 0",
51 "#cmakedefine MLIR_GREEDY_REWRITE_RANDOMIZER_SEED ${MLIR_GREEDY_REWRITE_RANDOMIZER_SEED}": "/* #undef MLIR_GREEDY_REWRITE_RANDOMIZER_SEED */",
52 "#cmakedefine01 MLIR_ENABLE_NVPTXCOMPILER": "#define MLIR_ENABLE_NVPTXCOMPILER 0",
53 "#cmakedefine01 MLIR_ENABLE_PDL_IN_PATTERNMATCH": "#define MLIR_ENABLE_PDL_IN_PATTERNMATCH 1",
54 "#cmakedefine01 MLIR_ENABLE_ROCM_CONVERSIONS": "#define MLIR_ENABLE_ROCM_CONVERSIONS 0",
56 template = "include/mlir/Config/mlir-config.h.cmake",
62 "include/mlir/Config/mlir-config.h",
68 srcs = glob(["include/mlir-c/**/*"]), # <== i.e. match the entire tree
71 exports_files(glob(["include/**/*.td"]))
75 name = name + "IncGen",
78 ["-gen-op-interface-decls"],
79 "include/mlir/IR/" + name + ".h.inc",
82 ["-gen-op-interface-defs"],
83 "include/mlir/IR/" + name + ".cpp.inc",
86 tblgen = ":mlir-tblgen",
87 td_file = "include/mlir/IR/" + name + ".td",
88 deps = [":OpBaseTdFiles"],
92 "RegionKindInterface",
98 name = "TensorEncodingIncGen",
101 ["-gen-attr-interface-decls"],
102 "include/mlir/IR/TensorEncInterfaces.h.inc",
105 ["-gen-attr-interface-defs"],
106 "include/mlir/IR/TensorEncInterfaces.cpp.inc",
109 tblgen = ":mlir-tblgen",
110 td_file = "include/mlir/IR/TensorEncoding.td",
111 deps = [":TensorOpsTdFiles"],
115 name = "BuiltinDialectTdFiles",
117 "include/mlir/IR/BuiltinAttributeInterfaces.td",
118 "include/mlir/IR/BuiltinAttributes.td",
119 "include/mlir/IR/BuiltinDialect.td",
120 "include/mlir/IR/BuiltinLocationAttributes.td",
121 "include/mlir/IR/BuiltinOps.td",
122 "include/mlir/IR/BuiltinTypeInterfaces.td",
123 "include/mlir/IR/BuiltinTypes.td",
125 includes = ["include"],
128 ":CallInterfacesTdFiles",
129 ":CastInterfacesTdFiles",
130 ":DataLayoutInterfacesTdFiles",
132 ":SideEffectInterfacesTdFiles",
137 name = "BuiltinDialectBytecodeTdFiles",
138 srcs = ["include/mlir/IR/BuiltinDialectBytecode.td"],
139 includes = ["include"],
146 name = "BuiltinDialectIncGen",
149 ["-gen-dialect-decls"],
150 "include/mlir/IR/BuiltinDialect.h.inc",
153 ["-gen-dialect-defs"],
154 "include/mlir/IR/BuiltinDialect.cpp.inc",
157 tblgen = ":mlir-tblgen",
158 td_file = "include/mlir/IR/BuiltinDialect.td",
159 deps = [":BuiltinDialectTdFiles"],
163 name = "BuiltinDialectBytecodeGen",
168 "-bytecode-dialect=Builtin",
170 "include/mlir/IR/BuiltinDialectBytecode.cpp.inc",
173 tblgen = ":mlir-tblgen",
174 td_file = "include/mlir/IR/BuiltinDialectBytecode.td",
175 deps = [":BuiltinDialectTdFiles"],
179 name = "BuiltinAttributesIncGen",
182 ["--gen-attrdef-decls"],
183 "include/mlir/IR/BuiltinAttributes.h.inc",
186 ["--gen-attrdef-defs"],
187 "include/mlir/IR/BuiltinAttributes.cpp.inc",
190 tblgen = ":mlir-tblgen",
191 td_file = "include/mlir/IR/BuiltinAttributes.td",
192 deps = [":BuiltinDialectTdFiles"],
196 name = "BuiltinAttributeInterfacesIncGen",
199 ["--gen-attr-interface-decls"],
200 "include/mlir/IR/BuiltinAttributeInterfaces.h.inc",
203 ["--gen-attr-interface-defs"],
204 "include/mlir/IR/BuiltinAttributeInterfaces.cpp.inc",
207 tblgen = ":mlir-tblgen",
208 td_file = "include/mlir/IR/BuiltinAttributeInterfaces.td",
209 deps = [":BuiltinDialectTdFiles"],
213 name = "BuiltinLocationAttributesIncGen",
216 ["--gen-attrdef-decls"],
217 "include/mlir/IR/BuiltinLocationAttributes.h.inc",
220 ["--gen-attrdef-defs"],
221 "include/mlir/IR/BuiltinLocationAttributes.cpp.inc",
224 tblgen = ":mlir-tblgen",
225 td_file = "include/mlir/IR/BuiltinLocationAttributes.td",
226 deps = [":BuiltinDialectTdFiles"],
230 name = "BuiltinOpsIncGen",
234 "include/mlir/IR/BuiltinOps.h.inc",
238 "include/mlir/IR/BuiltinOps.cpp.inc",
241 tblgen = ":mlir-tblgen",
242 td_file = "include/mlir/IR/BuiltinOps.td",
244 ":BuiltinDialectTdFiles",
250 name = "BuiltinTypesIncGen",
253 ["--gen-typedef-decls"],
254 "include/mlir/IR/BuiltinTypes.h.inc",
257 ["--gen-typedef-defs"],
258 "include/mlir/IR/BuiltinTypes.cpp.inc",
261 ["-gen-type-constraint-decls"],
262 "include/mlir/IR/BuiltinTypeConstraints.h.inc",
265 ["-gen-type-constraint-defs"],
266 "include/mlir/IR/BuiltinTypeConstraints.cpp.inc",
269 tblgen = ":mlir-tblgen",
270 td_file = "include/mlir/IR/BuiltinTypes.td",
271 deps = [":BuiltinDialectTdFiles"],
275 name = "BuiltinTypeInterfacesIncGen",
278 ["--gen-type-interface-decls"],
279 "include/mlir/IR/BuiltinTypeInterfaces.h.inc",
282 ["--gen-type-interface-defs"],
283 "include/mlir/IR/BuiltinTypeInterfaces.cpp.inc",
286 tblgen = ":mlir-tblgen",
287 td_file = "include/mlir/IR/BuiltinTypeInterfaces.td",
289 ":BuiltinDialectTdFiles",
294 name = "FunctionInterfacesTdFiles",
295 srcs = ["include/mlir/Interfaces/FunctionInterfaces.td"],
296 includes = ["include"],
298 ":CallInterfacesTdFiles",
304 name = "FunctionInterfacesIncGen",
307 ["-gen-op-interface-decls"],
308 "include/mlir/Interfaces/FunctionInterfaces.h.inc",
311 ["-gen-op-interface-defs"],
312 "include/mlir/Interfaces/FunctionInterfaces.cpp.inc",
315 tblgen = ":mlir-tblgen",
316 td_file = "include/mlir/Interfaces/FunctionInterfaces.td",
318 ":FunctionInterfacesTdFiles",
323 name = "FunctionInterfaces",
325 "lib/Interfaces/FunctionImplementation.cpp",
326 "lib/Interfaces/FunctionInterfaces.cpp",
329 "include/mlir/Interfaces/FunctionImplementation.h",
330 "include/mlir/Interfaces/FunctionInterfaces.h",
332 includes = ["include"],
335 ":FunctionInterfacesIncGen",
347 "lib/Bytecode/Writer/*.h",
348 "include/mlir/Bytecode/*.h",
350 "include/mlir/IR/PDLPatternMatch.h.inc",
351 "include/mlir/Interfaces/CallInterfaces.h",
352 "include/mlir/Interfaces/DataLayoutInterfaces.h",
353 "include/mlir/Interfaces/InferIntRangeInterface.h",
354 "include/mlir/Interfaces/SideEffectInterfaces.h",
357 "include/mlir/IR/*.h",
359 "include/mlir/Interfaces/FoldInterfaces.h",
361 includes = ["include"],
363 ":BuiltinAttributeInterfacesIncGen",
364 ":BuiltinAttributesIncGen",
365 ":BuiltinDialectBytecodeGen",
366 ":BuiltinDialectIncGen",
367 ":BuiltinLocationAttributesIncGen",
369 ":BuiltinTypeInterfacesIncGen",
370 ":BuiltinTypesIncGen",
371 ":BytecodeOpInterfaceIncGen",
372 ":CallOpInterfacesIncGen",
373 ":DataLayoutInterfacesIncGen",
374 ":InferIntRangeInterfaceIncGen",
375 ":OpAsmInterfaceIncGen",
376 ":RegionKindInterfaceIncGen",
377 ":SideEffectInterfacesIncGen",
379 ":SymbolInterfacesIncGen",
380 ":TensorEncodingIncGen",
394 "include/mlir/Pass/*.h",
396 includes = ["include"],
405 mlir_c_api_cc_library(
408 "lib/CAPI/Dialect/Func.cpp",
409 "lib/CAPI/Dialect/IRDL.cpp",
410 "lib/CAPI/IR/AffineExpr.cpp",
411 "lib/CAPI/IR/AffineMap.cpp",
412 "lib/CAPI/IR/BuiltinAttributes.cpp",
413 "lib/CAPI/IR/BuiltinTypes.cpp",
414 "lib/CAPI/IR/Diagnostics.cpp",
415 "lib/CAPI/IR/DialectHandle.cpp",
416 "lib/CAPI/IR/IR.cpp",
417 "lib/CAPI/IR/IntegerSet.cpp",
418 "lib/CAPI/IR/Pass.cpp",
419 "lib/CAPI/IR/Support.cpp",
422 "include/mlir-c/AffineExpr.h",
423 "include/mlir-c/AffineMap.h",
424 "include/mlir-c/BuiltinAttributes.h",
425 "include/mlir-c/BuiltinTypes.h",
426 "include/mlir-c/Diagnostics.h",
427 "include/mlir-c/Dialect/Func.h",
428 "include/mlir-c/Dialect/IRDL.h",
429 "include/mlir-c/ExecutionEngine.h",
430 "include/mlir-c/IR.h",
431 "include/mlir-c/IntegerSet.h",
432 "include/mlir-c/Interfaces.h",
433 "include/mlir-c/Pass.h",
434 "include/mlir-c/RegisterEverything.h",
435 "include/mlir-c/Rewrite.h",
436 "include/mlir-c/Support.h",
437 "include/mlir/CAPI/AffineExpr.h",
438 "include/mlir/CAPI/AffineMap.h",
439 "include/mlir/CAPI/Diagnostics.h",
440 "include/mlir/CAPI/IR.h",
441 "include/mlir/CAPI/IntegerSet.h",
442 "include/mlir/CAPI/Interfaces.h",
443 "include/mlir/CAPI/Pass.h",
444 "include/mlir/CAPI/Registration.h",
445 "include/mlir/CAPI/Rewrite.h",
446 "include/mlir/CAPI/Support.h",
447 "include/mlir/CAPI/Utils.h",
448 "include/mlir/CAPI/Wrap.h",
458 includes = ["include"],
461 ":ConversionPassIncGen",
464 ":InferTypeOpInterface",
469 mlir_c_api_cc_library(
470 name = "CAPIInterfaces",
472 "lib/CAPI/Interfaces/Interfaces.cpp",
477 includes = ["include"],
480 ":InferTypeOpInterface",
485 mlir_c_api_cc_library(
487 srcs = ["lib/CAPI/Dialect/AMDGPU.cpp"],
488 hdrs = ["include/mlir-c/Dialect/AMDGPU.h"],
492 includes = ["include"],
498 mlir_c_api_cc_library(
500 srcs = ["lib/CAPI/Dialect/Arith.cpp"],
501 hdrs = ["include/mlir-c/Dialect/Arith.h"],
505 includes = ["include"],
511 mlir_c_api_cc_library(
514 "lib/CAPI/Dialect/Async.cpp",
515 "lib/CAPI/Dialect/AsyncPasses.cpp",
517 hdrs = ["include/mlir-c/Dialect/Async.h"],
524 includes = ["include"],
532 mlir_c_api_cc_library(
535 "lib/CAPI/Dialect/Linalg.cpp",
536 "lib/CAPI/Dialect/LinalgPasses.cpp",
539 "include/mlir-c/Dialect/Linalg.h",
547 includes = ["include"],
555 mlir_c_api_cc_library(
558 "lib/CAPI/Dialect/LLVM.cpp",
561 "include/mlir-c/Dialect/LLVM.h",
566 includes = ["include"],
573 mlir_c_api_cc_library(
575 srcs = ["lib/CAPI/Dialect/Math.cpp"],
576 hdrs = ["include/mlir-c/Dialect/Math.h"],
580 includes = ["include"],
586 mlir_c_api_cc_library(
588 srcs = ["lib/CAPI/Dialect/MemRef.cpp"],
589 hdrs = ["include/mlir-c/Dialect/MemRef.h"],
593 includes = ["include"],
599 mlir_c_api_cc_library(
601 srcs = ["lib/CAPI/Dialect/NVGPU.cpp"],
602 hdrs = ["include/mlir-c/Dialect/NVGPU.h"],
606 includes = ["include"],
613 mlir_c_api_cc_library(
615 srcs = ["lib/CAPI/Dialect/NVVM.cpp"],
616 hdrs = ["include/mlir-c/Dialect/NVVM.h"],
620 includes = ["include"],
626 mlir_c_api_cc_library(
628 srcs = ["lib/CAPI/Target/LLVMIR.cpp"],
629 hdrs = ["include/mlir-c/Target/LLVMIR.h"],
636 includes = ["include"],
638 ":LLVMToLLVMIRTranslation",
640 ":ToLLVMIRTranslation",
641 ":ToLLVMIRTranslationRegistration",
646 mlir_c_api_cc_library(
649 "lib/CAPI/Dialect/GPU.cpp",
650 "lib/CAPI/Dialect/GPUPasses.cpp",
653 "include/mlir-c/Dialect/GPU.h",
661 includes = ["include"],
670 mlir_c_api_cc_library(
672 srcs = ["lib/CAPI/Dialect/ROCDL.cpp"],
673 hdrs = ["include/mlir-c/Dialect/ROCDL.h"],
677 includes = ["include"],
683 mlir_c_api_cc_library(
685 srcs = ["lib/CAPI/Dialect/SCF.cpp"],
686 hdrs = ["include/mlir-c/Dialect/SCF.h"],
690 includes = ["include"],
696 mlir_c_api_cc_library(
697 name = "CAPISparseTensor",
699 "lib/CAPI/Dialect/SparseTensor.cpp",
700 "lib/CAPI/Dialect/SparseTensorPasses.cpp",
703 "include/mlir-c/Dialect/SparseTensor.h",
709 ":SparseTensorPassIncGen",
711 includes = ["include"],
714 ":SparseTensorDialect",
715 ":SparseTensorTransforms",
720 mlir_c_api_cc_library(
723 "lib/CAPI/Dialect/Quant.cpp",
726 "include/mlir-c/Dialect/Quant.h",
731 includes = ["include"],
737 mlir_c_api_cc_library(
740 "lib/CAPI/Dialect/PDL.cpp",
743 "include/mlir-c/Dialect/PDL.h",
748 includes = ["include"],
757 mlir_c_api_cc_library(
758 name = "CAPITransformDialect",
760 "lib/CAPI/Dialect/Transform.cpp",
763 "include/mlir-c/Dialect/Transform.h",
768 includes = ["include"],
774 mlir_c_api_cc_library(
775 name = "CAPITransformDialectTransforms",
777 "lib/CAPI/Dialect/TransformInterpreter.cpp",
780 "include/mlir-c/Dialect/Transform/Interpreter.h",
784 ":CAPITransformDialect",
786 includes = ["include"],
789 ":TransformDialectInterfaces",
790 ":TransformDialectTransforms",
794 mlir_c_api_cc_library(
795 name = "CAPIMLProgram",
797 "lib/CAPI/Dialect/MLProgram.cpp",
800 "include/mlir-c/Dialect/MLProgram.h",
805 includes = ["include"],
809 ":MLProgramOpsIncGen",
810 ":MLProgramTypesIncGen",
814 mlir_c_api_cc_library(
816 srcs = ["lib/CAPI/Dialect/Vector.cpp"],
817 hdrs = ["include/mlir-c/Dialect/Vector.h"],
821 includes = ["include"],
827 mlir_c_api_cc_library(
828 name = "CAPIConversion",
829 srcs = ["lib/CAPI/Conversion/Passes.cpp"],
830 hdrs = ["include/mlir-c/Conversion.h"],
835 ":ConversionPassIncGen",
837 includes = ["include"],
845 mlir_c_api_cc_library(
847 srcs = ["lib/CAPI/Debug/Debug.cpp"],
848 hdrs = ["include/mlir-c/Debug.h"],
852 includes = ["include"],
859 mlir_c_api_cc_library(
860 name = "CAPIExecutionEngine",
861 srcs = ["lib/CAPI/ExecutionEngine/ExecutionEngine.cpp"],
863 "include/mlir-c/ExecutionEngine.h",
864 "include/mlir/CAPI/ExecutionEngine.h",
872 includes = ["include"],
874 ":BuiltinToLLVMIRTranslation",
875 ":ExecutionEngineUtils",
876 ":LLVMToLLVMIRTranslation",
877 ":OpenMPToLLVMIRTranslation",
883 mlir_c_api_cc_library(
884 name = "CAPITransforms",
886 "lib/CAPI/Transforms/Passes.cpp",
887 "lib/CAPI/Transforms/Rewrite.cpp",
889 hdrs = ["include/mlir-c/Transforms.h"],
894 ":TransformsPassIncGen",
896 includes = ["include"],
906 mlir_c_api_cc_library(
907 name = "CAPIRegisterEverything",
908 srcs = ["lib/CAPI/RegisterEverything/RegisterEverything.cpp"],
909 hdrs = ["include/mlir-c/RegisterEverything.h"],
913 includes = ["include"],
916 ":AllPassesAndDialects",
917 ":AllToLLVMIRTranslations",
918 ":BuiltinToLLVMIRTranslation",
920 ":LLVMToLLVMIRTranslation",
924 ##---------------------------------------------------------------------------##
925 # Sources of Python bindings.
926 #----------------------------------------------------------------------------##
929 glob(["lib/Bindings/Python/**/*.cpp"]),
933 name = "MLIRBindingsPythonHeaderFiles",
935 "lib/Bindings/Python/*.h",
936 "include/mlir-c/Bindings/Python/*.h",
937 "include/mlir/Bindings/Python/*.h",
942 name = "MLIRBindingsPythonHeaders",
945 "lib/Bindings/Python",
947 textual_hdrs = [":MLIRBindingsPythonHeaderFiles"],
950 ":CAPITransformsHeaders",
952 "@rules_python//python/cc:current_py_cc_headers",
957 name = "MLIRBindingsPythonHeadersAndDeps",
960 "lib/Bindings/Python",
962 textual_hdrs = [":MLIRBindingsPythonHeaderFiles"],
967 "@rules_python//python/cc:current_py_cc_headers",
971 # These flags are needed for pybind11 to work.
977 PYBIND11_FEATURES = [
978 # Cannot use header_modules (parse_headers feature fails).
979 "-use_header_modules",
983 name = "MLIRBindingsPythonSourceFiles",
985 "lib/Bindings/Python/IRAffine.cpp",
986 "lib/Bindings/Python/IRAttributes.cpp",
987 "lib/Bindings/Python/IRCore.cpp",
988 "lib/Bindings/Python/IRInterfaces.cpp",
989 "lib/Bindings/Python/IRModule.cpp",
990 "lib/Bindings/Python/IRTypes.cpp",
991 "lib/Bindings/Python/Pass.cpp",
992 "lib/Bindings/Python/Rewrite.cpp",
997 name = "MLIRBindingsPythonCore",
998 srcs = [":MLIRBindingsPythonSourceFiles"],
999 copts = PYBIND11_COPTS,
1000 features = PYBIND11_FEATURES,
1006 ":MLIRBindingsPythonHeadersAndDeps",
1011 "@rules_python//python/cc:current_py_cc_headers",
1016 name = "MLIRBindingsPythonCoreNoCAPI",
1017 srcs = [":MLIRBindingsPythonSourceFiles"],
1018 copts = PYBIND11_COPTS,
1019 features = PYBIND11_FEATURES,
1021 ":CAPIAsyncHeaders",
1022 ":CAPIDebugHeaders",
1024 ":MLIRBindingsPythonHeaders",
1029 "@rules_python//python/cc:current_py_cc_headers",
1033 # Target that bundles together the CAPI objects needed for
1034 # MLIRBindingsPythonCoreNoCAPI.
1036 name = "MLIRBindingsPythonCAPIObjects",
1038 ":CAPIAsyncObjects",
1039 ":CAPIDebugObjects",
1041 ":CAPIInterfacesObjects",
1042 ":CAPITransformsObjects",
1046 # Dynamic library with the MLIR Python extension.
1049 srcs = ["lib/Bindings/Python/MainModule.cpp"],
1050 # These flags are needed for pybind11 to work.
1051 copts = PYBIND11_COPTS,
1052 features = PYBIND11_FEATURES,
1056 ":MLIRBindingsPythonCore",
1057 ":MLIRBindingsPythonHeadersAndDeps",
1062 name = "_mlirDialectsLinalg.so",
1063 srcs = ["lib/Bindings/Python/DialectLinalg.cpp"],
1064 copts = PYBIND11_COPTS,
1065 features = PYBIND11_FEATURES,
1071 ":MLIRBindingsPythonHeadersAndDeps",
1076 name = "_mlirDialectsLLVM.so",
1077 srcs = ["lib/Bindings/Python/DialectLLVM.cpp"],
1078 copts = PYBIND11_COPTS,
1079 features = PYBIND11_FEATURES,
1085 ":MLIRBindingsPythonHeadersAndDeps",
1091 name = "_mlirDialectsQuant.so",
1092 srcs = ["lib/Bindings/Python/DialectQuant.cpp"],
1093 copts = PYBIND11_COPTS,
1094 features = PYBIND11_FEATURES,
1100 ":MLIRBindingsPythonHeadersAndDeps",
1106 name = "_mlirDialectsSparseTensor.so",
1107 srcs = ["lib/Bindings/Python/DialectSparseTensor.cpp"],
1108 copts = PYBIND11_COPTS,
1109 features = PYBIND11_FEATURES,
1114 ":CAPISparseTensor",
1115 ":MLIRBindingsPythonHeadersAndDeps",
1120 # Dynamic library with the MLIR Conversions Python extension.
1122 name = "_mlirExecutionEngine.so",
1123 srcs = ["lib/Bindings/Python/ExecutionEngineModule.cpp"],
1124 copts = PYBIND11_COPTS,
1125 features = PYBIND11_FEATURES,
1129 ":CAPIExecutionEngine",
1130 ":MLIRBindingsPythonHeadersAndDeps",
1132 "@rules_python//python/cc:current_py_cc_headers",
1136 # Dynamic library with the MLIR Linalg dialect+passes Python extension.
1138 name = "_mlirLinalgPasses.so",
1139 srcs = ["lib/Bindings/Python/LinalgPasses.cpp"],
1140 copts = PYBIND11_COPTS,
1141 features = PYBIND11_FEATURES,
1146 ":MLIRBindingsPythonHeadersAndDeps",
1148 "@rules_python//python/cc:current_py_cc_headers",
1152 ##---------------------------------------------------------------------------##
1155 name = "AttrTdFiles",
1157 "include/mlir/IR/AttrTypeBase.td",
1158 "include/mlir/IR/EnumAttr.td",
1160 includes = ["include"],
1164 name = "OpBaseTdFiles",
1166 "include/mlir/IR/CommonAttrConstraints.td",
1167 "include/mlir/IR/CommonTypeConstraints.td",
1168 "include/mlir/IR/Constraints.td",
1169 "include/mlir/IR/DialectBase.td",
1170 "include/mlir/IR/Interfaces.td",
1171 "include/mlir/IR/OpAsmInterface.td",
1172 "include/mlir/IR/OpBase.td",
1173 "include/mlir/IR/PatternBase.td",
1174 "include/mlir/IR/Properties.td",
1175 "include/mlir/IR/RegionKindInterface.td",
1176 "include/mlir/IR/SymbolInterfaces.td",
1177 "include/mlir/IR/TensorEncoding.td",
1178 "include/mlir/IR/Traits.td",
1179 "include/mlir/IR/Utils.td",
1181 includes = ["include"],
1188 name = "BytecodeTdFiles",
1189 srcs = ["include/mlir/IR/BytecodeBase.td"],
1190 includes = ["include"],
1194 name = "CallInterfacesTdFiles",
1195 srcs = ["include/mlir/Interfaces/CallInterfaces.td"],
1196 includes = ["include"],
1197 deps = [":OpBaseTdFiles"],
1201 name = "CastInterfacesTdFiles",
1202 srcs = ["include/mlir/Interfaces/CastInterfaces.td"],
1203 includes = ["include"],
1204 deps = [":OpBaseTdFiles"],
1208 name = "ControlFlowInterfacesTdFiles",
1209 srcs = ["include/mlir/Interfaces/ControlFlowInterfaces.td"],
1210 includes = ["include"],
1211 deps = [":OpBaseTdFiles"],
1215 name = "BytecodeOpInterfaceTdFiles",
1216 srcs = ["include/mlir/Bytecode/BytecodeOpInterface.td"],
1217 includes = ["include"],
1218 deps = [":OpBaseTdFiles"],
1222 name = "CopyOpInterfaceTdFiles",
1223 srcs = ["include/mlir/Interfaces/CopyOpInterface.td"],
1224 includes = ["include"],
1225 deps = [":OpBaseTdFiles"],
1229 name = "DerivedAttributeOpInterfaceTdFiles",
1230 srcs = ["include/mlir/Interfaces/DerivedAttributeOpInterface.td"],
1231 includes = ["include"],
1232 deps = [":OpBaseTdFiles"],
1236 name = "DestinationStyleOpInterfaceTdFiles",
1237 srcs = ["include/mlir/Interfaces/DestinationStyleOpInterface.td"],
1238 includes = ["include"],
1239 deps = [":OpBaseTdFiles"],
1243 name = "InferIntRangeInterfaceTdFiles",
1244 srcs = ["include/mlir/Interfaces/InferIntRangeInterface.td"],
1245 includes = ["include"],
1246 deps = [":OpBaseTdFiles"],
1250 name = "InferTypeOpInterfaceTdFiles",
1251 srcs = ["include/mlir/Interfaces/InferTypeOpInterface.td"],
1252 includes = ["include"],
1253 deps = [":OpBaseTdFiles"],
1257 name = "LoopLikeInterfaceTdFiles",
1258 srcs = ["include/mlir/Interfaces/LoopLikeInterface.td"],
1259 includes = ["include"],
1260 deps = [":OpBaseTdFiles"],
1264 name = "MemorySlotInterfacesTdFiles",
1265 srcs = ["include/mlir/Interfaces/MemorySlotInterfaces.td"],
1266 includes = ["include"],
1267 deps = [":OpBaseTdFiles"],
1271 name = "ShapedOpInterfacesTdFiles",
1272 srcs = ["include/mlir/Interfaces/ShapedOpInterfaces.td"],
1273 includes = ["include"],
1274 deps = [":OpBaseTdFiles"],
1278 name = "ParallelCombiningOpInterfaceTdFiles",
1279 srcs = ["include/mlir/Interfaces/ParallelCombiningOpInterface.td"],
1280 includes = ["include"],
1281 deps = [":OpBaseTdFiles"],
1285 name = "RuntimeVerifiableOpInterfaceTdFiles",
1286 srcs = ["include/mlir/Interfaces/RuntimeVerifiableOpInterface.td"],
1287 includes = ["include"],
1288 deps = [":OpBaseTdFiles"],
1292 name = "SideEffectInterfacesTdFiles",
1294 "include/mlir/Interfaces/SideEffectInterfaceBase.td",
1295 "include/mlir/Interfaces/SideEffectInterfaces.td",
1297 includes = ["include"],
1298 deps = [":OpBaseTdFiles"],
1302 name = "TilingInterfaceTdFiles",
1303 srcs = ["include/mlir/Interfaces/TilingInterface.td"],
1304 includes = ["include"],
1305 deps = [":OpBaseTdFiles"],
1309 name = "VectorInterfacesTdFiles",
1310 srcs = ["include/mlir/Interfaces/VectorInterfaces.td"],
1311 includes = ["include"],
1312 deps = [":OpBaseTdFiles"],
1316 name = "ViewLikeInterfaceTdFiles",
1317 srcs = ["include/mlir/Interfaces/ViewLikeInterface.td"],
1318 includes = ["include"],
1319 deps = [":OpBaseTdFiles"],
1323 name = "ReducerTdFiles",
1324 srcs = ["include/mlir/Reducer/Passes.td"],
1325 includes = ["include"],
1326 deps = [":OpBaseTdFiles"],
1329 ##---------------------------------------------------------------------------##
1331 ##---------------------------------------------------------------------------##
1334 name = "PassBaseTdFiles",
1335 srcs = ["include/mlir/Pass/PassBase.td"],
1336 includes = ["include"],
1340 name = "RewritePassBaseTdFiles",
1341 srcs = ["include/mlir/Rewrite/PassUtil.td"],
1342 includes = ["include"],
1346 name = "AffineOpsTdFiles",
1348 "include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.td",
1349 "include/mlir/Dialect/Affine/IR/AffineOps.td",
1351 includes = ["include"],
1355 ":LoopLikeInterfaceTdFiles",
1357 ":SideEffectInterfacesTdFiles",
1362 name = "AffineOpsIncGen",
1366 "include/mlir/Dialect/Affine/IR/AffineOps.h.inc",
1370 "include/mlir/Dialect/Affine/IR/AffineOps.cpp.inc",
1374 "-gen-dialect-decls",
1377 "include/mlir/Dialect/Affine/IR/AffineOpsDialect.h.inc",
1381 "-gen-dialect-defs",
1384 "include/mlir/Dialect/Affine/IR/AffineOpsDialect.cpp.inc",
1387 tblgen = ":mlir-tblgen",
1388 td_file = "include/mlir/Dialect/Affine/IR/AffineOps.td",
1389 deps = [":AffineOpsTdFiles"],
1393 name = "AffineMemoryOpInterfacesIncGen",
1396 ["-gen-op-interface-decls"],
1397 "include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.h.inc",
1400 ["-gen-op-interface-defs"],
1401 "include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.cpp.inc",
1404 tblgen = ":mlir-tblgen",
1405 td_file = "include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.td",
1406 deps = [":AffineOpsTdFiles"],
1410 name = "AffineTransformOpsTdFiles",
1412 "include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.td",
1414 includes = ["include"],
1416 ":TransformDialectTdFiles",
1421 name = "AffineTransformOpsIncGen",
1425 "include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.h.inc",
1429 "include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.cpp.inc",
1432 tblgen = ":mlir-tblgen",
1433 td_file = "include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.td",
1435 ":AffineTransformOpsTdFiles",
1440 name = "AffineTransformOps",
1441 srcs = glob(["lib/Dialect/Affine/TransformOps/*.cpp"]),
1442 hdrs = glob(["include/mlir/Dialect/Affine/TransformOps/*.h"]),
1443 includes = ["include"],
1447 ":AffineTransformOpsIncGen",
1449 ":BytecodeOpInterface",
1451 ":TransformDialect",
1452 ":TransformDialectInterfaces",
1457 ##---------------------------------------------------------------------------##
1459 ##---------------------------------------------------------------------------##
1462 name = "AMDGPUTdFiles",
1463 srcs = ["include/mlir/Dialect/AMDGPU/IR/AMDGPU.td"],
1464 includes = ["include"],
1466 ":SideEffectInterfacesTdFiles",
1471 name = "AMDGPUIncGen",
1475 "-gen-attrdef-decls",
1478 "include/mlir/Dialect/AMDGPU/IR/AMDGPUAttributes.h.inc",
1482 "-gen-attrdef-defs",
1485 "include/mlir/Dialect/AMDGPU/IR/AMDGPUAttributes.cpp.inc",
1489 "-gen-dialect-decls",
1492 "include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h.inc",
1496 "-gen-dialect-defs",
1499 "include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.cpp.inc",
1502 ["-gen-enum-decls"],
1503 "include/mlir/Dialect/AMDGPU/IR/AMDGPUEnums.h.inc",
1507 "include/mlir/Dialect/AMDGPU/IR/AMDGPUEnums.cpp.inc",
1511 "include/mlir/Dialect/AMDGPU/IR/AMDGPU.h.inc",
1515 "include/mlir/Dialect/AMDGPU/IR/AMDGPU.cpp.inc",
1519 "g3doc/Dialects/AMDGPU/IR/AMDGPU.md",
1522 tblgen = ":mlir-tblgen",
1523 td_file = "include/mlir/Dialect/AMDGPU/IR/AMDGPU.td",
1524 deps = [":AMDGPUTdFiles"],
1528 name = "AMDGPUDialect",
1529 srcs = ["lib/Dialect/AMDGPU/IR/AMDGPUDialect.cpp"],
1530 hdrs = ["include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h"],
1531 includes = ["include"],
1535 ":BytecodeOpInterface",
1539 ":SideEffectInterfaces",
1545 name = "AMDGPUPassIncGen",
1552 "include/mlir/Dialect/AMDGPU/Transforms/Passes.h.inc",
1555 tblgen = ":mlir-tblgen",
1556 td_file = "include/mlir/Dialect/AMDGPU/Transforms/Passes.td",
1557 deps = [":PassBaseTdFiles"],
1561 name = "AMDGPUTransforms",
1564 "lib/Dialect/AMDGPU/Transforms/*.cpp",
1567 hdrs = glob(["include/mlir/Dialect/AMDGPU/Transforms/*.h"]),
1568 includes = ["include"],
1571 ":AMDGPUPassIncGen",
1574 ":ControlFlowDialect",
1580 ":SideEffectInterfaces",
1588 name = "AMDGPUUtils",
1589 srcs = glob(["lib/Dialect/AMDGPU/Utils/*.cpp"]),
1590 hdrs = glob(["include/mlir/Dialect/AMDGPU/Utils/*.h"]),
1591 includes = ["include"],
1598 ##---------------------------------------------------------------------------##
1600 ##---------------------------------------------------------------------------##
1603 name = "EmitCTdFiles",
1605 "include/mlir/Dialect/EmitC/IR/EmitC.td",
1606 "include/mlir/Dialect/EmitC/IR/EmitCAttributes.td",
1607 "include/mlir/Dialect/EmitC/IR/EmitCBase.td",
1608 "include/mlir/Dialect/EmitC/IR/EmitCTypes.td",
1610 includes = ["include"],
1612 ":BuiltinDialectTdFiles",
1613 ":CallInterfacesTdFiles",
1614 ":CastInterfacesTdFiles",
1615 ":ControlFlowInterfacesTdFiles",
1616 ":FunctionInterfacesTdFiles",
1618 ":SideEffectInterfacesTdFiles",
1623 name = "EmitCAttributesIncGen",
1626 ["--gen-attrdef-decls"],
1627 "include/mlir/Dialect/EmitC/IR/EmitCAttributes.h.inc",
1630 ["--gen-attrdef-defs"],
1631 "include/mlir/Dialect/EmitC/IR/EmitCAttributes.cpp.inc",
1634 tblgen = ":mlir-tblgen",
1635 td_file = "include/mlir/Dialect/EmitC/IR/EmitCAttributes.td",
1636 deps = [":EmitCTdFiles"],
1640 name = "EmitCOpsIncGen",
1643 ["-gen-dialect-decls"],
1644 "include/mlir/Dialect/EmitC/IR/EmitCDialect.h.inc",
1647 ["-gen-dialect-defs"],
1648 "include/mlir/Dialect/EmitC/IR/EmitCDialect.cpp.inc",
1651 ["-gen-enum-decls"],
1652 "include/mlir/Dialect/EmitC/IR/EmitCEnums.h.inc",
1656 "include/mlir/Dialect/EmitC/IR/EmitCEnums.cpp.inc",
1660 "include/mlir/Dialect/EmitC/IR/EmitC.h.inc",
1664 "include/mlir/Dialect/EmitC/IR/EmitC.cpp.inc",
1667 ["-gen-typedef-decls"],
1668 "include/mlir/Dialect/EmitC/IR/EmitCTypes.h.inc",
1671 ["-gen-typedef-defs"],
1672 "include/mlir/Dialect/EmitC/IR/EmitCTypes.cpp.inc",
1675 tblgen = ":mlir-tblgen",
1676 td_file = "include/mlir/Dialect/EmitC/IR/EmitC.td",
1677 deps = [":EmitCTdFiles"],
1681 name = "EmitCPassIncGen",
1688 "include/mlir/Dialect/EmitC/Transforms/Passes.h.inc",
1691 tblgen = ":mlir-tblgen",
1692 td_file = "include/mlir/Dialect/EmitC/Transforms/Passes.td",
1693 deps = [":PassBaseTdFiles"],
1699 "lib/Target/Cpp/*.cpp",
1701 hdrs = glob(["include/mlir/Target/Cpp/*.h"]),
1703 ":ControlFlowDialect",
1713 ##---------------------------------------------------------------------------##
1715 ##---------------------------------------------------------------------------##
1718 name = "AsyncOpsTdFiles",
1720 "include/mlir/Dialect/Async/IR/AsyncDialect.td",
1721 "include/mlir/Dialect/Async/IR/AsyncOps.td",
1722 "include/mlir/Dialect/Async/IR/AsyncTypes.td",
1724 includes = ["include"],
1726 ":CallInterfacesTdFiles",
1727 ":ControlFlowInterfacesTdFiles",
1728 ":FunctionInterfacesTdFiles",
1729 ":InferTypeOpInterfaceTdFiles",
1731 ":SideEffectInterfacesTdFiles",
1736 name = "AsyncOpsIncGen",
1740 "include/mlir/Dialect/Async/IR/AsyncOps.h.inc",
1744 "include/mlir/Dialect/Async/IR/AsyncOps.cpp.inc",
1747 ["-gen-dialect-decls"],
1748 "include/mlir/Dialect/Async/IR/AsyncOpsDialect.h.inc",
1751 ["-gen-dialect-defs"],
1752 "include/mlir/Dialect/Async/IR/AsyncOpsDialect.cpp.inc",
1755 ["-gen-typedef-decls"],
1756 "include/mlir/Dialect/Async/IR/AsyncOpsTypes.h.inc",
1759 ["-gen-typedef-defs"],
1760 "include/mlir/Dialect/Async/IR/AsyncOpsTypes.cpp.inc",
1763 tblgen = ":mlir-tblgen",
1764 td_file = "include/mlir/Dialect/Async/IR/AsyncOps.td",
1765 deps = [":AsyncOpsTdFiles"],
1769 name = "AsyncPassIncGen",
1776 "include/mlir/Dialect/Async/Passes.h.inc",
1780 "-gen-pass-capi-header",
1783 "include/mlir/Dialect/Async/Passes.capi.h.inc",
1787 "-gen-pass-capi-impl",
1790 "include/mlir/Dialect/Async/Passes.capi.cpp.inc",
1793 tblgen = ":mlir-tblgen",
1794 td_file = "include/mlir/Dialect/Async/Passes.td",
1795 deps = [":PassBaseTdFiles"],
1798 ##---------------------------------------------------------------------------##
1800 ##---------------------------------------------------------------------------##
1803 name = "ArmNeonTdFiles",
1804 srcs = ["include/mlir/Dialect/ArmNeon/ArmNeon.td"],
1805 includes = ["include"],
1809 ":SideEffectInterfacesTdFiles",
1814 name = "ArmNeonIncGen",
1818 "-gen-dialect-decls",
1819 "-dialect=arm_neon",
1821 "include/mlir/Dialect/ArmNeon/ArmNeonDialect.h.inc",
1825 "-gen-dialect-defs",
1826 "-dialect=arm_neon",
1828 "include/mlir/Dialect/ArmNeon/ArmNeonDialect.cpp.inc",
1832 "include/mlir/Dialect/ArmNeon/ArmNeon.h.inc",
1836 "include/mlir/Dialect/ArmNeon/ArmNeon.cpp.inc",
1840 "g3doc/Dialects/ArmNeon/ArmNeon.md",
1843 tblgen = ":mlir-tblgen",
1844 td_file = "include/mlir/Dialect/ArmNeon/ArmNeon.td",
1845 deps = [":ArmNeonTdFiles"],
1849 name = "ArmNeonDialect",
1850 srcs = ["lib/Dialect/ArmNeon/IR/ArmNeonDialect.cpp"],
1851 hdrs = ["include/mlir/Dialect/ArmNeon/ArmNeonDialect.h"],
1852 includes = ["include"],
1855 ":BytecodeOpInterface",
1857 ":SideEffectInterfaces",
1863 name = "ArmNeonTransforms",
1864 srcs = glob(["lib/Dialect/ArmNeon/Transforms/*.cpp"]),
1865 hdrs = ["include/mlir/Dialect/ArmNeon/Transforms.h"],
1866 includes = ["include"],
1881 name = "ArmNeonConversionIncGen",
1884 ["-gen-llvmir-conversions"],
1885 "include/mlir/Dialect/ArmNeon/ArmNeonConversions.inc",
1888 tblgen = ":mlir-tblgen",
1889 td_file = "include/mlir/Dialect/ArmNeon/ArmNeon.td",
1890 deps = [":ArmNeonTdFiles"],
1894 name = "ArmNeon2dToIntr",
1896 "lib/Conversion/ArmNeon2dToIntr/*.cpp",
1899 "include/mlir/Conversion/ArmNeon2dToIntr/*.h",
1901 includes = ["include"],
1904 ":ConversionPassIncGen",
1912 ##---------------------------------------------------------------------------##
1914 ##---------------------------------------------------------------------------##
1917 name = "ArmSMETdFiles",
1919 "include/mlir/Dialect/ArmSME/IR/ArmSME.td",
1921 includes = ["include"],
1927 ":SideEffectInterfacesTdFiles",
1932 name = "ArmSMETransformsPassIncGen",
1939 "include/mlir/Dialect/ArmSME/Transforms/Passes.h.inc",
1942 ["-gen-enum-decls"],
1943 "include/mlir/Dialect/ArmSME/Transforms/PassesEnums.h.inc",
1947 "include/mlir/Dialect/ArmSME/Transforms/PassesEnums.cpp.inc",
1950 tblgen = ":mlir-tblgen",
1951 td_file = "include/mlir/Dialect/ArmSME/Transforms/Passes.td",
1959 name = "ArmSMEIncGen",
1963 "include/mlir/Dialect/ArmSME/IR/ArmSME.h.inc",
1967 "include/mlir/Dialect/ArmSME/IR/ArmSME.cpp.inc",
1970 ["-gen-typedef-decls"],
1971 "include/mlir/Dialect/ArmSME/IR/ArmSMETypes.h.inc",
1974 ["-gen-typedef-defs"],
1975 "include/mlir/Dialect/ArmSME/IR/ArmSMETypes.cpp.inc",
1979 "-gen-dialect-decls",
1982 "include/mlir/Dialect/ArmSME/IR/ArmSMEDialect.h.inc",
1986 "-gen-dialect-defs",
1989 "include/mlir/Dialect/ArmSME/IR/ArmSMEDialect.cpp.inc",
1992 tblgen = ":mlir-tblgen",
1993 td_file = "include/mlir/Dialect/ArmSME/IR/ArmSME.td",
1994 deps = [":ArmSMETdFiles"],
1998 name = "ArmSMEOpsIncGen",
2002 "include/mlir/Dialect/ArmSME/IR/ArmSMEOps.h.inc",
2006 "include/mlir/Dialect/ArmSME/IR/ArmSMEOps.cpp.inc",
2009 ["-gen-enum-decls"],
2010 "include/mlir/Dialect/ArmSME/IR/ArmSMEEnums.h.inc",
2014 "include/mlir/Dialect/ArmSME/IR/ArmSMEEnums.cpp.inc",
2018 "-gen-attrdef-decls",
2019 "-attrdefs-dialect=arm_sme",
2021 "include/mlir/Dialect/ArmSME/IR/ArmSMEAttrDefs.h.inc",
2025 "-gen-attrdef-defs",
2026 "-attrdefs-dialect=arm_sme",
2028 "include/mlir/Dialect/ArmSME/IR/ArmSMEAttrDefs.cpp.inc",
2031 tblgen = ":mlir-tblgen",
2032 td_file = "include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td",
2033 deps = [":ArmSMETdFiles"],
2037 name = "ArmSMEConversionIncGen",
2040 ["-gen-llvmir-conversions"],
2041 "include/mlir/Dialect/ArmSME/IR/ArmSMEOpsConversions.inc",
2044 tblgen = ":mlir-tblgen",
2045 td_file = "include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td",
2046 deps = [":ArmSMETdFiles"],
2050 name = "ArmSMEOpInterfacesIncGen",
2053 ["-gen-op-interface-decls"],
2054 "include/mlir/Dialect/ArmSME/IR/ArmSMEOpInterfaces.h.inc",
2057 ["-gen-op-interface-defs"],
2058 "include/mlir/Dialect/ArmSME/IR/ArmSMEOpInterfaces.cpp.inc",
2061 tblgen = ":mlir-tblgen",
2062 td_file = "include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td",
2063 deps = [":ArmSMETdFiles"],
2067 name = "ArmSMEOpInterfaces",
2069 "include/mlir/Dialect/ArmSME/IR/ArmSMEOpInterfaces.h",
2071 includes = ["include"],
2073 ":ArmSMEOpInterfacesIncGen",
2082 name = "ArmSMEIntrinsicOpsIncGen",
2086 "include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicOps.h.inc",
2090 "include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicOps.cpp.inc",
2093 ["-gen-llvmir-conversions"],
2094 "include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicConversions.inc",
2097 tblgen = ":mlir-tblgen",
2098 td_file = "include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicOps.td",
2099 deps = [":ArmSMETdFiles"],
2103 name = "ArmSMEEnums",
2105 "include/mlir/Dialect/ArmSME/IR/ArmSMEEnums.h",
2115 name = "ArmSMEDialect",
2116 srcs = glob(["lib/Dialect/ArmSME/IR/*.cpp"]),
2118 "include/mlir/Dialect/ArmSME/IR/ArmSME.h",
2119 "include/mlir/Dialect/ArmSME/Utils/Utils.h",
2121 includes = ["include"],
2125 ":ArmSMEIntrinsicOpsIncGen",
2126 ":ArmSMEOpInterfaces",
2127 ":ArmSMEOpInterfacesIncGen",
2129 ":BytecodeOpInterface",
2130 ":FunctionInterfaces",
2135 ":SideEffectInterfaces",
2142 name = "ArmSMETransforms",
2143 srcs = glob(["lib/Dialect/ArmSME/Transforms/*.cpp"]),
2144 hdrs = glob(["include/mlir/Dialect/ArmSME/Transforms/*.h"]),
2145 includes = ["include"],
2150 ":ArmSMETransformsPassIncGen",
2151 ":ControlFlowDialect",
2155 ":FunctionInterfaces",
2158 ":LLVMCommonConversion",
2171 name = "ArmSMEToSCF",
2172 srcs = glob(["lib/Conversion/ArmSMEToSCF/*.cpp"]),
2173 hdrs = glob(["include/mlir/Conversion/ArmSMEToSCF/*.h"]),
2174 includes = ["include"],
2178 ":ConversionPassIncGen",
2186 name = "ArmSMEToLLVM",
2187 srcs = glob(["lib/Conversion/ArmSMEToLLVM/*.cpp"]),
2188 hdrs = glob(["include/mlir/Conversion/ArmSMEToLLVM/*.h"]),
2189 includes = ["include"],
2193 ":ArmSMETransforms",
2194 ":ControlFlowDialect",
2195 ":ConversionPassIncGen",
2197 ":FunctionInterfaces",
2198 ":LLVMCommonConversion",
2208 ##---------------------------------------------------------------------------##
2210 ##---------------------------------------------------------------------------##
2213 name = "ArmSVETdFiles",
2215 "include/mlir/Dialect/ArmSVE/IR/ArmSVE.td",
2217 includes = ["include"],
2223 ":SideEffectInterfacesTdFiles",
2228 name = "ArmSVEIncGen",
2232 "include/mlir/Dialect/ArmSVE/IR/ArmSVE.h.inc",
2236 "include/mlir/Dialect/ArmSVE/IR/ArmSVE.cpp.inc",
2239 ["-gen-typedef-decls"],
2240 "include/mlir/Dialect/ArmSVE/IR/ArmSVETypes.h.inc",
2243 ["-gen-typedef-defs"],
2244 "include/mlir/Dialect/ArmSVE/IR/ArmSVETypes.cpp.inc",
2248 "-gen-dialect-decls",
2251 "include/mlir/Dialect/ArmSVE/IR/ArmSVEDialect.h.inc",
2255 "-gen-dialect-defs",
2258 "include/mlir/Dialect/ArmSVE/IR/ArmSVEDialect.cpp.inc",
2261 tblgen = ":mlir-tblgen",
2262 td_file = "include/mlir/Dialect/ArmSVE/IR/ArmSVE.td",
2263 deps = [":ArmSVETdFiles"],
2267 name = "ArmSVEDialect",
2268 srcs = ["lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp"],
2269 hdrs = ["include/mlir/Dialect/ArmSVE/IR/ArmSVEDialect.h"],
2270 includes = ["include"],
2273 ":BytecodeOpInterface",
2276 ":SideEffectInterfaces",
2283 name = "ArmSVEPassIncGen",
2290 "include/mlir/Dialect/ArmSVE/Transforms/Passes.h.inc",
2293 tblgen = ":mlir-tblgen",
2294 td_file = "include/mlir/Dialect/ArmSVE/Transforms/Passes.td",
2295 deps = [":PassBaseTdFiles"],
2299 name = "ArmSVETransforms",
2300 srcs = glob(["lib/Dialect/ArmSVE/Transforms/*.cpp"]),
2301 hdrs = glob(["include/mlir/Dialect/ArmSVE/Transforms/*.h"]),
2302 includes = ["include"],
2305 ":ArmSVEPassIncGen",
2309 ":LLVMCommonConversion",
2319 name = "ArmSVEConversionIncGen",
2322 ["-gen-llvmir-conversions"],
2323 "include/mlir/Dialect/ArmSVE/IR/ArmSVEConversions.inc",
2326 tblgen = ":mlir-tblgen",
2327 td_file = "include/mlir/Dialect/ArmSVE/IR/ArmSVE.td",
2328 deps = [":ArmSVETdFiles"],
2331 ##---------------------------------------------------------------------------##
2333 ##---------------------------------------------------------------------------##
2336 name = "AMXTdFiles",
2337 srcs = ["include/mlir/Dialect/AMX/AMX.td"],
2338 includes = ["include"],
2340 ":BuiltinDialectTdFiles",
2342 ":SideEffectInterfacesTdFiles",
2351 "-gen-dialect-decls",
2354 "include/mlir/Dialect/AMX/AMXDialect.h.inc",
2358 "-gen-dialect-defs",
2361 "include/mlir/Dialect/AMX/AMXDialect.cpp.inc",
2365 "-gen-typedef-decls",
2366 "-typedefs-dialect=amx",
2368 "include/mlir/Dialect/AMX/AMXTypes.h.inc",
2372 "-gen-typedef-defs",
2373 "-typedefs-dialect=amx",
2375 "include/mlir/Dialect/AMX/AMXTypes.cpp.inc",
2379 "include/mlir/Dialect/AMX/AMX.h.inc",
2383 "include/mlir/Dialect/AMX/AMX.cpp.inc",
2387 "g3doc/Dialects/AMX/AMX.md",
2390 tblgen = ":mlir-tblgen",
2391 td_file = "include/mlir/Dialect/AMX/AMX.td",
2392 deps = [":AMXTdFiles"],
2396 name = "AMXDialect",
2397 srcs = ["lib/Dialect/AMX/IR/AMXDialect.cpp"],
2398 hdrs = ["include/mlir/Dialect/AMX/AMXDialect.h"],
2399 includes = ["include"],
2402 ":BytecodeOpInterface",
2405 ":SideEffectInterfaces",
2411 name = "AMXTransforms",
2412 srcs = glob(["lib/Dialect/AMX/Transforms/*.cpp"]),
2413 hdrs = ["include/mlir/Dialect/AMX/Transforms.h"],
2414 includes = ["include"],
2417 ":ConvertToLLVMInterface",
2419 ":LLVMCommonConversion",
2425 name = "AMXConversionIncGen",
2428 ["-gen-llvmir-conversions"],
2429 "include/mlir/Dialect/AMX/AMXConversions.inc",
2432 tblgen = ":mlir-tblgen",
2433 td_file = "include/mlir/Dialect/AMX/AMX.td",
2434 deps = [":AMXTdFiles"],
2437 ##---------------------------------------------------------------------------##
2438 # X86Vector dialect.
2439 ##---------------------------------------------------------------------------##
2442 name = "X86VectorTdFiles",
2443 srcs = ["include/mlir/Dialect/X86Vector/X86Vector.td"],
2444 includes = ["include"],
2446 ":InferTypeOpInterfaceTdFiles",
2448 ":SideEffectInterfacesTdFiles",
2453 name = "X86VectorIncGen",
2457 "-gen-dialect-decls",
2458 "-dialect=x86vector",
2460 "include/mlir/Dialect/X86Vector/X86VectorDialect.h.inc",
2464 "-gen-dialect-defs",
2465 "-dialect=x86vector",
2467 "include/mlir/Dialect/X86Vector/X86VectorDialect.cpp.inc",
2471 "include/mlir/Dialect/X86Vector/X86Vector.h.inc",
2475 "include/mlir/Dialect/X86Vector/X86Vector.cpp.inc",
2479 "g3doc/Dialects/X86Vector/X86Vector.md",
2482 tblgen = ":mlir-tblgen",
2483 td_file = "include/mlir/Dialect/X86Vector/X86Vector.td",
2484 deps = [":X86VectorTdFiles"],
2488 name = "X86VectorDialect",
2489 srcs = ["lib/Dialect/X86Vector/IR/X86VectorDialect.cpp"],
2490 hdrs = ["include/mlir/Dialect/X86Vector/X86VectorDialect.h"],
2491 includes = ["include"],
2493 ":BytecodeOpInterface",
2495 ":InferTypeOpInterface",
2497 ":SideEffectInterfaces",
2503 name = "X86VectorTransforms",
2504 srcs = glob(["lib/Dialect/X86Vector/Transforms/*.cpp"]),
2505 hdrs = ["include/mlir/Dialect/X86Vector/Transforms.h"],
2506 includes = ["include"],
2510 ":LLVMCommonConversion",
2514 ":X86VectorDialect",
2520 name = "X86VectorConversionIncGen",
2523 ["-gen-llvmir-conversions"],
2524 "include/mlir/Dialect/X86Vector/X86VectorConversions.inc",
2527 tblgen = ":mlir-tblgen",
2528 td_file = "include/mlir/Dialect/X86Vector/X86Vector.td",
2529 deps = [":X86VectorTdFiles"],
2532 ##---------------------------------------------------------------------------##
2534 ##---------------------------------------------------------------------------##
2537 name = "IRDLTdFiles",
2539 "include/mlir/Dialect/IRDL/IR/IRDL.td",
2540 "include/mlir/Dialect/IRDL/IR/IRDLAttributes.td",
2541 "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.td",
2542 "include/mlir/Dialect/IRDL/IR/IRDLOps.td",
2543 "include/mlir/Dialect/IRDL/IR/IRDLTypes.td",
2545 includes = ["include"],
2547 ":InferTypeOpInterfaceTdFiles",
2549 ":SideEffectInterfacesTdFiles",
2554 name = "IRDLIncGen",
2557 ["-gen-dialect-decls"],
2558 "include/mlir/Dialect/IRDL/IR/IRDLDialect.h.inc",
2561 ["-gen-dialect-defs"],
2562 "include/mlir/Dialect/IRDL/IR/IRDLDialect.cpp.inc",
2566 "include/mlir/Dialect/IRDL/IR/IRDL.h.inc",
2570 "include/mlir/Dialect/IRDL/IR/IRDL.cpp.inc",
2573 ["-gen-typedef-decls"],
2574 "include/mlir/Dialect/IRDL/IR/IRDLTypes.h.inc",
2577 ["-gen-typedef-defs"],
2578 "include/mlir/Dialect/IRDL/IR/IRDLTypes.cpp.inc",
2581 tblgen = ":mlir-tblgen",
2582 td_file = "include/mlir/Dialect/IRDL/IR/IRDLOps.td",
2583 deps = [":IRDLTdFiles"],
2587 name = "IRDLInterfacesIncGen",
2590 ["-gen-op-interface-decls"],
2591 "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.h.inc",
2594 ["-gen-op-interface-defs"],
2595 "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.cpp.inc",
2598 tblgen = ":mlir-tblgen",
2599 td_file = "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.td",
2600 deps = [":IRDLTdFiles"],
2604 name = "IRDLAttributesIncGen",
2607 ["-gen-attrdef-decls"],
2608 "include/mlir/Dialect/IRDL/IR/IRDLAttributes.h.inc",
2611 ["-gen-attrdef-defs"],
2612 "include/mlir/Dialect/IRDL/IR/IRDLAttributes.cpp.inc",
2615 tblgen = ":mlir-tblgen",
2616 td_file = "include/mlir/Dialect/IRDL/IR/IRDLAttributes.td",
2617 deps = [":IRDLTdFiles"],
2621 name = "IRDLEnumsIncGen",
2624 ["-gen-enum-decls"],
2625 "include/mlir/Dialect/IRDL/IR/IRDLEnums.h.inc",
2629 "include/mlir/Dialect/IRDL/IR/IRDLEnums.cpp.inc",
2632 tblgen = ":mlir-tblgen",
2633 td_file = "include/mlir/Dialect/IRDL/IR/IRDLAttributes.td",
2634 deps = [":IRDLTdFiles"],
2638 name = "IRDLOpsIncGen",
2642 "include/mlir/Dialect/IRDL/IR/IRDLOps.h.inc",
2646 "include/mlir/Dialect/IRDL/IR/IRDLOps.cpp.inc",
2649 tblgen = ":mlir-tblgen",
2650 td_file = "include/mlir/Dialect/IRDL/IR/IRDLOps.td",
2651 deps = [":IRDLTdFiles"],
2655 name = "IRDLTypesIncGen",
2658 ["-gen-typedef-decls"],
2659 "include/mlir/Dialect/IRDL/IR/IRDLTypesGen.h.inc",
2662 ["-gen-typedef-defs"],
2663 "include/mlir/Dialect/IRDL/IR/IRDLTypesGen.cpp.inc",
2666 tblgen = ":mlir-tblgen",
2667 td_file = "include/mlir/Dialect/IRDL/IR/IRDLTypes.td",
2668 deps = [":IRDLTdFiles"],
2672 name = "IRDLDialect",
2674 "lib/Dialect/IRDL/IR/IRDL.cpp",
2675 "lib/Dialect/IRDL/IR/IRDLOps.cpp",
2676 "lib/Dialect/IRDL/IRDLLoading.cpp",
2677 "lib/Dialect/IRDL/IRDLSymbols.cpp",
2678 "lib/Dialect/IRDL/IRDLVerifiers.cpp",
2681 "include/mlir/Dialect/IRDL/IR/IRDL.h",
2682 "include/mlir/Dialect/IRDL/IR/IRDLInterfaces.h",
2683 "include/mlir/Dialect/IRDL/IR/IRDLTraits.h",
2684 "include/mlir/Dialect/IRDL/IRDLLoading.h",
2685 "include/mlir/Dialect/IRDL/IRDLSymbols.h",
2686 "include/mlir/Dialect/IRDL/IRDLVerifiers.h",
2688 includes = ["include"],
2690 ":BytecodeOpInterface",
2693 ":IRDLAttributesIncGen",
2696 ":IRDLInterfacesIncGen",
2699 ":InferTypeOpInterface",
2700 ":SideEffectInterfaces",
2707 ##---------------------------------------------------------------------------##
2709 ##---------------------------------------------------------------------------##
2712 name = "SCFTdFiles",
2714 "include/mlir/Dialect/SCF/IR/DeviceMappingInterface.td",
2715 "include/mlir/Dialect/SCF/IR/SCFOps.td",
2717 includes = ["include"],
2719 ":ControlFlowInterfacesTdFiles",
2720 ":DestinationStyleOpInterfaceTdFiles",
2721 ":InferTypeOpInterfaceTdFiles",
2722 ":LoopLikeInterfaceTdFiles",
2723 ":ParallelCombiningOpInterfaceTdFiles",
2724 ":SideEffectInterfacesTdFiles",
2725 ":ViewLikeInterfaceTdFiles",
2734 "include/mlir/Dialect/SCF/IR/SCFOps.h.inc",
2738 "include/mlir/Dialect/SCF/IR/SCFOps.cpp.inc",
2741 ["-gen-dialect-decls"],
2742 "include/mlir/Dialect/SCF/IR/SCFOpsDialect.h.inc",
2745 ["-gen-dialect-defs"],
2746 "include/mlir/Dialect/SCF/IR/SCFOpsDialect.cpp.inc",
2749 tblgen = ":mlir-tblgen",
2750 td_file = "include/mlir/Dialect/SCF/IR/SCFOps.td",
2751 deps = [":SCFTdFiles"],
2755 name = "SCFDeviceMappingInterfacesIncGen",
2758 ["-gen-attr-interface-decls"],
2759 "include/mlir/Dialect/SCF/IR/DeviceMappingAttrInterface.h.inc",
2762 ["-gen-attr-interface-defs"],
2763 "include/mlir/Dialect/SCF/IR/DeviceMappingAttrInterface.cpp.inc",
2766 ["-gen-attrdef-decls"],
2767 "include/mlir/Dialect/SCF/IR/DeviceMappingAttributes.h.inc",
2770 ["-gen-attrdef-defs"],
2771 "include/mlir/Dialect/SCF/IR/DeviceMappingAttributes.cpp.inc",
2774 tblgen = ":mlir-tblgen",
2775 td_file = "include/mlir/Dialect/SCF/IR/DeviceMappingInterface.td",
2776 deps = [":SCFTdFiles"],
2780 name = "SCFPassIncGen",
2787 "include/mlir/Dialect/SCF/Transforms/Passes.h.inc",
2790 tblgen = ":mlir-tblgen",
2791 td_file = "include/mlir/Dialect/SCF/Transforms/Passes.td",
2792 deps = [":PassBaseTdFiles"],
2796 name = "SCFTransforms",
2798 "lib/Dialect/SCF/Transforms/*.cpp",
2801 "include/mlir/Dialect/SCF/Transforms/*.h",
2803 includes = ["include"],
2810 ":BufferizationDialect",
2811 ":BufferizationInterfaces",
2812 ":BufferizationTransforms",
2813 ":DestinationStyleOpInterface",
2817 ":LoopLikeInterface",
2824 ":SideEffectInterfaces",
2827 ":TensorTransforms",
2830 ":ViewLikeInterface",
2836 name = "SCFTransformOpsTdFiles",
2838 "include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td",
2840 includes = ["include"],
2843 ":TransformLoopExtensionTdFiles",
2848 name = "SCFTransformOpsIncGen",
2852 "include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.h.inc",
2856 "include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.cpp.inc",
2859 tblgen = ":mlir-tblgen",
2860 td_file = "include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td",
2862 ":SCFTransformOpsTdFiles",
2867 name = "SCFTransformOps",
2868 srcs = glob(["lib/Dialect/SCF/TransformOps/*.cpp"]),
2869 hdrs = glob(["include/mlir/Dialect/SCF/TransformOps/*.h"]),
2870 includes = ["include"],
2876 ":BytecodeOpInterface",
2880 ":LoopLikeInterface",
2882 ":SCFToControlFlow",
2883 ":SCFTransformOpsIncGen",
2886 ":TransformDialect",
2887 ":TransformDialectInterfaces",
2892 ##---------------------------------------------------------------------------##
2893 # SparseTensor dialect.
2894 ##---------------------------------------------------------------------------##
2897 name = "SparseTensorTdFiles",
2899 "include/mlir/Dialect/SparseTensor/IR/*.td",
2901 includes = ["include"],
2903 ":ControlFlowInterfacesTdFiles",
2904 ":InferTypeOpInterfaceTdFiles",
2905 ":LoopLikeInterfaceTdFiles",
2907 ":SideEffectInterfacesTdFiles",
2912 name = "SparseTensorAttrDefsIncGen",
2915 ["--gen-attrdef-decls"],
2916 "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.h.inc",
2919 ["--gen-attrdef-defs"],
2920 "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.cpp.inc",
2923 ["--gen-enum-decls"],
2924 "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrEnums.h.inc",
2927 ["--gen-enum-defs"],
2928 "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrEnums.cpp.inc",
2931 tblgen = ":mlir-tblgen",
2932 td_file = "include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td",
2933 deps = [":SparseTensorTdFiles"],
2937 name = "SparseTensorOpsIncGen",
2941 "-gen-dialect-decls",
2942 "-dialect=sparse_tensor",
2944 "include/mlir/Dialect/SparseTensor/IR/SparseTensorOpsDialect.h.inc",
2948 "-gen-dialect-defs",
2949 "-dialect=sparse_tensor",
2951 "include/mlir/Dialect/SparseTensor/IR/SparseTensorOpsDialect.cpp.inc",
2955 "include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.h.inc",
2959 "include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.cpp.inc",
2963 "g3doc/Dialects/SparseTensor/SparseTensor.md",
2966 tblgen = ":mlir-tblgen",
2967 td_file = "include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td",
2968 deps = [":SparseTensorTdFiles"],
2972 name = "SparseTensorTypesIncGen",
2975 ["--gen-typedef-decls"],
2976 "include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.h.inc",
2979 ["--gen-typedef-defs"],
2980 "include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.cpp.inc",
2983 tblgen = ":mlir-tblgen",
2984 td_file = "include/mlir/Dialect/SparseTensor/IR/SparseTensorTypes.td",
2985 deps = [":SparseTensorTdFiles"],
2989 name = "SparseTensorPassIncGen",
2994 "-name=SparseTensor",
2996 "include/mlir/Dialect/SparseTensor/Transforms/Passes.h.inc",
3000 "-gen-pass-capi-header",
3001 "--prefix=SparseTensor",
3003 "include/mlir/Dialect/SparseTensor/Transforms/Passes.capi.h.inc",
3007 "-gen-pass-capi-impl",
3008 "--prefix=SparseTensor",
3010 "include/mlir/Dialect/SparseTensor/Transforms/Passes.capi.cpp.inc",
3013 tblgen = ":mlir-tblgen",
3014 td_file = "include/mlir/Dialect/SparseTensor/Transforms/Passes.td",
3015 deps = [":PassBaseTdFiles"],
3019 name = "SparseTensorInterfacesIncGen",
3022 ["-gen-op-interface-decls"],
3023 "include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.h.inc",
3026 ["-gen-op-interface-defs"],
3027 "include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.cpp.inc",
3030 tblgen = ":mlir-tblgen",
3031 td_file = "include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.td",
3032 deps = [":SparseTensorTdFiles"],
3036 name = "SparseTensorTransformOpsTdFiles",
3038 "include/mlir/Dialect/SparseTensor/TransformOps/*.td",
3040 includes = ["include"],
3042 ":TransformDialectTdFiles",
3047 name = "SparseTensorTransformOpsIncGen",
3051 "include/mlir/Dialect/SparseTensor/TransformOps/SparseTensorTransformOps.h.inc",
3055 "include/mlir/Dialect/SparseTensor/TransformOps/SparseTensorTransformOps.cpp.inc",
3058 tblgen = ":mlir-tblgen",
3059 td_file = "include/mlir/Dialect/SparseTensor/TransformOps/SparseTensorTransformOps.td",
3061 ":SparseTensorTransformOpsTdFiles",
3065 # This library is shared by both SparseTensorDialect and
3066 # SparseTensorRuntime, so it must not depend on any of the MLIR/LLVM
3067 # internals or else mlir_c_runner_utils will inherit that dependency.
3069 name = "SparseTensorEnums",
3070 hdrs = ["include/mlir/Dialect/SparseTensor/IR/Enums.h"],
3071 includes = ["include"],
3075 name = "SparseTensorDialect",
3077 "lib/Dialect/SparseTensor/IR/*.cpp",
3078 "lib/Dialect/SparseTensor/IR/Detail/*.cpp",
3079 "lib/Dialect/SparseTensor/IR/Detail/*.h",
3082 "include/mlir/Dialect/SparseTensor/IR/SparseTensor.h",
3083 "include/mlir/Dialect/SparseTensor/IR/SparseTensorInterfaces.h",
3084 "include/mlir/Dialect/SparseTensor/IR/SparseTensorStorageLayout.h",
3085 "include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h",
3087 includes = ["include"],
3090 ":BufferizationInterfaces",
3091 ":BytecodeOpInterface",
3093 ":ControlFlowInterfaces",
3096 ":InferTypeOpInterface",
3097 ":LoopLikeInterface",
3098 ":SideEffectInterfaces",
3099 ":SparseTensorAttrDefsIncGen",
3100 ":SparseTensorEnums",
3101 ":SparseTensorInterfacesIncGen",
3102 ":SparseTensorOpsIncGen",
3103 ":SparseTensorTypesIncGen",
3109 name = "SparseTensorTransformOps",
3111 "lib/Dialect/SparseTensor/TransformOps/*.cpp",
3114 "include/mlir/Dialect/SparseTensor/TransformOps/*.h",
3116 includes = ["include"],
3119 ":LinalgTransformOps",
3120 ":SparseTensorDialect",
3121 ":SparseTensorTransformOpsIncGen",
3122 ":TransformDialect",
3123 ":TransformDialectInterfaces",
3128 name = "SparseTensorUtils",
3130 "lib/Dialect/SparseTensor/Utils/*.cpp",
3133 "include/mlir/Dialect/SparseTensor/Utils/*.h",
3135 includes = ["include"],
3142 ":SparseTensorDialect",
3143 ":SparseTensorEnums",
3149 name = "SparseTensorTransforms",
3151 "lib/Dialect/SparseTensor/Transforms/*.cpp",
3152 "lib/Dialect/SparseTensor/Transforms/Utils/*.cpp",
3153 "lib/Dialect/SparseTensor/Transforms/Utils/*.h",
3156 "include/mlir/Dialect/SparseTensor/Transforms/BufferizableOpInterfaceImpl.h",
3157 "include/mlir/Dialect/SparseTensor/Transforms/Passes.h",
3159 includes = ["include"],
3164 ":BufferizationDialect",
3165 ":BufferizationInterfaces",
3166 ":BufferizationTransforms",
3173 ":LLVMCommonConversion",
3176 ":LinalgTransforms",
3183 ":SparseTensorDialect",
3184 ":SparseTensorEnums",
3185 ":SparseTensorPassIncGen",
3186 ":SparseTensorUtils",
3192 ":VectorTransforms",
3198 name = "SparseTensorPipelines",
3200 "lib/Dialect/SparseTensor/Pipelines/*.cpp",
3203 "include/mlir/Dialect/SparseTensor/Pipelines/Passes.h",
3205 includes = ["include"],
3206 local_defines = if_cuda_available(["MLIR_GPU_TO_CUBIN_PASS_ENABLE"]),
3209 ":BufferizationTransforms",
3210 ":ConversionPasses",
3213 ":GPUToNVVMTransforms",
3215 ":LinalgTransforms",
3216 ":MemRefTransforms",
3219 ":SparseTensorDialect",
3220 ":SparseTensorTransforms",
3226 ##---------------------------------------------------------------------------##
3228 ##---------------------------------------------------------------------------##
3231 name = "MeshTdFiles",
3233 "include/mlir/Dialect/Mesh/IR/MeshBase.td",
3234 "include/mlir/Dialect/Mesh/IR/MeshOps.td",
3236 includes = ["include"],
3238 ":BuiltinDialectTdFiles",
3239 ":DestinationStyleOpInterfaceTdFiles",
3240 ":InferTypeOpInterfaceTdFiles",
3241 ":SideEffectInterfacesTdFiles",
3246 name = "MeshIncGen",
3253 "include/mlir/Dialect/Mesh/IR/MeshOps.h.inc",
3260 "include/mlir/Dialect/Mesh/IR/MeshOps.cpp.inc",
3264 "-gen-dialect-decls",
3267 "include/mlir/Dialect/Mesh/IR/MeshDialect.h.inc",
3271 "-gen-dialect-defs",
3274 "include/mlir/Dialect/Mesh/IR/MeshDialect.cpp.inc",
3281 "include/mlir/Dialect/Mesh/IR/MeshEnums.h.inc",
3288 "include/mlir/Dialect/Mesh/IR/MeshEnums.cpp.inc",
3292 "-gen-attrdef-decls",
3295 "include/mlir/Dialect/Mesh/IR/MeshAttributes.h.inc",
3299 "-gen-attrdef-defs",
3302 "include/mlir/Dialect/Mesh/IR/MeshAttributes.cpp.inc",
3306 "-gen-typedef-decls",
3307 "-typedefs-dialect=mesh",
3309 "include/mlir/Dialect/Mesh/IR/MeshTypes.h.inc",
3313 "-gen-typedef-defs",
3314 "-typedefs-dialect=mesh",
3316 "include/mlir/Dialect/Mesh/IR/MeshTypes.cpp.inc",
3319 tblgen = ":mlir-tblgen",
3320 td_file = "include/mlir/Dialect/Mesh/IR/MeshOps.td",
3328 name = "MeshShardingInterfaceIncGen",
3331 ["-gen-op-interface-decls"],
3332 "include/mlir/Dialect/Mesh/Interfaces/ShardingInterface.h.inc",
3335 ["-gen-op-interface-defs"],
3336 "include/mlir/Dialect/Mesh/Interfaces/ShardingInterface.cpp.inc",
3339 tblgen = ":mlir-tblgen",
3340 td_file = "include/mlir/Dialect/Mesh/Interfaces/ShardingInterface.td",
3341 deps = [":OpBaseTdFiles"],
3345 name = "MeshShardingInterface",
3346 srcs = ["lib/Dialect/Mesh/Interfaces/ShardingInterface.cpp"],
3348 "include/mlir/Dialect/Mesh/Interfaces/ShardingInterface.h",
3349 "include/mlir/Dialect/Mesh/Interfaces/ShardingInterfaceImpl.h",
3351 includes = ["include"],
3356 ":MeshShardingInterfaceIncGen",
3364 name = "MeshDialect",
3365 srcs = ["lib/Dialect/Mesh/IR/MeshOps.cpp"],
3367 "include/mlir/Dialect/Mesh/IR/MeshDialect.h",
3368 "include/mlir/Dialect/Mesh/IR/MeshOps.h",
3370 includes = ["include"],
3373 ":BytecodeOpInterface",
3374 ":DestinationStyleOpInterface",
3377 ":InferTypeOpInterface",
3380 ":SideEffectInterfaces",
3382 ":ViewLikeInterface",
3388 name = "MeshTransformsPassIncGen",
3395 "include/mlir/Dialect/Mesh/Transforms/Passes.h.inc",
3398 tblgen = ":mlir-tblgen",
3399 td_file = "include/mlir/Dialect/Mesh/Transforms/Passes.td",
3400 deps = [":PassBaseTdFiles"],
3404 name = "MeshTransforms",
3406 "lib/Dialect/Mesh/Transforms/*.cpp",
3407 "lib/Dialect/Mesh/Transforms/*.h",
3409 hdrs = glob(["include/mlir/Dialect/Mesh/Transforms/*.h"]),
3410 includes = ["include"],
3416 ":ControlFlowDialect",
3417 ":ControlFlowInterfaces",
3420 ":FunctionInterfaces",
3423 ":MeshShardingInterface",
3424 ":MeshTransformsPassIncGen",
3433 ##---------------------------------------------------------------------------##
3435 ##---------------------------------------------------------------------------##
3438 name = "NVGPUTdFiles",
3439 srcs = ["include/mlir/Dialect/NVGPU/IR/NVGPU.td"],
3440 includes = ["include"],
3442 ":InferTypeOpInterfaceTdFiles",
3443 ":SideEffectInterfacesTdFiles",
3448 name = "NVGPUIncGen",
3452 "-gen-dialect-decls",
3455 "include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h.inc",
3459 "-gen-dialect-defs",
3462 "include/mlir/Dialect/NVGPU/IR/NVGPUDialect.cpp.inc",
3466 "include/mlir/Dialect/NVGPU/IR/NVGPU.h.inc",
3470 "include/mlir/Dialect/NVGPU/IR/NVGPU.cpp.inc",
3474 "g3doc/Dialects/NVGPU/NVGPU.md",
3477 ["-gen-typedef-decls"],
3478 "include/mlir/Dialect/NVGPU/IR/NVGPUTypes.h.inc",
3481 ["-gen-typedef-defs"],
3482 "include/mlir/Dialect/NVGPU/IR/NVGPUTypes.cpp.inc",
3485 ["-gen-enum-decls"],
3486 "include/mlir/Dialect/NVGPU/IR/NVGPUEnums.h.inc",
3490 "include/mlir/Dialect/NVGPU/IR/NVGPUEnums.cpp.inc",
3493 ["-gen-attrdef-decls"],
3494 "include/mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.h.inc",
3497 ["-gen-attrdef-defs"],
3498 "include/mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.cpp.inc",
3501 tblgen = ":mlir-tblgen",
3502 td_file = "include/mlir/Dialect/NVGPU/IR/NVGPU.td",
3503 deps = [":NVGPUTdFiles"],
3507 name = "NVGPUPassIncGen",
3514 "include/mlir/Dialect/NVGPU/Transforms/Passes.h.inc",
3517 tblgen = ":mlir-tblgen",
3518 td_file = "include/mlir/Dialect/NVGPU/Transforms/Passes.td",
3519 deps = [":PassBaseTdFiles"],
3523 name = "NVGPUDialect",
3524 srcs = ["lib/Dialect/NVGPU/IR/NVGPUDialect.cpp"],
3525 hdrs = ["include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h"],
3526 includes = ["include"],
3528 ":BytecodeOpInterface",
3531 ":InferTypeOpInterface",
3534 ":SideEffectInterfaces",
3540 name = "NVGPUTransformOps",
3542 "lib/Dialect/NVGPU/TransformOps/*.cpp",
3545 "include/mlir/Dialect/NVGPU/TransformOps/*.h",
3547 includes = ["include"],
3555 ":GPUToGPURuntimeTransforms",
3557 ":LLVMCommonConversion",
3562 ":NVGPUTransformOpsIncGen",
3567 ":TransformDialect",
3568 ":TransformDialectInterfaces",
3575 name = "NVGPUTransformOpsTdFiles",
3577 "include/mlir/Dialect/NVGPU/TransformOps/*.td",
3579 includes = ["include"],
3581 ":TransformDialectTdFiles",
3586 name = "NVGPUTransformOpsIncGen",
3590 "include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.h.inc",
3594 "include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp.inc",
3597 tblgen = ":mlir-tblgen",
3598 td_file = "include/mlir/Dialect/NVGPU/TransformOps/NVGPUTransformOps.td",
3600 ":NVGPUTransformOpsTdFiles",
3605 name = "NVGPUUtils",
3606 srcs = ["lib/Dialect/NVGPU/Utils/MMAUtils.cpp"],
3607 hdrs = ["include/mlir/Dialect/NVGPU/Utils/MMAUtils.h"],
3608 includes = ["include"],
3620 name = "NVGPUTransforms",
3622 "lib/Dialect/NVGPU/Transforms/*.cpp",
3625 "include/mlir/Dialect/NVGPU/Transforms/*.h",
3627 includes = ["include"],
3636 ":SideEffectInterfaces",
3643 ##---------------------------------------------------------------------------##
3645 ##---------------------------------------------------------------------------##
3648 name = "XeGPUTdFiles",
3649 srcs = glob(["include/mlir/Dialect/XeGPU/IR/*.td"]),
3650 includes = ["include"],
3652 ":BuiltinDialectTdFiles",
3654 ":ShapedOpInterfacesTdFiles",
3655 ":ViewLikeInterfaceTdFiles",
3660 name = "XeGPUIncGen",
3664 "-gen-dialect-decls",
3667 "include/mlir/Dialect/XeGPU/IR/XeGPUDialect.h.inc",
3671 "-gen-dialect-defs",
3674 "include/mlir/Dialect/XeGPU/IR/XeGPUDialect.cpp.inc",
3678 "include/mlir/Dialect/XeGPU/IR/XeGPU.h.inc",
3682 "include/mlir/Dialect/XeGPU/IR/XeGPU.cpp.inc",
3686 "g3doc/Dialects/XeGPU/XeGPU.md",
3690 "-gen-typedef-decls",
3691 "-typedefs-dialect=xegpu",
3693 "include/mlir/Dialect/XeGPU/IR/XeGPUTypes.h.inc",
3697 "-gen-typedef-defs",
3698 "-typedefs-dialect=xegpu",
3700 "include/mlir/Dialect/XeGPU/IR/XeGPUTypes.cpp.inc",
3704 "-gen-attrdef-decls",
3705 "-attrdefs-dialect=xegpu",
3707 "include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.h.inc",
3711 "-gen-attrdef-defs",
3712 "-attrdefs-dialect=xegpu",
3714 "include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.cpp.inc",
3717 tblgen = ":mlir-tblgen",
3718 td_file = "include/mlir/Dialect/XeGPU/IR/XeGPU.td",
3726 name = "XeGPUAttrTdFiles",
3728 "include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td",
3729 "include/mlir/Dialect/XeGPU/IR/XeGPUDialect.td",
3731 includes = ["include"],
3733 ":BuiltinDialectTdFiles",
3735 ":ShapedOpInterfacesTdFiles",
3736 ":ViewLikeInterfaceTdFiles",
3740 # Separated from the XeGPUIncGen target because the enum declaration causes
3741 # duplicate declarations with the Arith enums.
3743 name = "XeGPUEnumsIncGen",
3746 ["-gen-enum-decls"],
3747 "include/mlir/Dialect/XeGPU/IR/XeGPUEnums.h.inc",
3751 "include/mlir/Dialect/XeGPU/IR/XeGPUEnums.cpp.inc",
3754 tblgen = ":mlir-tblgen",
3755 td_file = "include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td",
3756 deps = [":XeGPUAttrTdFiles"],
3760 name = "XeGPUDialect",
3762 "lib/Dialect/XeGPU/IR/XeGPUDialect.cpp",
3763 "lib/Dialect/XeGPU/IR/XeGPUOps.cpp",
3765 hdrs = ["include/mlir/Dialect/XeGPU/IR/XeGPU.h"],
3766 includes = ["include"],
3770 ":BytecodeOpInterface",
3773 ":MaskableOpInterface",
3774 ":ShapedOpInterfaces",
3775 ":SideEffectInterfaces",
3777 ":ViewLikeInterface",
3778 ":XeGPUEnumsIncGen",
3785 name = "XeGPUPassIncGen",
3792 "include/mlir/Dialect/XeGPU/Transforms/Passes.h.inc",
3795 tblgen = ":mlir-tblgen",
3796 td_file = "include/mlir/Dialect/XeGPU/Transforms/Passes.td",
3797 deps = [":PassBaseTdFiles"],
3801 name = "XeGPUTransforms",
3803 "lib/Dialect/XeGPU/Transforms/*.cpp",
3806 "include/mlir/Dialect/XeGPU/Transforms/*.h",
3808 includes = ["include"],
3814 ":SideEffectInterfaces",
3824 name = "FuncTdFiles",
3826 "include/mlir/Dialect/Func/IR/FuncOps.td",
3828 includes = ["include"],
3831 ":CallInterfacesTdFiles",
3832 ":CastInterfacesTdFiles",
3833 ":ControlFlowInterfacesTdFiles",
3834 ":FunctionInterfacesTdFiles",
3835 ":InferTypeOpInterfaceTdFiles",
3837 ":SideEffectInterfacesTdFiles",
3838 ":VectorInterfacesTdFiles",
3843 name = "FuncIncGen",
3847 "include/mlir/Dialect/Func/IR/FuncOps.h.inc",
3851 "include/mlir/Dialect/Func/IR/FuncOps.cpp.inc",
3854 ["-gen-dialect-decls"],
3855 "include/mlir/Dialect/Func/IR/FuncOpsDialect.h.inc",
3858 ["-gen-dialect-defs"],
3859 "include/mlir/Dialect/Func/IR/FuncOpsDialect.cpp.inc",
3862 ["-gen-enum-decls"],
3863 "include/mlir/Dialect/Func/IR/FuncOpsEnums.h.inc",
3867 "include/mlir/Dialect/Func/IR/FuncOpsEnums.cpp.inc",
3870 tblgen = ":mlir-tblgen",
3871 td_file = "include/mlir/Dialect/Func/IR/FuncOps.td",
3872 deps = [":FuncTdFiles"],
3878 "lib/Dialect/*.cpp",
3881 include = ["include/mlir/Dialect/*.h"],
3882 exclude = ["include/mlir/Dialect/CommonFolders.h"],
3884 includes = ["include"],
3892 name = "DialectUtilsTdFiles",
3894 "include/mlir/Dialect/Utils/StructuredOpsUtils.td",
3896 includes = ["include"],
3897 deps = [":OpBaseTdFiles"],
3901 name = "DialectUtilsIncGen",
3904 ["-gen-enum-decls"],
3905 "include/mlir/Dialect/Utils/DialectUtilsEnums.h.inc",
3909 "include/mlir/Dialect/Utils/DialectUtilsEnums.cpp.inc",
3912 tblgen = ":mlir-tblgen",
3913 td_file = "include/mlir/Dialect/Utils/StructuredOpsUtils.td",
3914 deps = [":DialectUtilsTdFiles"],
3918 name = "DialectUtils",
3920 "lib/Dialect/Utils/*.cpp",
3923 "include/mlir/Dialect/Utils/*.h",
3925 includes = ["include"],
3927 ":DialectUtilsIncGen",
3935 name = "AffineDialect",
3937 "lib/Dialect/Affine/IR/*.cpp",
3940 "include/mlir/Dialect/Affine/IR/*.h",
3942 includes = ["include"],
3944 ":AffineMemoryOpInterfacesIncGen",
3947 ":ControlFlowInterfaces",
3951 ":LoopLikeInterface",
3953 ":ShapedOpInterfaces",
3956 ":ValueBoundsOpInterface",
3962 name = "EmitCDialect",
3964 "lib/Dialect/EmitC/IR/*.cpp",
3967 "include/mlir/Dialect/EmitC/IR/*.h",
3969 includes = ["include"],
3971 ":BytecodeOpInterface",
3973 ":ControlFlowInterfaces",
3974 ":EmitCAttributesIncGen",
3976 ":FunctionInterfaces",
3978 ":SideEffectInterfaces",
3984 name = "EmitCTransforms",
3986 "lib/Dialect/EmitC/Transforms/*.cpp",
3989 "include/mlir/Dialect/EmitC/Transforms/*.h",
3991 includes = ["include"],
4003 name = "AsyncDialect",
4005 "lib/Dialect/Async/IR/*.cpp",
4008 "include/mlir/Dialect/Async/IR/*.h",
4010 includes = ["include"],
4013 ":BytecodeOpInterface",
4014 ":CallOpInterfaces",
4015 ":ControlFlowInterfaces",
4016 ":FunctionInterfaces",
4018 ":InferTypeOpInterface",
4019 ":SideEffectInterfaces",
4025 name = "AsyncTransforms",
4027 "lib/Dialect/Async/Transforms/*.cpp",
4028 "lib/Dialect/Async/Transforms/*.h",
4031 "include/mlir/Dialect/Async/Passes.h",
4032 "include/mlir/Dialect/Async/Transforms.h",
4034 includes = ["include"],
4040 ":ControlFlowDialect",
4045 ":SCFToControlFlow",
4053 name = "AffineAnalysis",
4055 "lib/Dialect/Affine/Analysis/*.cpp",
4057 hdrs = glob(["include/mlir/Dialect/Affine/Analysis/*.h"]),
4058 includes = ["include"],
4063 ":CallOpInterfaces",
4066 ":SideEffectInterfaces",
4068 ":ViewLikeInterface",
4074 name = "AffineUtils",
4077 "lib/Dialect/Affine/Utils/*.cpp",
4081 "include/mlir/Dialect/Affine/LoopFusionUtils.h",
4082 "include/mlir/Dialect/Affine/LoopUtils.h",
4083 "include/mlir/Dialect/Affine/Utils.h",
4084 "include/mlir/Dialect/Affine/ViewLikeInterfaceUtils.h",
4086 includes = ["include"],
4099 ":ViewLikeInterface",
4105 name = "AffinePassIncGen",
4112 "include/mlir/Dialect/Affine/Passes.h.inc",
4115 tblgen = ":mlir-tblgen",
4116 td_file = "include/mlir/Dialect/Affine/Passes.td",
4117 deps = [":PassBaseTdFiles"],
4121 name = "AffineTransforms",
4123 "lib/Dialect/Affine/Transforms/*.cpp",
4126 "include/mlir/Dialect/Affine/Passes.h",
4127 "include/mlir/Dialect/Affine/Transforms/Transforms.h",
4129 includes = ["include"],
4133 ":AffinePassIncGen",
4144 ":SideEffectInterfaces",
4149 ":ValueBoundsOpInterface",
4157 name = "ConversionPassIncGen",
4164 "include/mlir/Conversion/Passes.h.inc",
4168 "-gen-pass-capi-header",
4169 "--prefix=Conversion",
4171 "include/mlir/Conversion/Passes.capi.h.inc",
4175 "-gen-pass-capi-impl",
4176 "--prefix=Conversion",
4178 "include/mlir/Conversion/Passes.capi.cpp.inc",
4181 tblgen = ":mlir-tblgen",
4182 td_file = "include/mlir/Conversion/Passes.td",
4183 deps = [":PassBaseTdFiles"],
4187 name = "ConversionPasses",
4188 hdrs = ["include/mlir/Conversion/Passes.h"],
4189 includes = ["include"],
4192 ":AffineToStandard",
4202 ":BufferizationToMemRef",
4206 ":ComplexToStandard",
4207 ":ControlFlowToLLVM",
4208 ":ControlFlowToSCF",
4209 ":ControlFlowToSPIRV",
4210 ":ConversionPassIncGen",
4216 ":GPUToGPURuntimeTransforms",
4217 ":GPUToLLVMSPVTransforms",
4218 ":GPUToNVVMTransforms",
4219 ":GPUToROCDLTransforms",
4221 ":GPUToVulkanTransforms",
4224 ":LinalgToStandard",
4238 ":ReconcileUnrealizedCasts",
4239 ":SCFToControlFlow",
4265 name = "AsyncToLLVM",
4267 "lib/Conversion/AsyncToLLVM/*.cpp",
4269 hdrs = glob(["include/mlir/Conversion/AsyncToLLVM/*.h"]),
4270 includes = ["include"],
4274 ":ConversionPassIncGen",
4275 ":ConvertToLLVMInterface",
4280 ":LLVMCommonConversion",
4289 name = "AffineToStandard",
4291 "lib/Conversion/AffineToStandard/*.cpp",
4293 hdrs = glob(["include/mlir/Conversion/AffineToStandard/*.h"]),
4294 includes = ["include"],
4297 ":AffineTransforms",
4299 ":ConversionPassIncGen",
4311 name = "SCFDialect",
4314 "lib/Dialect/SCF/IR/*.cpp",
4319 "include/mlir/Dialect/SCF/IR/*.h",
4322 includes = ["include"],
4326 ":BufferizationInterfaces",
4327 ":ControlFlowDialect",
4328 ":ControlFlowInterfaces",
4329 ":DestinationStyleOpInterface",
4330 ":FunctionInterfaces",
4332 ":InferTypeOpInterface",
4334 ":LoopLikeInterface",
4336 ":ParallelCombiningOpInterface",
4337 ":SCFDeviceMappingInterfacesIncGen",
4339 ":SideEffectInterfaces",
4342 ":ValueBoundsOpInterface",
4343 ":ViewLikeInterface",
4352 "lib/Dialect/SCF/Utils/*.cpp",
4357 "include/mlir/Dialect/SCF/Utils/*.h",
4360 includes = ["include"],
4371 ":SideEffectInterfaces",
4379 name = "InferIntRangeCommon",
4381 "lib/Interfaces/Utils/InferIntRangeCommon.cpp",
4383 hdrs = ["include/mlir/Interfaces/Utils/InferIntRangeCommon.h"],
4384 includes = ["include"],
4386 ":InferIntRangeInterface",
4392 name = "DataLayoutInterfaces",
4393 srcs = ["lib/Interfaces/DataLayoutInterfaces.cpp"],
4394 hdrs = ["include/mlir/Interfaces/DataLayoutInterfaces.h"],
4395 includes = ["include"],
4397 ":DataLayoutInterfacesIncGen",
4404 name = "InliningUtils",
4405 srcs = ["lib/Transforms/Utils/InliningUtils.cpp"],
4406 hdrs = ["include/mlir/Transforms/InliningUtils.h"],
4407 includes = ["include"],
4409 ":CallOpInterfaces",
4416 name = "LoopLikeInterface",
4417 srcs = ["lib/Interfaces/LoopLikeInterface.cpp"],
4418 hdrs = ["include/mlir/Interfaces/LoopLikeInterface.h"],
4419 includes = ["include"],
4421 ":FunctionInterfaces",
4423 ":LoopLikeInterfaceIncGen",
4429 name = "MemorySlotInterfaces",
4430 srcs = ["lib/Interfaces/MemorySlotInterfaces.cpp"],
4431 hdrs = ["include/mlir/Interfaces/MemorySlotInterfaces.h"],
4432 includes = ["include"],
4435 ":MemorySlotInterfacesIncGen",
4440 name = "ShapedOpInterfaces",
4441 srcs = ["lib/Interfaces/ShapedOpInterfaces.cpp"],
4442 hdrs = ["include/mlir/Interfaces/ShapedOpInterfaces.h"],
4443 includes = ["include"],
4446 ":ShapedOpInterfacesIncGen",
4451 name = "ParallelCombiningOpInterface",
4452 srcs = ["lib/Interfaces/ParallelCombiningOpInterface.cpp"],
4453 hdrs = ["include/mlir/Interfaces/ParallelCombiningOpInterface.h"],
4454 includes = ["include"],
4457 ":ParallelCombiningOpInterfaceIncGen",
4462 name = "RuntimeVerifiableOpInterface",
4463 srcs = ["lib/Interfaces/RuntimeVerifiableOpInterface.cpp"],
4464 hdrs = ["include/mlir/Interfaces/RuntimeVerifiableOpInterface.h"],
4465 includes = ["include"],
4468 ":RuntimeVerifiableOpInterfaceIncGen",
4473 name = "VectorInterfaces",
4474 srcs = ["lib/Interfaces/VectorInterfaces.cpp"],
4475 hdrs = ["include/mlir/Interfaces/VectorInterfaces.h"],
4476 includes = ["include"],
4479 ":VectorInterfacesIncGen",
4484 name = "ViewLikeInterface",
4485 srcs = ["lib/Interfaces/ViewLikeInterface.cpp"],
4486 hdrs = ["include/mlir/Interfaces/ViewLikeInterface.h"],
4487 includes = ["include"],
4491 ":ViewLikeInterfaceIncGen",
4496 name = "CopyOpInterface",
4497 srcs = ["lib/Interfaces/CopyOpInterface.cpp"],
4498 hdrs = ["include/mlir/Interfaces/CopyOpInterface.h"],
4499 includes = ["include"],
4501 ":CopyOpInterfaceIncGen",
4507 name = "ShapeOpsTdFiles",
4509 "include/mlir/Dialect/Shape/IR/ShapeBase.td",
4510 "include/mlir/Dialect/Shape/IR/ShapeOps.td",
4512 includes = ["include"],
4514 ":CallInterfacesTdFiles",
4515 ":CastInterfacesTdFiles",
4516 ":ControlFlowInterfacesTdFiles",
4517 ":FunctionInterfacesTdFiles",
4518 ":InferTypeOpInterfaceTdFiles",
4519 ":SideEffectInterfacesTdFiles",
4524 name = "ShapeOpsIncGen",
4528 "include/mlir/Dialect/Shape/IR/ShapeOps.h.inc",
4532 "include/mlir/Dialect/Shape/IR/ShapeOps.cpp.inc",
4535 ["-gen-dialect-decls"],
4536 "include/mlir/Dialect/Shape/IR/ShapeOpsDialect.h.inc",
4539 ["-gen-dialect-defs"],
4540 "include/mlir/Dialect/Shape/IR/ShapeOpsDialect.cpp.inc",
4543 ["-gen-typedef-decls"],
4544 "include/mlir/Dialect/Shape/IR/ShapeOpsTypes.h.inc",
4547 ["-gen-typedef-defs"],
4548 "include/mlir/Dialect/Shape/IR/ShapeOpsTypes.cpp.inc",
4551 tblgen = ":mlir-tblgen",
4552 td_file = "include/mlir/Dialect/Shape/IR/ShapeOps.td",
4553 deps = [":ShapeOpsTdFiles"],
4557 name = "MLIRShapeCanonicalizationIncGen",
4558 strip_include_prefix = "include/mlir/Dialect/Shape/IR",
4562 "include/mlir/Dialect/Shape/IR/ShapeCanonicalization.inc",
4565 tblgen = ":mlir-tblgen",
4566 td_file = "lib/Dialect/Shape/IR/ShapeCanonicalization.td",
4570 ":TensorOpsTdFiles",
4575 name = "ShapeDialect",
4576 srcs = glob(["lib/Dialect/Shape/IR/*.cpp"]),
4577 hdrs = ["include/mlir/Dialect/Shape/IR/Shape.h"],
4578 includes = ["include"],
4581 ":BufferizationInterfaces",
4582 ":BytecodeOpInterface",
4583 ":CallOpInterfaces",
4586 ":ControlFlowInterfaces",
4588 ":FunctionInterfaces",
4590 ":InferTypeOpInterface",
4592 ":MLIRShapeCanonicalizationIncGen",
4594 ":SideEffectInterfaces",
4602 name = "ShapeToStandardGen",
4603 strip_include_prefix = "lib/Conversion/ShapeToStandard",
4607 "lib/Conversion/ShapeToStandard/ShapeToStandard.cpp.inc",
4610 tblgen = ":mlir-tblgen",
4611 td_file = "lib/Conversion/ShapeToStandard/ShapeToStandard.td",
4612 deps = [":ShapeOpsTdFiles"],
4616 name = "ShapeToStandard",
4618 "lib/Conversion/ShapeToStandard/*.cpp",
4620 hdrs = ["include/mlir/Conversion/ShapeToStandard/ShapeToStandard.h"],
4621 includes = ["include"],
4624 ":ControlFlowDialect",
4625 ":ConversionPassIncGen",
4631 ":ShapeToStandardGen",
4639 name = "ShapeTransformsPassIncGen",
4645 "include/mlir/Dialect/Shape/Transforms/Passes.h.inc",
4647 tblgen = ":mlir-tblgen",
4648 td_file = "include/mlir/Dialect/Shape/Transforms/Passes.td",
4649 deps = [":PassBaseTdFiles"],
4653 name = "ShapeTransforms",
4655 "lib/Dialect/Shape/Transforms/*.cpp",
4658 "include/mlir/Dialect/Shape/Analysis/ShapeMappingAnalysis.h",
4659 "include/mlir/Dialect/Shape/Transforms/BufferizableOpInterfaceImpl.h",
4660 "include/mlir/Dialect/Shape/Transforms/Passes.h",
4662 includes = ["include"],
4665 ":BufferizationDialect",
4666 ":BufferizationInterfaces",
4667 ":BufferizationTransforms",
4673 ":ShapeTransformsPassIncGen",
4681 name = "ControlFlowOpsTdFiles",
4683 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td",
4685 includes = ["include"],
4688 ":CallInterfacesTdFiles",
4689 ":CastInterfacesTdFiles",
4690 ":ControlFlowInterfacesTdFiles",
4691 ":InferTypeOpInterfaceTdFiles",
4693 ":SideEffectInterfacesTdFiles",
4698 name = "ControlFlowOpsIncGen",
4702 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.h.inc",
4706 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.cpp.inc",
4709 ["-gen-dialect-decls"],
4710 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOpsDialect.h.inc",
4713 ["-gen-dialect-defs"],
4714 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOpsDialect.cpp.inc",
4717 ["-gen-enum-decls"],
4718 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOpsEnums.h.inc",
4722 "include/mlir/Dialect/ControlFlow/IR/ControlFlowOpsEnums.cpp.inc",
4725 tblgen = ":mlir-tblgen",
4726 td_file = "include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td",
4729 ":ControlFlowOpsTdFiles",
4734 name = "ControlFlowDialect",
4737 "lib/Dialect/ControlFlow/IR/*.cpp",
4741 "include/mlir/Dialect/ControlFlow/IR/*.h",
4743 includes = ["include"],
4746 ":BufferizationInterfaces",
4747 ":BytecodeOpInterface",
4748 ":ControlFlowInterfaces",
4749 ":ControlFlowOpsIncGen",
4750 ":ConvertToLLVMInterface",
4753 ":SideEffectInterfaces",
4760 name = "ControlFlowTransforms",
4762 "lib/Dialect/ControlFlow/Transforms/*.cpp",
4765 "include/mlir/Dialect/ControlFlow/Transforms/*.h",
4767 includes = ["include"],
4769 ":BufferizationDialect",
4770 ":BufferizationInterfaces",
4771 ":BufferizationTransforms",
4772 ":ControlFlowDialect",
4779 name = "FuncDialect",
4782 "lib/Dialect/Func/IR/*.cpp",
4786 "include/mlir/Dialect/Func/IR/*.h",
4788 includes = ["include"],
4790 ":BufferizationInterfaces",
4791 ":BytecodeOpInterface",
4792 ":CallOpInterfaces",
4793 ":ControlFlowInterfaces",
4794 ":ConvertToLLVMInterface",
4796 ":FunctionInterfaces",
4798 ":InferTypeOpInterface",
4800 ":SideEffectInterfaces",
4807 name = "FuncExtensions",
4808 srcs = glob(["lib/Dialect/Func/Extensions/*.cpp"]),
4809 hdrs = glob(["include/mlir/Dialect/Func/Extensions/*.h"]),
4810 includes = ["include"],
4812 ":ControlFlowDialect",
4816 ":MeshShardingInterface",
4821 name = "FuncTransformOpsTdFiles",
4823 "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.td",
4825 includes = ["include"],
4827 ":TransformDialectTdFiles",
4832 name = "FuncTransformOpsIncGen",
4833 strip_include_prefix = "include",
4837 "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.h.inc",
4841 "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.cpp.inc",
4844 tblgen = ":mlir-tblgen",
4845 td_file = "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.td",
4847 ":FuncTransformOpsTdFiles",
4852 name = "FuncTransformOps",
4854 "lib/Dialect/Func/TransformOps/FuncTransformOps.cpp",
4857 "include/mlir/Dialect/Func/TransformOps/FuncTransformOps.h",
4859 includes = ["include"],
4861 ":BytecodeOpInterface",
4864 ":FuncTransformOpsIncGen",
4866 ":LLVMCommonConversion",
4868 ":TransformDialect",
4869 ":TransformDialectInterfaces",
4875 name = "AllExtensions",
4876 hdrs = ["include/mlir/InitAllExtensions.h"],
4878 ":AffineTransformOps",
4881 ":BufferizationTransformOps",
4882 ":BuiltinToLLVMIRTranslation",
4884 ":ControlFlowToLLVM",
4885 ":DLTITransformOps",
4888 ":FuncTransformOps",
4889 ":GPUToLLVMIRTranslation",
4892 ":LLVMToLLVMIRTranslation",
4893 ":LinalgTransformOps",
4896 ":MemRefTransformOps",
4898 ":NVGPUTransformOps",
4903 ":ROCDLToLLVMIRTranslation",
4905 ":SparseTensorTransformOps",
4906 ":TensorExtensions",
4907 ":TensorTransformOps",
4908 ":TransformDebugExtension",
4909 ":TransformIRDLExtension",
4910 ":TransformLoopExtension",
4911 ":TransformPDLExtension",
4913 ":VCIXToLLVMIRTranslation",
4914 ":VectorTransformOps",
4918 # TODO(zinenko): remove this after updating users.
4921 name = "FuncTransformsPassIncGen",
4927 "include/mlir/Dialect/Func/Transforms/Passes.h.inc",
4929 tblgen = ":mlir-tblgen",
4930 td_file = "include/mlir/Dialect/Func/Transforms/Passes.td",
4931 deps = [":PassBaseTdFiles"],
4935 name = "FuncTransforms",
4937 "lib/Dialect/Func/Transforms/*.cpp",
4939 hdrs = glob(["include/mlir/Dialect/Func/Transforms/*.h"]),
4940 includes = ["include"],
4942 ":BufferizationDialect",
4943 ":BufferizationTransforms",
4945 ":FuncTransformsPassIncGen",
4956 name = "VectorDialect",
4959 "lib/Dialect/Vector/IR/*.cpp",
4963 "include/mlir/Dialect/Vector/IR/*.h",
4965 includes = ["include"],
4971 ":BufferizationInterfaces",
4972 ":BytecodeOpInterface",
4973 ":ControlFlowInterfaces",
4974 ":DestinationStyleOpInterface",
4977 ":InferTypeOpInterface",
4979 ":MaskableOpInterface",
4980 ":MaskingOpInterface",
4982 ":SideEffectInterfaces",
4983 ":SubsetOpInterface",
4986 ":ValueBoundsOpInterface",
4987 ":VectorAttributesIncGen",
4988 ":VectorDialectIncGen",
4989 ":VectorInterfaces",
4991 ":ViewLikeInterface",
4997 name = "VectorTransformOps",
4999 "lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp",
5002 "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.h",
5004 includes = ["include"],
5007 ":LLVMCommonConversion",
5009 ":TransformDialect",
5010 ":TransformDialectInterfaces",
5015 ":VectorTransformOpsIncGen",
5016 ":VectorTransforms",
5017 ":X86VectorTransforms",
5022 name = "VectorTransformsTdFiles",
5023 srcs = ["include/mlir/Dialect/Vector/Transforms/VectorTransformsBase.td"],
5024 includes = ["include"],
5025 deps = [":OpBaseTdFiles"],
5029 name = "VectorEnumsIncGen",
5032 ["-gen-enum-decls"],
5033 "include/mlir/Dialect/Vector/Transforms/VectorTransformsEnums.h.inc",
5037 "include/mlir/Dialect/Vector/Transforms/VectorTransformsEnums.cpp.inc",
5040 tblgen = ":mlir-tblgen",
5041 td_file = "include/mlir/Dialect/Vector/Transforms/VectorTransformsBase.td",
5048 name = "VectorPassIncGen",
5055 "include/mlir/Dialect/Vector/Transforms/Passes.h.inc",
5058 tblgen = ":mlir-tblgen",
5059 td_file = "include/mlir/Dialect/Vector/Transforms/Passes.td",
5060 deps = [":PassBaseTdFiles"],
5064 name = "VectorTransforms",
5067 "lib/Dialect/Vector/Transforms/*.cpp",
5071 "include/mlir/Dialect/Vector/Transforms/*.h",
5073 includes = ["include"],
5079 ":BufferizationDialect",
5080 ":BufferizationInterfaces",
5081 ":BufferizationTransforms",
5084 ":FunctionInterfaces",
5091 ":SideEffectInterfaces",
5092 ":SubsetOpInterface",
5097 ":VectorEnumsIncGen",
5098 ":VectorInterfaces",
5099 ":VectorPassIncGen",
5106 name = "VectorUtils",
5109 "lib/Dialect/Vector/Utils/*.cpp",
5113 "include/mlir/Dialect/Vector/Utils/*.h",
5115 includes = ["include"],
5134 "lib/Support/*.cpp",
5136 hdrs = glob(["include/mlir/Support/*.h"]),
5137 includes = ["include"],
5138 deps = ["//llvm:Support"],
5145 "lib/Debug/BreakpointManagers/*.cpp",
5146 "lib/Debug/Observers/*.cpp",
5149 "include/mlir/Debug/*.h",
5150 "include/mlir/Debug/BreakpointManagers/*.h",
5151 "include/mlir/Debug/Observers/*.h",
5153 includes = ["include"],
5164 name = "MlirLspServerSupportLib",
5167 "lib/Tools/lsp-server-support/*.cpp",
5172 "include/mlir/Tools/lsp-server-support/*.h",
5182 name = "MlirLspServerLib",
5185 "lib/Tools/mlir-lsp-server/*.cpp",
5186 "lib/Tools/mlir-lsp-server/*.h",
5190 ["include/mlir/Tools/mlir-lsp-server/*.h"],
5192 includes = ["include"],
5196 ":FunctionInterfaces",
5198 ":MlirLspServerSupportLib",
5206 name = "MlirPdllLspServerLib",
5209 "lib/Tools/mlir-pdll-lsp-server/*.cpp",
5210 "lib/Tools/mlir-pdll-lsp-server/*.h",
5214 ["include/mlir/Tools/mlir-pdll-lsp-server/*.h"],
5216 includes = ["include"],
5219 ":MlirLspServerSupportLib",
5230 name = "TableGenLspServerLib",
5232 "lib/Tools/tblgen-lsp-server/*.cpp",
5233 "lib/Tools/tblgen-lsp-server/*.h",
5235 hdrs = glob(["include/mlir/Tools/tblgen-lsp-server/*.h"]),
5236 includes = ["include"],
5238 ":MlirLspServerSupportLib",
5246 name = "tblgen-lsp-server",
5247 srcs = ["tools/tblgen-lsp-server/tblgen-lsp-server.cpp"],
5248 includes = ["include"],
5251 ":TableGenLspServerLib",
5256 name = "AsmParserTokenKinds",
5257 # strip_include_prefix does not apply to textual_hdrs.
5258 hdrs = ["lib/AsmParser/TokenKinds.def"],
5259 strip_include_prefix = "lib/AsmParser",
5260 textual_hdrs = ["lib/AsmParser/TokenKinds.def"],
5266 "lib/AsmParser/*.cpp",
5267 "lib/AsmParser/*.h",
5270 "include/mlir/AsmParser/*.h",
5272 includes = ["include"],
5274 ":AsmParserTokenKinds",
5282 name = "BytecodeReader",
5284 "lib/Bytecode/Reader/*.cpp",
5286 hdrs = ["include/mlir/Bytecode/BytecodeReader.h"],
5287 includes = ["include"],
5290 ":BytecodeOpInterface",
5298 name = "BytecodeWriter",
5300 "lib/Bytecode/Writer/*.cpp",
5301 "lib/Bytecode/Writer/*.h",
5303 hdrs = ["include/mlir/Bytecode/BytecodeWriter.h"],
5304 includes = ["include"],
5306 ":BytecodeOpInterface",
5320 "include/mlir/Parser/*.h",
5322 includes = ["include"],
5332 name = "LLVMDialectInterfaceIncGen",
5335 ["-gen-op-interface-decls"],
5336 "include/mlir/Dialect/LLVMIR/LLVMInterfaces.h.inc",
5339 ["-gen-op-interface-defs"],
5340 "include/mlir/Dialect/LLVMIR/LLVMInterfaces.cpp.inc",
5343 ["-gen-attr-interface-decls"],
5344 "include/mlir/Dialect/LLVMIR/LLVMAttrInterfaces.h.inc",
5347 ["-gen-attr-interface-defs"],
5348 "include/mlir/Dialect/LLVMIR/LLVMAttrInterfaces.cpp.inc",
5351 ["-gen-type-interface-decls"],
5352 "include/mlir/Dialect/LLVMIR/LLVMTypeInterfaces.h.inc",
5355 ["-gen-type-interface-defs"],
5356 "include/mlir/Dialect/LLVMIR/LLVMTypeInterfaces.cpp.inc",
5359 tblgen = ":mlir-tblgen",
5360 td_file = "include/mlir/Dialect/LLVMIR/LLVMInterfaces.td",
5361 deps = [":LLVMOpsTdFiles"],
5365 name = "LLVMDialect",
5368 "lib/Dialect/LLVMIR/IR/*.cpp",
5369 "lib/Dialect/LLVMIR/IR/*.h",
5372 "lib/Dialect/LLVMIR/IR/*AMX*.cpp",
5373 "lib/Dialect/LLVMIR/IR/*AMX*.h",
5374 "lib/Dialect/LLVMIR/IR/*ArmSVE*.cpp",
5375 "lib/Dialect/LLVMIR/IR/*ArmSVE*.h",
5376 "lib/Dialect/LLVMIR/IR/NVVM*.cpp",
5377 "lib/Dialect/LLVMIR/IR/NVVM*.h",
5378 "lib/Dialect/LLVMIR/IR/ROCDL*.cpp",
5379 "lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp",
5380 "lib/Dialect/LLVMIR/IR/ROCDL*.h",
5381 "lib/Dialect/LLVMIR/IR/VCIX*.cpp",
5382 "lib/Dialect/LLVMIR/IR/VCIX*.h",
5383 "lib/Dialect/LLVMIR/IR/*X86Vector*.cpp",
5384 "lib/Dialect/LLVMIR/IR/*X86Vector*.h",
5388 ["include/mlir/Dialect/LLVMIR/*.h"],
5390 "include/mlir/Dialect/LLVMIR/*AMX*.h",
5391 "include/mlir/Dialect/LLVMIR/*ArmSVE*.h",
5392 "include/mlir/Dialect/LLVMIR/NVVM*.h",
5393 "include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.h",
5394 "include/mlir/Dialect/LLVMIR/ROCDL*.h",
5395 "include/mlir/Dialect/LLVMIR/VCIX*.h",
5396 "include/mlir/Dialect/LLVMIR/*X86Vector*.h",
5399 includes = ["include"],
5401 ":BytecodeOpInterface",
5402 ":CallOpInterfaces",
5403 ":ControlFlowInterfaces",
5404 ":DataLayoutInterfaces",
5405 ":FunctionInterfaces",
5407 ":InferTypeOpInterface",
5409 ":LLVMDialectInterfaceIncGen",
5410 ":LLVMIntrinsicOpsIncGen",
5413 ":MemorySlotInterfaces",
5414 ":MemorySlotInterfacesIncGen",
5415 ":SideEffectInterfaces",
5417 ":ViewLikeInterface",
5419 "//llvm:BinaryFormat",
5428 name = "LLVMPassIncGen",
5435 "include/mlir/Dialect/LLVMIR/Transforms/Passes.h.inc",
5438 tblgen = ":mlir-tblgen",
5439 td_file = "include/mlir/Dialect/LLVMIR/Transforms/Passes.td",
5440 deps = [":PassBaseTdFiles"],
5444 name = "LLVMIRTransforms",
5446 "lib/Dialect/LLVMIR/Transforms/*.cpp",
5448 hdrs = glob(["include/mlir/Dialect/LLVMIR/Transforms/*.h"]),
5449 includes = ["include"],
5452 ":DataLayoutInterfaces",
5461 ":ViewLikeInterface",
5462 "//llvm:BinaryFormat",
5468 name = "GPUOpsTdFiles",
5470 "include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.td",
5471 "include/mlir/Dialect/GPU/IR/CompilationAttrs.td",
5472 "include/mlir/Dialect/GPU/IR/GPUBase.td",
5473 "include/mlir/Dialect/GPU/IR/GPUDeviceMappingAttr.td",
5474 "include/mlir/Dialect/GPU/IR/GPUOps.td",
5475 "include/mlir/Dialect/GPU/IR/ParallelLoopMapperAttr.td",
5477 includes = ["include"],
5479 ":DLTIDialectTdFiles",
5480 ":DataLayoutInterfacesTdFiles",
5481 ":FunctionInterfacesTdFiles",
5482 ":InferIntRangeInterfaceTdFiles",
5486 ":SideEffectInterfacesTdFiles",
5491 name = "GPUDeviceMapperEnumsGen",
5494 ["-gen-enum-decls"],
5495 "include/mlir/Dialect/GPU/TransformOps/GPUDeviceMapperEnums.h.inc",
5499 "include/mlir/Dialect/GPU/TransformOps/GPUDeviceMapperEnums.cpp.inc",
5502 tblgen = ":mlir-tblgen",
5503 td_file = "include/mlir/Dialect/GPU/IR/GPUDeviceMappingAttr.td",
5511 name = "GPUCompilationAttrInterfacesIncGen",
5514 ["-gen-attr-interface-decls"],
5515 "include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.h.inc",
5518 ["-gen-attr-interface-defs"],
5519 "include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.cpp.inc",
5522 tblgen = ":mlir-tblgen",
5523 td_file = "include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.td",
5531 name = "GPUBaseIncGen",
5534 ["-gen-op-interface-decls"],
5535 "include/mlir/Dialect/GPU/IR/GPUOpInterfaces.h.inc",
5538 ["-gen-op-interface-defs"],
5539 "include/mlir/Dialect/GPU/IR/GPUOpInterfaces.cpp.inc",
5542 tblgen = ":mlir-tblgen",
5543 td_file = "include/mlir/Dialect/GPU/IR/GPUBase.td",
5544 deps = [":OpBaseTdFiles"],
5548 name = "GPUOpsIncGen",
5552 "-gen-dialect-decls",
5555 "include/mlir/Dialect/GPU/IR/GPUOpsDialect.h.inc",
5559 "-gen-dialect-defs",
5562 "include/mlir/Dialect/GPU/IR/GPUOpsDialect.cpp.inc",
5566 "include/mlir/Dialect/GPU/IR/GPUOps.h.inc",
5570 "include/mlir/Dialect/GPU/IR/GPUOps.cpp.inc",
5573 ["-gen-enum-decls"],
5574 "include/mlir/Dialect/GPU/IR/GPUOpsEnums.h.inc",
5578 "include/mlir/Dialect/GPU/IR/GPUOpsEnums.cpp.inc",
5581 ["-gen-attrdef-decls"],
5582 "include/mlir/Dialect/GPU/IR/GPUOpsAttributes.h.inc",
5585 ["-gen-attrdef-defs"],
5586 "include/mlir/Dialect/GPU/IR/GPUOpsAttributes.cpp.inc",
5589 tblgen = ":mlir-tblgen",
5590 td_file = "include/mlir/Dialect/GPU/IR/GPUOps.td",
5592 ":DLTIDialectTdFiles",
5598 name = "GPUDialect",
5601 "lib/Dialect/GPU/IR/*.cpp",
5604 hdrs = glob(["include/mlir/Dialect/GPU/IR/*.h"]),
5605 includes = ["include"],
5608 ":BufferizationInterfaces",
5609 ":BytecodeOpInterface",
5610 ":ControlFlowInterfaces",
5612 ":FunctionInterfaces",
5614 ":GPUCompilationAttrInterfacesIncGen",
5617 ":InferIntRangeInterface",
5618 ":InferTypeOpInterface",
5622 ":SideEffectInterfaces",
5630 name = "GPUPassIncGen",
5637 "include/mlir/Dialect/GPU/Transforms/Passes.h.inc",
5641 "-gen-pass-capi-header",
5644 "include/mlir/Dialect/GPU/Transforms/Passes.capi.h.inc",
5648 "-gen-pass-capi-impl",
5651 "include/mlir/Dialect/GPU/Transforms/Passes.capi.cpp.inc",
5654 tblgen = ":mlir-tblgen",
5655 td_file = "include/mlir/Dialect/GPU/Transforms/Passes.td",
5656 deps = [":PassBaseTdFiles"],
5660 name = "GPUPipelines",
5661 srcs = ["lib/Dialect/GPU/Pipelines/GPUToNVVMPipeline.cpp"],
5662 hdrs = ["include/mlir/Dialect/GPU/Pipelines/Passes.h"],
5663 includes = ["include"],
5665 ":AffineToStandard",
5670 ":GPUToGPURuntimeTransforms",
5671 ":GPUToNVVMTransforms",
5675 ":LinalgTransforms",
5678 ":MemRefTransforms",
5682 ":ReconcileUnrealizedCasts",
5683 ":SCFToControlFlow",
5691 name = "GPUTransforms",
5694 "lib/Dialect/GPU/Transforms/*.cpp",
5697 hdrs = glob(["include/mlir/Dialect/GPU/Transforms/*.h"]),
5698 includes = ["include"],
5705 ":BufferizationDialect",
5706 ":BufferizationInterfaces",
5707 ":ControlFlowDialect",
5710 ":ExecutionEngineUtils",
5714 ":GPUToLLVMIRTranslation",
5718 ":LLVMToLLVMIRTranslation",
5725 ":ROCDLToLLVMIRTranslation",
5729 ":SideEffectInterfaces",
5731 ":ToLLVMIRTranslation",
5734 ":VCIXToLLVMIRTranslation",
5741 ] + if_cuda_available([
5742 ":NVVMToLLVMIRTranslation",
5743 "//llvm:NVPTXCodeGen",
5748 name = "GPUTransformOpsTdFiles",
5750 "include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td",
5752 includes = ["include"],
5754 ":TransformDialectTdFiles",
5759 name = "GPUTransformOpsIncGen",
5763 "include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.h.inc",
5767 "include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.cpp.inc",
5770 tblgen = ":mlir-tblgen",
5771 td_file = "include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td",
5773 ":GPUTransformOpsTdFiles",
5778 name = "GPUTransformOps",
5780 "lib/Dialect/GPU/TransformOps/*.cpp",
5783 "include/mlir/Dialect/GPU/TransformOps/*.h",
5785 includes = ["include"],
5792 ":GPUToGPURuntimeTransforms",
5793 ":GPUToNVVMTransforms",
5794 ":GPUTransformOpsIncGen",
5797 ":LLVMCommonConversion",
5802 ":TransformDialect",
5803 ":TransformDialectInterfaces",
5806 ":VectorTransforms",
5812 name = "LLVMOpsTdFiles",
5814 "include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td",
5815 "include/mlir/Dialect/LLVMIR/LLVMDialect.td",
5816 "include/mlir/Dialect/LLVMIR/LLVMEnums.td",
5817 "include/mlir/Dialect/LLVMIR/LLVMInterfaces.td",
5818 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td",
5819 "include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
5820 "include/mlir/Dialect/LLVMIR/LLVMOps.td",
5821 "include/mlir/Dialect/LLVMIR/LLVMTypes.td",
5823 includes = ["include"],
5825 ":CallInterfacesTdFiles",
5826 ":ControlFlowInterfacesTdFiles",
5827 ":DataLayoutInterfacesTdFiles",
5828 ":FunctionInterfacesTdFiles",
5829 ":InferTypeOpInterfaceTdFiles",
5830 ":MemorySlotInterfacesTdFiles",
5832 ":SideEffectInterfacesTdFiles",
5833 ":ViewLikeInterfaceTdFiles",
5838 name = "GPUCommonTransforms",
5840 "lib/Conversion/GPUCommon/GPUOpsLowering.h",
5841 "lib/Conversion/GPUCommon/IndexIntrinsicsOpLowering.h",
5842 "lib/Conversion/GPUCommon/OpToFuncCallLowering.h",
5848 ":LLVMCommonConversion",
5854 name = "GPUToNVVMGen",
5855 strip_include_prefix = "lib/Conversion/GPUToNVVM",
5859 "lib/Conversion/GPUToNVVM/GPUToNVVM.cpp.inc",
5862 tblgen = ":mlir-tblgen",
5863 td_file = "lib/Conversion/GPUToNVVM/GPUToNVVM.td",
5871 name = "GPUToLLVMSPVTransforms",
5873 "lib/Conversion/GPUToLLVMSPV/*.cpp",
5876 "include/mlir/Conversion/GPUToLLVMSPV/*.h",
5878 includes = ["include"],
5880 ":ConversionPassIncGen",
5882 ":GPUToGPURuntimeTransforms",
5884 ":LLVMCommonConversion",
5887 ":SPIRVCommonAttrToLLVMConversion",
5896 name = "GPUToNVVMTransforms",
5898 "lib/Conversion/GPUToNVVM/*.cpp",
5901 "include/mlir/Conversion/GPUToNVVM/*.h",
5903 includes = ["include"],
5906 ":ControlFlowDialect",
5907 ":ControlFlowToLLVM",
5908 ":ConversionPassIncGen",
5911 ":GPUCommonTransforms",
5913 ":GPUToGPURuntimeTransforms",
5917 ":LLVMCommonConversion",
5930 name = "AMDGPUToROCDL",
5932 "lib/Conversion/AMDGPUToROCDL/*.cpp",
5933 ]) + ["include/mlir/Conversion/GPUToROCDL/Runtimes.h"],
5935 "include/mlir/Conversion/AMDGPUToROCDL/*.h",
5937 includes = ["include"],
5941 ":ConversionPassIncGen",
5943 ":LLVMCommonConversion",
5952 name = "NVGPUToNVVM",
5954 "lib/Conversion/NVGPUToNVVM/*.cpp",
5957 "include/mlir/Conversion/NVGPUToNVVM/*.h",
5959 includes = ["include"],
5962 ":ConversionPassIncGen",
5964 ":GPUToGPURuntimeTransforms",
5966 ":LLVMCommonConversion",
5978 name = "VectorToSPIRV",
5980 "lib/Conversion/VectorToSPIRV/*.cpp",
5983 "include/mlir/Conversion/VectorToSPIRV/*.h",
5985 includes = ["include"],
5988 ":ConversionPassIncGen",
6002 name = "GPUToROCDLTGen",
6003 strip_include_prefix = "lib/Conversion/GPUToROCDL",
6007 "lib/Conversion/GPUToROCDL/GPUToROCDL.cpp.inc",
6010 tblgen = ":mlir-tblgen",
6011 td_file = "lib/Conversion/GPUToROCDL/GPUToROCDL.td",
6019 name = "GPUToROCDLTransforms",
6021 "include/mlir/Conversion/GPUToROCDL/Runtimes.h",
6022 "lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp",
6024 hdrs = ["include/mlir/Conversion/GPUToROCDL/GPUToROCDLPass.h"],
6025 includes = ["include"],
6030 ":ControlFlowDialect",
6031 ":ControlFlowToLLVM",
6032 ":ConversionPassIncGen",
6035 ":GPUCommonTransforms",
6037 ":GPUToGPURuntimeTransforms",
6041 ":LLVMCommonConversion",
6059 name = "GPUToVulkanTransforms",
6061 "lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp",
6062 "lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp",
6064 hdrs = ["include/mlir/Conversion/GPUToVulkan/ConvertGPUToVulkanPass.h"],
6065 includes = ["include"],
6067 ":ConversionPassIncGen",
6074 ":SPIRVSerialization",
6081 name = "GPUToGPURuntimeTransforms",
6083 "lib/Conversion/GPUCommon/AttrToSPIRVConverter.cpp",
6084 "lib/Conversion/GPUCommon/GPUOpsLowering.cpp",
6085 "lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp",
6088 "include/mlir/Conversion/GPUCommon/AttrToSPIRVConverter.h",
6089 "include/mlir/Conversion/GPUCommon/GPUCommonPass.h",
6090 "lib/Conversion/GPUCommon/GPUOpsLowering.h",
6092 includes = ["include"],
6097 ":ControlFlowToLLVM",
6098 ":ConversionPassIncGen",
6100 ":ConvertToLLVMInterface",
6102 ":GPUCommonTransforms",
6106 ":LLVMCommonConversion",
6118 name = "GPUToSPIRV",
6120 "lib/Conversion/GPUToSPIRV/*.cpp",
6123 "include/mlir/Conversion/GPUToSPIRV/*.h",
6127 "lib/Conversions/GPUToSPIRV",
6131 ":ConversionPassIncGen",
6148 name = "PDLToPDLInterp",
6150 "lib/Conversion/PDLToPDLInterp/*.cpp",
6151 "lib/Conversion/PDLToPDLInterp/*.h",
6154 "include/mlir/Conversion/PDLToPDLInterp/PDLToPDLInterp.h",
6155 "lib/Conversion/PDLToPDLInterp/RootOrdering.h",
6157 includes = ["include"],
6159 ":ConversionPassIncGen",
6161 ":InferTypeOpInterface",
6163 ":PDLInterpDialect",
6171 name = "SPIRVToLLVM",
6173 "lib/Conversion/SPIRVToLLVM/*.cpp",
6176 "include/mlir/Conversion/SPIRVToLLVM/*.h",
6178 includes = ["include"],
6181 ":ConversionPassIncGen",
6186 ":LLVMCommonConversion",
6190 ":SPIRVCommonAttrToLLVMConversion",
6200 name = "LLVMOpsIncGen",
6204 "include/mlir/Dialect/LLVMIR/LLVMOps.h.inc",
6208 "include/mlir/Dialect/LLVMIR/LLVMOps.cpp.inc",
6211 ["-gen-dialect-decls"],
6212 "include/mlir/Dialect/LLVMIR/LLVMOpsDialect.h.inc",
6215 ["-gen-dialect-defs"],
6216 "include/mlir/Dialect/LLVMIR/LLVMOpsDialect.cpp.inc",
6219 ["-gen-enum-decls"],
6220 "include/mlir/Dialect/LLVMIR/LLVMOpsEnums.h.inc",
6224 "include/mlir/Dialect/LLVMIR/LLVMOpsEnums.cpp.inc",
6228 "--gen-attrdef-decls",
6229 "-attrdefs-dialect=llvm",
6231 "include/mlir/Dialect/LLVMIR/LLVMOpsAttrDefs.h.inc",
6235 "--gen-attrdef-defs",
6236 "-attrdefs-dialect=llvm",
6238 "include/mlir/Dialect/LLVMIR/LLVMOpsAttrDefs.cpp.inc",
6241 tblgen = ":mlir-tblgen",
6242 td_file = "include/mlir/Dialect/LLVMIR/LLVMOps.td",
6243 deps = [":LLVMOpsTdFiles"],
6247 name = "LLVMTypesIncGen",
6251 "-gen-typedef-decls",
6252 "-typedefs-dialect=llvm",
6254 "include/mlir/Dialect/LLVMIR/LLVMTypes.h.inc",
6258 "-gen-typedef-defs",
6259 "-typedefs-dialect=llvm",
6261 "include/mlir/Dialect/LLVMIR/LLVMTypes.cpp.inc",
6264 tblgen = ":mlir-tblgen",
6265 td_file = "include/mlir/Dialect/LLVMIR/LLVMTypes.td",
6266 deps = [":LLVMOpsTdFiles"],
6270 name = "LLVMIntrinsicOpsIncGen",
6274 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.h.inc",
6278 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.cpp.inc",
6281 tblgen = ":mlir-tblgen",
6282 td_file = "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td",
6283 deps = [":LLVMOpsTdFiles"],
6287 name = "LLVMConversionIncGen",
6290 ["-gen-llvmir-conversions"],
6291 "include/mlir/Dialect/LLVMIR/LLVMConversions.inc",
6294 ["-gen-enum-to-llvmir-conversions"],
6295 "include/mlir/Dialect/LLVMIR/LLVMConversionEnumsToLLVM.inc",
6298 ["-gen-enum-from-llvmir-conversions"],
6299 "include/mlir/Dialect/LLVMIR/LLVMConversionEnumsFromLLVM.inc",
6302 ["-gen-op-from-llvmir-conversions"],
6303 "include/mlir/Dialect/LLVMIR/LLVMOpFromLLVMIRConversions.inc",
6306 tblgen = ":mlir-tblgen",
6307 td_file = "include/mlir/Dialect/LLVMIR/LLVMOps.td",
6308 deps = [":LLVMOpsTdFiles"],
6312 name = "LLVMIntrinsicConversionIncGen",
6315 ["-gen-llvmir-conversions"],
6316 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicConversions.inc",
6319 ["-gen-intr-from-llvmir-conversions"],
6320 "include/mlir/Dialect/LLVMIR/LLVMIntrinsicFromLLVMIRConversions.inc",
6323 ["-gen-convertible-llvmir-intrinsics"],
6324 "include/mlir/Dialect/LLVMIR/LLVMConvertibleLLVMIRIntrinsics.inc",
6327 tblgen = ":mlir-tblgen",
6328 td_file = "include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td",
6329 deps = [":LLVMOpsTdFiles"],
6333 name = "NVVMDialect",
6335 "lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp",
6336 "lib/Dialect/LLVMIR/IR/NVVMDialect.cpp",
6339 "include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.h",
6340 "include/mlir/Dialect/LLVMIR/NVVMDialect.h",
6342 includes = ["include"],
6344 ":BasicPtxBuilderIntGen",
6345 ":BytecodeOpInterface",
6346 ":ConvertToLLVMInterface",
6352 ":SideEffectInterfaces",
6361 name = "TargetLLVM",
6362 srcs = ["lib/Target/LLVM/ModuleToObject.cpp"],
6363 hdrs = glob(["include/mlir/Target/LLVM/*.h"]),
6364 includes = ["include"],
6366 ":ExecutionEngineUtils",
6368 ":LLVMToLLVMIRTranslation",
6369 ":ToLLVMIRTranslation",
6379 "//llvm:TargetParser",
6384 name = "NVVMTarget",
6385 srcs = ["lib/Target/LLVM/NVVM/Target.cpp"],
6386 hdrs = glob(["include/mlir/Target/LLVM/NVVM/*.h"]),
6387 includes = ["include"],
6390 ":GPUToLLVMIRTranslation",
6391 ":LLVMToLLVMIRTranslation",
6393 ":NVVMToLLVMIRTranslation",
6395 ":ToLLVMIRTranslation",
6396 "//llvm:NVPTXCodeGen",
6403 name = "BasicPtxBuilderIntTdFiles",
6405 "include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.td",
6407 includes = ["include"],
6416 name = "NVVMOpsTdFiles",
6417 srcs = ["include/mlir/Dialect/LLVMIR/NVVMOps.td"],
6418 includes = ["include"],
6420 ":BasicPtxBuilderIntTdFiles",
6424 ":SideEffectInterfacesTdFiles",
6429 name = "BasicPtxBuilderIntGen",
6433 "-gen-op-interface-decls",
6435 "include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.h.inc",
6439 "-gen-op-interface-defs",
6441 "include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.cpp.inc",
6444 tblgen = ":mlir-tblgen",
6445 td_file = "include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.td",
6447 ":BasicPtxBuilderIntTdFiles",
6454 name = "NVVMOpsIncGen",
6458 "include/mlir/Dialect/LLVMIR/NVVMOps.h.inc",
6462 "include/mlir/Dialect/LLVMIR/NVVMOps.cpp.inc",
6466 "-gen-dialect-decls",
6469 "include/mlir/Dialect/LLVMIR/NVVMOpsDialect.h.inc",
6473 "-gen-dialect-defs",
6476 "include/mlir/Dialect/LLVMIR/NVVMOpsDialect.cpp.inc",
6479 ["-gen-enum-decls"],
6480 "include/mlir/Dialect/LLVMIR/NVVMOpsEnums.h.inc",
6484 "include/mlir/Dialect/LLVMIR/NVVMOpsEnums.cpp.inc",
6488 "-gen-attrdef-decls",
6489 "-attrdefs-dialect=nvvm",
6491 "include/mlir/Dialect/LLVMIR/NVVMOpsAttributes.h.inc",
6495 "-gen-attrdef-defs",
6496 "-attrdefs-dialect=nvvm",
6498 "include/mlir/Dialect/LLVMIR/NVVMOpsAttributes.cpp.inc",
6501 tblgen = ":mlir-tblgen",
6502 td_file = "include/mlir/Dialect/LLVMIR/NVVMOps.td",
6503 deps = [":NVVMOpsTdFiles"],
6507 name = "NVVMConversionIncGen",
6510 ["-gen-llvmir-conversions"],
6511 "include/mlir/Dialect/LLVMIR/NVVMConversions.inc",
6514 tblgen = ":mlir-tblgen",
6515 td_file = "include/mlir/Dialect/LLVMIR/NVVMOps.td",
6516 deps = [":NVVMOpsTdFiles"],
6520 name = "NVVMFromLLVMIRConversionsIncGen",
6523 ["-gen-intr-from-llvmir-conversions"],
6524 "include/mlir/Dialect/LLVMIR/NVVMFromLLVMIRConversions.inc",
6527 tblgen = ":mlir-tblgen",
6528 td_file = "include/mlir/Dialect/LLVMIR/NVVMOps.td",
6529 deps = [":NVVMOpsTdFiles"],
6533 name = "NVVMConvertibleLLVMIRIntrinsicsIncGen",
6536 ["-gen-convertible-llvmir-intrinsics"],
6537 "include/mlir/Dialect/LLVMIR/NVVMConvertibleLLVMIRIntrinsics.inc",
6540 tblgen = ":mlir-tblgen",
6541 td_file = "include/mlir/Dialect/LLVMIR/NVVMOps.td",
6542 deps = [":NVVMOpsTdFiles"],
6546 name = "NVVMToLLVM",
6547 srcs = ["lib/Conversion/NVVMToLLVM/NVVMToLLVM.cpp"],
6548 hdrs = glob(["include/mlir/Conversion/NVVMToLLVM/*.h"]),
6549 includes = ["include"],
6551 ":ConversionPassIncGen",
6552 ":ConvertToLLVMInterface",
6555 ":LLVMCommonConversion",
6565 name = "ROCDLDialect",
6566 srcs = ["lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp"],
6567 hdrs = ["include/mlir/Dialect/LLVMIR/ROCDLDialect.h"],
6568 includes = ["include"],
6570 ":BytecodeOpInterface",
6575 ":SideEffectInterfaces",
6583 name = "ROCDLTarget",
6585 "lib/Target/LLVM/ROCDL/Target.cpp",
6586 "lib/Target/LLVM/ROCDL/Utils.cpp",
6588 hdrs = glob(["include/mlir/Target/LLVM/ROCDL/*.h"]),
6589 includes = ["include"],
6592 ":GPUToLLVMIRTranslation",
6593 ":LLVMToLLVMIRTranslation",
6595 ":ROCDLToLLVMIRTranslation",
6598 ":ToLLVMIRTranslation",
6600 "//llvm:FrontendOffloading",
6604 "//llvm:TargetParser",
6609 name = "ROCDLOpsTdFiles",
6610 srcs = ["include/mlir/Dialect/LLVMIR/ROCDLOps.td"],
6611 includes = ["include"],
6616 ":SideEffectInterfacesTdFiles",
6621 name = "ROCDLOpsIncGen",
6625 "include/mlir/Dialect/LLVMIR/ROCDLOps.h.inc",
6629 "include/mlir/Dialect/LLVMIR/ROCDLOps.cpp.inc",
6633 "-gen-dialect-decls",
6636 "include/mlir/Dialect/LLVMIR/ROCDLOpsDialect.h.inc",
6640 "-gen-dialect-defs",
6643 "include/mlir/Dialect/LLVMIR/ROCDLOpsDialect.cpp.inc",
6647 "-gen-attrdef-decls",
6648 "-attrdefs-dialect=rocdl",
6650 "include/mlir/Dialect/LLVMIR/ROCDLOpsAttributes.h.inc",
6654 "-gen-attrdef-defs",
6655 "-attrdefs-dialect=rocdl",
6657 "include/mlir/Dialect/LLVMIR/ROCDLOpsAttributes.cpp.inc",
6660 tblgen = ":mlir-tblgen",
6661 td_file = "include/mlir/Dialect/LLVMIR/ROCDLOps.td",
6662 deps = [":ROCDLOpsTdFiles"],
6666 name = "ROCDLConversionIncGen",
6669 ["-gen-llvmir-conversions"],
6670 "include/mlir/Dialect/LLVMIR/ROCDLConversions.inc",
6673 tblgen = ":mlir-tblgen",
6674 td_file = "include/mlir/Dialect/LLVMIR/ROCDLOps.td",
6675 deps = [":ROCDLOpsTdFiles"],
6679 name = "PDLDialect",
6681 "lib/Dialect/PDL/IR/*.cpp",
6684 "include/mlir/Dialect/PDL/IR/*.h",
6686 includes = ["include"],
6688 ":BytecodeOpInterface",
6690 ":InferTypeOpInterface",
6693 ":SideEffectInterfaces",
6699 name = "PDLDialectTdFiles",
6701 "include/mlir/Dialect/PDL/IR/PDLDialect.td",
6702 "include/mlir/Dialect/PDL/IR/PDLOps.td",
6703 "include/mlir/Dialect/PDL/IR/PDLTypes.td",
6707 ":SideEffectInterfacesTdFiles",
6712 name = "PDLOpsIncGen",
6716 "include/mlir/Dialect/PDL/IR/PDLOps.h.inc",
6720 "include/mlir/Dialect/PDL/IR/PDLOps.cpp.inc",
6723 ["-gen-dialect-decls"],
6724 "include/mlir/Dialect/PDL/IR/PDLOpsDialect.h.inc",
6727 ["-gen-dialect-defs"],
6728 "include/mlir/Dialect/PDL/IR/PDLOpsDialect.cpp.inc",
6731 tblgen = ":mlir-tblgen",
6732 td_file = "include/mlir/Dialect/PDL/IR/PDLOps.td",
6733 deps = [":PDLDialectTdFiles"],
6737 name = "PDLTypesIncGen",
6740 ["-gen-typedef-decls"],
6741 "include/mlir/Dialect/PDL/IR/PDLOpsTypes.h.inc",
6744 ["-gen-typedef-defs"],
6745 "include/mlir/Dialect/PDL/IR/PDLOpsTypes.cpp.inc",
6748 tblgen = ":mlir-tblgen",
6749 td_file = "include/mlir/Dialect/PDL/IR/PDLTypes.td",
6750 deps = [":PDLDialectTdFiles"],
6754 name = "PDLInterpDialect",
6756 "lib/Dialect/PDLInterp/IR/*.cpp",
6759 "include/mlir/Dialect/PDLInterp/IR/*.h",
6761 includes = ["include"],
6763 ":BytecodeOpInterface",
6764 ":FunctionInterfaces",
6766 ":InferTypeOpInterface",
6768 ":PDLInterpOpsIncGen",
6769 ":SideEffectInterfaces",
6774 name = "PDLInterpOpsTdFiles",
6775 srcs = ["include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td"],
6776 includes = ["include"],
6778 ":FunctionInterfacesTdFiles",
6780 ":PDLDialectTdFiles",
6781 ":SideEffectInterfacesTdFiles",
6786 name = "PDLInterpOpsIncGen",
6790 "include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.h.inc",
6794 "include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.cpp.inc",
6798 "-gen-dialect-decls",
6799 "-dialect=pdl_interp",
6801 "include/mlir/Dialect/PDLInterp/IR/PDLInterpOpsDialect.h.inc",
6805 "-gen-dialect-defs",
6806 "-dialect=pdl_interp",
6808 "include/mlir/Dialect/PDLInterp/IR/PDLInterpOpsDialect.cpp.inc",
6811 tblgen = ":mlir-tblgen",
6812 td_file = "include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td",
6813 deps = [":PDLInterpOpsTdFiles"],
6817 name = "PolynomialDialect",
6819 "lib/Dialect/Polynomial/IR/*.cpp",
6822 "include/mlir/Dialect/Polynomial/IR/*.h",
6824 includes = ["include"],
6828 ":InferTypeOpInterface",
6829 ":PolynomialAttributesIncGen",
6830 ":PolynomialCanonicalizationIncGen",
6831 ":PolynomialIncGen",
6838 name = "PolynomialTdFiles",
6839 srcs = glob(["include/mlir/Dialect/Polynomial/IR/*.td"]),
6840 includes = ["include"],
6842 ":BuiltinDialectTdFiles",
6843 ":InferTypeOpInterfaceTdFiles",
6845 ":SideEffectInterfacesTdFiles",
6850 name = "PolynomialIncGen",
6854 "include/mlir/Dialect/Polynomial/IR/Polynomial.h.inc",
6858 "include/mlir/Dialect/Polynomial/IR/Polynomial.cpp.inc",
6862 "-gen-dialect-decls",
6863 "-dialect=polynomial",
6865 "include/mlir/Dialect/Polynomial/IR/PolynomialDialect.h.inc",
6869 "-gen-dialect-defs",
6870 "-dialect=polynomial",
6872 "include/mlir/Dialect/Polynomial/IR/PolynomialDialect.cpp.inc",
6876 "--gen-typedef-decls",
6877 "-typedefs-dialect=polynomial",
6879 "include/mlir/Dialect/Polynomial/IR/PolynomialTypes.h.inc",
6883 "--gen-typedef-defs",
6884 "-typedefs-dialect=polynomial",
6886 "include/mlir/Dialect/Polynomial/IR/PolynomialTypes.cpp.inc",
6890 "g3doc/Dialects/Polynomial/Polynomial.md",
6893 tblgen = ":mlir-tblgen",
6894 td_file = "include/mlir/Dialect/Polynomial/IR/Polynomial.td",
6895 deps = [":PolynomialTdFiles"],
6899 name = "PolynomialAttributesIncGen",
6903 "-gen-attrdef-decls",
6904 "-attrdefs-dialect=polynomial",
6906 "include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.h.inc",
6910 "-gen-attrdef-defs",
6911 "-attrdefs-dialect=polynomial",
6913 "include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.cpp.inc",
6916 tblgen = ":mlir-tblgen",
6917 td_file = "include/mlir/Dialect/Polynomial/IR/Polynomial.td",
6918 deps = [":PolynomialTdFiles"],
6922 name = "PolynomialCanonicalizationIncGen",
6923 strip_include_prefix = "include/mlir/Dialect/Polynomial/IR",
6927 "include/mlir/Dialect/Polynomial/IR/PolynomialCanonicalization.inc",
6930 tblgen = ":mlir-tblgen",
6931 td_file = "lib/Dialect/Polynomial/IR/PolynomialCanonicalization.td",
6934 ":PolynomialTdFiles",
6939 name = "PtrTdFiles",
6941 "include/mlir/Dialect/Ptr/IR/PtrAttrDefs.td",
6942 "include/mlir/Dialect/Ptr/IR/PtrDialect.td",
6943 "include/mlir/Dialect/Ptr/IR/PtrOps.td",
6945 includes = ["include"],
6948 ":BuiltinDialectTdFiles",
6949 ":DataLayoutInterfacesTdFiles",
6955 name = "PtrDialectIncGen",
6958 ["-gen-dialect-decls"],
6959 "include/mlir/Dialect/Ptr/IR/PtrOpsDialect.h.inc",
6962 ["-gen-dialect-defs"],
6963 "include/mlir/Dialect/Ptr/IR/PtrOpsDialect.cpp.inc",
6966 ["-gen-typedef-decls"],
6967 "include/mlir/Dialect/Ptr/IR/PtrOpsTypes.h.inc",
6970 ["-gen-typedef-defs"],
6971 "include/mlir/Dialect/Ptr/IR/PtrOpsTypes.cpp.inc",
6974 tblgen = ":mlir-tblgen",
6975 td_file = "include/mlir/Dialect/Ptr/IR/PtrDialect.td",
6982 name = "PtrOpsIncGen",
6986 "include/mlir/Dialect/Ptr/IR/PtrOps.h.inc",
6990 "include/mlir/Dialect/Ptr/IR/PtrOps.cpp.inc",
6993 tblgen = ":mlir-tblgen",
6994 td_file = "include/mlir/Dialect/Ptr/IR/PtrOps.td",
7001 name = "PtrAttrsIncGen",
7004 ["-gen-attrdef-decls"],
7005 "include/mlir/Dialect/Ptr/IR/PtrOpsAttrs.h.inc",
7008 ["-gen-attrdef-defs"],
7009 "include/mlir/Dialect/Ptr/IR/PtrOpsAttrs.cpp.inc",
7012 tblgen = ":mlir-tblgen",
7013 td_file = "include/mlir/Dialect/Ptr/IR/PtrAttrDefs.td",
7020 name = "PtrDialect",
7023 "lib/Dialect/Ptr/IR/*.cpp",
7027 "include/mlir/Dialect/Ptr/IR/*.h",
7029 includes = ["include"],
7031 ":BytecodeOpInterface",
7032 ":DataLayoutInterfaces",
7036 ":PtrDialectIncGen",
7043 name = "SPIRVOpsTdFiles",
7044 srcs = glob(["include/mlir/Dialect/SPIRV/IR/*.td"]),
7045 includes = ["include"],
7047 ":BuiltinDialectTdFiles",
7048 ":CallInterfacesTdFiles",
7049 ":ControlFlowInterfacesTdFiles",
7050 ":FunctionInterfacesTdFiles",
7051 ":InferTypeOpInterfaceTdFiles",
7053 ":SideEffectInterfacesTdFiles",
7058 name = "SPIRVOpsIncGen",
7062 "include/mlir/Dialect/SPIRV/IR/SPIRVOps.h.inc",
7066 "include/mlir/Dialect/SPIRV/IR/SPIRVOps.cpp.inc",
7069 ["-gen-dialect-decls"],
7070 "include/mlir/Dialect/SPIRV/IR/SPIRVOpsDialect.h.inc",
7073 ["-gen-dialect-defs"],
7074 "include/mlir/Dialect/SPIRV/IR/SPIRVOpsDialect.cpp.inc",
7078 "g3doc/Dialects/SPIRV/SPIRVOps.md",
7081 ["-gen-enum-decls"],
7082 "include/mlir/Dialect/SPIRV/IR/SPIRVEnums.h.inc",
7086 "include/mlir/Dialect/SPIRV/IR/SPIRVEnums.cpp.inc",
7089 ["-gen-spirv-enum-avail-decls"],
7090 "include/mlir/Dialect/SPIRV/IR/SPIRVEnumAvailability.h.inc",
7093 ["-gen-spirv-enum-avail-defs"],
7094 "include/mlir/Dialect/SPIRV/IR/SPIRVEnumAvailability.cpp.inc",
7097 ["-gen-spirv-capability-implication"],
7098 "include/mlir/Dialect/SPIRV/IR/SPIRVCapabilityImplication.inc",
7101 tblgen = ":mlir-tblgen",
7102 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVOps.td",
7103 deps = [":SPIRVOpsTdFiles"],
7107 name = "SPIRVAttributesIncGen",
7110 ["-gen-attrdef-decls"],
7111 "include/mlir/Dialect/SPIRV/IR/SPIRVAttributes.h.inc",
7114 ["-gen-attrdef-defs"],
7115 "include/mlir/Dialect/SPIRV/IR/SPIRVAttributes.cpp.inc",
7118 tblgen = ":mlir-tblgen",
7119 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVAttributes.td",
7120 deps = [":SPIRVOpsTdFiles"],
7124 name = "SPIRVCanonicalizationIncGen",
7125 strip_include_prefix = "lib/Dialect/SPIRV/IR",
7129 "lib/Dialect/SPIRV/IR/SPIRVCanonicalization.inc",
7132 tblgen = ":mlir-tblgen",
7133 td_file = "lib/Dialect/SPIRV/IR/SPIRVCanonicalization.td",
7134 deps = [":SPIRVOpsTdFiles"],
7138 name = "SPIRVAvailabilityIncGen",
7141 ["-gen-avail-interface-decls"],
7142 "include/mlir/Dialect/SPIRV/IR/SPIRVAvailability.h.inc",
7145 ["-gen-avail-interface-defs"],
7146 "include/mlir/Dialect/SPIRV/IR/SPIRVAvailability.cpp.inc",
7149 ["-gen-spirv-avail-impls"],
7150 "include/mlir/Dialect/SPIRV/IR/SPIRVOpAvailabilityImpl.inc",
7153 tblgen = ":mlir-tblgen",
7154 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVOps.td",
7155 deps = [":SPIRVOpsTdFiles"],
7159 name = "SPIRVAttrUtilsGen",
7162 ["-gen-spirv-attr-utils"],
7163 "include/mlir/Dialect/SPIRV/IR/SPIRVAttrUtils.inc",
7166 tblgen = ":mlir-tblgen",
7167 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVBase.td",
7168 deps = [":SPIRVOpsTdFiles"],
7172 name = "SPIRVSerializationGen",
7175 ["-gen-spirv-serialization"],
7176 "include/mlir/Dialect/SPIRV/IR/SPIRVSerialization.inc",
7179 tblgen = ":mlir-tblgen",
7180 td_file = "include/mlir/Dialect/SPIRV/IR/SPIRVOps.td",
7181 deps = [":SPIRVOpsTdFiles"],
7185 name = "SPIRVDialect",
7187 "lib/Dialect/SPIRV/IR/*.cpp",
7188 "lib/Dialect/SPIRV/IR/*.h",
7191 "include/mlir/Dialect/SPIRV/IR/*.h",
7193 includes = ["include"],
7195 ":BytecodeOpInterface",
7196 ":CallOpInterfaces",
7198 ":ControlFlowInterfaces",
7199 ":FunctionInterfaces",
7202 ":InferTypeOpInterface",
7205 ":SPIRVAttrUtilsGen",
7206 ":SPIRVAttributesIncGen",
7207 ":SPIRVAvailabilityIncGen",
7208 ":SPIRVCanonicalizationIncGen",
7210 ":SideEffectInterfaces",
7218 name = "SPIRVTarget",
7219 srcs = ["lib/Target/SPIRV/Target.cpp"],
7220 hdrs = ["include/mlir/Target/SPIRV/Target.h"],
7221 includes = ["include"],
7225 ":SPIRVSerialization",
7230 name = "SPIRVPassIncGen",
7237 "include/mlir/Dialect/SPIRV/Transforms/Passes.h.inc",
7240 tblgen = ":mlir-tblgen",
7241 td_file = "include/mlir/Dialect/SPIRV/Transforms/Passes.td",
7242 deps = [":PassBaseTdFiles"],
7246 name = "SPIRVUtils",
7248 "lib/Dialect/SPIRV/Utils/*.cpp",
7251 "include/mlir/Dialect/SPIRV/Utils/*.h",
7253 includes = ["include"],
7254 deps = [":SPIRVDialect"],
7258 name = "SPIRVConversion",
7259 srcs = ["lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp"],
7260 hdrs = ["include/mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h"],
7261 includes = ["include"],
7272 ":VectorTransforms",
7278 name = "SPIRVTransforms",
7281 "lib/Dialect/SPIRV/Transforms/*.cpp",
7283 exclude = ["lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp"],
7286 ["include/mlir/Dialect/SPIRV/Transforms/*.h"],
7287 exclude = ["include/mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h"],
7289 includes = ["include"],
7305 name = "SPIRVCommonConversion",
7306 hdrs = ["lib/Conversion/SPIRVCommon/Pattern.h"],
7307 includes = ["include"],
7317 name = "SPIRVCommonAttrToLLVMConversion",
7318 srcs = ["lib/Conversion/SPIRVCommon/AttrToLLVMConverter.cpp"],
7319 hdrs = ["include/mlir/Conversion/SPIRVCommon/AttrToLLVMConverter.h"],
7320 includes = ["include"],
7327 name = "MathToSPIRV",
7329 "lib/Conversion/MathToSPIRV/*.cpp",
7332 "include/mlir/Conversion/MathToSPIRV/*.h",
7336 "lib/Conversion/MathToSPIRV",
7339 ":ConversionPassIncGen",
7343 ":SPIRVCommonConversion",
7352 name = "MathToROCDL",
7354 "lib/Conversion/MathToROCDL/*.cpp",
7357 "include/mlir/Conversion/MathToROCDL/*.h",
7359 includes = ["include"],
7361 ":ConversionPassIncGen",
7364 ":GPUCommonTransforms",
7365 ":GPUToGPURuntimeTransforms",
7367 ":LLVMCommonConversion",
7378 name = "FuncToEmitC",
7380 "lib/Conversion/FuncToEmitC/*.cpp",
7383 "include/mlir/Conversion/FuncToEmitC/*.h",
7387 "lib/Conversion/FuncToEmitC",
7390 ":ConversionPassIncGen",
7399 name = "FuncToSPIRV",
7401 "lib/Conversion/FuncToSPIRV/*.cpp",
7404 "include/mlir/Conversion/FuncToSPIRV/*.h",
7408 "lib/Conversion/FuncToSPIRV",
7411 ":ConversionPassIncGen",
7415 ":SPIRVCommonConversion",
7426 name = "TensorToLinalg",
7428 "lib/Conversion/TensorToLinalg/*.cpp",
7431 "include/mlir/Conversion/TensorToLinalg/*.h",
7435 "lib/Conversion/TensorToLinalg",
7439 ":ConversionPassIncGen",
7442 ":LinalgTransforms",
7452 name = "TensorToSPIRV",
7454 "lib/Conversion/TensorToSPIRV/*.cpp",
7457 "include/mlir/Conversion/TensorToSPIRV/*.h",
7461 "lib/Conversion/TensorToSPIRV",
7465 ":ConversionPassIncGen",
7469 ":SPIRVCommonConversion",
7481 name = "SPIRVBinaryUtils",
7482 srcs = ["lib/Target/SPIRV/SPIRVBinaryUtils.cpp"],
7483 hdrs = ["include/mlir/Target/SPIRV/SPIRVBinaryUtils.h"],
7484 includes = ["include"],
7493 name = "SPIRVSerialization",
7495 "lib/Target/SPIRV/Serialization/Serialization.cpp",
7496 "lib/Target/SPIRV/Serialization/SerializeOps.cpp",
7497 "lib/Target/SPIRV/Serialization/Serializer.cpp",
7498 "lib/Target/SPIRV/Serialization/Serializer.h",
7500 hdrs = ["include/mlir/Target/SPIRV/Serialization.h"],
7501 includes = ["include"],
7504 ":SPIRVBinaryUtils",
7506 ":SPIRVSerializationGen",
7513 name = "SPIRVDeserialization",
7515 "lib/Target/SPIRV/Deserialization/*.cpp",
7516 "lib/Target/SPIRV/Deserialization/*.h",
7518 hdrs = ["include/mlir/Target/SPIRV/Deserialization.h"],
7519 includes = ["include"],
7522 ":SPIRVBinaryUtils",
7524 ":SPIRVSerializationGen",
7531 name = "SPIRVModuleCombiner",
7533 ["lib/Dialect/SPIRV/Linking/ModuleCombiner/*.cpp"],
7535 hdrs = ["include/mlir/Dialect/SPIRV/Linking/ModuleCombiner.h"],
7536 includes = ["include"],
7546 name = "SPIRVTranslateRegistration",
7547 srcs = ["lib/Target/SPIRV/TranslateRegistration.cpp"],
7548 includes = ["include"],
7552 ":SPIRVDeserialization",
7554 ":SPIRVSerialization",
7562 name = "TensorOpsTdFiles",
7564 "include/mlir/Dialect/Tensor/IR/TensorBase.td",
7565 "include/mlir/Dialect/Tensor/IR/TensorOps.td",
7567 includes = ["include"],
7569 ":CastInterfacesTdFiles",
7570 ":ControlFlowInterfacesTdFiles",
7571 ":DestinationStyleOpInterfaceTdFiles",
7572 ":InferTypeOpInterfaceTdFiles",
7574 ":ParallelCombiningOpInterfaceTdFiles",
7575 ":ShapedOpInterfacesTdFiles",
7576 ":SideEffectInterfacesTdFiles",
7577 ":TilingInterfaceTdFiles",
7578 ":ViewLikeInterfaceTdFiles",
7583 name = "TensorOpsIncGen",
7587 "-gen-dialect-decls",
7590 "include/mlir/Dialect/Tensor/IR/TensorOpsDialect.h.inc",
7594 "-gen-dialect-defs",
7597 "include/mlir/Dialect/Tensor/IR/TensorOpsDialect.cpp.inc",
7601 "include/mlir/Dialect/Tensor/IR/TensorOps.h.inc",
7605 "include/mlir/Dialect/Tensor/IR/TensorOps.cpp.inc",
7608 tblgen = ":mlir-tblgen",
7609 td_file = "include/mlir/Dialect/Tensor/IR/TensorOps.td",
7610 deps = [":TensorOpsTdFiles"],
7614 name = "TensorDialect",
7616 "lib/Dialect/Tensor/IR/TensorDialect.cpp",
7617 "lib/Dialect/Tensor/IR/TensorOps.cpp",
7618 "lib/Dialect/Tensor/IR/ValueBoundsOpInterfaceImpl.cpp",
7621 "include/mlir/Dialect/Tensor/IR/ShardingInterfaceImpl.h",
7622 "include/mlir/Dialect/Tensor/IR/Tensor.h",
7623 "include/mlir/Dialect/Tensor/IR/ValueBoundsOpInterfaceImpl.h",
7625 includes = ["include"],
7630 ":BufferizationInterfaces",
7631 ":BytecodeOpInterface",
7634 ":ControlFlowInterfaces",
7635 ":DestinationStyleOpInterface",
7638 ":InferTypeOpInterface",
7640 ":LoopLikeInterface",
7641 ":ParallelCombiningOpInterface",
7642 ":ShapedOpInterfaces",
7643 ":SideEffectInterfaces",
7644 ":SubsetOpInterface",
7648 ":TransformDialectInterfaces",
7649 ":ValueBoundsOpInterface",
7650 ":ViewLikeInterface",
7656 name = "TensorInferTypeOpInterfaceImpl",
7657 srcs = ["lib/Dialect/Tensor/IR/TensorInferTypeOpInterfaceImpl.cpp"],
7658 hdrs = ["include/mlir/Dialect/Tensor/IR/TensorInferTypeOpInterfaceImpl.h"],
7659 includes = ["include"],
7665 ":InferTypeOpInterface",
7671 name = "TensorTilingInterfaceImpl",
7672 srcs = ["lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp"],
7673 hdrs = ["include/mlir/Dialect/Tensor/IR/TensorTilingInterfaceImpl.h"],
7674 includes = ["include"],
7687 ":InferTypeOpInterface",
7688 ":ValueBoundsOpInterface",
7693 name = "TensorExtensions",
7694 srcs = glob(["lib/Dialect/Tensor/Extensions/*.cpp"]),
7695 hdrs = glob(["include/mlir/Dialect/Tensor/Extensions/*.h"]),
7696 includes = ["include"],
7701 ":MeshShardingInterface",
7702 ":MeshShardingInterfaceIncGen",
7710 name = "TensorUtils",
7711 srcs = ["lib/Dialect/Tensor/Utils/Utils.cpp"],
7712 hdrs = ["include/mlir/Dialect/Tensor/Utils/Utils.h"],
7713 includes = ["include"],
7720 ":ValueBoundsOpInterface",
7726 name = "TensorPassIncGen",
7733 "include/mlir/Dialect/Tensor/Transforms/Passes.h.inc",
7736 tblgen = ":mlir-tblgen",
7737 td_file = "include/mlir/Dialect/Tensor/Transforms/Passes.td",
7738 deps = [":PassBaseTdFiles"],
7742 name = "TensorTransforms",
7745 "lib/Dialect/Tensor/Transforms/*.cpp",
7748 hdrs = glob(["include/mlir/Dialect/Tensor/Transforms/*.h"]),
7749 includes = ["include"],
7752 ":AffineTransforms",
7756 ":BufferizationDialect",
7757 ":BufferizationInterfaces",
7758 ":BufferizationTransforms",
7766 ":SubsetOpInterface",
7768 ":TensorPassIncGen",
7772 ":ValueBoundsOpInterface",
7775 ":ViewLikeInterface",
7781 name = "TensorTransformOpsTdFiles",
7783 "include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.td",
7785 includes = ["include"],
7787 ":TransformDialectTdFiles",
7792 name = "TensorTransformOpsIncGen",
7796 "include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.h.inc",
7800 "include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.cpp.inc",
7803 tblgen = ":mlir-tblgen",
7804 td_file = "include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.td",
7806 ":TensorTransformOpsTdFiles",
7811 name = "TensorTransformOps",
7812 srcs = glob(["lib/Dialect/Tensor/TransformOps/*.cpp"]),
7813 hdrs = glob(["include/mlir/Dialect/Tensor/TransformOps/*.h"]),
7814 includes = ["include"],
7820 ":TensorTransformOpsIncGen",
7821 ":TensorTransforms",
7823 ":TransformDialect",
7824 ":TransformDialectInterfaces",
7832 "lib/Rewrite/*.cpp",
7835 hdrs = glob(["include/mlir/Rewrite/*.h"]),
7836 includes = ["include"],
7841 ":PDLInterpDialect",
7844 ":SideEffectInterfaces",
7850 name = "TransformUtils",
7852 include = ["lib/Transforms/Utils/*.cpp"],
7853 exclude = ["lib/Transforms/Utils/InliningUtils.cpp"],
7857 "include/mlir/Transforms/CFGToSCF.h",
7858 "include/mlir/Transforms/CommutativityUtils.h",
7859 "include/mlir/Transforms/ControlFlowSinkUtils.h",
7860 "include/mlir/Transforms/DialectConversion.h",
7861 "include/mlir/Transforms/FoldUtils.h",
7862 "include/mlir/Transforms/GreedyPatternRewriteDriver.h",
7863 "include/mlir/Transforms/Inliner.h",
7864 "include/mlir/Transforms/LoopInvariantCodeMotionUtils.h",
7865 "include/mlir/Transforms/OneToNTypeConversion.h",
7866 "include/mlir/Transforms/RegionUtils.h",
7867 "include/mlir/Transforms/WalkPatternRewriteDriver.h",
7869 includes = ["include"],
7872 ":CallOpInterfaces",
7873 ":ControlFlowInterfaces",
7874 ":FunctionInterfaces",
7877 ":LoopLikeInterface",
7880 ":SideEffectInterfaces",
7881 ":SubsetOpInterface",
7889 name = "DerivedAttributeOpInterfaceIncGen",
7892 ["-gen-op-interface-decls"],
7893 "include/mlir/Interfaces/DerivedAttributeOpInterface.h.inc",
7896 ["-gen-op-interface-defs"],
7897 "include/mlir/Interfaces/DerivedAttributeOpInterface.cpp.inc",
7900 tblgen = ":mlir-tblgen",
7901 td_file = "include/mlir/Interfaces/DerivedAttributeOpInterface.td",
7902 deps = [":DerivedAttributeOpInterfaceTdFiles"],
7906 name = "DerivedAttributeOpInterface",
7907 srcs = ["lib/Interfaces/DerivedAttributeOpInterface.cpp"],
7908 hdrs = ["include/mlir/Interfaces/DerivedAttributeOpInterface.h"],
7909 includes = ["include"],
7911 ":DerivedAttributeOpInterfaceIncGen",
7917 name = "DestinationStyleOpInterfaceIncGen",
7920 ["-gen-op-interface-decls"],
7921 "include/mlir/Interfaces/DestinationStyleOpInterface.h.inc",
7924 ["-gen-op-interface-defs"],
7925 "include/mlir/Interfaces/DestinationStyleOpInterface.cpp.inc",
7928 tblgen = ":mlir-tblgen",
7929 td_file = "include/mlir/Interfaces/DestinationStyleOpInterface.td",
7930 deps = [":DestinationStyleOpInterfaceTdFiles"],
7934 name = "DestinationStyleOpInterface",
7935 srcs = ["lib/Interfaces/DestinationStyleOpInterface.cpp"],
7936 hdrs = ["include/mlir/Interfaces/DestinationStyleOpInterface.h"],
7937 includes = ["include"],
7939 ":DestinationStyleOpInterfaceIncGen",
7946 name = "InferIntRangeInterfaceIncGen",
7949 ["-gen-op-interface-decls"],
7950 "include/mlir/Interfaces/InferIntRangeInterface.h.inc",
7953 ["-gen-op-interface-defs"],
7954 "include/mlir/Interfaces/InferIntRangeInterface.cpp.inc",
7957 tblgen = ":mlir-tblgen",
7958 td_file = "include/mlir/Interfaces/InferIntRangeInterface.td",
7959 deps = [":InferIntRangeInterfaceTdFiles"],
7963 name = "InferIntRangeInterface",
7964 srcs = ["lib/Interfaces/InferIntRangeInterface.cpp"],
7965 hdrs = ["include/mlir/Interfaces/InferIntRangeInterface.h"],
7966 includes = ["include"],
7969 ":InferIntRangeInterfaceIncGen",
7974 name = "DataLayoutInterfacesTdFiles",
7975 srcs = ["include/mlir/Interfaces/DataLayoutInterfaces.td"],
7976 includes = ["include"],
7980 name = "DataLayoutInterfacesIncGen",
7983 ["-gen-attr-interface-decls"],
7984 "include/mlir/Interfaces/DataLayoutAttrInterface.h.inc",
7987 ["-gen-attr-interface-defs"],
7988 "include/mlir/Interfaces/DataLayoutAttrInterface.cpp.inc",
7991 ["-gen-op-interface-decls"],
7992 "include/mlir/Interfaces/DataLayoutOpInterface.h.inc",
7995 ["-gen-op-interface-defs"],
7996 "include/mlir/Interfaces/DataLayoutOpInterface.cpp.inc",
7999 ["-gen-type-interface-decls"],
8000 "include/mlir/Interfaces/DataLayoutTypeInterface.h.inc",
8003 ["-gen-type-interface-defs"],
8004 "include/mlir/Interfaces/DataLayoutTypeInterface.cpp.inc",
8007 tblgen = ":mlir-tblgen",
8008 td_file = "include/mlir/Interfaces/DataLayoutInterfaces.td",
8009 deps = [":OpBaseTdFiles"],
8013 name = "LoopLikeInterfaceIncGen",
8016 ["-gen-op-interface-decls"],
8017 "include/mlir/Interfaces/LoopLikeInterface.h.inc",
8020 ["-gen-op-interface-defs"],
8021 "include/mlir/Interfaces/LoopLikeInterface.cpp.inc",
8024 tblgen = ":mlir-tblgen",
8025 td_file = "include/mlir/Interfaces/LoopLikeInterface.td",
8026 deps = [":LoopLikeInterfaceTdFiles"],
8030 name = "MemorySlotInterfacesIncGen",
8033 ["-gen-op-interface-decls"],
8034 "include/mlir/Interfaces/MemorySlotOpInterfaces.h.inc",
8037 ["-gen-op-interface-defs"],
8038 "include/mlir/Interfaces/MemorySlotOpInterfaces.cpp.inc",
8041 ["-gen-type-interface-decls"],
8042 "include/mlir/Interfaces/MemorySlotTypeInterfaces.h.inc",
8045 ["-gen-type-interface-defs"],
8046 "include/mlir/Interfaces/MemorySlotTypeInterfaces.cpp.inc",
8049 tblgen = ":mlir-tblgen",
8050 td_file = "include/mlir/Interfaces/MemorySlotInterfaces.td",
8051 deps = [":MemorySlotInterfacesTdFiles"],
8055 name = "ShapedOpInterfacesIncGen",
8058 ["-gen-op-interface-decls"],
8059 "include/mlir/Interfaces/ShapedOpInterfaces.h.inc",
8062 ["-gen-op-interface-defs"],
8063 "include/mlir/Interfaces/ShapedOpInterfaces.cpp.inc",
8066 tblgen = ":mlir-tblgen",
8067 td_file = "include/mlir/Interfaces/ShapedOpInterfaces.td",
8068 deps = [":ShapedOpInterfacesTdFiles"],
8072 name = "ParallelCombiningOpInterfaceIncGen",
8075 ["-gen-op-interface-decls"],
8076 "include/mlir/Interfaces/ParallelCombiningOpInterface.h.inc",
8079 ["-gen-op-interface-defs"],
8080 "include/mlir/Interfaces/ParallelCombiningOpInterface.cpp.inc",
8083 tblgen = ":mlir-tblgen",
8084 td_file = "include/mlir/Interfaces/ParallelCombiningOpInterface.td",
8085 deps = [":ParallelCombiningOpInterfaceTdFiles"],
8089 name = "RuntimeVerifiableOpInterfaceIncGen",
8092 ["-gen-op-interface-decls"],
8093 "include/mlir/Interfaces/RuntimeVerifiableOpInterface.h.inc",
8096 ["-gen-op-interface-defs"],
8097 "include/mlir/Interfaces/RuntimeVerifiableOpInterface.cpp.inc",
8100 tblgen = ":mlir-tblgen",
8101 td_file = "include/mlir/Interfaces/RuntimeVerifiableOpInterface.td",
8102 deps = [":RuntimeVerifiableOpInterfaceTdFiles"],
8106 name = "VectorInterfacesIncGen",
8109 ["-gen-op-interface-decls"],
8110 "include/mlir/Interfaces/VectorInterfaces.h.inc",
8113 ["-gen-op-interface-defs"],
8114 "include/mlir/Interfaces/VectorInterfaces.cpp.inc",
8117 tblgen = ":mlir-tblgen",
8118 td_file = "include/mlir/Interfaces/VectorInterfaces.td",
8119 deps = [":VectorInterfacesTdFiles"],
8123 name = "ViewLikeInterfaceIncGen",
8126 ["-gen-op-interface-decls"],
8127 "include/mlir/Interfaces/ViewLikeInterface.h.inc",
8130 ["-gen-op-interface-defs"],
8131 "include/mlir/Interfaces/ViewLikeInterface.cpp.inc",
8134 tblgen = ":mlir-tblgen",
8135 td_file = "include/mlir/Interfaces/ViewLikeInterface.td",
8136 deps = [":ViewLikeInterfaceTdFiles"],
8140 name = "CopyOpInterfaceIncGen",
8143 ["-gen-op-interface-decls"],
8144 "include/mlir/Interfaces/CopyOpInterface.h.inc",
8147 ["-gen-op-interface-defs"],
8148 "include/mlir/Interfaces/CopyOpInterface.cpp.inc",
8151 tblgen = ":mlir-tblgen",
8152 td_file = "include/mlir/Interfaces/CopyOpInterface.td",
8153 deps = [":CopyOpInterfaceTdFiles"],
8157 name = "TransformsPassIncGen",
8164 "include/mlir/Transforms/Passes.h.inc",
8168 "-gen-pass-capi-header",
8169 "--prefix=Transforms",
8171 "include/mlir/Transforms/Transforms.capi.h.inc",
8175 "-gen-pass-capi-impl",
8176 "--prefix=Transforms",
8178 "include/mlir/Transforms/Transforms.capi.cpp.inc",
8181 tblgen = ":mlir-tblgen",
8182 td_file = "include/mlir/Transforms/Passes.td",
8185 ":RewritePassBaseTdFiles",
8190 name = "Transforms",
8192 "lib/Transforms/*.cpp",
8195 "include/mlir/Transforms/CSE.h",
8196 "include/mlir/Transforms/EndomorphismSimplification.h",
8197 "include/mlir/Transforms/HomomorphismSimplification.h",
8198 "include/mlir/Transforms/LocationSnapshot.h",
8199 "include/mlir/Transforms/Mem2Reg.h",
8200 "include/mlir/Transforms/Passes.h",
8201 "include/mlir/Transforms/SROA.h",
8202 "include/mlir/Transforms/ViewOpGraph.h",
8204 includes = ["include"],
8207 ":CallOpInterfaces",
8208 ":ControlFlowInterfaces",
8209 ":FunctionInterfaces",
8211 ":LoopLikeInterface",
8212 ":MemorySlotInterfaces",
8214 ":RuntimeVerifiableOpInterface",
8215 ":SideEffectInterfaces",
8218 ":TransformsPassIncGen",
8224 name = "CommonFolders",
8227 hdrs = ["include/mlir/Dialect/CommonFolders.h"],
8228 includes = ["include"],
8237 srcs = glob(["lib/Conversion/SCFToGPU/*.cpp"]),
8238 hdrs = glob(["include/mlir/Conversion/SCFToGPU/*.h"]),
8239 includes = ["include"],
8242 ":AffineToStandard",
8245 ":ConversionPassIncGen",
8246 ":FunctionInterfaces",
8253 ":SideEffectInterfaces",
8262 name = "SCFToEmitC",
8263 srcs = glob(["lib/Conversion/SCFToEmitC/*.cpp"]),
8264 hdrs = glob(["include/mlir/Conversion/SCFToEmitC/*.h"]),
8265 includes = ["include"],
8268 ":ConversionPassIncGen",
8278 name = "SCFToSPIRV",
8280 "lib/Conversion/SCFToSPIRV/*.cpp",
8283 "include/mlir/Conversion/SCFToSPIRV/*.h",
8285 includes = ["include"],
8288 ":ConversionPassIncGen",
8303 name = "SCFToOpenMP",
8305 "lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp",
8307 hdrs = ["include/mlir/Conversion/SCFToOpenMP/SCFToOpenMP.h"],
8308 includes = ["include"],
8313 ":ConversionPassIncGen",
8325 name = "SCFToControlFlow",
8327 "lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp",
8329 hdrs = ["include/mlir/Conversion/SCFToControlFlow/SCFToControlFlow.h"],
8330 includes = ["include"],
8333 ":ControlFlowDialect",
8334 ":ConversionPassIncGen",
8345 name = "LLVMCommonConversion",
8347 "lib/Conversion/LLVMCommon/*.cpp",
8348 ]) + ["lib/Conversion/LLVMCommon/MemRefDescriptor.h"],
8349 hdrs = glob(["include/mlir/Conversion/LLVMCommon/*.h"]),
8350 includes = ["include"],
8352 ":DataLayoutInterfaces",
8364 name = "ReconcileUnrealizedCasts",
8365 srcs = glob(["lib/Conversion/ReconcileUnrealizedCasts/*.cpp"]),
8366 hdrs = glob(["include/mlir/Conversion/ReconcileUnrealizedCasts/*.h"]),
8367 includes = ["include"],
8369 ":ConversionPassIncGen",
8377 name = "ConvertToLLVMInterface",
8378 srcs = ["lib/Conversion/ConvertToLLVM/ToLLVMInterface.cpp"],
8379 hdrs = ["include/mlir/Conversion/ConvertToLLVM/ToLLVMInterface.h"],
8380 includes = ["include"],
8389 name = "ConvertToLLVM",
8390 srcs = ["lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp"],
8391 hdrs = ["include/mlir/Conversion/ConvertToLLVM/ToLLVMPass.h"],
8392 includes = ["include"],
8394 ":ConversionPassIncGen",
8395 ":ConvertToLLVMInterface",
8397 ":LLVMCommonConversion",
8406 name = "FuncToLLVM",
8408 "lib/Conversion/FuncToLLVM/FuncToLLVM.cpp",
8411 "include/mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h",
8412 "include/mlir/Conversion/FuncToLLVM/ConvertFuncToLLVMPass.h",
8414 includes = ["include"],
8418 ":ControlFlowToLLVM",
8419 ":ConversionPassIncGen",
8420 ":ConvertToLLVMInterface",
8421 ":DataLayoutInterfaces",
8425 ":FunctionInterfaces",
8427 ":LLVMCommonConversion",
8442 name = "ConvertToSPIRV",
8443 srcs = ["lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp"],
8444 hdrs = ["include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h"],
8445 includes = ["include"],
8449 ":ConversionPassIncGen",
8467 ":VectorTransforms",
8472 name = "VectorToXeGPU",
8473 srcs = ["lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp"],
8474 hdrs = ["include/mlir/Conversion/VectorToXeGPU/VectorToXeGPU.h"],
8475 includes = ["include"],
8478 ":ConversionPassIncGen",
8491 name = "ControlFlowToSCF",
8493 "lib/Conversion/ControlFlowToSCF/ControlFlowToSCF.cpp",
8496 "include/mlir/Conversion/ControlFlowToSCF/ControlFlowToSCF.h",
8498 includes = ["include"],
8501 ":ControlFlowDialect",
8502 ":ConversionPassIncGen",
8513 name = "ControlFlowToLLVM",
8515 "lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp",
8518 "include/mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h",
8520 includes = ["include"],
8522 ":ControlFlowDialect",
8523 ":ConversionPassIncGen",
8524 ":ConvertToLLVMInterface",
8526 ":LLVMCommonConversion",
8535 name = "ControlFlowToSPIRV",
8536 srcs = glob(["lib/Conversion/ControlFlowToSPIRV/*.cpp"]),
8537 hdrs = glob(["include/mlir/Conversion/ControlFlowToSPIRV/*.h"]),
8538 includes = ["include"],
8540 ":ControlFlowDialect",
8541 ":ConversionPassIncGen",
8544 ":SPIRVCommonConversion",
8555 name = "MemRefToEmitC",
8557 "lib/Conversion/MemRefToEmitC/*.cpp",
8560 "include/mlir/Conversion/MemRefToEmitC/*.h",
8564 "lib/Conversion/MemRefToEmitC",
8567 ":ConversionPassIncGen",
8577 name = "MemRefToLLVM",
8578 srcs = glob(["lib/Conversion/MemRefToLLVM/*.cpp"]),
8579 hdrs = glob(["include/mlir/Conversion/MemRefToLLVM/*.h"]),
8580 includes = ["include"],
8584 ":ConversionPassIncGen",
8585 ":ConvertToLLVMInterface",
8588 ":LLVMCommonConversion",
8599 name = "MemRefToSPIRV",
8601 "lib/Conversion/MemRefToSPIRV/*.cpp",
8604 "include/mlir/Conversion/MemRefToSPIRV/*.h",
8608 "lib/Conversion/MemRefToSPIRV",
8612 ":ConversionPassIncGen",
8613 ":FunctionInterfaces",
8626 name = "ArithAttrToLLVMConversion",
8627 srcs = glob(["lib/Conversion/ArithCommon/*.cpp"]),
8628 hdrs = glob(["include/mlir/Conversion/ArithCommon/*.h"]),
8629 includes = ["include"],
8637 name = "ArithToAMDGPU",
8638 srcs = glob(["lib/Conversion/ArithToAMDGPU/*.cpp"]),
8639 hdrs = glob(["include/mlir/Conversion/ArithToAMDGPU/*.h"]),
8640 includes = ["include"],
8646 ":ConversionPassIncGen",
8658 name = "ArithToArmSME",
8660 "lib/Conversion/ArithToArmSME/*.cpp",
8663 "include/mlir/Conversion/ArithToArmSME/*.h",
8665 includes = ["include"],
8669 ":ConversionPassIncGen",
8676 name = "ArithToEmitC",
8678 "lib/Conversion/ArithToEmitC/*.cpp",
8681 "include/mlir/Conversion/ArithToEmitC/*.h",
8685 "lib/Conversion/ArithToEmitC",
8689 ":ConversionPassIncGen",
8700 name = "ArithToLLVM",
8701 srcs = glob(["lib/Conversion/ArithToLLVM/*.cpp"]),
8702 hdrs = glob(["include/mlir/Conversion/ArithToLLVM/*.h"]),
8703 includes = ["include"],
8705 ":ArithAttrToLLVMConversion",
8707 ":ConversionPassIncGen",
8708 ":ConvertToLLVMInterface",
8710 ":LLVMCommonConversion",
8717 name = "ArithToSPIRV",
8718 srcs = glob(["lib/Conversion/ArithToSPIRV/*.cpp"]),
8719 hdrs = glob(["include/mlir/Conversion/ArithToSPIRV/*.h"]),
8720 includes = ["include"],
8723 ":ConversionPassIncGen",
8726 ":SPIRVCommonConversion",
8734 name = "MathToLLVM",
8735 srcs = glob(["lib/Conversion/MathToLLVM/*.cpp"]),
8736 hdrs = glob(["include/mlir/Conversion/MathToLLVM/*.h"]),
8737 includes = ["include"],
8739 ":ArithAttrToLLVMConversion",
8740 ":ConversionPassIncGen",
8741 ":ConvertToLLVMInterface",
8743 ":LLVMCommonConversion",
8751 name = "MathToFuncs",
8752 srcs = glob(["lib/Conversion/MathToFuncs/*.cpp"]),
8753 hdrs = glob(["include/mlir/Conversion/MathToFuncs/*.h"]),
8754 includes = ["include"],
8757 ":ControlFlowDialect",
8758 ":ConversionPassIncGen",
8774 name = "BytecodeOpInterfaceIncGen",
8777 ["-gen-op-interface-decls"],
8778 "include/mlir/Bytecode/BytecodeOpInterface.h.inc",
8781 ["-gen-op-interface-defs"],
8782 "include/mlir/Bytecode/BytecodeOpInterface.cpp.inc",
8785 tblgen = ":mlir-tblgen",
8786 td_file = "include/mlir/Bytecode/BytecodeOpInterface.td",
8787 deps = [":BytecodeOpInterfaceTdFiles"],
8791 name = "BytecodeOpInterface",
8792 srcs = ["lib/Bytecode/BytecodeOpInterface.cpp"],
8794 "include/mlir/Bytecode/BytecodeImplementation.h",
8795 "include/mlir/Bytecode/BytecodeOpInterface.h",
8796 "include/mlir/Bytecode/Encoding.h",
8798 includes = ["include"],
8800 ":BytecodeOpInterfaceIncGen",
8808 name = "CallOpInterfacesIncGen",
8811 ["-gen-op-interface-decls"],
8812 "include/mlir/Interfaces/CallInterfaces.h.inc",
8815 ["-gen-op-interface-defs"],
8816 "include/mlir/Interfaces/CallInterfaces.cpp.inc",
8819 tblgen = ":mlir-tblgen",
8820 td_file = "include/mlir/Interfaces/CallInterfaces.td",
8821 deps = [":CallInterfacesTdFiles"],
8825 name = "CallOpInterfaces",
8826 srcs = ["lib/Interfaces/CallInterfaces.cpp"],
8827 hdrs = ["include/mlir/Interfaces/CallInterfaces.h"],
8828 includes = ["include"],
8830 ":CallOpInterfacesIncGen",
8837 name = "CastInterfacesIncGen",
8840 ["-gen-op-interface-decls"],
8841 "include/mlir/Interfaces/CastInterfaces.h.inc",
8844 ["-gen-op-interface-defs"],
8845 "include/mlir/Interfaces/CastInterfaces.cpp.inc",
8848 tblgen = ":mlir-tblgen",
8849 td_file = "include/mlir/Interfaces/CastInterfaces.td",
8850 deps = [":CastInterfacesTdFiles"],
8854 name = "CastInterfaces",
8855 srcs = ["lib/Interfaces/CastInterfaces.cpp"],
8856 hdrs = ["include/mlir/Interfaces/CastInterfaces.h"],
8857 includes = ["include"],
8859 ":CastInterfacesIncGen",
8865 name = "ControlFlowInterfacesIncGen",
8868 ["-gen-op-interface-decls"],
8869 "include/mlir/Interfaces/ControlFlowInterfaces.h.inc",
8872 ["-gen-op-interface-defs"],
8873 "include/mlir/Interfaces/ControlFlowInterfaces.cpp.inc",
8876 tblgen = ":mlir-tblgen",
8877 td_file = "include/mlir/Interfaces/ControlFlowInterfaces.td",
8878 deps = [":ControlFlowInterfacesTdFiles"],
8882 name = "ControlFlowInterfaces",
8883 srcs = ["lib/Interfaces/ControlFlowInterfaces.cpp"],
8884 hdrs = ["include/mlir/Interfaces/ControlFlowInterfaces.h"],
8885 includes = ["include"],
8887 ":ControlFlowInterfacesIncGen",
8894 name = "InferTypeOpInterfaceIncGen",
8897 ["-gen-op-interface-decls"],
8898 "include/mlir/Interfaces/InferTypeOpInterface.h.inc",
8901 ["-gen-op-interface-defs"],
8902 "include/mlir/Interfaces/InferTypeOpInterface.cpp.inc",
8905 tblgen = ":mlir-tblgen",
8906 td_file = "include/mlir/Interfaces/InferTypeOpInterface.td",
8907 deps = [":InferTypeOpInterfaceTdFiles"],
8911 name = "InferTypeOpInterface",
8912 srcs = ["lib/Interfaces/InferTypeOpInterface.cpp"],
8913 hdrs = ["include/mlir/Interfaces/InferTypeOpInterface.h"],
8914 includes = ["include"],
8917 ":InferTypeOpInterfaceIncGen",
8924 name = "SideEffectInterfacesIncGen",
8927 ["-gen-op-interface-decls"],
8928 "include/mlir/Interfaces/SideEffectInterfaces.h.inc",
8931 ["-gen-op-interface-defs"],
8932 "include/mlir/Interfaces/SideEffectInterfaces.cpp.inc",
8935 tblgen = ":mlir-tblgen",
8936 td_file = "include/mlir/Interfaces/SideEffectInterfaces.td",
8937 deps = [":SideEffectInterfacesTdFiles"],
8941 name = "SideEffectInterfaces",
8942 srcs = ["lib/Interfaces/SideEffectInterfaces.cpp"],
8943 hdrs = ["include/mlir/Interfaces/SideEffectInterfaces.h"],
8944 includes = ["include"],
8947 ":SideEffectInterfacesIncGen",
8953 name = "TilingInterfaceIncGen",
8956 ["-gen-op-interface-decls"],
8957 "include/mlir/Interfaces/TilingInterface.h.inc",
8960 ["-gen-op-interface-defs"],
8961 "include/mlir/Interfaces/TilingInterface.cpp.inc",
8964 tblgen = ":mlir-tblgen",
8965 td_file = "include/mlir/Interfaces/TilingInterface.td",
8966 deps = [":TilingInterfaceTdFiles"],
8973 "lib/Analysis/*.cpp",
8974 "lib/Analysis/*/*.cpp",
8979 "include/mlir/Analysis/*.h",
8980 "include/mlir/Analysis/*/*.h",
8984 "$(STACK_FRAME_UNLIMITED)",
8986 includes = ["include"],
8989 ":CallOpInterfaces",
8990 ":ControlFlowInterfaces",
8991 ":DataLayoutInterfaces",
8992 ":FunctionInterfaces",
8994 ":InferIntRangeInterface",
8995 ":LoopLikeInterface",
8997 ":SideEffectInterfaces",
8999 ":ViewLikeInterface",
9006 name = "ParseUtilities",
9007 hdrs = ["include/mlir/Tools/ParseUtilities.h"],
9008 includes = ["include"],
9016 name = "TranslateLib",
9018 "lib/Tools/mlir-translate/*.cpp",
9020 hdrs = glob(["include/mlir/Tools/mlir-translate/*.h"]),
9021 includes = ["include"],
9032 name = "ToLLVMIRTranslation",
9034 "lib/Target/LLVMIR/AttrKindDetail.h",
9035 "lib/Target/LLVMIR/DebugTranslation.cpp",
9036 "lib/Target/LLVMIR/DebugTranslation.h",
9037 "lib/Target/LLVMIR/LoopAnnotationTranslation.cpp",
9038 "lib/Target/LLVMIR/LoopAnnotationTranslation.h",
9039 "lib/Target/LLVMIR/ModuleTranslation.cpp",
9040 "lib/Target/LLVMIR/TypeToLLVM.cpp",
9043 "include/mlir/Target/LLVMIR/Export.h",
9044 "include/mlir/Target/LLVMIR/LLVMTranslationInterface.h",
9045 "include/mlir/Target/LLVMIR/ModuleTranslation.h",
9046 "include/mlir/Target/LLVMIR/TypeToLLVM.h",
9048 includes = ["include"],
9053 ":LLVMConversionIncGen",
9055 ":LLVMIRTransforms",
9056 ":LLVMIntrinsicConversionIncGen",
9061 "//llvm:FrontendOpenMP",
9063 "//llvm:TransformUtils",
9068 name = "AMXToLLVMIRTranslation",
9069 srcs = glob(["lib/Target/LLVMIR/Dialect/AMX/*.cpp"]),
9070 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/AMX/*.h"]),
9071 includes = ["include"],
9073 ":AMXConversionIncGen",
9076 ":ToLLVMIRTranslation",
9083 name = "X86VectorToLLVMIRTranslation",
9084 srcs = glob(["lib/Target/LLVMIR/Dialect/X86Vector/*.cpp"]),
9085 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/X86Vector/*.h"]),
9086 includes = ["include"],
9089 ":ToLLVMIRTranslation",
9090 ":X86VectorConversionIncGen",
9091 ":X86VectorDialect",
9098 name = "ArmNeonToLLVMIRTranslation",
9099 srcs = glob(["lib/Target/LLVMIR/Dialect/ArmNeon/*.cpp"]),
9100 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/ArmNeon/*.h"]),
9101 includes = ["include"],
9103 ":ArmNeonConversionIncGen",
9107 ":ToLLVMIRTranslation",
9114 name = "ArmSMEToLLVMIRTranslation",
9115 srcs = glob(["lib/Target/LLVMIR/Dialect/ArmSME/*.cpp"]),
9116 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/ArmSME/*.h"]),
9117 includes = ["include"],
9119 ":ArmSMEConversionIncGen",
9121 ":ArmSMEIntrinsicOpsIncGen",
9123 ":ToLLVMIRTranslation",
9130 name = "ArmSVEToLLVMIRTranslation",
9131 srcs = glob(["lib/Target/LLVMIR/Dialect/ArmSVE/*.cpp"]),
9132 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/ArmSVE/*.h"]),
9133 includes = ["include"],
9135 ":ArmSVEConversionIncGen",
9138 ":ToLLVMIRTranslation",
9145 name = "NVVMToLLVMIRTranslation",
9146 srcs = ["lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp"],
9147 hdrs = ["include/mlir/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.h"],
9148 includes = ["include"],
9152 ":NVVMConversionIncGen",
9155 ":ToLLVMIRTranslation",
9162 name = "ROCDLToLLVMIRTranslation",
9163 srcs = glob(["lib/Target/LLVMIR/Dialect/ROCDL/*.cpp"]),
9164 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/ROCDL/*.h"]),
9165 includes = ["include"],
9168 ":ROCDLConversionIncGen",
9170 ":ToLLVMIRTranslation",
9177 name = "SPIRVToLLVMIRTranslation",
9178 srcs = glob(["lib/Target/LLVMIR/Dialect/SPIRV/*.cpp"]),
9179 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/SPIRV/*.h"]),
9180 includes = ["include"],
9184 ":ToLLVMIRTranslation",
9189 name = "GPUToLLVMIRTranslation",
9191 "lib/Target/LLVMIR/Dialect/GPU/GPUToLLVMIRTranslation.cpp",
9192 "lib/Target/LLVMIR/Dialect/GPU/SelectObjectAttr.cpp",
9194 hdrs = ["include/mlir/Target/LLVMIR/Dialect/GPU/GPUToLLVMIRTranslation.h"],
9195 includes = ["include"],
9199 ":ToLLVMIRTranslation",
9206 name = "BuiltinToLLVMIRTranslation",
9207 srcs = ["lib/Target/LLVMIR/Dialect/Builtin/BuiltinToLLVMIRTranslation.cpp"],
9208 hdrs = ["include/mlir/Target/LLVMIR/Dialect/Builtin/BuiltinToLLVMIRTranslation.h"],
9209 includes = ["include"],
9212 ":ToLLVMIRTranslation",
9217 name = "LLVMToLLVMIRTranslation",
9218 srcs = ["lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp"],
9219 hdrs = ["include/mlir/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.h"],
9220 includes = ["include"],
9223 ":LLVMConversionIncGen",
9225 ":LLVMIntrinsicConversionIncGen",
9227 ":ToLLVMIRTranslation",
9234 name = "OpenMPCommon",
9235 srcs = ["lib/Target/LLVMIR/Dialect/OpenMPCommon.cpp"],
9236 hdrs = ["include/mlir/Target/LLVMIR/Dialect/OpenMPCommon.h"],
9237 includes = ["include"],
9242 "//llvm:FrontendOpenMP",
9247 name = "LLVMIRToLLVMTranslation",
9248 srcs = ["lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp"],
9249 hdrs = ["include/mlir/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.h"],
9250 includes = ["include"],
9252 ":FromLLVMIRTranslation",
9253 ":LLVMConversionIncGen",
9255 ":LLVMIntrinsicConversionIncGen",
9263 name = "LLVMIRToNVVMTranslation",
9264 srcs = ["lib/Target/LLVMIR/Dialect/NVVM/LLVMIRToNVVMTranslation.cpp"],
9265 hdrs = ["include/mlir/Target/LLVMIR/Dialect/NVVM/LLVMIRToNVVMTranslation.h"],
9266 includes = ["include"],
9268 ":FromLLVMIRTranslation",
9270 ":NVVMConvertibleLLVMIRIntrinsicsIncGen",
9272 ":NVVMFromLLVMIRConversionsIncGen",
9280 name = "OpenACCToLLVMIRTranslation",
9281 srcs = glob(["lib/Target/LLVMIR/Dialect/OpenACC/*.cpp"]),
9282 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/OpenACC/*.h"]),
9283 includes = ["include"],
9291 ":ToLLVMIRTranslation",
9294 "//llvm:FrontendOpenMP",
9300 name = "OpenMPToLLVMIRTranslation",
9301 srcs = glob(["lib/Target/LLVMIR/Dialect/OpenMP/*.cpp"]),
9302 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/OpenMP/*.h"]),
9303 includes = ["include"],
9311 ":ToLLVMIRTranslation",
9315 "//llvm:FrontendOpenMP",
9317 "//llvm:TargetParser",
9318 "//llvm:TransformUtils",
9323 name = "AllToLLVMIRTranslations",
9324 hdrs = ["include/mlir/Target/LLVMIR/Dialect/All.h"],
9325 includes = ["include"],
9327 ":AMXToLLVMIRTranslation",
9328 ":ArmNeonToLLVMIRTranslation",
9329 ":ArmSMEToLLVMIRTranslation",
9330 ":ArmSVEToLLVMIRTranslation",
9331 ":BuiltinToLLVMIRTranslation",
9332 ":GPUToLLVMIRTranslation",
9333 ":LLVMIRToLLVMTranslation",
9334 ":LLVMIRToNVVMTranslation",
9335 ":LLVMToLLVMIRTranslation",
9337 ":NVVMToLLVMIRTranslation",
9338 ":OpenACCToLLVMIRTranslation",
9339 ":OpenMPToLLVMIRTranslation",
9341 ":ROCDLToLLVMIRTranslation",
9342 ":SPIRVToLLVMIRTranslation",
9343 ":VCIXToLLVMIRTranslation",
9344 ":X86VectorToLLVMIRTranslation",
9349 name = "ToLLVMIRTranslationRegistration",
9350 srcs = ["lib/Target/LLVMIR/ConvertToLLVMIR.cpp"],
9351 includes = ["include"],
9353 ":AllToLLVMIRTranslations",
9359 ":ToLLVMIRTranslation",
9367 name = "FromLLVMIRTranslation",
9369 "lib/Target/LLVMIR/AttrKindDetail.h",
9370 "lib/Target/LLVMIR/DataLayoutImporter.cpp",
9371 "lib/Target/LLVMIR/DataLayoutImporter.h",
9372 "lib/Target/LLVMIR/DebugImporter.cpp",
9373 "lib/Target/LLVMIR/DebugImporter.h",
9374 "lib/Target/LLVMIR/LoopAnnotationImporter.cpp",
9375 "lib/Target/LLVMIR/LoopAnnotationImporter.h",
9376 "lib/Target/LLVMIR/ModuleImport.cpp",
9377 "lib/Target/LLVMIR/TypeFromLLVM.cpp",
9380 "include/mlir/Target/LLVMIR/Import.h",
9381 "include/mlir/Target/LLVMIR/LLVMImportInterface.h",
9382 "include/mlir/Target/LLVMIR/ModuleImport.h",
9383 "include/mlir/Target/LLVMIR/TypeFromLLVM.h",
9385 includes = ["include"],
9388 ":DataLayoutInterfaces",
9390 ":LLVMConversionIncGen",
9392 ":LLVMIntrinsicConversionIncGen",
9395 "//llvm:BinaryFormat",
9404 name = "FromLLVMIRTranslationRegistration",
9406 "lib/Target/LLVMIR/ConvertFromLLVMIR.cpp",
9409 ":AllToLLVMIRTranslations",
9411 ":FromLLVMIRTranslation",
9421 name = "ExecutionEngine",
9423 "include/mlir/ExecutionEngine/CRunnerUtils.h",
9424 "lib/ExecutionEngine/ExecutionEngine.cpp",
9427 "include/mlir/ExecutionEngine/ExecutionEngine.h",
9428 "include/mlir/ExecutionEngine/MemRefUtils.h",
9430 includes = ["include"],
9432 ":AllToLLVMIRTranslations",
9436 ":ToLLVMIRTranslation",
9437 "//llvm:AllTargetsAsmParsers",
9440 "//llvm:ExecutionEngine",
9444 "//llvm:Target", # fixdeps: keep
9445 "//llvm:TargetParser",
9446 "//llvm:TransformUtils",
9447 "//llvm:X86CodeGen", # fixdeps: keep
9448 "//llvm:X86Disassembler", # fixdeps: keep
9453 name = "ExecutionEngineUtils",
9454 srcs = ["lib/ExecutionEngine/OptUtils.cpp"],
9455 hdrs = ["include/mlir/ExecutionEngine/OptUtils.h"],
9456 includes = ["include"],
9460 "//llvm:Coroutines",
9465 "//llvm:common_transforms",
9470 name = "PluginsLib",
9472 "lib/Tools/Plugins/DialectPlugin.cpp",
9473 "lib/Tools/Plugins/PassPlugin.cpp",
9476 "include/mlir/Tools/Plugins/DialectPlugin.h",
9477 "include/mlir/Tools/Plugins/PassPlugin.h",
9479 includes = ["include"],
9488 name = "MlirOptLib",
9489 srcs = ["lib/Tools/mlir-opt/MlirOptMain.cpp"],
9490 hdrs = ["include/mlir/Tools/mlir-opt/MlirOptMain.h"],
9491 includes = ["include"],
9507 name = "AllTranslations",
9508 hdrs = ["include/mlir/InitAllTranslations.h"],
9510 ":FromLLVMIRTranslationRegistration",
9511 ":SPIRVTranslateRegistration",
9513 ":ToLLVMIRTranslationRegistration",
9518 name = "MlirTranslateMain",
9519 srcs = ["tools/mlir-translate/mlir-translate.cpp"],
9520 local_defines = ["MLIR_INCLUDE_TESTS"],
9522 ":AllPassesAndDialects",
9527 "//mlir/test:TestToLLVMIRTranslation",
9532 name = "mlir-translate",
9533 deps = [":MlirTranslateMain"],
9537 name = "AllPassesAndDialects",
9539 "include/mlir/InitAllDialects.h",
9540 "include/mlir/InitAllPasses.h",
9545 ":AMDGPUTransforms",
9549 ":AffinePassIncGen",
9550 ":AffineToStandard",
9551 ":AffineTransformOps",
9552 ":AffineTransforms",
9558 ":ArithValueBoundsOpInterfaceImpl",
9561 ":ArmSMETransforms",
9563 ":ArmSVETransforms",
9568 ":BufferizationDialect",
9569 ":BufferizationPipelines",
9570 ":BufferizationTransformOps",
9571 ":BufferizationTransforms",
9577 ":ControlFlowDialect",
9578 ":ControlFlowTransforms",
9579 ":ConversionPasses",
9587 ":FuncTransformOps",
9589 ":FuncTransformsPassIncGen",
9593 ":GPUToGPURuntimeTransforms",
9594 ":GPUToNVVMTransforms",
9595 ":GPUToROCDLTransforms",
9597 ":GPUToVulkanTransforms",
9604 ":LLVMIRTransforms",
9607 ":LinalgPassIncGen",
9608 ":LinalgToStandard",
9609 ":LinalgTransformOps",
9610 ":LinalgTransforms",
9611 ":MLProgramDialect",
9612 ":MLProgramTransforms",
9623 ":MemRefTransformOps",
9624 ":MemRefTransforms",
9630 ":NVGPUTransformOps",
9635 ":OpenACCTransforms",
9639 ":PDLInterpDialect",
9641 ":PolynomialDialect",
9647 ":ReconcileUnrealizedCasts",
9650 ":SCFToControlFlow",
9662 ":ShapeTransformsPassIncGen",
9663 ":SparseTensorDialect",
9664 ":SparseTensorPipelines",
9665 ":SparseTensorTransformOps",
9666 ":SparseTensorTransforms",
9668 ":TensorInferTypeOpInterfaceImpl",
9669 ":TensorTilingInterfaceImpl",
9670 ":TensorTransformOps",
9671 ":TensorTransforms",
9674 ":TransformDebugExtension",
9675 ":TransformDialect",
9676 ":TransformDialectTransforms",
9677 ":TransformLoopExtension",
9678 ":TransformPDLExtension",
9680 ":TransformsPassIncGen",
9686 ":VectorTransformOps",
9687 ":VectorTransforms",
9688 ":X86VectorDialect",
9689 ":X86VectorTransforms",
9696 name = "mlir-lsp-server",
9697 srcs = ["tools/mlir-lsp-server/mlir-lsp-server.cpp"],
9698 includes = ["include"],
9701 ":AllPassesAndDialects",
9704 ":MlirLspServerLib",
9711 srcs = ["tools/mlir-opt/mlir-opt.cpp"],
9712 local_defines = ["MLIR_INCLUDE_TESTS"],
9715 ":AllPassesAndDialects",
9716 ":AllToLLVMIRTranslations",
9727 "//llvm:AllTargetsCodeGens",
9729 "//mlir/test:TestAffine",
9730 "//mlir/test:TestAnalysis",
9731 "//mlir/test:TestArith",
9732 "//mlir/test:TestArmNeon",
9733 "//mlir/test:TestArmSME",
9734 "//mlir/test:TestBufferization",
9735 "//mlir/test:TestControlFlow",
9736 "//mlir/test:TestConvertToSPIRV",
9737 "//mlir/test:TestDLTI",
9738 "//mlir/test:TestDialect",
9739 "//mlir/test:TestFunc",
9740 "//mlir/test:TestFuncToLLVM",
9741 "//mlir/test:TestGPU",
9742 "//mlir/test:TestIR",
9743 "//mlir/test:TestLLVM",
9744 "//mlir/test:TestLinalg",
9745 "//mlir/test:TestLoopLikeInterface",
9746 "//mlir/test:TestMath",
9747 "//mlir/test:TestMathToVCIX",
9748 "//mlir/test:TestMemRef",
9749 "//mlir/test:TestMesh",
9750 "//mlir/test:TestNVGPU",
9751 "//mlir/test:TestOneToNTypeConversion",
9752 "//mlir/test:TestPDLL",
9753 "//mlir/test:TestPass",
9754 "//mlir/test:TestReducer",
9755 "//mlir/test:TestRewrite",
9756 "//mlir/test:TestSCF",
9757 "//mlir/test:TestSPIRV",
9758 "//mlir/test:TestShapeDialect",
9759 "//mlir/test:TestTensor",
9760 "//mlir/test:TestTestDynDialect",
9761 "//mlir/test:TestTilingInterface",
9762 "//mlir/test:TestTosaDialect",
9763 "//mlir/test:TestTransformDialect",
9764 "//mlir/test:TestTransforms",
9765 "//mlir/test:TestVector",
9766 "//mlir/test:TestVectorToSPIRV",
9771 name = "mlir-rewrite",
9772 srcs = ["tools/mlir-rewrite/mlir-rewrite.cpp"],
9776 ":AllPassesAndDialects",
9793 name = "MlirJitRunner",
9794 srcs = ["lib/ExecutionEngine/JitRunner.cpp"],
9795 hdrs = ["include/mlir/ExecutionEngine/JitRunner.h"],
9796 includes = ["include"],
9798 ":AllPassesAndDialects",
9800 ":ExecutionEngineUtils",
9803 ":LLVMToLLVMIRTranslation",
9804 ":OpenACCToLLVMIRTranslation",
9805 ":OpenMPToLLVMIRTranslation",
9808 ":SCFToControlFlow",
9817 name = "mlir_async_runtime_api",
9818 hdrs = ["include/mlir/ExecutionEngine/AsyncRuntime.h"],
9819 includes = ["include"],
9823 name = "_mlir_async_runtime",
9824 srcs = ["lib/ExecutionEngine/AsyncRuntime.cpp"],
9825 copts = ["-Dmlir_async_runtime_EXPORTS"],
9827 ":mlir_async_runtime_api",
9832 # Indirection to avoid 'libmlir_async_runtime.so' filename clash.
9834 name = "mlir_async_runtime",
9835 actual = "_mlir_async_runtime",
9839 name = "libmlir_async_runtime.so",
9842 deps = [":mlir_async_runtime"],
9846 name = "_mlir_float16_utils",
9847 srcs = ["lib/ExecutionEngine/Float16bits.cpp"],
9848 hdrs = ["include/mlir/ExecutionEngine/Float16bits.h"],
9849 copts = ["-Dmlir_float16_utils_EXPORTS"],
9850 includes = ["include"],
9853 # Indirection to avoid 'libmlir_float16_utils.so' filename clash.
9855 name = "mlir_float16_utils",
9856 actual = "_mlir_float16_utils",
9860 name = "libmlir_float16_utils.so",
9863 deps = [":mlir_float16_utils"],
9866 # Unlike mlir_float16_utils, mlir_c_runner_utils, etc, we do *not* make
9867 # this a shared library: because on the CMake side, doing so causes issues
9868 # when building on Windows. In particular, various functions take/return
9869 # `std::vector` but that class is not designed with dllimport/dllexport
9870 # pragma, therefore it cannot be safely/correctly used across DLL boundaries.
9871 # Consequently, we avoid using the "mlir_xxx_utils" naming scheme,
9872 # since that is reserved/intended for shared libraries only.
9874 name = "SparseTensorRuntime",
9876 "lib/ExecutionEngine/SparseTensor/File.cpp",
9877 "lib/ExecutionEngine/SparseTensor/MapRef.cpp",
9878 "lib/ExecutionEngine/SparseTensor/Storage.cpp",
9881 "include/mlir/ExecutionEngine/SparseTensor/ArithmeticUtils.h",
9882 "include/mlir/ExecutionEngine/SparseTensor/COO.h",
9883 "include/mlir/ExecutionEngine/SparseTensor/File.h",
9884 "include/mlir/ExecutionEngine/SparseTensor/MapRef.h",
9885 "include/mlir/ExecutionEngine/SparseTensor/Storage.h",
9887 includes = ["include"],
9889 ":SparseTensorEnums",
9890 ":mlir_float16_utils",
9895 name = "_mlir_c_runner_utils",
9897 "lib/ExecutionEngine/CRunnerUtils.cpp",
9898 "lib/ExecutionEngine/SparseTensorRuntime.cpp",
9901 "include/mlir/ExecutionEngine/CRunnerUtils.h",
9902 "include/mlir/ExecutionEngine/Msan.h",
9903 "include/mlir/ExecutionEngine/SparseTensorRuntime.h",
9905 includes = ["include"],
9907 ":SparseTensorEnums",
9908 ":SparseTensorRuntime",
9909 ":mlir_float16_utils",
9914 # Indirection to avoid 'libmlir_c_runner_utils.so' filename clash.
9916 name = "mlir_c_runner_utils",
9917 actual = "_mlir_c_runner_utils",
9921 name = "mlir_c_runner_utils_hdrs",
9922 src = ":mlir_c_runner_utils",
9926 name = "libmlir_c_runner_utils.so",
9929 deps = [":mlir_c_runner_utils"],
9933 name = "_mlir_runner_utils",
9934 srcs = ["lib/ExecutionEngine/RunnerUtils.cpp"],
9935 hdrs = ["include/mlir/ExecutionEngine/RunnerUtils.h"],
9936 includes = ["include"],
9938 ":mlir_c_runner_utils",
9939 ":mlir_float16_utils",
9943 # Indirection to avoid 'libmlir_runner_utils.so' filename clash.
9945 name = "mlir_runner_utils",
9946 actual = "_mlir_runner_utils",
9950 name = "mlir_runner_utils_hdrs",
9951 src = ":mlir_runner_utils",
9955 name = "libmlir_runner_utils.so",
9958 deps = [":mlir_runner_utils"],
9962 name = "mlir-cpu-runner",
9963 srcs = ["tools/mlir-cpu-runner/mlir-cpu-runner.cpp"],
9965 ":AllToLLVMIRTranslations",
9966 ":BuiltinToLLVMIRTranslation",
9967 ":ExecutionEngineUtils",
9970 ":LLVMToLLVMIRTranslation",
9972 ":OpenACCToLLVMIRTranslation",
9973 ":OpenMPToLLVMIRTranslation",
9974 ":ToLLVMIRTranslation",
9979 "//llvm:X86AsmParser",
9983 # This target provides the headers from LLVM's Support target without any of
9984 # the symbols. In particular, it does not contain the static registration code
9985 # which may be executed by at most one shared library loaded by ORCJit. Direct
9986 # dependencies need to avoid requiring symbols from LLVMSupport by adding
9987 # copts = ["-DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1"].
9989 # Bazel links the dependencies' object files instead of the archives, which
9990 # means that symbols are linked in even if none are used. The LLVM cmake build
9991 # on the other hand links archives (or shared libraries, depending on
9992 # BUILD_SHARED_LIBS), skipping them if none of the symbols are used.
9993 # See also https://reviews.llvm.org/D95613.
9995 name = "LLVMSupportHeaders",
9996 src = "//llvm:Support",
10000 name = "_mlir_cuda_runtime",
10001 srcs = ["lib/ExecutionEngine/CudaRuntimeWrappers.cpp"],
10002 # Prevent needing EnableABIBreakingChecks symbol from LLVMSupport.
10003 copts = ["-DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1"],
10005 # MLIR_ENABLE_CUDA_CUSPARSE : enables cuSPARSE
10006 # MLIR_ENABLE_CUDA_CUSPARSELT : enables cuSPARSElt
10007 local_defines = ["MLIR_ENABLE_CUDA_CUSPARSE"],
10009 "manual", # External dependency
10010 "nobuildkite", # TODO(gcmn): Add support for this target
10013 ":LLVMSupportHeaders",
10014 ":mlir_c_runner_utils_hdrs",
10015 "@cuda//:cuda_headers",
10016 "@cuda//:cusparse_static",
10021 # Indirection to avoid 'libmlir_cuda_runtime.so' filename clash.
10023 name = "mlir_cuda_runtime",
10024 actual = "_mlir_cuda_runtime",
10026 "manual", # External dependency
10027 "nobuildkite", # TODO(gcmn): Add support for this target
10032 name = "libmlir_cuda_runtime.so",
10034 linkstatic = False,
10036 "manual", # External dependency
10037 "nobuildkite", # TODO(gcmn): Add support for this target
10039 deps = [":mlir_cuda_runtime"],
10043 name = "VulkanRuntime",
10044 srcs = ["tools/mlir-vulkan-runner/VulkanRuntime.cpp"],
10045 hdrs = ["tools/mlir-vulkan-runner/VulkanRuntime.h"],
10047 "manual", # External dependency
10052 "@vulkan_sdk//:sdk",
10057 name = "libvulkan-runtime-wrappers.so",
10058 srcs = ["tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp"],
10060 linkstatic = False,
10062 "manual", # External dependency
10064 deps = [":VulkanRuntime"],
10068 name = "mlir-vulkan-runner",
10069 srcs = ["tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp"],
10072 ":BuiltinToLLVMIRTranslation",
10074 ":ExecutionEngineUtils",
10080 ":GPUToVulkanTransforms",
10082 ":LLVMCommonConversion",
10084 ":LLVMIRTransforms",
10085 ":LLVMToLLVMIRTranslation",
10088 ":MemRefTransforms",
10091 ":ReconcileUnrealizedCasts",
10094 ":SPIRVTransforms",
10095 ":ToLLVMIRTranslation",
10104 srcs = glob(["lib/TableGen/*.cpp"]),
10105 hdrs = glob(["include/mlir/TableGen/*.h"]),
10106 includes = ["include"],
10111 "//llvm:TargetParser",
10116 name = "MlirTableGenMain",
10117 srcs = glob(["lib/Tools/mlir-tblgen/*.cpp"]),
10118 hdrs = glob(["include/mlir/Tools/mlir-tblgen/*.h"]),
10119 includes = ["include"],
10124 "//llvm:TargetParser",
10130 name = "mlir-tblgen",
10132 "tools/mlir-tblgen/*.h",
10133 "tools/mlir-tblgen/*.cpp",
10136 ":MlirTableGenMain",
10139 "//llvm:CodeGenTypes",
10142 "//llvm:TargetParser",
10148 name = "mlir-src-sharder",
10149 srcs = ["tools/mlir-src-sharder/mlir-src-sharder.cpp"],
10157 name = "mlir-linalg-ods-yaml-gen",
10159 "tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp",
10171 ## OpenMP / OpenACC common
10174 name = "AtomicInterfacesTdFiles",
10175 srcs = ["include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td"],
10176 includes = ["include"],
10178 ":ControlFlowInterfacesTdFiles",
10184 name = "AtomicInterfacesIncGen",
10187 ["-gen-op-interface-decls"],
10188 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h.inc",
10191 ["-gen-op-interface-defs"],
10192 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.cpp.inc",
10195 tblgen = ":mlir-tblgen",
10196 td_file = "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td",
10198 ":AtomicInterfacesTdFiles",
10199 ":ControlFlowInterfacesTdFiles",
10204 name = "AtomicInterfaces",
10205 srcs = ["lib/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.cpp"],
10206 hdrs = ["include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h"],
10207 includes = ["include"],
10209 ":AtomicInterfacesIncGen",
10210 ":ControlFlowInterfaces",
10217 # TODO(gcmn): This is sticking td files in a cc_library
10219 name = "AccCommonGen",
10220 includes = ["/llvm/include"],
10224 "-gen-directive-decl",
10225 "-directives-dialect=OpenACC",
10227 "include/mlir/Dialect/OpenACC/AccCommon.td",
10230 tblgen = ":mlir-tblgen",
10231 td_file = "//llvm:include/llvm/Frontend/OpenACC/ACC.td",
10232 deps = ["//llvm:acc_td_files"],
10236 name = "OpenAccOpsTdFiles",
10238 "include/mlir/Dialect/OpenACC/AccCommon.td",
10239 "include/mlir/Dialect/OpenACC/OpenACCBase.td",
10240 "include/mlir/Dialect/OpenACC/OpenACCOps.td",
10241 "include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td",
10242 "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td",
10243 "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td",
10244 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td",
10245 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.td",
10247 includes = ["include"],
10249 ":AtomicInterfacesTdFiles",
10250 ":LoopLikeInterfaceTdFiles",
10256 name = "OpenACCOpsInterfacesIncGen",
10259 ["-gen-op-interface-decls"],
10260 "include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.h.inc",
10263 ["-gen-op-interface-defs"],
10264 "include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.cpp.inc",
10267 tblgen = ":mlir-tblgen",
10268 td_file = "include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td",
10269 deps = [":OpenAccOpsTdFiles"],
10273 name = "OpenACCMPOpsInterfacesIncGen",
10276 ["-gen-op-interface-decls"],
10277 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.h.inc",
10280 ["-gen-op-interface-defs"],
10281 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.cpp.inc",
10284 tblgen = ":mlir-tblgen",
10285 td_file = "include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.td",
10286 deps = [":OpenAccOpsTdFiles"],
10290 name = "OpenACCOpsIncGen",
10294 "-gen-dialect-decls",
10297 "include/mlir/Dialect/OpenACC/OpenACCOpsDialect.h.inc",
10301 "-gen-dialect-defs",
10304 "include/mlir/Dialect/OpenACC/OpenACCOpsDialect.cpp.inc",
10308 "include/mlir/Dialect/OpenACC/OpenACCOps.h.inc",
10312 "include/mlir/Dialect/OpenACC/OpenACCOps.cpp.inc",
10315 ["-gen-enum-decls"],
10316 "include/mlir/Dialect/OpenACC/OpenACCOpsEnums.h.inc",
10319 ["-gen-enum-defs"],
10320 "include/mlir/Dialect/OpenACC/OpenACCOpsEnums.cpp.inc",
10324 "-gen-attrdef-decls",
10325 "-attrdefs-dialect=acc",
10327 "include/mlir/Dialect/OpenACC/OpenACCOpsAttributes.h.inc",
10331 "-gen-attrdef-defs",
10332 "-attrdefs-dialect=acc",
10334 "include/mlir/Dialect/OpenACC/OpenACCOpsAttributes.cpp.inc",
10338 "g3doc/Dialects/OpenACC/OpenACCOps.md",
10341 tblgen = ":mlir-tblgen",
10342 td_file = "include/mlir/Dialect/OpenACC/OpenACCOps.td",
10344 ":BuiltinDialectTdFiles",
10345 ":ControlFlowInterfacesTdFiles",
10346 ":OpenAccOpsTdFiles",
10347 ":SideEffectInterfacesTdFiles",
10352 name = "OpenACCTypesIncGen",
10356 "--gen-typedef-decls",
10357 "-typedefs-dialect=acc",
10359 "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.h.inc",
10363 "--gen-typedef-defs",
10364 "-typedefs-dialect=acc",
10366 "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.cpp.inc",
10369 tblgen = ":mlir-tblgen",
10370 td_file = "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td",
10371 deps = [":OpenAccOpsTdFiles"],
10375 name = "OpenACCTypeInterfacesIncGen",
10378 ["-gen-type-interface-decls"],
10379 "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.h.inc",
10382 ["-gen-type-interface-defs"],
10383 "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.cpp.inc",
10386 tblgen = ":mlir-tblgen",
10387 td_file = "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td",
10388 deps = [":OpenAccOpsTdFiles"],
10392 name = "OpenACCDialect",
10393 srcs = glob(["lib/Dialect/OpenACC/IR/*.cpp"]),
10395 include = ["include/mlir/Dialect/OpenACC/*.h"],
10396 exclude = ["include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h"],
10398 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.h",
10400 includes = ["include"],
10402 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.h",
10405 ":AtomicInterfaces",
10406 ":AtomicInterfacesIncGen",
10407 ":BytecodeOpInterface",
10408 ":ControlFlowInterfaces",
10411 ":LoopLikeInterface",
10413 ":OpenACCMPOpsInterfacesIncGen",
10414 ":OpenACCOpsIncGen",
10415 ":OpenACCOpsInterfacesIncGen",
10416 ":OpenACCTypeInterfacesIncGen",
10417 ":OpenACCTypesIncGen",
10418 ":SideEffectInterfaces",
10425 name = "OpenACCPassIncGen",
10432 "include/mlir/Dialect/OpenACC/Transforms/Passes.h.inc",
10435 tblgen = ":mlir-tblgen",
10436 td_file = "include/mlir/Dialect/OpenACC/Transforms/Passes.td",
10437 deps = [":PassBaseTdFiles"],
10441 name = "OpenACCTransforms",
10444 "lib/Dialect/OpenACC/Transforms/*.cpp",
10447 hdrs = glob(["include/mlir/Dialect/OpenACC/Transforms/*.h"]),
10448 includes = ["include"],
10452 ":OpenACCPassIncGen",
10461 # TODO(gcmn): This is sticking td files in a cc_library
10463 name = "OmpCommonTdGen",
10464 includes = ["/llvm/include"],
10468 "-gen-directive-decl",
10469 "-directives-dialect=OpenMP",
10471 "include/mlir/Dialect/OpenMP/OmpCommon.td",
10474 tblgen = ":mlir-tblgen",
10475 td_file = "//llvm:include/llvm/Frontend/OpenMP/OMP.td",
10478 "//llvm:omp_td_files",
10483 name = "OpenMPOpsTdFiles",
10485 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/AtomicInterfaces.td",
10486 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.td",
10487 "include/mlir/Dialect/OpenMP/OmpCommon.td",
10488 "include/mlir/Dialect/OpenMP/OpenMPAttrDefs.td",
10489 "include/mlir/Dialect/OpenMP/OpenMPClauses.td",
10490 "include/mlir/Dialect/OpenMP/OpenMPDialect.td",
10491 "include/mlir/Dialect/OpenMP/OpenMPEnums.td",
10492 "include/mlir/Dialect/OpenMP/OpenMPOpBase.td",
10493 "include/mlir/Dialect/OpenMP/OpenMPOps.td",
10494 "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td",
10495 "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.td",
10498 ":AtomicInterfacesTdFiles",
10505 name = "OpenMPOpsIncGen",
10509 "-gen-typedef-decls",
10510 "-typedefs-dialect=omp",
10512 "include/mlir/Dialect/OpenMP/OpenMPOpsTypes.h.inc",
10516 "-gen-typedef-defs",
10517 "-typedefs-dialect=omp",
10519 "include/mlir/Dialect/OpenMP/OpenMPOpsTypes.cpp.inc",
10523 "include/mlir/Dialect/OpenMP/OpenMPOps.h.inc",
10527 "include/mlir/Dialect/OpenMP/OpenMPOps.cpp.inc",
10530 ["-gen-enum-decls"],
10531 "include/mlir/Dialect/OpenMP/OpenMPOpsEnums.h.inc",
10534 ["-gen-enum-defs"],
10535 "include/mlir/Dialect/OpenMP/OpenMPOpsEnums.cpp.inc",
10539 "-gen-dialect-decls",
10542 "include/mlir/Dialect/OpenMP/OpenMPOpsDialect.h.inc",
10546 "-gen-dialect-defs",
10549 "include/mlir/Dialect/OpenMP/OpenMPOpsDialect.cpp.inc",
10553 "-gen-attrdef-decls",
10554 "-attrdefs-dialect=omp",
10556 "include/mlir/Dialect/OpenMP/OpenMPOpsAttributes.h.inc",
10560 "-gen-attrdef-defs",
10561 "-attrdefs-dialect=omp",
10563 "include/mlir/Dialect/OpenMP/OpenMPOpsAttributes.cpp.inc",
10567 "g3doc/Dialects/OpenMP/OpenMPOps.md",
10570 ["-gen-openmp-clause-ops"],
10571 "include/mlir/Dialect/OpenMP/OpenMPClauseOps.h.inc",
10574 tblgen = ":mlir-tblgen",
10575 td_file = "include/mlir/Dialect/OpenMP/OpenMPOps.td",
10576 deps = [":OpenMPOpsTdFiles"],
10580 name = "OpenMPTypeInterfacesIncGen",
10583 ["-gen-type-interface-decls"],
10584 "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.h.inc",
10587 ["-gen-type-interface-defs"],
10588 "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.cpp.inc",
10591 tblgen = ":mlir-tblgen",
10592 td_file = "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.td",
10593 deps = [":OpenMPOpsTdFiles"],
10597 name = "OpenMPInterfacesIncGen",
10600 ["-gen-op-interface-decls"],
10601 "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.h.inc",
10604 ["-gen-op-interface-defs"],
10605 "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.cpp.inc",
10608 tblgen = ":mlir-tblgen",
10609 td_file = "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td",
10610 deps = [":OpenMPOpsTdFiles"],
10614 name = "OpenMPDialect",
10615 srcs = glob(["lib/Dialect/OpenMP/IR/*.cpp"]),
10617 include = ["include/mlir/Dialect/OpenMP/*.h"],
10618 exclude = ["include/mlir/Dialect/OpenMP/OpenMPInterfaces.h"],
10620 "include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.h",
10622 includes = ["include"],
10624 "include/mlir/Dialect/OpenMP/OpenMPInterfaces.h",
10627 ":AtomicInterfaces",
10628 ":AtomicInterfacesIncGen",
10629 ":ControlFlowInterfaces",
10630 ":ConvertToLLVMInterface",
10634 ":OpenACCMPOpsInterfacesIncGen",
10635 ":OpenMPInterfacesIncGen",
10636 ":OpenMPOpsIncGen",
10637 ":OpenMPTypeInterfacesIncGen",
10638 ":SideEffectInterfaces",
10640 "//llvm:FrontendOpenMP",
10646 name = "OpenACCToSCF",
10648 "lib/Conversion/OpenACCToSCF/*.cpp",
10651 "include/mlir/Conversion/OpenACCToSCF/*.h",
10653 includes = ["include"],
10656 ":ConversionPassIncGen",
10666 name = "OpenMPToLLVM",
10668 "lib/Conversion/OpenMPToLLVM/*.cpp",
10671 "include/mlir/Conversion/OpenMPToLLVM/*.h",
10673 includes = ["include"],
10676 ":ControlFlowToLLVM",
10677 ":ConversionPassIncGen",
10678 ":ConvertToLLVMInterface",
10680 ":LLVMCommonConversion",
10689 name = "QuantizationOpsTdFiles",
10691 "include/mlir/Dialect/Quant/IR/QuantBase.td",
10692 "include/mlir/Dialect/Quant/IR/QuantOps.td",
10694 includes = ["include"],
10696 ":InferTypeOpInterfaceTdFiles",
10698 ":SideEffectInterfacesTdFiles",
10703 name = "QuantOpsIncGen",
10707 "include/mlir/Dialect/Quant/IR/QuantOps.h.inc",
10711 "include/mlir/Dialect/Quant/IR/QuantOps.cpp.inc",
10714 ["-gen-dialect-decls"],
10715 "include/mlir/Dialect/Quant/IR/QuantOpsDialect.h.inc",
10718 ["-gen-dialect-defs"],
10719 "include/mlir/Dialect/Quant/IR/QuantOpsDialect.cpp.inc",
10723 "g3doc/Dialects/QuantOps/QuantOps.md",
10726 tblgen = ":mlir-tblgen",
10727 td_file = "include/mlir/Dialect/Quant/IR/QuantOps.td",
10728 deps = [":QuantizationOpsTdFiles"],
10732 name = "QuantDialectBytecodeGen",
10737 "-bytecode-dialect=Quant",
10739 "include/mlir/Dialect/Quant/IR/QuantDialectBytecode.cpp.inc",
10742 tblgen = ":mlir-tblgen",
10743 td_file = "include/mlir/Dialect/Quant/IR/QuantDialectBytecode.td",
10745 ":BytecodeTdFiles",
10752 "lib/Dialect/Quant/IR/QuantDialectBytecode.cpp",
10753 "lib/Dialect/Quant/IR/QuantDialectBytecode.h",
10754 "lib/Dialect/Quant/IR/QuantOps.cpp",
10755 "lib/Dialect/Quant/IR/QuantTypes.cpp",
10756 "lib/Dialect/Quant/IR/TypeDetail.h",
10757 "lib/Dialect/Quant/IR/TypeParser.cpp",
10758 "lib/Dialect/Quant/Utils/FakeQuantSupport.cpp",
10759 "lib/Dialect/Quant/Utils/UniformSupport.cpp",
10762 "include/mlir/Dialect/Quant/IR/Quant.h",
10763 "include/mlir/Dialect/Quant/IR/QuantTypes.h",
10764 "include/mlir/Dialect/Quant/Utils/FakeQuantSupport.h",
10765 "include/mlir/Dialect/Quant/Utils/UniformSupport.h",
10767 includes = ["include"],
10769 ":BytecodeOpInterface",
10771 ":InferTypeOpInterface",
10772 ":QuantDialectBytecodeGen",
10774 ":SideEffectInterfaces",
10781 name = "IndexOpsTdFiles",
10783 "include/mlir/Dialect/Index/IR/IndexDialect.td",
10784 "include/mlir/Dialect/Index/IR/IndexEnums.td",
10785 "include/mlir/Dialect/Index/IR/IndexOps.td",
10787 includes = ["include"],
10789 ":CastInterfacesTdFiles",
10790 ":InferIntRangeInterfaceTdFiles",
10791 ":InferTypeOpInterfaceTdFiles",
10793 ":SideEffectInterfacesTdFiles",
10798 name = "IndexOpsIncGen",
10802 "include/mlir/Dialect/Index/IR/IndexOps.h.inc",
10806 "include/mlir/Dialect/Index/IR/IndexOps.cpp.inc",
10810 "-gen-dialect-decls",
10813 "include/mlir/Dialect/Index/IR/IndexOpsDialect.h.inc",
10817 "-gen-dialect-defs",
10820 "include/mlir/Dialect/Index/IR/IndexOpsDialect.cpp.inc",
10823 ["-gen-attrdef-decls"],
10824 "include/mlir/Dialect/Index/IR/IndexOpsAttrDefs.h.inc",
10827 ["-gen-attrdef-defs"],
10828 "include/mlir/Dialect/Index/IR/IndexOpsAttrDefs.cpp.inc",
10831 tblgen = ":mlir-tblgen",
10832 td_file = "include/mlir/Dialect/Index/IR/IndexOps.td",
10833 deps = [":IndexOpsTdFiles"],
10837 name = "IndexEnumsIncGen",
10840 ["-gen-enum-decls"],
10841 "include/mlir/Dialect/Index/IR/IndexEnums.h.inc",
10844 ["-gen-enum-defs"],
10845 "include/mlir/Dialect/Index/IR/IndexEnums.cpp.inc",
10849 "-gen-attrdef-decls",
10850 "-attrdefs-dialect=index",
10852 "include/mlir/Dialect/Index/IR/IndexAttrs.h.inc",
10856 "-gen-attrdef-defs",
10857 "-attrdefs-dialect=index",
10859 "include/mlir/Dialect/Index/IR/IndexAttrs.cpp.inc",
10862 tblgen = ":mlir-tblgen",
10863 td_file = "include/mlir/Dialect/Index/IR/IndexEnums.td",
10864 deps = [":IndexOpsTdFiles"],
10868 name = "IndexToLLVM",
10870 "lib/Conversion/IndexToLLVM/*.cpp",
10873 "include/mlir/Conversion/IndexToLLVM/*.h",
10875 includes = ["include"],
10877 ":ConversionPassIncGen",
10878 ":ConvertToLLVMInterface",
10880 ":LLVMCommonConversion",
10887 name = "IndexToSPIRV",
10889 "lib/Conversion/IndexToSPIRV/*.cpp",
10892 "include/mlir/Conversion/IndexToSPIRV/*.h",
10894 includes = ["include"],
10896 ":ConversionPassIncGen",
10899 ":SPIRVCommonConversion",
10900 ":SPIRVConversion",
10906 name = "IndexDialect",
10907 srcs = glob(["lib/Dialect/Index/IR/*.cpp"]),
10908 hdrs = glob(["include/mlir/Dialect/Index/IR/*.h"]),
10909 includes = ["include"],
10911 ":BytecodeOpInterface",
10913 ":ConvertToLLVMInterface",
10915 ":IndexEnumsIncGen",
10917 ":InferIntRangeCommon",
10918 ":InferIntRangeInterface",
10919 ":InferTypeOpInterface",
10920 ":SideEffectInterfaces",
10926 name = "LinalgOpsTdFiles",
10928 "include/mlir/Dialect/Linalg/IR/LinalgBase.td",
10929 "include/mlir/Dialect/Linalg/IR/LinalgEnums.td",
10930 "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td",
10931 "include/mlir/Dialect/Linalg/IR/LinalgOps.td",
10933 includes = ["include"],
10935 ":ControlFlowInterfacesTdFiles",
10936 ":DestinationStyleOpInterfaceTdFiles",
10937 ":DialectUtilsTdFiles",
10938 ":InferTypeOpInterfaceTdFiles",
10939 ":LoopLikeInterfaceTdFiles",
10941 ":SideEffectInterfacesTdFiles",
10942 ":TilingInterfaceTdFiles",
10943 ":ViewLikeInterfaceTdFiles",
10948 name = "LinalgTransformOpsTdFiles",
10950 "include/mlir/Dialect/Linalg/TransformOps/*.td",
10952 includes = ["include"],
10955 ":TransformDialectTdFiles",
10960 name = "LinalgOpsIncGen",
10964 "include/mlir/Dialect/Linalg/IR/LinalgOps.h.inc",
10968 "include/mlir/Dialect/Linalg/IR/LinalgOps.cpp.inc",
10972 "-gen-dialect-decls",
10975 "include/mlir/Dialect/Linalg/IR/LinalgOpsDialect.h.inc",
10979 "-gen-dialect-defs",
10982 "include/mlir/Dialect/Linalg/IR/LinalgOpsDialect.cpp.inc",
10985 ["-gen-attrdef-decls"],
10986 "include/mlir/Dialect/Linalg/IR/LinalgOpsAttrDefs.h.inc",
10989 ["-gen-attrdef-defs"],
10990 "include/mlir/Dialect/Linalg/IR/LinalgOpsAttrDefs.cpp.inc",
10993 tblgen = ":mlir-tblgen",
10994 td_file = "include/mlir/Dialect/Linalg/IR/LinalgOps.td",
10995 deps = [":LinalgOpsTdFiles"],
10999 name = "LinalgEnumsIncGen",
11002 ["-gen-enum-decls"],
11003 "include/mlir/Dialect/Linalg/IR/LinalgOpsEnums.h.inc",
11006 ["-gen-enum-defs"],
11007 "include/mlir/Dialect/Linalg/IR/LinalgOpsEnums.cpp.inc",
11010 tblgen = ":mlir-tblgen",
11011 td_file = "include/mlir/Dialect/Linalg/IR/LinalgEnums.td",
11012 deps = [":LinalgOpsTdFiles"],
11016 name = "LinalgMatchOpsIncGen",
11020 "include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.h.inc",
11024 "include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.cpp.inc",
11027 tblgen = ":mlir-tblgen",
11028 td_file = "include/mlir/Dialect/Linalg/TransformOps/LinalgMatchOps.td",
11030 ":LinalgTransformEnumsIncGen",
11031 ":LinalgTransformOpsIncGen",
11032 ":LinalgTransformOpsTdFiles",
11033 ":SCFDeviceMappingInterfacesIncGen",
11038 name = "LinalgTransformEnumsIncGen",
11041 ["-gen-enum-decls"],
11042 "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOpsEnums.h.inc",
11045 ["-gen-enum-defs"],
11046 "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOpsEnums.cpp.inc",
11049 tblgen = ":mlir-tblgen",
11050 td_file = "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformEnums.td",
11052 ":LinalgTransformOpsTdFiles",
11053 ":SCFDeviceMappingInterfacesIncGen",
11058 name = "LinalgTransformOpsIncGen",
11062 "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.h.inc",
11066 "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp.inc",
11069 tblgen = ":mlir-tblgen",
11070 td_file = "include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td",
11072 ":LinalgTransformEnumsIncGen",
11073 ":LinalgTransformOpsTdFiles",
11074 ":SCFDeviceMappingInterfacesIncGen",
11079 name = "LinalgNamedStructuredOpsYamlIncGen",
11080 src = "include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml",
11084 "include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.cpp.inc",
11088 "include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.td",
11091 linalggen = ":mlir-linalg-ods-yaml-gen",
11095 name = "LinalgStructuredOpsTdFiles",
11097 "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td",
11098 "include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yamlgen.td",
11099 "include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td",
11101 includes = ["include"],
11103 ":CopyOpInterfaceTdFiles",
11104 ":DestinationStyleOpInterface",
11105 ":LinalgOpsTdFiles",
11107 ":SideEffectInterfacesTdFiles",
11112 name = "LinalgStructuredOpsIncGen",
11116 "include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.h.inc",
11120 "include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.cpp.inc",
11123 tblgen = ":mlir-tblgen",
11124 td_file = "include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td",
11125 deps = [":LinalgStructuredOpsTdFiles"],
11129 name = "LinalgInterfacesIncGen",
11132 ["-gen-op-interface-decls"],
11133 "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.h.inc",
11136 ["-gen-op-interface-defs"],
11137 "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.cpp.inc",
11140 tblgen = ":mlir-tblgen",
11141 td_file = "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td",
11142 deps = [":LinalgStructuredOpsTdFiles"],
11146 name = "BufferizableOpInterfaceTdFiles",
11148 "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td",
11150 includes = ["include"],
11157 name = "BufferizableOpInterfaceIncGen",
11160 ["-gen-op-interface-decls"],
11161 "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h.inc",
11164 ["-gen-op-interface-defs"],
11165 "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.cpp.inc",
11168 tblgen = ":mlir-tblgen",
11169 td_file = "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td",
11171 ":BufferizableOpInterfaceTdFiles",
11176 name = "BufferDeallocationOpInterfaceTdFiles",
11178 "include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.td",
11180 includes = ["include"],
11187 name = "BufferDeallocationOpInterfaceIncGen",
11190 ["-gen-op-interface-decls"],
11191 "include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.h.inc",
11194 ["-gen-op-interface-defs"],
11195 "include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp.inc",
11198 tblgen = ":mlir-tblgen",
11199 td_file = "include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.td",
11201 ":BufferDeallocationOpInterfaceTdFiles",
11206 name = "BufferViewFlowOpInterfaceTdFiles",
11208 "include/mlir/Dialect/Bufferization/IR/BufferViewFlowOpInterface.td",
11210 includes = ["include"],
11217 name = "BufferViewFlowOpInterfaceIncGen",
11220 ["-gen-op-interface-decls"],
11221 "include/mlir/Dialect/Bufferization/IR/BufferViewFlowOpInterface.h.inc",
11224 ["-gen-op-interface-defs"],
11225 "include/mlir/Dialect/Bufferization/IR/BufferViewFlowOpInterface.cpp.inc",
11228 tblgen = ":mlir-tblgen",
11229 td_file = "include/mlir/Dialect/Bufferization/IR/BufferViewFlowOpInterface.td",
11231 ":BufferViewFlowOpInterfaceTdFiles",
11236 name = "SubsetOpInterfaceTdFiles",
11238 "include/mlir/Interfaces/SubsetOpInterface.td",
11240 includes = ["include"],
11247 name = "SubsetOpInterfaceIncGen",
11250 ["-gen-op-interface-decls"],
11251 "include/mlir/Interfaces/SubsetOpInterface.h.inc",
11254 ["-gen-op-interface-defs"],
11255 "include/mlir/Interfaces/SubsetOpInterface.cpp.inc",
11258 tblgen = ":mlir-tblgen",
11259 td_file = "include/mlir/Interfaces/SubsetOpInterface.td",
11261 ":SubsetOpInterfaceTdFiles",
11266 name = "SubsetOpInterface",
11267 srcs = ["lib/Interfaces/SubsetOpInterface.cpp"],
11268 hdrs = ["include/mlir/Interfaces/SubsetOpInterface.h"],
11269 includes = ["include"],
11271 ":DestinationStyleOpInterface",
11273 ":SubsetOpInterfaceIncGen",
11274 ":ValueBoundsOpInterface",
11279 name = "LinalgDocTdFiles",
11280 srcs = ["include/mlir/Dialect/Linalg/IR/LinalgDoc.td"],
11281 includes = ["include"],
11283 ":LinalgOpsTdFiles",
11284 ":LinalgStructuredOpsTdFiles",
11289 name = "LinalgDocIncGen",
11293 "g3doc/Dialects/Linalg/LinalgOps.md",
11296 tblgen = ":mlir-tblgen",
11297 td_file = "include/mlir/Dialect/Linalg/IR/LinalgDoc.td",
11298 deps = [":LinalgDocTdFiles"],
11302 name = "LinalgToStandard",
11304 "lib/Conversion/LinalgToStandard/*.cpp",
11307 "include/mlir/Conversion/LinalgToStandard/*.h",
11309 includes = ["include"],
11312 ":ConversionPassIncGen",
11316 ":LinalgTransforms",
11325 name = "LinalgDialect",
11326 srcs = glob(["lib/Dialect/Linalg/IR/*.cpp"]),
11327 hdrs = glob(["include/mlir/Dialect/Linalg/IR/*.h"]),
11328 includes = ["include"],
11334 ":BufferizationInterfaces",
11335 ":BytecodeOpInterface",
11337 ":ControlFlowInterfaces",
11338 ":CopyOpInterface",
11339 ":DestinationStyleOpInterface",
11341 ":FunctionInterfaces",
11343 ":InferTypeOpInterface",
11345 ":LinalgEnumsIncGen",
11346 ":LinalgInterfacesIncGen",
11347 ":LinalgNamedStructuredOpsYamlIncGen",
11348 ":LinalgOpsIncGen",
11349 ":LinalgStructuredOpsIncGen",
11352 ":MeshShardingInterface",
11355 ":SideEffectInterfaces",
11356 ":SparseTensorDialect",
11357 ":SubsetOpInterface",
11360 ":TilingInterface",
11361 ":ValueBoundsOpInterface",
11362 ":ViewLikeInterface",
11368 name = "LinalgTransformOps",
11370 "lib/Dialect/Linalg/TransformOps/*.cpp",
11373 "include/mlir/Dialect/Linalg/TransformOps/*.h",
11375 includes = ["include"],
11382 ":BufferizationDialect",
11383 ":BufferizationTransforms",
11386 ":FunctionInterfaces",
11391 ":LinalgMatchOpsIncGen",
11392 ":LinalgTransformEnumsIncGen",
11393 ":LinalgTransformOpsIncGen",
11394 ":LinalgTransforms",
11401 ":TilingInterface",
11402 ":TransformDialect",
11403 ":TransformDialectInterfaces",
11404 ":TransformDialectUtils",
11407 ":VectorTransforms",
11413 name = "LinalgPassIncGen",
11420 "include/mlir/Dialect/Linalg/Passes.h.inc",
11424 "-gen-pass-capi-header",
11427 "include/mlir/Dialect/Linalg/Passes.capi.h.inc",
11431 "-gen-pass-capi-impl",
11434 "include/mlir/Dialect/Linalg/Passes.capi.cpp.inc",
11437 tblgen = ":mlir-tblgen",
11438 td_file = "include/mlir/Dialect/Linalg/Passes.td",
11439 deps = [":PassBaseTdFiles"],
11443 name = "LinalgUtils",
11445 "lib/Dialect/Linalg/Utils/*.cpp",
11448 "include/mlir/Dialect/Linalg/Utils/*.h",
11471 name = "LinalgTransforms",
11473 "lib/Dialect/Linalg/Transforms/*.cpp",
11476 "include/mlir/Dialect/Linalg/Passes.h",
11478 "include/mlir/Dialect/Linalg/Transforms/*.h",
11480 includes = ["include"],
11484 ":AffineTransforms",
11489 ":BufferizationDialect",
11490 ":BufferizationInterfaces",
11491 ":BufferizationTransforms",
11493 ":ControlFlowDialect",
11494 ":DestinationStyleOpInterface",
11502 ":LinalgPassIncGen",
11503 ":LinalgStructuredOpsIncGen",
11505 ":MaskableOpInterface",
11508 ":MemRefTransforms",
11510 ":MeshShardingInterface",
11513 ":RuntimeVerifiableOpInterface",
11517 ":SparseTensorDialect",
11518 ":SubsetOpInterface",
11521 ":TensorTilingInterfaceImpl",
11522 ":TensorTransforms",
11524 ":TilingInterface",
11526 ":ValueBoundsOpInterface",
11529 ":VectorTransforms",
11531 ":X86VectorTransforms",
11537 name = "ValueBoundsOpInterfaceTdFiles",
11539 "include/mlir/Interfaces/ValueBoundsOpInterface.td",
11541 includes = ["include"],
11548 name = "ValueBoundsOpInterfaceIncGen",
11551 ["-gen-op-interface-decls"],
11552 "include/mlir/Interfaces/ValueBoundsOpInterface.h.inc",
11555 ["-gen-op-interface-defs"],
11556 "include/mlir/Interfaces/ValueBoundsOpInterface.cpp.inc",
11559 tblgen = ":mlir-tblgen",
11560 td_file = "include/mlir/Interfaces/ValueBoundsOpInterface.td",
11562 ":ValueBoundsOpInterfaceTdFiles",
11567 name = "ValueBoundsOpInterface",
11568 srcs = ["lib/Interfaces/ValueBoundsOpInterface.cpp"],
11569 hdrs = ["include/mlir/Interfaces/ValueBoundsOpInterface.h"],
11570 includes = ["include"],
11573 ":DestinationStyleOpInterface",
11575 ":ValueBoundsOpInterfaceIncGen",
11576 ":ViewLikeInterface",
11582 name = "ArithValueBoundsOpInterfaceImpl",
11583 srcs = ["lib/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.cpp"],
11584 hdrs = ["include/mlir/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.h"],
11585 includes = ["include"],
11588 ":ValueBoundsOpInterface",
11593 name = "TilingInterface",
11594 srcs = ["lib/Interfaces/TilingInterface.cpp"],
11595 hdrs = ["include/mlir/Interfaces/TilingInterface.h"],
11596 includes = ["include"],
11601 ":TilingInterfaceIncGen",
11602 ":ViewLikeInterface",
11606 ##---------------------------------------------------------------------------##
11608 ##---------------------------------------------------------------------------##
11611 name = "MaskingOpInterfaceTdFiles",
11612 srcs = ["include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.td"],
11613 includes = ["include"],
11614 deps = [":OpBaseTdFiles"],
11618 name = "MaskableOpInterfaceTdFiles",
11619 srcs = ["include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.td"],
11620 includes = ["include"],
11621 deps = [":OpBaseTdFiles"],
11625 name = "VectorOpsTdFiles",
11627 "include/mlir/Dialect/Vector/IR/Vector.td",
11628 "include/mlir/Dialect/Vector/IR/VectorAttributes.td",
11629 "include/mlir/Dialect/Vector/IR/VectorOps.td",
11631 includes = ["include"],
11633 ":ControlFlowInterfacesTdFiles",
11634 ":DestinationStyleOpInterfaceTdFiles",
11635 ":InferTypeOpInterfaceTdFiles",
11636 ":MaskableOpInterfaceTdFiles",
11637 ":MaskingOpInterfaceTdFiles",
11639 ":SideEffectInterfacesTdFiles",
11640 ":VectorInterfacesTdFiles",
11641 ":ViewLikeInterfaceTdFiles",
11646 name = "VectorTransformOpsTdFiles",
11648 "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td",
11650 includes = ["include"],
11652 ":PDLDialectTdFiles",
11654 ":TransformDialectTdFiles",
11655 ":VectorTransformsTdFiles",
11660 name = "MaskableOpInterfaceIncGen",
11663 ["-gen-op-interface-decls"],
11664 "include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.h.inc",
11667 ["-gen-op-interface-defs"],
11668 "include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.cpp.inc",
11671 tblgen = ":mlir-tblgen",
11672 td_file = "include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.td",
11673 deps = [":MaskableOpInterfaceTdFiles"],
11677 name = "MaskingOpInterfaceIncGen",
11680 ["-gen-op-interface-decls"],
11681 "include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.h.inc",
11684 ["-gen-op-interface-defs"],
11685 "include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.cpp.inc",
11688 tblgen = ":mlir-tblgen",
11689 td_file = "include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.td",
11690 deps = [":MaskingOpInterfaceTdFiles"],
11694 name = "VectorDialectIncGen",
11698 "-gen-dialect-decls",
11701 "include/mlir/Dialect/Vector/IR/VectorDialect.h.inc",
11705 "-gen-dialect-defs",
11708 "include/mlir/Dialect/Vector/IR/VectorDialect.cpp.inc",
11712 "g3doc/Dialects/Vector/Vector.md",
11715 tblgen = ":mlir-tblgen",
11716 td_file = "include/mlir/Dialect/Vector/IR/Vector.td",
11718 ":ArithOpsTdFiles",
11719 ":VectorOpsTdFiles",
11724 name = "VectorOpsIncGen",
11728 "include/mlir/Dialect/Vector/IR/VectorOps.h.inc",
11732 "include/mlir/Dialect/Vector/IR/VectorOps.cpp.inc",
11735 tblgen = ":mlir-tblgen",
11736 td_file = "include/mlir/Dialect/Vector/IR/VectorOps.td",
11738 ":ArithOpsTdFiles",
11739 ":VectorOpsTdFiles",
11744 name = "VectorAttributesIncGen",
11747 ["-gen-enum-decls"],
11748 "include/mlir/Dialect/Vector/IR/VectorEnums.h.inc",
11751 ["-gen-enum-defs"],
11752 "include/mlir/Dialect/Vector/IR/VectorEnums.cpp.inc",
11755 ["-gen-attrdef-decls"],
11756 "include/mlir/Dialect/Vector/IR/VectorAttributes.h.inc",
11759 ["-gen-attrdef-defs"],
11760 "include/mlir/Dialect/Vector/IR/VectorAttributes.cpp.inc",
11763 tblgen = ":mlir-tblgen",
11764 td_file = "include/mlir/Dialect/Vector/IR/VectorAttributes.td",
11766 ":ArithOpsTdFiles",
11767 ":VectorOpsTdFiles",
11772 name = "VectorTransformOpsIncGen",
11776 "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.h.inc",
11780 "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.cpp.inc",
11783 tblgen = ":mlir-tblgen",
11784 td_file = "include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td",
11786 ":VectorTransformOpsTdFiles",
11791 name = "MaskableOpInterface",
11792 srcs = ["lib/Dialect/Vector/Interfaces/MaskableOpInterface.cpp"],
11793 hdrs = ["include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.h"],
11794 includes = ["include"],
11797 ":MaskableOpInterfaceIncGen",
11798 ":MaskingOpInterface",
11803 name = "MaskingOpInterface",
11804 srcs = ["lib/Dialect/Vector/Interfaces/MaskingOpInterface.cpp"],
11805 hdrs = ["include/mlir/Dialect/Vector/Interfaces/MaskingOpInterface.h"],
11806 includes = ["include"],
11809 ":MaskingOpInterfaceIncGen",
11814 name = "VectorToLLVM",
11816 "lib/Conversion/VectorToLLVM/*.cpp",
11819 "include/mlir/Conversion/VectorToLLVM/*.h",
11821 includes = ["include"],
11825 ":ArithAttrToLLVMConversion",
11830 ":ArmSVETransforms",
11831 ":ConversionPassIncGen",
11834 ":LLVMCommonConversion",
11836 ":MaskableOpInterface",
11840 ":ToLLVMIRTranslation",
11843 ":VectorTransforms",
11844 ":X86VectorDialect",
11845 ":X86VectorTransforms",
11851 name = "VectorToArmSME",
11853 "lib/Conversion/VectorToArmSME/*.cpp",
11856 "include/mlir/Conversion/VectorToArmSME/*.h",
11858 includes = ["include"],
11862 ":ConversionPassIncGen",
11872 name = "VectorToGPU",
11874 "lib/Conversion/VectorToGPU/*.cpp",
11877 "include/mlir/Conversion/VectorToGPU/*.h",
11879 includes = ["include"],
11884 ":ConversionPassIncGen",
11897 ":VectorTransforms",
11904 name = "VectorToSCF",
11906 "lib/Conversion/VectorToSCF/*.cpp",
11909 "include/mlir/Conversion/VectorToSCF/*.h",
11911 includes = ["include"],
11915 ":ConversionPassIncGen",
11925 ":VectorTransforms",
11931 name = "TosaDialectTdFiles",
11932 srcs = glob(["include/mlir/Dialect/Tosa/IR/*.td"]),
11934 ":InferTypeOpInterfaceTdFiles",
11935 ":LoopLikeInterfaceTdFiles",
11937 ":SideEffectInterfacesTdFiles",
11938 ":VectorInterfacesTdFiles",
11943 name = "TosaDialectIncGen",
11947 "include/mlir/Dialect/Tosa/IR/TosaOps.h.inc",
11951 "include/mlir/Dialect/Tosa/IR/TosaOps.cpp.inc",
11954 ["-gen-dialect-decls"],
11955 "include/mlir/Dialect/Tosa/IR/TosaOpsDialect.h.inc",
11958 ["-gen-dialect-defs"],
11959 "include/mlir/Dialect/Tosa/IR/TosaOpsDialect.cpp.inc",
11962 ["-gen-attrdef-decls"],
11963 "include/mlir/Dialect/Tosa/IR/TosaAttributes.h.inc",
11966 ["-gen-attrdef-defs"],
11967 "include/mlir/Dialect/Tosa/IR/TosaAttributes.cpp.inc",
11971 "g3doc/Dialects/Tosa/TosaOps.md",
11974 tblgen = ":mlir-tblgen",
11975 td_file = "include/mlir/Dialect/Tosa/IR/TosaOps.td",
11976 deps = [":TosaDialectTdFiles"],
11980 name = "TosaDialectBytecodeGen",
11981 strip_include_prefix = "include",
11986 "-bytecode-dialect=Tosa",
11988 "include/mlir/Dialect/Tosa/IR/TosaDialectBytecode.cpp.inc",
11991 tblgen = ":mlir-tblgen",
11992 td_file = "include/mlir/Dialect/Tosa/IR/TosaDialectBytecode.td",
11994 ":BytecodeTdFiles",
11999 name = "TosaInterfacesIncGen",
12002 ["-gen-op-interface-decls"],
12003 "include/mlir/Dialect/Tosa/IR/TosaInterfaces.h.inc",
12006 ["-gen-op-interface-defs"],
12007 "include/mlir/Dialect/Tosa/IR/TosaInterfaces.cpp.inc",
12010 tblgen = ":mlir-tblgen",
12011 td_file = "include/mlir/Dialect/Tosa/IR/TosaInterfaces.td",
12012 deps = [":TosaDialectTdFiles"],
12016 name = "TosaPassIncGen",
12023 "include/mlir/Dialect/Tosa/Transforms/Passes.h.inc",
12030 "include/mlir/Dialect/Tosa/Transforms/PassesEnums.h.inc",
12037 "include/mlir/Dialect/Tosa/Transforms/PassesEnums.cpp.inc",
12040 tblgen = ":mlir-tblgen",
12041 td_file = "include/mlir/Dialect/Tosa/Transforms/Passes.td",
12044 ":PassBaseTdFiles",
12049 name = "TosaDialect",
12051 "lib/Dialect/Tosa/IR/*.cpp",
12052 "lib/Dialect/Tosa/Utils/*.cpp",
12053 "lib/Dialect/Tosa/Transforms/*.cpp",
12056 "include/mlir/Dialect/Tosa/IR/*.h",
12057 "include/mlir/Dialect/Tosa/Utils/*.h",
12058 "include/mlir/Dialect/Tosa/Transforms/*.h",
12060 includes = ["include"],
12063 ":BytecodeOpInterface",
12068 ":InferTypeOpInterface",
12070 ":LoopLikeInterface",
12072 ":MeshShardingInterface",
12075 ":SideEffectInterfaces",
12078 ":TosaDialectBytecodeGen",
12079 ":TosaDialectIncGen",
12080 ":TosaInterfacesIncGen",
12083 ":VectorInterfaces",
12089 name = "TosaToArith",
12091 "lib/Conversion/TosaToArith/*.cpp",
12094 "include/mlir/Conversion/TosaToArith/*.h",
12098 "lib/Conversion/TosaToArith",
12102 ":ConversionPassIncGen",
12111 name = "TosaToLinalg",
12113 "lib/Conversion/TosaToLinalg/*.cpp",
12116 "include/mlir/Conversion/TosaToLinalg/*.h",
12120 "lib/Conversion/TosaToLinalg",
12125 ":ConversionPassIncGen",
12130 ":InferTypeOpInterface",
12145 name = "TosaToMLProgram",
12147 "lib/Conversion/TosaToMLProgram/*.cpp",
12150 "include/mlir/Conversion/TosaToMLProgram/*.h",
12154 "lib/Conversion/TosaToMLProgram",
12157 ":ConversionPassIncGen",
12159 ":MLProgramDialect",
12167 name = "TosaToSCF",
12169 "lib/Conversion/TosaToSCF/*.cpp",
12172 "include/mlir/Conversion/TosaToSCF/*.h",
12176 "lib/Conversion/TosaToSCF",
12179 ":ConversionPassIncGen",
12191 name = "TosaToTensor",
12193 "lib/Conversion/TosaToTensor/*.cpp",
12196 "include/mlir/Conversion/TosaToTensor/*.h",
12200 "lib/Conversion/TosaToTensor",
12205 ":ConversionPassIncGen",
12216 name = "TransformInterfacesTdFiles",
12217 srcs = glob(["include/mlir/Dialect/Transform/Interfaces/*.td"]),
12220 ":SideEffectInterfacesTdFiles",
12225 name = "TransformDialectTdFiles",
12226 srcs = glob(["include/mlir/Dialect/Transform/IR/*.td"]),
12228 ":CastInterfacesTdFiles",
12229 ":ControlFlowInterfacesTdFiles",
12230 ":InferTypeOpInterfaceTdFiles",
12232 ":SideEffectInterfacesTdFiles",
12233 ":TransformInterfacesTdFiles",
12238 name = "TransformDialectEnumsIncGen",
12244 "include/mlir/Dialect/Transform/IR/TransformDialectEnums.h.inc",
12250 "include/mlir/Dialect/Transform/IR/TransformDialectEnums.cpp.inc",
12253 tblgen = ":mlir-tblgen",
12254 td_file = "include/mlir/Dialect/Transform/IR/TransformAttrs.td",
12255 deps = [":TransformDialectTdFiles"],
12259 name = "TransformDialectMatchInterfacesIncGen",
12263 "-gen-op-interface-decls",
12265 "include/mlir/Dialect/Transform/Interfaces/MatchInterfaces.h.inc",
12269 "-gen-op-interface-defs",
12271 "include/mlir/Dialect/Transform/Interfaces/MatchInterfaces.cpp.inc",
12274 tblgen = ":mlir-tblgen",
12275 td_file = "include/mlir/Dialect/Transform/Interfaces/MatchInterfaces.td",
12277 ":TransformDialectInterfacesIncGen",
12278 ":TransformDialectTdFiles",
12283 name = "TransformDialectInterfacesIncGen",
12287 "-gen-op-interface-decls",
12289 "include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.h.inc",
12293 "-gen-op-interface-defs",
12295 "include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.cpp.inc",
12299 "-gen-type-interface-decls",
12301 "include/mlir/Dialect/Transform/Interfaces/TransformTypeInterfaces.h.inc",
12305 "-gen-type-interface-defs",
12307 "include/mlir/Dialect/Transform/Interfaces/TransformTypeInterfaces.cpp.inc",
12310 tblgen = ":mlir-tblgen",
12311 td_file = "include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.td",
12312 deps = [":TransformDialectTdFiles"],
12316 name = "TransformDialectIncGen",
12320 "-gen-dialect-decls",
12322 "include/mlir/Dialect/Transform/IR/TransformDialect.h.inc",
12326 "-gen-dialect-defs",
12328 "include/mlir/Dialect/Transform/IR/TransformDialect.cpp.inc",
12331 tblgen = ":mlir-tblgen",
12332 td_file = "include/mlir/Dialect/Transform/IR/TransformDialect.td",
12333 deps = [":TransformDialectTdFiles"],
12337 name = "TransformOpsIncGen",
12341 "include/mlir/Dialect/Transform/IR/TransformOps.h.inc",
12345 "include/mlir/Dialect/Transform/IR/TransformOps.cpp.inc",
12348 tblgen = ":mlir-tblgen",
12349 td_file = "include/mlir/Dialect/Transform/IR/TransformOps.td",
12351 ":CallInterfacesTdFiles",
12352 ":FunctionInterfacesTdFiles",
12353 ":TransformDialectTdFiles",
12358 name = "TransformTypesIncGen",
12361 ["-gen-typedef-decls"],
12362 "include/mlir/Dialect/Transform/IR/TransformTypes.h.inc",
12365 ["-gen-typedef-defs"],
12366 "include/mlir/Dialect/Transform/IR/TransformTypes.cpp.inc",
12369 tblgen = ":mlir-tblgen",
12370 td_file = "include/mlir/Dialect/Transform/IR/TransformTypes.td",
12371 deps = [":TransformDialectTdFiles"],
12375 name = "TransformDialectInterfaces",
12376 srcs = glob(["lib/Dialect/Transform/Interfaces/*.cpp"]),
12377 hdrs = glob(["include/mlir/Dialect/Transform/Interfaces/*.h"]),
12382 ":SideEffectInterfaces",
12384 ":TransformDialectInterfacesIncGen",
12385 ":TransformDialectMatchInterfacesIncGen",
12386 ":TransformDialectUtils",
12394 name = "TransformDialect",
12395 srcs = glob(["lib/Dialect/Transform/IR/*.cpp"]),
12396 hdrs = glob(["include/mlir/Dialect/Transform/IR/*.h"]),
12399 ":BytecodeOpInterface",
12400 ":CallOpInterfaces",
12402 ":ControlFlowInterfaces",
12403 ":ConvertToLLVMInterface",
12404 ":FunctionInterfaces",
12406 ":LLVMCommonConversion",
12408 ":LoopLikeInterface",
12411 ":SideEffectInterfaces",
12413 ":TransformDialectEnumsIncGen",
12414 ":TransformDialectIncGen",
12415 ":TransformDialectInterfaces",
12416 ":TransformDialectUtils",
12417 ":TransformOpsIncGen",
12418 ":TransformTypesIncGen",
12426 name = "TransformPDLExtensionTdFiles",
12427 srcs = glob(["include/mlir/Dialect/Transform/PDLExtension/*.td"]),
12429 ":PDLDialectTdFiles",
12430 ":TransformDialectTdFiles",
12435 name = "TransformPDLExtensionOpsIncGen",
12441 "include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.h.inc",
12447 "include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.cpp.inc",
12450 tblgen = ":mlir-tblgen",
12451 td_file = "include/mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.td",
12452 deps = [":TransformPDLExtensionTdFiles"],
12456 name = "TransformPDLExtension",
12457 srcs = glob(["lib/Dialect/Transform/PDLExtension/*.cpp"]),
12458 hdrs = glob(["include/mlir/Dialect/Transform/PDLExtension/*.h"]),
12462 ":PDLInterpDialect",
12464 ":SideEffectInterfaces",
12466 ":TransformDialect",
12467 ":TransformDialectInterfaces",
12468 ":TransformPDLExtensionOpsIncGen",
12474 name = "TransformIRDLExtensionOpsIncGen",
12480 "include/mlir/Dialect/Transform/IRDLExtension/IRDLExtensionOps.h.inc",
12486 "include/mlir/Dialect/Transform/IRDLExtension/IRDLExtensionOps.cpp.inc",
12489 tblgen = ":mlir-tblgen",
12490 td_file = "include/mlir/Dialect/Transform/IRDLExtension/IRDLExtensionOps.td",
12491 deps = [":TransformPDLExtensionTdFiles"],
12495 name = "TransformIRDLExtension",
12496 srcs = glob(["lib/Dialect/Transform/IRDLExtension/*.cpp"]),
12497 hdrs = glob(["include/mlir/Dialect/Transform/IRDLExtension/*.h"]),
12501 ":IRDLInterfacesIncGen",
12503 ":SideEffectInterfaces",
12505 ":TransformDialect",
12506 ":TransformDialectInterfaces",
12507 ":TransformIRDLExtensionOpsIncGen",
12513 name = "TransformDebugExtensionTdFiles",
12514 srcs = glob(["include/mlir/Dialect/Transform/DebugExtension/*.td"]),
12516 ":TransformDialectTdFiles",
12521 name = "TransformDebugExtensionOpsIncGen",
12527 "include/mlir/Dialect/Transform/DebugExtension/DebugExtensionOps.h.inc",
12533 "include/mlir/Dialect/Transform/DebugExtension/DebugExtensionOps.cpp.inc",
12536 tblgen = ":mlir-tblgen",
12537 td_file = "include/mlir/Dialect/Transform/DebugExtension/DebugExtensionOps.td",
12538 deps = [":TransformDebugExtensionTdFiles"],
12542 name = "TransformDebugExtension",
12543 srcs = glob(["lib/Dialect/Transform/DebugExtension/*.cpp"]),
12544 hdrs = glob(["include/mlir/Dialect/Transform/DebugExtension/*.h"]),
12548 ":TransformDebugExtensionOpsIncGen",
12549 ":TransformDialect",
12550 ":TransformDialectInterfaces",
12556 name = "TransformLoopExtensionTdFiles",
12557 srcs = glob(["include/mlir/Dialect/Transform/LoopExtension/*.td"]),
12559 ":TransformDialectTdFiles",
12564 name = "TransformLoopExtensionOpsIncGen",
12570 "include/mlir/Dialect/Transform/LoopExtension/LoopExtensionOps.h.inc",
12576 "include/mlir/Dialect/Transform/LoopExtension/LoopExtensionOps.cpp.inc",
12579 tblgen = ":mlir-tblgen",
12580 td_file = "include/mlir/Dialect/Transform/LoopExtension/LoopExtensionOps.td",
12581 deps = [":TransformLoopExtensionTdFiles"],
12585 name = "TransformLoopExtension",
12586 srcs = glob(["lib/Dialect/Transform/LoopExtension/*.cpp"]),
12587 hdrs = glob(["include/mlir/Dialect/Transform/LoopExtension/*.h"]),
12590 ":LoopLikeInterface",
12592 ":SideEffectInterfaces",
12594 ":TransformDialect",
12595 ":TransformDialectInterfaces",
12596 ":TransformLoopExtensionOpsIncGen",
12604 name = "TransformDialectTransformsTdFiles",
12605 srcs = glob(["include/mlir/Dialect/Transform/Transforms/*.td"]),
12607 ":PassBaseTdFiles",
12608 ":TransformDialectTdFiles",
12613 name = "TransformDialectTransformsIncGen",
12620 "include/mlir/Dialect/Transform/Transforms/Passes.h.inc",
12623 tblgen = ":mlir-tblgen",
12624 td_file = "include/mlir/Dialect/Transform/Transforms/Passes.td",
12625 deps = [":TransformDialectTransformsTdFiles"],
12629 name = "TransformDialectTransforms",
12630 srcs = glob(["lib/Dialect/Transform/Transforms/*.cpp"]),
12631 hdrs = glob(["include/mlir/Dialect/Transform/Transforms/*.h"]),
12634 ":FunctionInterfaces",
12638 ":SideEffectInterfaces",
12640 ":TransformDialect",
12641 ":TransformDialectInterfaces",
12642 ":TransformDialectTransformsIncGen",
12648 name = "TransformDialectUtils",
12649 srcs = glob(["lib/Dialect/Transform/Utils/*cpp"]),
12650 hdrs = glob(["include/mlir/Dialect/Transform/Utils/*.h"]),
12651 includes = ["include"],
12655 ":ViewLikeInterface",
12661 name = "ComplexOpsTdFiles",
12663 "include/mlir/Dialect/Complex/IR/ComplexBase.td",
12664 "include/mlir/Dialect/Complex/IR/ComplexOps.td",
12666 includes = ["include"],
12668 ":ArithOpsInterfacesTdFiles",
12669 ":ArithOpsTdFiles",
12670 ":BuiltinDialectTdFiles",
12671 ":InferTypeOpInterfaceTdFiles",
12673 ":SideEffectInterfacesTdFiles",
12678 name = "ComplexAttributesIncGen",
12681 ["-gen-attrdef-decls"],
12682 "include/mlir/Dialect/Complex/IR/ComplexAttributes.h.inc",
12685 ["-gen-attrdef-defs"],
12686 "include/mlir/Dialect/Complex/IR/ComplexAttributes.cpp.inc",
12689 tblgen = ":mlir-tblgen",
12690 td_file = "include/mlir/Dialect/Complex/IR/ComplexAttributes.td",
12691 deps = [":ComplexOpsTdFiles"],
12695 name = "ComplexBaseIncGen",
12699 "-gen-dialect-decls",
12700 "-dialect=complex",
12702 "include/mlir/Dialect/Complex/IR/ComplexOpsDialect.h.inc",
12706 "-gen-dialect-defs",
12707 "-dialect=complex",
12709 "include/mlir/Dialect/Complex/IR/ComplexOpsDialect.cpp.inc",
12712 tblgen = ":mlir-tblgen",
12713 td_file = "include/mlir/Dialect/Complex/IR/ComplexBase.td",
12714 deps = [":ComplexOpsTdFiles"],
12718 name = "ComplexOpsIncGen",
12722 "include/mlir/Dialect/Complex/IR/ComplexOps.h.inc",
12726 "include/mlir/Dialect/Complex/IR/ComplexOps.cpp.inc",
12729 tblgen = ":mlir-tblgen",
12730 td_file = "include/mlir/Dialect/Complex/IR/ComplexOps.td",
12731 deps = [":ComplexOpsTdFiles"],
12735 name = "ComplexDialect",
12738 "lib/Dialect/Complex/IR/*.cpp",
12741 hdrs = ["include/mlir/Dialect/Complex/IR/Complex.h"],
12742 includes = ["include"],
12745 ":BytecodeOpInterface",
12746 ":ComplexAttributesIncGen",
12747 ":ComplexBaseIncGen",
12748 ":ComplexOpsIncGen",
12749 ":ConvertToLLVMInterface",
12751 ":InferTypeOpInterface",
12753 ":SideEffectInterfaces",
12759 name = "ComplexToLLVM",
12761 "lib/Conversion/ComplexToLLVM/*.cpp",
12764 "include/mlir/Conversion/ComplexToLLVM/*.h",
12766 includes = ["include"],
12768 ":ArithAttrToLLVMConversion",
12771 ":ConversionPassIncGen",
12772 ":ConvertToLLVMInterface",
12773 ":LLVMCommonConversion",
12780 name = "ComplexToLibm",
12782 "lib/Conversion/ComplexToLibm/*.cpp",
12785 "include/mlir/Conversion/ComplexToLibm/*.h",
12787 includes = ["include"],
12790 ":ConversionPassIncGen",
12799 name = "ComplexToSPIRV",
12801 "lib/Conversion/ComplexToSPIRV/*.cpp",
12804 "include/mlir/Conversion/ComplexToSPIRV/*.h",
12806 includes = ["include"],
12809 ":ConversionPassIncGen",
12811 ":SPIRVConversion",
12819 name = "ComplexToStandard",
12821 "lib/Conversion/ComplexToStandard/*.cpp",
12824 "include/mlir/Conversion/ComplexToStandard/*.h",
12826 includes = ["include"],
12830 ":ConversionPassIncGen",
12839 "include/mlir/Interfaces/CallInterfaces.h",
12840 "include/mlir/Interfaces/CastInterfaces.h",
12841 "include/mlir/Interfaces/ControlFlowInterfaces.h",
12842 "include/mlir/Transforms/InliningUtils.h",
12846 name = "ArithOpsTdFiles",
12848 "include/mlir/Dialect/Arith/IR/ArithBase.td",
12849 "include/mlir/Dialect/Arith/IR/ArithOps.td",
12851 includes = ["include"],
12853 ":ArithOpsInterfacesTdFiles",
12854 ":BuiltinDialectTdFiles",
12855 ":CastInterfacesTdFiles",
12856 ":ControlFlowInterfacesTdFiles",
12857 ":InferIntRangeInterfaceTdFiles",
12858 ":InferTypeOpInterfaceTdFiles",
12860 ":SideEffectInterfacesTdFiles",
12861 ":VectorInterfacesTdFiles",
12866 name = "ArithOpsInterfacesTdFiles",
12868 "include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.td",
12870 includes = ["include"],
12877 name = "ArithBaseIncGen",
12881 "-gen-dialect-decls",
12884 "include/mlir/Dialect/Arith/IR/ArithOpsDialect.h.inc",
12888 "-gen-dialect-defs",
12891 "include/mlir/Dialect/Arith/IR/ArithOpsDialect.cpp.inc",
12894 ["-gen-enum-decls"],
12895 "include/mlir/Dialect/Arith/IR/ArithOpsEnums.h.inc",
12898 ["-gen-enum-defs"],
12899 "include/mlir/Dialect/Arith/IR/ArithOpsEnums.cpp.inc",
12902 tblgen = ":mlir-tblgen",
12903 td_file = "include/mlir/Dialect/Arith/IR/ArithBase.td",
12904 deps = [":ArithOpsTdFiles"],
12908 name = "ArithOpsIncGen",
12912 "include/mlir/Dialect/Arith/IR/ArithOps.h.inc",
12916 "include/mlir/Dialect/Arith/IR/ArithOps.cpp.inc",
12920 "-gen-attrdef-decls",
12921 "-attrdefs-dialect=arith",
12923 "include/mlir/Dialect/Arith/IR/ArithOpsAttributes.h.inc",
12927 "-gen-attrdef-defs",
12928 "-attrdefs-dialect=arith",
12930 "include/mlir/Dialect/Arith/IR/ArithOpsAttributes.cpp.inc",
12933 tblgen = ":mlir-tblgen",
12934 td_file = "include/mlir/Dialect/Arith/IR/ArithOps.td",
12936 ":ArithOpsTdFiles",
12941 name = "ArithOpsInterfacesIncGen",
12944 ["-gen-op-interface-decls"],
12945 "include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.h.inc",
12948 ["-gen-op-interface-defs"],
12949 "include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.cpp.inc",
12952 tblgen = ":mlir-tblgen",
12953 td_file = "include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.td",
12955 ":ArithOpsInterfacesTdFiles",
12960 name = "ArithCanonicalizationIncGen",
12961 strip_include_prefix = "include/mlir/Dialect/Arith/IR",
12964 ["-gen-rewriters"],
12965 "include/mlir/Dialect/Arith/IR/ArithCanonicalization.inc",
12968 tblgen = ":mlir-tblgen",
12969 td_file = "lib/Dialect/Arith/IR/ArithCanonicalization.td",
12971 ":ArithOpsTdFiles",
12972 ":CastInterfacesTdFiles",
12978 name = "ArithDialect",
12980 "include/mlir/Interfaces/ValueBoundsOpInterface.h",
12981 "lib/Dialect/Arith/IR/ArithDialect.cpp",
12982 "lib/Dialect/Arith/IR/ArithOps.cpp",
12983 "lib/Dialect/Arith/IR/InferIntRangeInterfaceImpls.cpp",
12985 "include/mlir/Analysis/**/*.h",
12988 "include/mlir/Dialect/Arith/IR/Arith.h",
12990 includes = ["include"],
12992 ":ArithBaseIncGen",
12993 ":ArithCanonicalizationIncGen",
12995 ":ArithOpsInterfacesIncGen",
12996 ":BufferizationInterfaces",
12997 ":BytecodeOpInterface",
12998 ":CallOpInterfaces",
13001 ":ControlFlowInterfaces",
13002 ":ConvertToLLVMInterface",
13003 ":DestinationStyleOpInterface",
13004 ":FunctionInterfaces",
13006 ":InferIntRangeCommon",
13007 ":InferIntRangeInterface",
13008 ":InferTypeOpInterface",
13011 ":SideEffectInterfaces",
13014 ":ValueBoundsOpInterfaceIncGen",
13015 ":VectorInterfaces",
13021 name = "ArithPassIncGen",
13028 "include/mlir/Dialect/Arith/Transforms/Passes.h.inc",
13031 tblgen = ":mlir-tblgen",
13032 td_file = "include/mlir/Dialect/Arith/Transforms/Passes.td",
13033 deps = [":PassBaseTdFiles"],
13037 name = "ArithTransforms",
13039 "lib/Dialect/Arith/Transforms/*.cpp",
13042 "include/mlir/Dialect/Arith/Transforms/*.h",
13044 includes = ["include"],
13048 ":ArithPassIncGen",
13050 ":BufferizationInterfaces",
13051 ":BufferizationTransforms",
13058 ":SideEffectInterfaces",
13062 ":ValueBoundsOpInterface",
13069 name = "ArithUtils",
13071 "lib/Dialect/Arith/Utils/*.cpp",
13073 hdrs = ["include/mlir/Dialect/Arith/Utils/Utils.h"],
13074 includes = ["include"],
13085 name = "MathOpsTdFiles",
13087 "include/mlir/Dialect/Math/IR/MathBase.td",
13088 "include/mlir/Dialect/Math/IR/MathOps.td",
13090 includes = ["include"],
13092 ":ArithOpsTdFiles",
13093 ":InferTypeOpInterfaceTdFiles",
13095 ":SideEffectInterfacesTdFiles",
13096 ":VectorInterfacesTdFiles",
13101 name = "MathBaseIncGen",
13105 "-gen-dialect-decls",
13108 "include/mlir/Dialect/Math/IR/MathOpsDialect.h.inc",
13112 "-gen-dialect-defs",
13115 "include/mlir/Dialect/Math/IR/MathOpsDialect.cpp.inc",
13118 tblgen = ":mlir-tblgen",
13119 td_file = "include/mlir/Dialect/Math/IR/MathBase.td",
13120 deps = [":MathOpsTdFiles"],
13124 name = "MathOpsIncGen",
13128 "include/mlir/Dialect/Math/IR/MathOps.h.inc",
13132 "include/mlir/Dialect/Math/IR/MathOps.cpp.inc",
13135 tblgen = ":mlir-tblgen",
13136 td_file = "include/mlir/Dialect/Math/IR/MathOps.td",
13137 deps = [":MathOpsTdFiles"],
13141 name = "MathPassIncGen",
13148 "include/mlir/Dialect/Math/Transforms/Passes.h.inc",
13151 tblgen = ":mlir-tblgen",
13152 td_file = "include/mlir/Dialect/Math/Transforms/Passes.td",
13153 deps = [":PassBaseTdFiles"],
13157 name = "MathDialect",
13160 "lib/Dialect/Math/IR/*.cpp",
13164 "include/mlir/Dialect/Math/IR/Math.h",
13166 includes = ["include"],
13169 ":BytecodeOpInterface",
13171 ":ConvertToLLVMInterface",
13173 ":InferTypeOpInterface",
13177 ":SideEffectInterfaces",
13179 ":VectorInterfaces",
13184 name = "MathTransforms",
13186 "lib/Dialect/Math/Transforms/*.cpp",
13188 hdrs = glob(["include/mlir/Dialect/Math/Transforms/*.h"]),
13189 includes = ["include"],
13202 ":X86VectorDialect",
13208 name = "MathToLibm",
13210 "lib/Conversion/MathToLibm/*.cpp",
13213 "include/mlir/Conversion/MathToLibm/*.h",
13215 includes = ["include"],
13218 ":ConversionPassIncGen",
13231 name = "MemRefOpsTdFiles",
13233 "include/mlir/Dialect/MemRef/IR/MemRefBase.td",
13234 "include/mlir/Dialect/MemRef/IR/MemRefOps.td",
13236 includes = ["include"],
13238 ":ArithOpsTdFiles",
13239 ":CastInterfacesTdFiles",
13240 ":ControlFlowInterfacesTdFiles",
13241 ":CopyOpInterfaceTdFiles",
13242 ":MemorySlotInterfacesTdFiles",
13244 ":ShapedOpInterfacesTdFiles",
13245 ":SideEffectInterfacesTdFiles",
13246 ":ViewLikeInterfaceTdFiles",
13251 name = "MemRefBaseIncGen",
13255 "-gen-dialect-decls",
13258 "include/mlir/Dialect/MemRef/IR/MemRefOpsDialect.h.inc",
13262 "-gen-dialect-defs",
13265 "include/mlir/Dialect/MemRef/IR/MemRefOpsDialect.cpp.inc",
13268 tblgen = ":mlir-tblgen",
13269 td_file = "include/mlir/Dialect/MemRef/IR/MemRefBase.td",
13270 deps = [":MemRefOpsTdFiles"],
13274 name = "MemRefOpsIncGen",
13278 "include/mlir/Dialect/MemRef/IR/MemRefOps.h.inc",
13282 "include/mlir/Dialect/MemRef/IR/MemRefOps.cpp.inc",
13285 tblgen = ":mlir-tblgen",
13286 td_file = "include/mlir/Dialect/MemRef/IR/MemRefOps.td",
13288 ":MemRefOpsTdFiles",
13293 name = "MemRefDialect",
13296 "lib/Dialect/MemRef/IR/*.cpp",
13300 "include/mlir/Dialect/MemRef/IR/MemRef.h",
13301 "include/mlir/Dialect/MemRef/IR/MemRefMemorySlot.h",
13302 "include/mlir/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.h",
13304 includes = ["include"],
13306 ":AllocationOpInterface",
13309 ":BytecodeOpInterface",
13310 ":CallOpInterfaces",
13312 ":ControlFlowInterfaces",
13313 ":ConvertToLLVMInterface",
13314 ":CopyOpInterface",
13317 ":InferTypeOpInterface",
13319 ":MemRefBaseIncGen",
13320 ":MemRefOpsIncGen",
13321 ":MemorySlotInterfaces",
13322 ":RuntimeVerifiableOpInterface",
13323 ":ShapedOpInterfaces",
13324 ":SideEffectInterfaces",
13326 ":ValueBoundsOpInterface",
13327 ":ViewLikeInterface",
13333 name = "MemRefUtils",
13336 "lib/Dialect/MemRef/Utils/*.cpp",
13340 "include/mlir/Dialect/MemRef/Utils/MemRefUtils.h",
13342 includes = ["include"],
13348 ":ViewLikeInterface",
13354 name = "MemRefPassIncGen",
13361 "include/mlir/Dialect/MemRef/Transforms/Passes.h.inc",
13364 tblgen = ":mlir-tblgen",
13365 td_file = "include/mlir/Dialect/MemRef/Transforms/Passes.td",
13366 deps = [":PassBaseTdFiles"],
13370 name = "MemRefTransforms",
13373 "lib/Dialect/MemRef/Transforms/*.cpp",
13376 hdrs = glob(["include/mlir/Dialect/MemRef/Transforms/*.h"]),
13377 includes = ["include"],
13380 ":AffineTransforms",
13382 ":AllocationOpInterface",
13384 ":ArithTransforms",
13386 ":BufferizationDialect",
13387 ":BufferizationInterfaces",
13388 ":ControlFlowDialect",
13393 ":InferTypeOpInterface",
13394 ":LoopLikeInterface",
13396 ":MemRefPassIncGen",
13400 ":RuntimeVerifiableOpInterface",
13405 ":ValueBoundsOpInterface",
13412 name = "MemRefTransformOpsTdFiles",
13414 "include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td",
13416 includes = ["include"],
13418 ":TransformDialectTdFiles",
13423 name = "MemRefTransformOpsIncGen",
13427 "include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.h.inc",
13431 "include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp.inc",
13434 tblgen = ":mlir-tblgen",
13435 td_file = "include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td",
13437 ":MemRefTransformOpsTdFiles",
13442 name = "MemRefTransformOps",
13443 srcs = glob(["lib/Dialect/MemRef/TransformOps/*.cpp"]),
13444 hdrs = glob(["include/mlir/Dialect/MemRef/TransformOps/*.h"]),
13445 includes = ["include"],
13450 ":BytecodeOpInterface",
13452 ":LLVMCommonConversion",
13453 ":LoopLikeInterface",
13455 ":MemRefTransformOpsIncGen",
13456 ":MemRefTransforms",
13460 ":TransformDialect",
13461 ":TransformDialectInterfaces",
13464 ":VectorTransforms",
13469 ##---------------------------------------------------------------------------##
13470 # MLProgram dialect
13471 ##---------------------------------------------------------------------------##
13474 name = "MLProgramOpsTdFiles",
13476 "include/mlir/Dialect/MLProgram/IR/MLProgramAttributes.td",
13477 "include/mlir/Dialect/MLProgram/IR/MLProgramBase.td",
13478 "include/mlir/Dialect/MLProgram/IR/MLProgramOps.td",
13479 "include/mlir/Dialect/MLProgram/IR/MLProgramTypes.td",
13481 includes = ["include"],
13483 ":BuiltinDialectTdFiles",
13484 ":CallInterfacesTdFiles",
13485 ":ControlFlowInterfacesTdFiles",
13486 ":FunctionInterfacesTdFiles",
13488 ":RegionKindInterfaceIncGen",
13489 ":SideEffectInterfacesTdFiles",
13494 name = "MLProgramOpsIncGen",
13498 "include/mlir/Dialect/MLProgram/IR/MLProgramOps.h.inc",
13502 "include/mlir/Dialect/MLProgram/IR/MLProgramOps.cpp.inc",
13505 ["-gen-dialect-decls"],
13506 "include/mlir/Dialect/MLProgram/IR/MLProgramOpsDialect.h.inc",
13509 ["-gen-dialect-defs"],
13510 "include/mlir/Dialect/MLProgram/IR/MLProgramOpsDialect.cpp.inc",
13513 tblgen = ":mlir-tblgen",
13514 td_file = "include/mlir/Dialect/MLProgram/IR/MLProgramOps.td",
13515 deps = [":MLProgramOpsTdFiles"],
13519 name = "MLProgramAttributesIncGen",
13522 ["-gen-attrdef-decls"],
13523 "include/mlir/Dialect/MLProgram/IR/MLProgramAttributes.h.inc",
13526 ["-gen-attrdef-defs"],
13527 "include/mlir/Dialect/MLProgram/IR/MLProgramAttributes.cpp.inc",
13530 tblgen = ":mlir-tblgen",
13531 td_file = "include/mlir/Dialect/MLProgram/IR/MLProgramAttributes.td",
13532 deps = [":MLProgramOpsTdFiles"],
13536 name = "MLProgramPassIncGen",
13543 "include/mlir/Dialect/MLProgram/Transforms/Passes.h.inc",
13546 tblgen = ":mlir-tblgen",
13547 td_file = "include/mlir/Dialect/MLProgram/Transforms/Passes.td",
13548 deps = [":PassBaseTdFiles"],
13552 name = "MLProgramTypesIncGen",
13555 ["-gen-typedef-decls"],
13556 "include/mlir/Dialect/MLProgram/IR/MLProgramTypes.h.inc",
13559 ["-gen-typedef-defs"],
13560 "include/mlir/Dialect/MLProgram/IR/MLProgramTypes.cpp.inc",
13563 tblgen = ":mlir-tblgen",
13564 td_file = "include/mlir/Dialect/MLProgram/IR/MLProgramTypes.td",
13565 deps = [":MLProgramOpsTdFiles"],
13569 name = "MLProgramDialect",
13570 srcs = glob(["lib/Dialect/MLProgram/IR/*.cpp"]),
13571 hdrs = glob(["include/mlir/Dialect/MLProgram/IR/*.h"]),
13572 includes = ["include"],
13574 ":BytecodeOpInterface",
13575 ":CallOpInterfaces",
13576 ":ControlFlowInterfaces",
13577 ":FunctionInterfaces",
13580 ":MLProgramAttributesIncGen",
13581 ":MLProgramOpsIncGen",
13582 ":MLProgramTypesIncGen",
13583 ":SideEffectInterfaces",
13589 name = "MLProgramTransforms",
13591 "lib/Dialect/MLProgram/Transforms/*.cpp",
13594 "include/mlir/Dialect/MLProgram/Transforms/*.h",
13596 includes = ["include"],
13598 ":BufferizationInterfaces",
13601 ":MLProgramDialect",
13602 ":MLProgramPassIncGen",
13609 ##---------------------------------------------------------------------------##
13611 ##---------------------------------------------------------------------------##
13614 name = "MPITdFiles",
13616 "include/mlir/Dialect/MPI/IR/MPI.td",
13617 "include/mlir/Dialect/MPI/IR/MPIOps.td",
13618 "include/mlir/Dialect/MPI/IR/MPITypes.td",
13620 includes = ["include"],
13628 name = "MPIIncGen",
13632 "include/mlir/Dialect/MPI/IR/MPI.h.inc",
13636 "include/mlir/Dialect/MPI/IR/MPI.cpp.inc",
13639 ["-gen-dialect-decls"],
13640 "include/mlir/Dialect/MPI/IR/MPIDialect.h.inc",
13643 ["-gen-dialect-defs"],
13644 "include/mlir/Dialect/MPI/IR/MPIDialect.cpp.inc",
13647 tblgen = ":mlir-tblgen",
13648 td_file = "include/mlir/Dialect/MPI/IR/MPI.td",
13649 deps = [":MPITdFiles"],
13653 name = "MPIOpsIncGen",
13657 "include/mlir/Dialect/MPI/IR/MPIOps.h.inc",
13661 "include/mlir/Dialect/MPI/IR/MPIOps.cpp.inc",
13664 tblgen = ":mlir-tblgen",
13665 td_file = "include/mlir/Dialect/MPI/IR/MPIOps.td",
13666 deps = [":MPITdFiles"],
13670 name = "MPITypesIncGen",
13673 ["-gen-typedef-decls"],
13674 "include/mlir/Dialect/MPI/IR/MPITypesGen.h.inc",
13677 ["-gen-typedef-defs"],
13678 "include/mlir/Dialect/MPI/IR/MPITypesGen.cpp.inc",
13681 tblgen = ":mlir-tblgen",
13682 td_file = "include/mlir/Dialect/MPI/IR/MPITypes.td",
13683 deps = [":MPITdFiles"],
13687 name = "MPIAttrsIncGen",
13690 ["-gen-enum-decls"],
13691 "include/mlir/Dialect/MPI/IR/MPIEnums.h.inc",
13694 ["-gen-enum-defs"],
13695 "include/mlir/Dialect/MPI/IR/MPIEnums.cpp.inc",
13698 ["-gen-attrdef-decls"],
13699 "include/mlir/Dialect/MPI/IR/MPIAttrDefs.h.inc",
13702 ["-gen-attrdef-defs"],
13703 "include/mlir/Dialect/MPI/IR/MPIAttrDefs.cpp.inc",
13706 tblgen = ":mlir-tblgen",
13707 td_file = "include/mlir/Dialect/MPI/IR/MPI.td",
13708 deps = [":MPITdFiles"],
13712 name = "MPIDialect",
13713 srcs = glob(["lib/Dialect/MPI/IR/*.cpp"]),
13714 hdrs = glob(["include/mlir/Dialect/MPI/IR/*.h"]),
13715 includes = ["include"],
13717 ":BytecodeOpInterface",
13727 ##---------------------------------------------------------------------------##
13728 # Allocation interfaces
13729 ##---------------------------------------------------------------------------##
13732 name = "AllocationOpInterfaceTdFiles",
13733 srcs = ["include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td"],
13734 includes = ["include"],
13735 deps = [":OpBaseTdFiles"],
13739 name = "AllocationOpInterfaceIncGen",
13742 ["-gen-op-interface-decls"],
13743 "include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h.inc",
13746 ["-gen-op-interface-defs"],
13747 "include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.cpp.inc",
13750 tblgen = ":mlir-tblgen",
13751 td_file = "include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td",
13752 deps = [":AllocationOpInterfaceTdFiles"],
13756 name = "AllocationOpInterface",
13757 srcs = ["lib/Dialect/Bufferization/IR/AllocationOpInterface.cpp"],
13758 hdrs = ["include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h"],
13759 includes = ["include"],
13761 ":AllocationOpInterfaceIncGen",
13767 name = "BufferizationOpsTdFiles",
13769 "include/mlir/Dialect/Bufferization/IR/BufferizationBase.td",
13770 "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.td",
13771 "include/mlir/Dialect/Bufferization/IR/BufferizationOps.td",
13773 includes = ["include"],
13775 ":AllocationOpInterfaceTdFiles",
13776 ":BufferViewFlowOpInterfaceTdFiles",
13777 ":BufferizableOpInterfaceTdFiles",
13778 ":CopyOpInterfaceTdFiles",
13779 ":DestinationStyleOpInterfaceTdFiles",
13780 ":InferTypeOpInterfaceTdFiles",
13782 ":SideEffectInterfacesTdFiles",
13783 ":SubsetOpInterfaceTdFiles",
13788 name = "BufferizationBaseIncGen",
13792 "-gen-dialect-decls",
13793 "-dialect=bufferization",
13795 "include/mlir/Dialect/Bufferization/IR/BufferizationOpsDialect.h.inc",
13799 "-gen-dialect-defs",
13800 "-dialect=bufferization",
13802 "include/mlir/Dialect/Bufferization/IR/BufferizationOpsDialect.cpp.inc",
13805 tblgen = ":mlir-tblgen",
13806 td_file = "include/mlir/Dialect/Bufferization/IR/BufferizationBase.td",
13807 deps = [":BufferizationOpsTdFiles"],
13811 name = "BufferizationEnumsTdFiles",
13813 "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.td",
13815 includes = ["include"],
13822 name = "BufferizationEnumsIncGen",
13825 ["-gen-enum-decls"],
13826 "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.h.inc",
13829 ["-gen-enum-defs"],
13830 "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.cpp.inc",
13833 tblgen = ":mlir-tblgen",
13834 td_file = "include/mlir/Dialect/Bufferization/IR/BufferizationEnums.td",
13835 deps = [":BufferizationEnumsTdFiles"],
13839 name = "BufferizationTransformOpsTdFiles",
13841 "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td",
13843 includes = ["include"],
13845 ":BufferizationOpsTdFiles",
13846 ":TransformDialectTdFiles",
13851 name = "BufferizationTransformOpsIncGen",
13855 "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.h.inc",
13859 "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.cpp.inc",
13862 tblgen = ":mlir-tblgen",
13863 td_file = "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td",
13865 ":BufferizationTransformOpsTdFiles",
13870 name = "BufferizationTransformOps",
13872 "lib/Dialect/Bufferization/TransformOps/BufferizationTransformOps.cpp",
13875 "include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.h",
13877 includes = ["include"],
13879 ":BufferizationDialect",
13880 ":BufferizationEnumsIncGen",
13881 ":BufferizationInterfaces",
13882 ":BufferizationTransformOpsIncGen",
13883 ":BufferizationTransforms",
13884 ":BytecodeOpInterface",
13885 ":FunctionInterfaces",
13890 ":TransformDialect",
13891 ":TransformDialectInterfaces",
13896 name = "BufferizationOpsIncGen",
13900 "include/mlir/Dialect/Bufferization/IR/BufferizationOps.h.inc",
13904 "include/mlir/Dialect/Bufferization/IR/BufferizationOps.cpp.inc",
13907 tblgen = ":mlir-tblgen",
13908 td_file = "include/mlir/Dialect/Bufferization/IR/BufferizationOps.td",
13910 ":BufferizationOpsTdFiles",
13915 name = "BufferizationInterfaces",
13917 "include/mlir/Analysis/Liveness.h",
13920 "include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.h",
13921 "include/mlir/Dialect/Bufferization/IR/BufferViewFlowOpInterface.h",
13922 "include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h",
13924 includes = ["include"],
13926 ":BufferDeallocationOpInterfaceIncGen",
13927 ":BufferViewFlowOpInterfaceIncGen",
13928 ":BufferizableOpInterfaceIncGen",
13929 ":BufferizationEnumsIncGen",
13930 ":FunctionInterfaces",
13938 name = "BufferizationDialect",
13940 "lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp",
13941 "lib/Dialect/Bufferization/IR/BufferViewFlowOpInterface.cpp",
13942 "lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp",
13943 "lib/Dialect/Bufferization/IR/BufferizationDialect.cpp",
13944 "lib/Dialect/Bufferization/IR/BufferizationOps.cpp",
13945 "lib/Dialect/Bufferization/IR/UnstructuredControlFlow.cpp",
13948 "include/mlir/Dialect/Bufferization/IR/Bufferization.h",
13949 "include/mlir/Dialect/Bufferization/IR/DstBufferizableOpInterfaceImpl.h",
13950 "include/mlir/Dialect/Bufferization/IR/UnstructuredControlFlow.h",
13952 includes = ["include"],
13955 ":AllocationOpInterface",
13957 ":BufferDeallocationOpInterfaceIncGen",
13958 ":BufferViewFlowOpInterfaceIncGen",
13959 ":BufferizableOpInterfaceIncGen",
13960 ":BufferizationBaseIncGen",
13961 ":BufferizationInterfaces",
13962 ":BufferizationOpsIncGen",
13963 ":BytecodeOpInterface",
13964 ":ControlFlowInterfaces",
13965 ":CopyOpInterface",
13966 ":DestinationStyleOpInterface",
13968 ":FunctionInterfaces",
13970 ":InferTypeOpInterface",
13973 ":SparseTensorDialect",
13974 ":SubsetOpInterface",
13981 name = "BufferizationPassIncGen",
13986 "-name=Bufferization",
13988 "include/mlir/Dialect/Bufferization/Transforms/Passes.h.inc",
13991 tblgen = ":mlir-tblgen",
13992 td_file = "include/mlir/Dialect/Bufferization/Transforms/Passes.td",
13993 deps = [":PassBaseTdFiles"],
13997 name = "BufferizationTransforms",
14000 "lib/Dialect/Bufferization/Transforms/*.cpp",
14003 hdrs = glob(["include/mlir/Dialect/Bufferization/Transforms/*.h"]),
14004 includes = ["include"],
14006 ":AllocationOpInterface",
14009 ":BufferizationDialect",
14010 ":BufferizationInterfaces",
14011 ":BufferizationPassIncGen",
14012 ":CallOpInterfaces",
14013 ":ControlFlowDialect",
14014 ":ControlFlowInterfaces",
14016 ":FunctionInterfaces",
14018 ":LoopLikeInterface",
14023 ":SideEffectInterfaces",
14024 ":SubsetOpInterface",
14029 ":ViewLikeInterface",
14035 name = "BufferizationToMemRef",
14037 "lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp",
14040 "include/mlir/Conversion/BufferizationToMemRef/BufferizationToMemRef.h",
14042 includes = ["include"],
14045 ":BufferizationDialect",
14046 ":BufferizationTransforms",
14047 ":ConversionPassIncGen",
14059 name = "BufferizationPipelines",
14060 srcs = glob(["lib/Dialect/Bufferization/Pipelines/*.cpp"]),
14061 hdrs = ["include/mlir/Dialect/Bufferization/Pipelines/Passes.h"],
14062 includes = ["include"],
14064 ":BufferizationInterfaces",
14065 ":BufferizationTransforms",
14067 ":MemRefTransforms",
14074 name = "DLTIDialectTdFiles",
14076 "include/mlir/Dialect/DLTI/DLTI.td",
14077 "include/mlir/Dialect/DLTI/DLTIBase.td",
14079 includes = ["include"],
14081 ":DataLayoutInterfacesTdFiles",
14087 name = "DLTIBaseIncGen",
14091 "-gen-dialect-decls",
14094 "include/mlir/Dialect/DLTI/DLTIDialect.h.inc",
14098 "-gen-dialect-defs",
14101 "include/mlir/Dialect/DLTI/DLTIDialect.cpp.inc",
14104 tblgen = ":mlir-tblgen",
14105 td_file = "include/mlir/Dialect/DLTI/DLTIBase.td",
14106 deps = [":OpBaseTdFiles"],
14110 name = "DLTIAttrsIncGen",
14114 "-gen-attrdef-decls",
14117 "include/mlir/Dialect/DLTI/DLTIAttrs.h.inc",
14121 "-gen-attrdef-defs",
14124 "include/mlir/Dialect/DLTI/DLTIAttrs.cpp.inc",
14127 tblgen = ":mlir-tblgen",
14128 td_file = "include/mlir/Dialect/DLTI/DLTIAttrs.td",
14131 ":DLTIDialectTdFiles",
14136 name = "DLTIDialect",
14137 srcs = glob(["lib/Dialect/DLTI/*.cpp"]),
14138 hdrs = glob(["include/mlir/Dialect/DLTI/*.h"]),
14139 includes = ["include"],
14141 ":DLTIAttrsIncGen",
14143 ":DataLayoutInterfaces",
14150 name = "DLTITransformTdFiles",
14152 "include/mlir/Dialect/DLTI/TransformOps/DLTITransformOps.td",
14154 includes = ["include"],
14155 deps = [":TransformDialectTdFiles"],
14159 name = "DLTITransformOpsIncGen",
14166 "include/mlir/Dialect/DLTI/TransformOps/DLTITransformOps.h.inc",
14173 "include/mlir/Dialect/DLTI/TransformOps/DLTITransformOps.cpp.inc",
14176 tblgen = ":mlir-tblgen",
14177 td_file = "include/mlir/Dialect/DLTI/TransformOps/DLTITransformOps.td",
14179 ":DLTITransformTdFiles",
14184 name = "DLTITransformOps",
14185 srcs = glob(["lib/Dialect/DLTI/TransformOps/*.cpp"]),
14186 hdrs = glob(["include/mlir/Dialect/DLTI/TransformOps/*.h"]),
14187 includes = ["include"],
14190 ":DLTITransformOpsIncGen",
14191 ":DataLayoutInterfaces",
14192 ":TransformDialect",
14193 ":TransformDialectInterfaces",
14194 ":TransformDialectUtils",
14199 name = "ReducerIncGen",
14206 "include/mlir/Reducer/Passes.h.inc",
14209 tblgen = ":mlir-tblgen",
14210 td_file = "include/mlir/Reducer/Passes.td",
14212 ":PassBaseTdFiles",
14219 srcs = glob(["lib/Reducer/*.cpp"]),
14220 hdrs = glob(["include/mlir/Reducer/*.h"]),
14221 includes = ["include"],
14234 name = "MlirReduceLib",
14235 srcs = ["lib/Tools/mlir-reduce/MlirReduceMain.cpp"],
14236 hdrs = ["include/mlir/Tools/mlir-reduce/MlirReduceMain.h"],
14237 includes = ["include"],
14251 name = "mlir-reduce",
14252 srcs = ["tools/mlir-reduce/mlir-reduce.cpp"],
14253 includes = ["include"],
14254 local_defines = ["MLIR_INCLUDE_TESTS"],
14257 ":AllPassesAndDialects",
14261 "//mlir/test:TestDialect",
14266 name = "MlirQueryUtils",
14269 "lib/Query/Matcher/*.cpp",
14270 "lib/Query/Matcher/*.h",
14277 "include/mlir/Query/Matcher/*.h",
14278 "include/mlir/Query/*.h",
14281 includes = ["include"],
14287 "//llvm:LineEditor",
14293 name = "MlirQueryLib",
14294 srcs = ["lib/Tools/mlir-query/MlirQueryMain.cpp"],
14295 hdrs = ["include/mlir/Tools/mlir-query/MlirQueryMain.h"],
14296 includes = ["include"],
14302 "//llvm:LineEditor",
14308 name = "mlir-query",
14309 srcs = ["tools/mlir-query/mlir-query.cpp"],
14310 includes = ["include"],
14311 local_defines = ["MLIR_INCLUDE_TESTS"],
14314 ":AllPassesAndDialects",
14319 "//mlir/test:TestDialect",
14327 "lib/Tools/PDLL/ODS/*.cpp",
14330 hdrs = glob(["include/mlir/Tools/PDLL/ODS/*.h"]),
14331 includes = ["include"],
14342 "lib/Tools/PDLL/AST/*.cpp",
14343 "lib/Tools/PDLL/AST/*.h",
14346 hdrs = glob(["include/mlir/Tools/PDLL/AST/*.h"]),
14347 includes = ["include"],
14355 name = "PDLLCodeGen",
14358 "lib/Tools/PDLL/CodeGen/*.cpp",
14361 hdrs = glob(["include/mlir/Tools/PDLL/CodeGen/*.h"]),
14362 includes = ["include"],
14375 name = "PDLLParser",
14378 "lib/Tools/PDLL/Parser/*.cpp",
14379 "lib/Tools/PDLL/Parser/*.h",
14382 hdrs = glob(["include/mlir/Tools/PDLL/Parser/*.h"]),
14383 includes = ["include"],
14391 "//llvm:TargetParser",
14396 name = "mlir-pdll",
14398 "tools/mlir-pdll/mlir-pdll.cpp",
14413 name = "mlir-pdll-lsp-server",
14414 srcs = ["tools/mlir-pdll-lsp-server/mlir-pdll-lsp-server.cpp"],
14415 includes = ["include"],
14417 ":MlirPdllLspServerLib",
14423 name = "DialectConversionPdllFiles",
14424 srcs = ["include/mlir/Transforms/DialectConversion.pdll"],
14425 includes = ["include"],
14429 name = "UBDialectTdFiles",
14431 "include/mlir/Dialect/UB/IR/UBOps.td",
14432 "include/mlir/Dialect/UB/IR/UBOpsInterfaces.td",
14434 includes = ["include"],
14437 ":SideEffectInterfacesTdFiles",
14442 name = "UBOpsInterfacesIncGen",
14445 ["--gen-attr-interface-decls"],
14446 "include/mlir/Dialect/UB/IR/UBOpsInterfaces.h.inc",
14449 ["--gen-attr-interface-defs"],
14450 "include/mlir/Dialect/UB/IR/UBOpsInterfaces.cpp.inc",
14453 tblgen = ":mlir-tblgen",
14454 td_file = "include/mlir/Dialect/UB/IR/UBOpsInterfaces.td",
14455 deps = [":UBDialectTdFiles"],
14459 name = "UBOpsIncGen",
14463 "-gen-dialect-decls",
14466 "include/mlir/Dialect/UB/IR/UBOpsDialect.h.inc",
14470 "-gen-dialect-defs",
14473 "include/mlir/Dialect/UB/IR/UBOpsDialect.cpp.inc",
14477 "include/mlir/Dialect/UB/IR/UBOps.h.inc",
14481 "include/mlir/Dialect/UB/IR/UBOps.cpp.inc",
14484 ["--gen-attrdef-decls"],
14485 "include/mlir/Dialect/UB/IR/UBOpsAttributes.h.inc",
14488 ["--gen-attrdef-defs"],
14489 "include/mlir/Dialect/UB/IR/UBOpsAttributes.cpp.inc",
14492 tblgen = ":mlir-tblgen",
14493 td_file = "include/mlir/Dialect/UB/IR/UBOps.td",
14494 deps = [":UBDialectTdFiles"],
14498 name = "UBDialect",
14500 "lib/Dialect/UB/IR/UBOps.cpp",
14502 hdrs = ["include/mlir/Dialect/UB/IR/UBOps.h"],
14503 includes = ["include"],
14505 ":BytecodeOpInterface",
14506 ":ConvertToLLVMInterface",
14509 ":SideEffectInterfaces",
14511 ":UBOpsInterfacesIncGen",
14519 "lib/Conversion/UBToLLVM/*.cpp",
14522 "include/mlir/Conversion/UBToLLVM/*.h",
14524 includes = ["include"],
14526 ":ConversionPassIncGen",
14527 ":ConvertToLLVMInterface",
14529 ":LLVMCommonConversion",
14537 name = "UBToSPIRV",
14539 "lib/Conversion/UBToSPIRV/*.cpp",
14542 "include/mlir/Conversion/UBToSPIRV/*.h",
14544 includes = ["include"],
14546 ":ConversionPassIncGen",
14548 ":SPIRVConversion",
14555 name = "VCIXDialect",
14556 srcs = ["lib/Dialect/LLVMIR/IR/VCIXDialect.cpp"],
14557 hdrs = ["include/mlir/Dialect/LLVMIR/VCIXDialect.h"],
14558 includes = ["include"],
14560 ":BytecodeOpInterface",
14564 ":SideEffectInterfaces",
14566 "//llvm:AsmParser",
14573 name = "VCIXTdFiles",
14574 srcs = ["include/mlir/Dialect/LLVMIR/VCIXOps.td"],
14575 includes = ["include"],
14583 name = "VCIXOpsIncGen",
14587 "include/mlir/Dialect/LLVMIR/VCIXOps.h.inc",
14591 "include/mlir/Dialect/LLVMIR/VCIXOps.cpp.inc",
14595 "-gen-dialect-decls",
14598 "include/mlir/Dialect/LLVMIR/VCIXOpsDialect.h.inc",
14602 "-gen-dialect-defs",
14605 "include/mlir/Dialect/LLVMIR/VCIXOpsDialect.cpp.inc",
14609 "-gen-attrdef-decls",
14610 "-attrdefs-dialect=vcix",
14612 "include/mlir/Dialect/LLVMIR/VCIXOpsAttributes.h.inc",
14616 "-gen-attrdef-defs",
14617 "-attrdefs-dialect=vcix",
14619 "include/mlir/Dialect/LLVMIR/VCIXOpsAttributes.cpp.inc",
14622 tblgen = ":mlir-tblgen",
14623 td_file = "include/mlir/Dialect/LLVMIR/VCIXOps.td",
14624 deps = [":VCIXTdFiles"],
14628 name = "VCIXToLLVMIRTranslation",
14629 srcs = glob(["lib/Target/LLVMIR/Dialect/VCIX/*.cpp"]),
14630 hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/VCIX/*.h"]),
14631 includes = ["include"],
14634 ":ToLLVMIRTranslation",
14635 ":VCIXConversionIncGen",
14643 name = "VCIXConversionIncGen",
14646 ["-gen-llvmir-conversions"],
14647 "include/mlir/Dialect/LLVMIR/VCIXConversions.inc",
14650 tblgen = ":mlir-tblgen",
14651 td_file = "include/mlir/Dialect/LLVMIR/VCIXOps.td",
14652 deps = [":VCIXTdFiles"],
14656 name = "QuantPassIncGen",
14663 "include/mlir/Dialect/Quant/Transforms/Passes.h.inc",
14666 tblgen = ":mlir-tblgen",
14667 td_file = "include/mlir/Dialect/Quant/Transforms/Passes.td",
14668 deps = [":PassBaseTdFiles"],
14672 name = "QuantTransforms",
14674 "lib/Dialect/Quant/Transforms/*.cpp",
14677 "include/mlir/Dialect/Quant/Transforms/*.h",
14679 includes = ["include"],
14688 ":QuantPassIncGen",