[MLIR] Break cyclic dependencies with MLIRAnalysis
Summary:
MLIRAnalysis depended on MLIRVectorOps
MLIRVectorOps depended on MLIRAnalysis for Loop information.
Both of these can be solved by factoring out libraries related to loop
analysis into their own library. The new MLIRLoopAnalysis might be
better off with the Loop Dialect in the future.
Reviewers: nicolasvasilache, rriddle!, mehdi_amini
Reviewed By: mehdi_amini
Subscribers: Joonsoo, vchuravy, merge_guards_bot, mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73655
2020-01-30 03:20:19 +08:00
|
|
|
set(LLVM_OPTIONAL_SOURCES
|
2019-03-30 13:10:12 +08:00
|
|
|
AffineAnalysis.cpp
|
|
|
|
AffineStructures.cpp
|
2019-09-24 02:36:37 +08:00
|
|
|
CallGraph.cpp
|
2020-03-06 04:40:23 +08:00
|
|
|
ControlFlowInterfaces.cpp
|
2019-03-30 13:10:12 +08:00
|
|
|
Dominance.cpp
|
2019-09-30 08:28:29 +08:00
|
|
|
InferTypeOpInterface.cpp
|
2019-12-12 00:01:56 +08:00
|
|
|
Liveness.cpp
|
2019-03-30 13:10:12 +08:00
|
|
|
LoopAnalysis.cpp
|
|
|
|
NestedMatcher.cpp
|
|
|
|
SliceAnalysis.cpp
|
|
|
|
Utils.cpp
|
|
|
|
Verifier.cpp
|
[MLIR] Break cyclic dependencies with MLIRAnalysis
Summary:
MLIRAnalysis depended on MLIRVectorOps
MLIRVectorOps depended on MLIRAnalysis for Loop information.
Both of these can be solved by factoring out libraries related to loop
analysis into their own library. The new MLIRLoopAnalysis might be
better off with the Loop Dialect in the future.
Reviewers: nicolasvasilache, rriddle!, mehdi_amini
Reviewed By: mehdi_amini
Subscribers: Joonsoo, vchuravy, merge_guards_bot, mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73655
2020-01-30 03:20:19 +08:00
|
|
|
)
|
|
|
|
|
2020-02-28 06:53:12 +08:00
|
|
|
add_mlir_library(MLIRControlFlowAnalysis
|
|
|
|
ControlFlowInterfaces.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis
|
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
MLIRControlFlowInterfacesIncGen
|
|
|
|
)
|
|
|
|
target_link_libraries(MLIRControlFlowAnalysis
|
|
|
|
PUBLIC
|
|
|
|
MLIRIR
|
|
|
|
)
|
|
|
|
|
2020-02-09 11:27:54 +08:00
|
|
|
add_mlir_library(MLIRAnalysis
|
[MLIR] Break cyclic dependencies with MLIRAnalysis
Summary:
MLIRAnalysis depended on MLIRVectorOps
MLIRVectorOps depended on MLIRAnalysis for Loop information.
Both of these can be solved by factoring out libraries related to loop
analysis into their own library. The new MLIRLoopAnalysis might be
better off with the Loop Dialect in the future.
Reviewers: nicolasvasilache, rriddle!, mehdi_amini
Reviewed By: mehdi_amini
Subscribers: Joonsoo, vchuravy, merge_guards_bot, mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73655
2020-01-30 03:20:19 +08:00
|
|
|
CallGraph.cpp
|
|
|
|
InferTypeOpInterface.cpp
|
|
|
|
Liveness.cpp
|
|
|
|
SliceAnalysis.cpp
|
|
|
|
Dominance.cpp
|
|
|
|
Verifier.cpp
|
2019-03-30 13:10:12 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis
|
2020-02-21 02:48:51 +08:00
|
|
|
|
|
|
|
DEPENDS
|
2020-03-01 03:50:31 +08:00
|
|
|
MLIRCallOpInterfacesIncGen
|
|
|
|
MLIRTypeInferOpInterfaceIncGen
|
|
|
|
)
|
[MLIR] Break cyclic dependencies with MLIRAnalysis
Summary:
MLIRAnalysis depended on MLIRVectorOps
MLIRVectorOps depended on MLIRAnalysis for Loop information.
Both of these can be solved by factoring out libraries related to loop
analysis into their own library. The new MLIRLoopAnalysis might be
better off with the Loop Dialect in the future.
Reviewers: nicolasvasilache, rriddle!, mehdi_amini
Reviewed By: mehdi_amini
Subscribers: Joonsoo, vchuravy, merge_guards_bot, mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73655
2020-01-30 03:20:19 +08:00
|
|
|
|
2020-03-06 03:49:42 +08:00
|
|
|
target_link_libraries(MLIRAnalysis
|
|
|
|
PUBLIC
|
|
|
|
MLIRAffineOps
|
|
|
|
MLIRLoopOps
|
|
|
|
)
|
2020-03-01 03:51:04 +08:00
|
|
|
|
2020-02-09 11:27:54 +08:00
|
|
|
add_mlir_library(MLIRLoopAnalysis
|
[MLIR] Break cyclic dependencies with MLIRAnalysis
Summary:
MLIRAnalysis depended on MLIRVectorOps
MLIRVectorOps depended on MLIRAnalysis for Loop information.
Both of these can be solved by factoring out libraries related to loop
analysis into their own library. The new MLIRLoopAnalysis might be
better off with the Loop Dialect in the future.
Reviewers: nicolasvasilache, rriddle!, mehdi_amini
Reviewed By: mehdi_amini
Subscribers: Joonsoo, vchuravy, merge_guards_bot, mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73655
2020-01-30 03:20:19 +08:00
|
|
|
AffineAnalysis.cpp
|
|
|
|
AffineStructures.cpp
|
|
|
|
LoopAnalysis.cpp
|
|
|
|
NestedMatcher.cpp
|
|
|
|
Utils.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis
|
2020-02-21 02:48:51 +08:00
|
|
|
|
|
|
|
DEPENDS
|
2020-03-01 03:50:31 +08:00
|
|
|
MLIRCallOpInterfacesIncGen
|
|
|
|
MLIRTypeInferOpInterfaceIncGen
|
|
|
|
)
|
2020-03-01 03:51:04 +08:00
|
|
|
|
2020-03-06 03:49:42 +08:00
|
|
|
target_link_libraries(MLIRLoopAnalysis
|
|
|
|
PUBLIC
|
|
|
|
MLIRAffineOps
|
|
|
|
MLIRLoopOps)
|