File tree Expand file tree Collapse file tree 24 files changed +165
-68
lines changed Expand file tree Collapse file tree 24 files changed +165
-68
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ add_llvm_library(MLIRAnalysis
31
31
LLVMSupport
32
32
)
33
33
add_dependencies (MLIRAnalysis
34
+ MLIRAffineOps
34
35
MLIRCallOpInterfacesIncGen
35
36
MLIRTypeInferOpInterfaceIncGen
37
+ MLIRLoopOps
36
38
)
37
39
38
40
add_llvm_library (MLIRLoopAnalysis
@@ -54,6 +56,8 @@ add_llvm_library(MLIRLoopAnalysis
54
56
LLVMSupport
55
57
)
56
58
add_dependencies (MLIRLoopAnalysis
59
+ MLIRAffineOps
57
60
MLIRCallOpInterfacesIncGen
58
61
MLIRTypeInferOpInterfaceIncGen
62
+ MLIRLoopOps
59
63
)
Original file line number Diff line number Diff line change @@ -14,3 +14,12 @@ add_mlir_conversion_library(MLIRAffineToStandard
14
14
LLVMCore
15
15
LLVMSupport
16
16
)
17
+ add_dependencies (
18
+ MLIRAffineToStandard
19
+
20
+ MLIRAffineOps
21
+ MLIRStandardOps
22
+ MLIRIR
23
+ LLVMCore
24
+ LLVMSupport
25
+ )
Original file line number Diff line number Diff line change @@ -13,3 +13,11 @@ add_mlir_conversion_library(MLIRLoopToStandard
13
13
LLVMCore
14
14
LLVMSupport
15
15
)
16
+ add_dependencies (
17
+ MLIRLoopToStandard
18
+
19
+ MLIRLoopOps
20
+ MLIRTransforms
21
+ LLVMCore
22
+ LLVMSupport
23
+ )
Original file line number Diff line number Diff line change 1
- add_mlir_conversion_library (MLIRLoopsToGPU
2
- LoopsToGPU.cpp
3
- LoopsToGPUPass.cpp
4
-
5
- ADDITIONAL_HEADER_DIRS
6
- ${MLIR_MAIN_INCLUDE_DIR} /mlir/Conversion/LoopsToGPU
7
-
8
- LINK_LIBS
1
+ set (LIBS
9
2
MLIRAffineOps
10
3
MLIRAffineToStandard
11
4
MLIRGPU
@@ -18,4 +11,16 @@ add_mlir_conversion_library(MLIRLoopsToGPU
18
11
MLIRTransforms
19
12
MLIRTransformUtils
20
13
LLVMSupport
14
+ )
15
+
16
+ add_mlir_conversion_library (MLIRLoopsToGPU
17
+ LoopsToGPU.cpp
18
+ LoopsToGPUPass.cpp
19
+
20
+ ADDITIONAL_HEADER_DIRS
21
+ ${MLIR_MAIN_INCLUDE_DIR} /mlir/Conversion/LoopsToGPU
22
+
23
+ LINK_LIBS
24
+ ${LIBS}
21
25
)
26
+ add_dependencies (MLIRLoopsToGPU ${LIBS} )
Original file line number Diff line number Diff line change @@ -13,3 +13,11 @@ add_mlir_conversion_library(MLIRStandardToLLVM
13
13
LLVMCore
14
14
LLVMSupport
15
15
)
16
+ add_dependencies (
17
+ MLIRStandardToLLVM
18
+
19
+ MLIRLLVMIR
20
+ MLIRTransforms
21
+ LLVMCore
22
+ LLVMSupport
23
+ )
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ add_mlir_dialect_library(MLIRAffineOps
13
13
LLVMSupport
14
14
)
15
15
add_dependencies (MLIRAffineOps
16
+
16
17
MLIRAffineOpsIncGen
18
+ MLIREDSC
19
+ MLIRIR
17
20
MLIRLoopLikeInterfaceIncGen
21
+ MLIRStandardOps
18
22
)
Original file line number Diff line number Diff line change @@ -16,5 +16,9 @@ add_mlir_dialect_library(MLIRFxpMathOps
16
16
LLVMSupport
17
17
)
18
18
add_dependencies (MLIRFxpMathOps
19
- MLIRFxpMathOpsIncGen
20
- )
19
+ MLIRFxpMathOpsIncGen
20
+ MLIRQuantOps
21
+ MLIRIR
22
+ MLIRPass
23
+ MLIRSupport
24
+ MLIRStandardOps )
Original file line number Diff line number Diff line change @@ -21,4 +21,10 @@ add_mlir_dialect_library(MLIRGPU
21
21
)
22
22
add_dependencies (MLIRGPU
23
23
MLIRGPUOpsIncGen
24
- )
24
+ MLIREDSC
25
+ MLIRIR
26
+ MLIRLLVMIR
27
+ MLIRLoopOps
28
+ MLIRSupport
29
+ MLIRTransformUtils
30
+ LLVMSupport )
Original file line number Diff line number Diff line change @@ -11,10 +11,7 @@ add_mlir_dialect_library(MLIRLLVMIR
11
11
MLIRIR
12
12
MLIRSupport
13
13
)
14
- add_dependencies (MLIRLLVMIR
15
- MLIRLLVMOpsIncGen
16
- MLIRLLVMConversionsIncGen
17
- )
14
+ add_dependencies (MLIRLLVMIR MLIRLLVMOpsIncGen MLIRLLVMConversionsIncGen LLVMAsmParser LLVMCore LLVMSupport )
18
15
19
16
add_mlir_dialect_library (MLIRNVVMIR
20
17
IR/NVVMDialect.cpp
@@ -29,11 +26,7 @@ add_mlir_dialect_library(MLIRNVVMIR
29
26
LLVMSupport
30
27
LLVMCore
31
28
)
32
- add_dependencies (MLIRNVVMIR
33
- MLIRNVVMOpsIncGen
34
- MLIRNVVMConversionsIncGen
35
- )
36
-
29
+ add_dependencies (MLIRNVVMIR MLIRNVVMOpsIncGen MLIRNVVMConversionsIncGen LLVMAsmParser LLVMCore LLVMSupport )
37
30
38
31
39
32
add_mlir_dialect_library (MLIRROCDLIR
@@ -48,7 +41,4 @@ add_mlir_dialect_library(MLIRROCDLIR
48
41
LLVMSupport
49
42
MLIRIR
50
43
)
51
- add_dependencies (MLIRROCDLIR
52
- MLIRROCDLOpsIncGen
53
- MLIRROCDLConversionsIncGen
54
- )
44
+ add_dependencies (MLIRROCDLIR MLIRROCDLOpsIncGen MLIRROCDLConversionsIncGen LLVMAsmParser LLVMCore LLVMSupport )
Original file line number Diff line number Diff line change
1
+ set (LIBS
2
+ MLIRIR
3
+ MLIRLinalgOps
4
+ MLIRStandardOps
5
+ LLVMSupport
6
+ )
7
+
8
+
1
9
add_mlir_dialect_library (MLIRLinalgAnalysis
2
10
DependenceAnalysis.cpp
3
11
4
12
ADDITIONAL_HEADER_DIRS
5
13
${MLIR_MAIN_INCLUDE_DIR} /mlir/Dialect/Linalg
6
-
7
14
DEPENDS
8
15
intrinsics_gen
9
16
10
17
LINK_LIBS
11
- MLIRIR
12
- MLIRLinalgOps
13
- MLIRStandardOps
14
- LLVMSupport
18
+ ${LIBS}
15
19
)
20
+
21
+ add_dependencies (MLIRLinalgAnalysis ${LIBS} )
Original file line number Diff line number Diff line change
1
+ set (LIBS
2
+
3
+ MLIREDSC
4
+ MLIRIR
5
+ MLIRAffineOps
6
+ MLIRLinalgOps
7
+ MLIRLoopOps
8
+ MLIRStandardOps
9
+ LLVMSupport
10
+ )
11
+
1
12
add_mlir_dialect_library (MLIRLinalgEDSC
2
13
Builders.cpp
3
14
4
15
ADDITIONAL_HEADER_DIRS
5
16
${MLIR_MAIN_INCLUDE_DIR} /mlir/Dialect/Linalg
6
-
7
17
DEPENDS
8
18
intrinsics_gen
9
19
10
20
LINK_LIBS
11
- MLIREDSC
12
- MLIRIR
13
- MLIRAffineOps
14
- MLIRLinalgOps
15
- MLIRLoopOps
16
- MLIRStandardOps
17
- LLVMSupport
21
+ ${LIBS}
18
22
)
23
+
24
+ add_dependencies (MLIRLinalgEDSC ${LIBS} )
Original file line number Diff line number Diff line change
1
+ set (LIBS
2
+ MLIRIR
3
+ MLIRStandardOps
4
+ MLIRSupport
5
+ LLVMSupport
6
+ )
7
+
1
8
add_mlir_dialect_library (MLIRLinalgOps
2
9
LinalgOps.cpp
3
10
LinalgTypes.cpp
4
11
5
12
ADDITIONAL_HEADER_DIRS
6
13
${MLIR_MAIN_INCLUDE_DIR} /mlir/Dialect/Linalg
7
-
8
14
DEPENDS
9
15
intrinsics_gen
10
16
@@ -14,7 +20,10 @@ add_mlir_dialect_library(MLIRLinalgOps
14
20
MLIRSupport
15
21
LLVMSupport
16
22
)
23
+
17
24
add_dependencies (MLIRLinalgOps
25
+
26
+ ${LIBS}
18
27
MLIRLinalgOpsIncGen
19
28
MLIRLinalgStructuredOpsIncGen
20
29
MLIRLinalgStructuredOpsInterfaceIncGen
Original file line number Diff line number Diff line change 1
- add_mlir_dialect_library (MLIRLinalgTransforms
2
- Fusion.cpp
3
- LinalgTransforms.cpp
4
- LinalgToLoops.cpp
5
- Promotion.cpp
6
- Tiling.cpp
1
+ set (LIBS
7
2
8
- ADDITIONAL_HEADER_DIRS
9
- ${MLIR_MAIN_INCLUDE_DIR} /mlir/Dialect/Linalg
10
- DEPENDS
11
- intrinsics_gen
12
-
13
- LINK_LIBS
14
3
MLIRAffineOps
15
4
MLIRAnalysis
16
5
MLIREDSC
@@ -27,6 +16,25 @@ add_mlir_dialect_library(MLIRLinalgTransforms
27
16
MLIRVectorOps
28
17
LLVMSupport
29
18
)
19
+
20
+ add_mlir_dialect_library (MLIRLinalgTransforms
21
+ Fusion.cpp
22
+ LinalgTransforms.cpp
23
+ LinalgToLoops.cpp
24
+ Promotion.cpp
25
+ Tiling.cpp
26
+
27
+ ADDITIONAL_HEADER_DIRS
28
+ ${MLIR_MAIN_INCLUDE_DIR} /mlir/Dialect/Linalg
29
+ DEPENDS
30
+ intrinsics_gen
31
+
32
+ LINK_LIBS
33
+ ${LIBS}
34
+ )
35
+
30
36
add_dependencies (MLIRLinalgTransforms
37
+
38
+ ${LIBS}
31
39
MLIRLinalgTransformPatternsIncGen
32
40
)
Original file line number Diff line number Diff line change 1
- add_mlir_dialect_library (MLIRLinalgUtils
2
- Utils.cpp
3
-
4
- ADDITIONAL_HEADER_DIRS
5
- ${MLIR_MAIN_INCLUDE_DIR} /mlir/Dialect/Linalg
6
-
7
- DEPENDS
8
- intrinsics_gen
9
-
10
- LINK_LIBS
1
+ set (LIBS
11
2
MLIRAffineOps
12
3
MLIREDSC
13
4
MLIRIR
@@ -18,3 +9,17 @@ add_mlir_dialect_library(MLIRLinalgUtils
18
9
MLIRTransformUtils
19
10
LLVMSupport
20
11
)
12
+
13
+ add_mlir_dialect_library (MLIRLinalgUtils
14
+
15
+ Utils.cpp
16
+
17
+ ADDITIONAL_HEADER_DIRS
18
+ ${MLIR_MAIN_INCLUDE_DIR} /mlir/Dialect/Linalg
19
+ DEPENDS
20
+ intrinsics_gen
21
+
22
+ LINK_LIBS
23
+ ${LIBS} )
24
+
25
+ add_dependencies (MLIRLinalgUtils ${LIBS} )
Original file line number Diff line number Diff line change @@ -13,8 +13,12 @@ add_mlir_dialect_library(MLIRLoopOps
13
13
LLVMSupport
14
14
)
15
15
add_dependencies (MLIRLoopOps
16
+
17
+ MLIREDSC
16
18
MLIRLoopLikeInterfaceIncGen
17
19
MLIRLoopOpsIncGen
20
+ MLIRStandardOps
21
+ LLVMSupport
18
22
)
19
23
20
24
add_subdirectory (Transforms )
Original file line number Diff line number Diff line change @@ -21,5 +21,8 @@ add_mlir_dialect_library(MLIRQuantOps
21
21
LLVMSupport
22
22
)
23
23
add_dependencies (MLIRQuantOps
24
- MLIRQuantOpsIncGen
25
- )
24
+ MLIRIR
25
+ MLIRPass
26
+ MLIRQuantOpsIncGen
27
+ MLIRSupport
28
+ MLIRStandardOps )
Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ add_mlir_dialect_library(MLIRSDBM
10
10
MLIRSupport
11
11
LLVMSupport
12
12
)
13
+ add_dependencies (MLIRSDBM MLIRIR )
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ add_mlir_dialect_library(MLIRStandardOps
14
14
LLVMSupport
15
15
)
16
16
add_dependencies (MLIRStandardOps
17
+
17
18
MLIRCallOpInterfacesIncGen
19
+ MLIREDSC
20
+ MLIRIR
18
21
MLIRStandardOpsIncGen
22
+ LLVMSupport
19
23
)
Original file line number Diff line number Diff line change @@ -27,3 +27,4 @@ add_llvm_library(MLIREDSCInterface
27
27
MLIRParser
28
28
LLVMSupport
29
29
)
30
+ add_dependencies (MLIREDSCInterface MLIRIR )
Original file line number Diff line number Diff line change @@ -10,7 +10,4 @@ add_llvm_library(MLIRIR
10
10
LLVMSupport
11
11
${LLVM_PTHREAD_LIB}
12
12
)
13
- add_dependencies (MLIRIR
14
- MLIRCallOpInterfacesIncGen
15
- MLIROpAsmInterfacesIncGen
16
- )
13
+ add_dependencies (MLIRIR MLIRCallOpInterfacesIncGen MLIROpAsmInterfacesIncGen MLIRSupport LLVMSupport )
Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ add_llvm_library(MLIRParser
11
11
MLIRAnalysis
12
12
LLVMSupport
13
13
)
14
+ add_dependencies (MLIRParser MLIRIR MLIRAnalysis )
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ add_llvm_library(MLIRPass
12
12
LLVMIRReader
13
13
LLVMSupport
14
14
)
15
+ add_dependencies (MLIRPass MLIRAnalysis MLIRIR LLVMSupport )
You can’t perform that action at this time.
0 commit comments