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

40 lines
738 B
CMake

set(LLVM_OPTIONAL_SOURCES
AliasAnalysis.cpp
BufferViewFlowAnalysis.cpp
CallGraph.cpp
DataFlowAnalysis.cpp
DataLayoutAnalysis.cpp
Liveness.cpp
SliceAnalysis.cpp
AliasAnalysis/LocalAliasAnalysis.cpp
)
add_mlir_library(MLIRAnalysis
AliasAnalysis.cpp
BufferViewFlowAnalysis.cpp
CallGraph.cpp
DataFlowAnalysis.cpp
DataLayoutAnalysis.cpp
Liveness.cpp
SliceAnalysis.cpp
AliasAnalysis/LocalAliasAnalysis.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis
DEPENDS
mlir-headers
LINK_LIBS PUBLIC
MLIRCallInterfaces
MLIRControlFlowInterfaces
MLIRDataLayoutInterfaces
MLIRInferTypeOpInterface
MLIRSideEffectInterfaces
MLIRViewLikeInterface
)
add_subdirectory(Presburger)