summaryrefslogtreecommitdiffstats
path: root/mlir/test/lib/Transforms/CMakeLists.txt
blob: ac4a4930e5a512b4eedbd5d4e360e4f990281b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
add_llvm_library(MLIRTestTransforms
  TestCallGraph.cpp
  TestConstantFold.cpp
  TestLoopFusion.cpp
  TestGpuMemoryPromotion.cpp
  TestInlining.cpp
  TestLinalgTransforms.cpp
  TestLiveness.cpp
  TestLoopMapping.cpp
  TestLoopParametricTiling.cpp
  TestOpaqueLoc.cpp
  TestMemRefStrideCalculation.cpp
  TestVectorToLoopsConversion.cpp
  TestVectorTransforms.cpp
  TestVectorizationUtils.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Transforms
  )
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../TestDialect)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/../TestDialect)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../DeclarativeTransforms)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/../DeclarativeTransforms)
add_dependencies(MLIRTestTransforms MLIRStandardOpsIncGen)
add_dependencies(MLIRTestTransforms MLIRTestLinalgTransformPatternsIncGen)
add_dependencies(MLIRTestTransforms MLIRTestVectorTransformPatternsIncGen)
target_link_libraries(MLIRTestTransforms
  MLIRAffineOps
  MLIRAnalysis
  MLIREDSC
  MLIRGPU
  MLIRLoopOps
  MLIRPass
  MLIRTestDialect
  MLIRVectorOps
  )
OpenPOWER on IntegriCloud