forked from OSchip/llvm-project
70 lines
1.2 KiB
CMake
70 lines
1.2 KiB
CMake
set(LLVM_OPTIONAL_SOURCES
|
|
AliasAnalysis.cpp
|
|
AffineAnalysis.cpp
|
|
AffineStructures.cpp
|
|
BufferViewFlowAnalysis.cpp
|
|
CallGraph.cpp
|
|
DataFlowAnalysis.cpp
|
|
DataLayoutAnalysis.cpp
|
|
Liveness.cpp
|
|
LoopAnalysis.cpp
|
|
NestedMatcher.cpp
|
|
NumberOfExecutions.cpp
|
|
SliceAnalysis.cpp
|
|
Utils.cpp
|
|
|
|
AliasAnalysis/LocalAliasAnalysis.cpp
|
|
)
|
|
|
|
add_mlir_library(MLIRAnalysis
|
|
AliasAnalysis.cpp
|
|
BufferViewFlowAnalysis.cpp
|
|
CallGraph.cpp
|
|
DataFlowAnalysis.cpp
|
|
DataLayoutAnalysis.cpp
|
|
Liveness.cpp
|
|
NumberOfExecutions.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_mlir_library(MLIRLoopAnalysis
|
|
AffineAnalysis.cpp
|
|
AffineStructures.cpp
|
|
LoopAnalysis.cpp
|
|
NestedMatcher.cpp
|
|
Utils.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis
|
|
|
|
DEPENDS
|
|
mlir-headers
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRAffine
|
|
MLIRAnalysis
|
|
MLIRCallInterfaces
|
|
MLIRControlFlowInterfaces
|
|
MLIRInferTypeOpInterface
|
|
MLIRPresburger
|
|
MLIRSCF
|
|
)
|
|
|
|
add_subdirectory(Presburger)
|