|
14 | 14 | #ifndef MLIR_INITALLEXTENSIONS_H_ |
15 | 15 | #define MLIR_INITALLEXTENSIONS_H_ |
16 | 16 |
|
| 17 | +#include "mlir/Conversion/ArithToEmitC/ArithToEmitC.h" |
17 | 18 | #include "mlir/Conversion/ArithToLLVM/ArithToLLVM.h" |
18 | 19 | #include "mlir/Conversion/ComplexToLLVM/ComplexToLLVM.h" |
19 | 20 | #include "mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h" |
| 21 | +#include "mlir/Conversion/FuncToEmitC/FuncToEmitC.h" |
20 | 22 | #include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h" |
21 | 23 | #include "mlir/Conversion/GPUCommon/GPUToLLVM.h" |
22 | 24 | #include "mlir/Conversion/GPUToNVVM/GPUToNVVM.h" |
23 | 25 | #include "mlir/Conversion/IndexToLLVM/IndexToLLVM.h" |
24 | 26 | #include "mlir/Conversion/MPIToLLVM/MPIToLLVM.h" |
25 | 27 | #include "mlir/Conversion/MathToLLVM/MathToLLVM.h" |
| 28 | +#include "mlir/Conversion/MemRefToEmitC/MemRefToEmitC.h" |
26 | 29 | #include "mlir/Conversion/MemRefToLLVM/MemRefToLLVM.h" |
27 | 30 | #include "mlir/Conversion/NVVMToLLVM/NVVMToLLVM.h" |
28 | 31 | #include "mlir/Conversion/OpenMPToLLVM/ConvertOpenMPToLLVM.h" |
| 32 | +#include "mlir/Conversion/SCFToEmitC/SCFToEmitC.h" |
29 | 33 | #include "mlir/Conversion/UBToLLVM/UBToLLVM.h" |
30 | 34 | #include "mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h" |
31 | 35 | #include "mlir/Dialect/AMX/Transforms.h" |
@@ -63,18 +67,22 @@ namespace mlir { |
63 | 67 | /// pipelines and transformations you are using. |
64 | 68 | inline void registerAllExtensions(DialectRegistry ®istry) { |
65 | 69 | // Register all conversions to LLVM extensions. |
| 70 | + registerConvertArithToEmitCInterface(registry); |
66 | 71 | arith::registerConvertArithToLLVMInterface(registry); |
67 | 72 | registerConvertComplexToLLVMInterface(registry); |
68 | 73 | cf::registerConvertControlFlowToLLVMInterface(registry); |
69 | 74 | func::registerAllExtensions(registry); |
70 | 75 | tensor::registerAllExtensions(registry); |
| 76 | + registerConvertFuncToEmitCInterface(registry); |
71 | 77 | registerConvertFuncToLLVMInterface(registry); |
72 | 78 | index::registerConvertIndexToLLVMInterface(registry); |
73 | 79 | registerConvertMathToLLVMInterface(registry); |
74 | 80 | mpi::registerConvertMPIToLLVMInterface(registry); |
| 81 | + registerConvertMemRefToEmitCInterface(registry); |
75 | 82 | registerConvertMemRefToLLVMInterface(registry); |
76 | 83 | registerConvertNVVMToLLVMInterface(registry); |
77 | 84 | registerConvertOpenMPToLLVMInterface(registry); |
| 85 | + registerConvertSCFToEmitCInterface(registry); |
78 | 86 | ub::registerConvertUBToLLVMInterface(registry); |
79 | 87 | registerConvertAMXToLLVMInterface(registry); |
80 | 88 | gpu::registerConvertGpuToLLVMInterface(registry); |
|
0 commit comments