llvm-project/mlir/lib/Transforms/CMakeLists.txt
Jacques Pienaar 88c525235b [mlir] Add pass to privatize symbols unless excluded.
Simple pass that changes all symbols to private unless symbol is excluded (and
in which case there is no change to symbol's visibility).

Differential Revision: https://reviews.llvm.org/D118752
2022-02-03 20:20:54 -08:00

31 lines
516 B
CMake

add_subdirectory(Utils)
add_mlir_library(MLIRTransforms
Canonicalizer.cpp
ControlFlowSink.cpp
CSE.cpp
Inliner.cpp
LocationSnapshot.cpp
LoopInvariantCodeMotion.cpp
OpStats.cpp
SCCP.cpp
StripDebugInfo.cpp
SymbolDCE.cpp
SymbolPrivatize.cpp
ViewOpGraph.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Transforms
DEPENDS
MLIRTransformsPassIncGen
LINK_LIBS PUBLIC
MLIRAnalysis
MLIRCopyOpInterface
MLIRLoopLikeInterface
MLIRPass
MLIRSupport
MLIRTransformUtils
)