1set(LLVM_OPTIONAL_SOURCES 2 AffineAnalysis.cpp 3 AffineStructures.cpp 4 BufferAliasAnalysis.cpp 5 CallGraph.cpp 6 Liveness.cpp 7 LoopAnalysis.cpp 8 NestedMatcher.cpp 9 NumberOfExecutions.cpp 10 PresburgerSet.cpp 11 SliceAnalysis.cpp 12 Utils.cpp 13 ) 14 15add_mlir_library(MLIRAnalysis 16 BufferAliasAnalysis.cpp 17 CallGraph.cpp 18 Liveness.cpp 19 NumberOfExecutions.cpp 20 SliceAnalysis.cpp 21 22 ADDITIONAL_HEADER_DIRS 23 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis 24 25 DEPENDS 26 mlir-headers 27 28 LINK_LIBS PUBLIC 29 MLIRAffine 30 MLIRCallInterfaces 31 MLIRControlFlowInterfaces 32 MLIRInferTypeOpInterface 33 MLIRSCF 34 ) 35 36add_mlir_library(MLIRLoopAnalysis 37 AffineAnalysis.cpp 38 AffineStructures.cpp 39 LoopAnalysis.cpp 40 NestedMatcher.cpp 41 PresburgerSet.cpp 42 Utils.cpp 43 44 ADDITIONAL_HEADER_DIRS 45 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis 46 47 DEPENDS 48 mlir-headers 49 50 LINK_LIBS PUBLIC 51 MLIRAffine 52 MLIRCallInterfaces 53 MLIRControlFlowInterfaces 54 MLIRInferTypeOpInterface 55 MLIRPresburger 56 MLIRSCF 57 ) 58 59add_subdirectory(Presburger) 60