llvm-project/mlir/lib/Transforms/CMakeLists.txt

39 lines
773 B
CMake

add_subdirectory(Utils)
add_llvm_library(MLIRTransforms
AffineDataCopyGeneration.cpp
Canonicalizer.cpp
CSE.cpp
DialectConversion.cpp
Inliner.cpp
LoopCoalescing.cpp
LoopFusion.cpp
LoopInvariantCodeMotion.cpp
LoopTiling.cpp
LoopUnrollAndJam.cpp
LoopUnroll.cpp
LowerAffine.cpp
LowerVectorTransfers.cpp
MaterializeVectors.cpp
MemRefDataFlowOpt.cpp
PipelineDataTransfer.cpp
SimplifyAffineStructures.cpp
StripDebugInfo.cpp
Vectorize.cpp
ViewOpGraph.cpp
ViewRegionGraph.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Transforms
)
add_dependencies(MLIRTransforms MLIRStandardOpsIncGen)
target_link_libraries(MLIRTransforms
MLIRAffineOps
MLIRAnalysis
MLIRLoopOps
MLIRPass
MLIRTransformUtils
MLIRVectorOps
)