File tree 13 files changed +51
-24
lines changed
Dialect/SparseTensor/Pipelines
Dialect/SparseTensor/Pipelines 13 files changed +51
-24
lines changed Original file line number Diff line number Diff line change 63
63
#include " mlir/Conversion/UBToSPIRV/UBToSPIRV.h"
64
64
#include " mlir/Conversion/VectorToArmSME/VectorToArmSME.h"
65
65
#include " mlir/Conversion/VectorToGPU/VectorToGPU.h"
66
- #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM .h"
66
+ #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVMPass .h"
67
67
#include " mlir/Conversion/VectorToSCF/VectorToSCF.h"
68
68
#include " mlir/Conversion/VectorToSPIRV/VectorToSPIRVPass.h"
69
69
Original file line number Diff line number Diff line change 12
12
13
13
namespace mlir {
14
14
class LLVMTypeConverter ;
15
- class Pass ;
16
-
17
- #define GEN_PASS_DECL_CONVERTVECTORTOLLVMPASS
18
- #include " mlir/Conversion/Passes.h.inc"
19
15
20
16
// / Collect a set of patterns to convert from Vector contractions to LLVM Matrix
21
17
// / Intrinsics. To lower to assembly, the LLVM flag -lower-matrix-intrinsics
Original file line number Diff line number Diff line change
1
+ // ===- ConvertVectorToLLVMPass.h - Pass to check Vector->LLVM --- --===//
2
+ //
3
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ // See https://llvm.org/LICENSE.txt for license information.
5
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ //
7
+ // ===----------------------------------------------------------------------===//
8
+ #ifndef MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLLVMPASS_H_
9
+ #define MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLLVMPASS_H_
10
+
11
+ #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h"
12
+
13
+ namespace mlir {
14
+ class Pass ;
15
+
16
+ #define GEN_PASS_DECL_CONVERTVECTORTOLLVMPASS
17
+ #include " mlir/Conversion/Passes.h.inc"
18
+ } // namespace mlir
19
+ #endif // MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLLVMPASS_H_
Original file line number Diff line number Diff line change 13
13
#ifndef MLIR_DIALECT_SPARSETENSOR_PIPELINES_PASSES_H_
14
14
#define MLIR_DIALECT_SPARSETENSOR_PIPELINES_PASSES_H_
15
15
16
- #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM .h"
16
+ #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVMPass .h"
17
17
#include " mlir/Dialect/SparseTensor/Transforms/Passes.h"
18
18
#include " mlir/Pass/PassOptions.h"
19
19
Original file line number Diff line number Diff line change 1
1
add_mlir_conversion_library(MLIRVectorToLLVM
2
+ PARTIAL_SOURCES_INTENDED
2
3
ConvertVectorToLLVM.cpp
3
- ConvertVectorToLLVMPass.cpp
4
4
5
5
ADDITIONAL_HEADER_DIRS
6
6
${MLIR_MAIN_INCLUDE_DIR} /mlir/Conversion/VectorToLLVM
@@ -14,21 +14,33 @@ add_mlir_conversion_library(MLIRVectorToLLVM
14
14
15
15
LINK_LIBS PUBLIC
16
16
MLIRArithDialect
17
- MLIRArmNeonDialect
18
- MLIRArmSMEDialect
19
- MLIRArmSMETransforms
20
- MLIRVectorToArmSME
21
- MLIRArmSVEDialect
22
- MLIRArmSVETransforms
23
- MLIRAMXDialect
24
- MLIRAMXTransforms
25
17
MLIRLLVMCommonConversion
26
18
MLIRLLVMDialect
27
19
MLIRMemRefDialect
28
20
MLIRTargetLLVMIRExport
29
21
MLIRTransforms
30
22
MLIRVectorDialect
31
23
MLIRVectorTransforms
24
+ )
25
+
26
+ add_mlir_conversion_library(MLIRVectorToLLVMPass
27
+ PARTIAL_SOURCES_INTENDED
28
+
29
+ ConvertVectorToLLVMPass.cpp
30
+ ADDITIONAL_HEADER_DIRS
31
+ ${MLIR_MAIN_INCLUDE_DIR} /mlir/Conversion/VectorToLLVM
32
+
33
+ LINK_LIBS PUBLIC
34
+ MLIRVectorToLLVM
35
+
36
+ MLIRArmNeonDialect
37
+ MLIRArmSMEDialect
38
+ MLIRArmSMETransforms
39
+ MLIRArmSVEDialect
40
+ MLIRArmSVETransforms
41
+ MLIRVectorToArmSME
42
+ MLIRAMXDialect
43
+ MLIRAMXTransforms
32
44
MLIRX86VectorDialect
33
45
MLIRX86VectorTransforms
34
- )
46
+ )
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM .h"
9
+ #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVMPass .h"
10
10
11
11
#include " mlir/Conversion/LLVMCommon/ConversionTarget.h"
12
12
#include " mlir/Conversion/LLVMCommon/TypeConverter.h"
Original file line number Diff line number Diff line change @@ -24,6 +24,6 @@ add_mlir_dialect_library(MLIRSparseTensorPipelines
24
24
MLIRSparseTensorDialect
25
25
MLIRSparseTensorTransforms
26
26
MLIRTensorTransforms
27
- MLIRVectorToLLVM
27
+ MLIRVectorToLLVMPass
28
28
MLIRVectorTransforms
29
29
)
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ set(LIBS
27
27
MLIRTransforms
28
28
MLIRTransformUtils
29
29
MLIRTranslateLib
30
- MLIRVectorToLLVM
30
+ MLIRVectorToLLVMPass
31
31
)
32
32
33
33
add_mlir_library(MLIRGPUTestPasses
Original file line number Diff line number Diff line change 22
22
#include " mlir/Conversion/NVGPUToNVVM/NVGPUToNVVM.h"
23
23
#include " mlir/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.h"
24
24
#include " mlir/Conversion/SCFToControlFlow/SCFToControlFlow.h"
25
- #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM .h"
25
+ #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVMPass .h"
26
26
#include " mlir/Conversion/VectorToSCF/VectorToSCF.h"
27
27
#include " mlir/Dialect/Func/IR/FuncOps.h"
28
28
#include " mlir/Dialect/GPU/IR/GPUDialect.h"
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ add_mlir_library(MLIRLLVMTestPasses
19
19
MLIRReconcileUnrealizedCasts
20
20
MLIRSCFToControlFlow
21
21
MLIRTransforms
22
- MLIRVectorToLLVM
22
+ MLIRVectorToLLVMPass
23
23
MLIRVectorToSCF
24
24
)
Original file line number Diff line number Diff line change 18
18
#include " mlir/Conversion/MemRefToLLVM/MemRefToLLVM.h"
19
19
#include " mlir/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.h"
20
20
#include " mlir/Conversion/SCFToControlFlow/SCFToControlFlow.h"
21
- #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM .h"
21
+ #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVMPass .h"
22
22
#include " mlir/Conversion/VectorToSCF/VectorToSCF.h"
23
23
#include " mlir/Dialect/Func/IR/FuncOps.h"
24
24
#include " mlir/Dialect/LLVMIR/LLVMDialect.h"
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ if (MLIR_ENABLE_VULKAN_RUNNER)
72
72
MLIRTransforms
73
73
MLIRTranslateLib
74
74
MLIRVectorDialect
75
- MLIRVectorToLLVM
75
+ MLIRVectorToLLVMPass
76
76
${Vulkan_LIBRARY}
77
77
)
78
78
Original file line number Diff line number Diff line change 18
18
#include " mlir/Conversion/LLVMCommon/LoweringOptions.h"
19
19
#include " mlir/Conversion/MemRefToLLVM/MemRefToLLVM.h"
20
20
#include " mlir/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.h"
21
- #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM .h"
21
+ #include " mlir/Conversion/VectorToLLVM/ConvertVectorToLLVMPass .h"
22
22
#include " mlir/Dialect/Arith/IR/Arith.h"
23
23
#include " mlir/Dialect/Func/IR/FuncOps.h"
24
24
#include " mlir/Dialect/GPU/IR/GPUDialect.h"
You can’t perform that action at this time.
0 commit comments