2019-06-25 05:35:21 +08:00
|
|
|
add_llvm_library(MLIRTestTransforms
|
2019-09-24 02:43:43 +08:00
|
|
|
TestCallGraph.cpp
|
2019-06-25 05:35:21 +08:00
|
|
|
TestConstantFold.cpp
|
|
|
|
TestLoopFusion.cpp
|
2019-09-06 03:23:45 +08:00
|
|
|
TestInlining.cpp
|
2019-07-19 19:47:27 +08:00
|
|
|
TestLoopMapping.cpp
|
2019-07-22 19:30:50 +08:00
|
|
|
TestLoopParametricTiling.cpp
|
2019-10-07 23:25:24 +08:00
|
|
|
TestOpaqueLoc.cpp
|
2019-09-21 01:49:38 +08:00
|
|
|
TestMemRefStrideCalculation.cpp
|
2019-06-25 05:35:21 +08:00
|
|
|
TestVectorizationUtils.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Transforms
|
|
|
|
)
|
2019-09-06 03:23:45 +08:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../TestDialect)
|
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}/../TestDialect)
|
2019-06-25 05:35:21 +08:00
|
|
|
add_dependencies(MLIRTestTransforms MLIRStandardOpsIncGen)
|
|
|
|
target_link_libraries(MLIRTestTransforms
|
|
|
|
MLIRAffineOps
|
|
|
|
MLIRAnalysis
|
2019-07-19 19:47:27 +08:00
|
|
|
MLIRLoopOps
|
2019-06-25 05:35:21 +08:00
|
|
|
MLIRPass
|
2019-09-06 03:23:45 +08:00
|
|
|
MLIRTestDialect
|
2019-06-25 05:35:21 +08:00
|
|
|
MLIRVectorOps
|
|
|
|
)
|