llvm-project/mlir/lib/Transforms/CMakeLists.txt
Abhishek Varma 76d07503f0 [MLIR] Introduce inter-procedural memref layout normalization
-- Introduces a pass that normalizes the affine layout maps to the identity layout map both within and across functions by rewriting function arguments and call operands where necessary.
-- Memref normalization is now implemented entirely in the module pass '-normalize-memrefs' and the limited intra-procedural version has been removed from '-simplify-affine-structures'.
-- Run using -normalize-memrefs.
-- Return ops are not handled and would be handled in the subsequent revisions.

Signed-off-by: Abhishek Varma <abhishek.varma@polymagelabs.com>

Differential Revision: https://reviews.llvm.org/D84490
2020-07-30 18:12:56 +05:30

43 lines
764 B
CMake

add_subdirectory(Utils)
add_mlir_library(MLIRTransforms
BufferPlacement.cpp
Canonicalizer.cpp
CopyRemoval.cpp
CSE.cpp
DialectConversion.cpp
Inliner.cpp
LocationSnapshot.cpp
LoopCoalescing.cpp
LoopFusion.cpp
LoopInvariantCodeMotion.cpp
MemRefDataFlowOpt.cpp
NormalizeMemRefs.cpp
OpStats.cpp
ParallelLoopCollapsing.cpp
PipelineDataTransfer.cpp
SCCP.cpp
StripDebugInfo.cpp
SymbolDCE.cpp
ViewOpGraph.cpp
ViewRegionGraph.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Transforms
DEPENDS
MLIRStandardOpsIncGen
MLIRTransformsPassIncGen
LINK_LIBS PUBLIC
MLIRAffineOps
MLIRAnalysis
MLIRCopyOpInterface
MLIRLinalgOps
MLIRLoopLikeInterface
MLIRSCF
MLIRPass
MLIRTransformUtils
MLIRVector
)