Loading mlir/lib/Analysis/CMakeLists.txt +4 −0 Original line number Diff line number Diff line Loading @@ -31,8 +31,10 @@ add_llvm_library(MLIRAnalysis LLVMSupport ) add_dependencies(MLIRAnalysis MLIRAffineOps MLIRCallOpInterfacesIncGen MLIRTypeInferOpInterfaceIncGen MLIRLoopOps ) add_llvm_library(MLIRLoopAnalysis Loading @@ -54,6 +56,8 @@ add_llvm_library(MLIRLoopAnalysis LLVMSupport ) add_dependencies(MLIRLoopAnalysis MLIRAffineOps MLIRCallOpInterfacesIncGen MLIRTypeInferOpInterfaceIncGen MLIRLoopOps ) mlir/lib/Conversion/AffineToStandard/CMakeLists.txt +9 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,12 @@ add_mlir_conversion_library(MLIRAffineToStandard LLVMCore LLVMSupport ) add_dependencies( MLIRAffineToStandard MLIRAffineOps MLIRStandardOps MLIRIR LLVMCore LLVMSupport ) mlir/lib/Conversion/LoopToStandard/CMakeLists.txt +8 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,11 @@ add_mlir_conversion_library(MLIRLoopToStandard LLVMCore LLVMSupport ) add_dependencies( MLIRLoopToStandard MLIRLoopOps MLIRTransforms LLVMCore LLVMSupport ) mlir/lib/Conversion/LoopsToGPU/CMakeLists.txt +13 −8 Original line number Diff line number Diff line add_mlir_conversion_library(MLIRLoopsToGPU LoopsToGPU.cpp LoopsToGPUPass.cpp ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/LoopsToGPU LINK_LIBS set(LIBS MLIRAffineOps MLIRAffineToStandard MLIRGPU Loading @@ -19,3 +12,15 @@ add_mlir_conversion_library(MLIRLoopsToGPU MLIRTransformUtils LLVMSupport ) add_mlir_conversion_library(MLIRLoopsToGPU LoopsToGPU.cpp LoopsToGPUPass.cpp ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/LoopsToGPU LINK_LIBS ${LIBS} ) add_dependencies(MLIRLoopsToGPU ${LIBS}) mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt +8 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,11 @@ add_mlir_conversion_library(MLIRStandardToLLVM LLVMCore LLVMSupport ) add_dependencies( MLIRStandardToLLVM MLIRLLVMIR MLIRTransforms LLVMCore LLVMSupport ) Loading
mlir/lib/Analysis/CMakeLists.txt +4 −0 Original line number Diff line number Diff line Loading @@ -31,8 +31,10 @@ add_llvm_library(MLIRAnalysis LLVMSupport ) add_dependencies(MLIRAnalysis MLIRAffineOps MLIRCallOpInterfacesIncGen MLIRTypeInferOpInterfaceIncGen MLIRLoopOps ) add_llvm_library(MLIRLoopAnalysis Loading @@ -54,6 +56,8 @@ add_llvm_library(MLIRLoopAnalysis LLVMSupport ) add_dependencies(MLIRLoopAnalysis MLIRAffineOps MLIRCallOpInterfacesIncGen MLIRTypeInferOpInterfaceIncGen MLIRLoopOps )
mlir/lib/Conversion/AffineToStandard/CMakeLists.txt +9 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,12 @@ add_mlir_conversion_library(MLIRAffineToStandard LLVMCore LLVMSupport ) add_dependencies( MLIRAffineToStandard MLIRAffineOps MLIRStandardOps MLIRIR LLVMCore LLVMSupport )
mlir/lib/Conversion/LoopToStandard/CMakeLists.txt +8 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,11 @@ add_mlir_conversion_library(MLIRLoopToStandard LLVMCore LLVMSupport ) add_dependencies( MLIRLoopToStandard MLIRLoopOps MLIRTransforms LLVMCore LLVMSupport )
mlir/lib/Conversion/LoopsToGPU/CMakeLists.txt +13 −8 Original line number Diff line number Diff line add_mlir_conversion_library(MLIRLoopsToGPU LoopsToGPU.cpp LoopsToGPUPass.cpp ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/LoopsToGPU LINK_LIBS set(LIBS MLIRAffineOps MLIRAffineToStandard MLIRGPU Loading @@ -19,3 +12,15 @@ add_mlir_conversion_library(MLIRLoopsToGPU MLIRTransformUtils LLVMSupport ) add_mlir_conversion_library(MLIRLoopsToGPU LoopsToGPU.cpp LoopsToGPUPass.cpp ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/LoopsToGPU LINK_LIBS ${LIBS} ) add_dependencies(MLIRLoopsToGPU ${LIBS})
mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt +8 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,11 @@ add_mlir_conversion_library(MLIRStandardToLLVM LLVMCore LLVMSupport ) add_dependencies( MLIRStandardToLLVM MLIRLLVMIR MLIRTransforms LLVMCore LLVMSupport )