2021-01-13 00:11:45 +08:00
|
|
|
add_subdirectory(SPIRV)
|
|
|
|
|
2020-04-11 07:58:39 +08:00
|
|
|
add_mlir_translation_library(MLIRTargetLLVMIRModuleTranslation
|
2020-02-06 09:10:55 +08:00
|
|
|
LLVMIR/DebugTranslation.cpp
|
2019-04-30 21:08:21 +08:00
|
|
|
LLVMIR/ModuleTranslation.cpp
|
2020-08-04 17:37:25 +08:00
|
|
|
LLVMIR/TypeTranslation.cpp
|
2019-04-30 21:08:21 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
2020-05-05 03:41:43 +08:00
|
|
|
|
2019-04-30 21:08:21 +08:00
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
2020-05-05 03:41:43 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
FrontendOpenMP
|
|
|
|
TransformUtils
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
2020-02-09 11:27:54 +08:00
|
|
|
MLIRLLVMIR
|
2020-09-29 21:20:35 +08:00
|
|
|
MLIROpenMP
|
2020-03-17 22:06:41 +08:00
|
|
|
MLIRLLVMIRTransforms
|
2020-02-09 11:27:54 +08:00
|
|
|
MLIRTranslation
|
|
|
|
)
|
|
|
|
|
2020-04-11 07:58:39 +08:00
|
|
|
add_mlir_translation_library(MLIRTargetAVX512
|
2020-03-21 02:05:49 +08:00
|
|
|
LLVMIR/LLVMAVX512Intr.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
2020-05-05 03:41:43 +08:00
|
|
|
|
2020-03-21 02:05:49 +08:00
|
|
|
DEPENDS
|
|
|
|
MLIRLLVMAVX512ConversionsIncGen
|
2020-05-05 03:41:43 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
2020-03-21 02:05:49 +08:00
|
|
|
MLIRIR
|
|
|
|
MLIRLLVMAVX512
|
|
|
|
MLIRLLVMIR
|
|
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
|
|
)
|
|
|
|
|
2020-04-11 07:58:39 +08:00
|
|
|
add_mlir_translation_library(MLIRTargetLLVMIR
|
2019-11-06 06:41:08 +08:00
|
|
|
LLVMIR/ConvertFromLLVMIR.cpp
|
2019-04-30 21:08:21 +08:00
|
|
|
LLVMIR/ConvertToLLVMIR.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
2020-05-05 03:41:43 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
IRReader
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
2020-02-09 11:27:54 +08:00
|
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
|
|
)
|
|
|
|
|
2020-12-11 20:53:49 +08:00
|
|
|
add_mlir_translation_library(MLIRTargetArmNeon
|
|
|
|
LLVMIR/LLVMArmNeonIntr.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
MLIRLLVMArmNeonConversionsIncGen
|
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
MLIRIR
|
|
|
|
MLIRLLVMArmNeon
|
|
|
|
MLIRLLVMIR
|
|
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
|
|
)
|
|
|
|
|
2020-12-15 05:30:53 +08:00
|
|
|
add_mlir_translation_library(MLIRTargetArmSVE
|
|
|
|
LLVMIR/LLVMArmSVEIntr.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
MLIRLLVMArmSVEConversionsIncGen
|
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
MLIRIR
|
|
|
|
MLIRLLVMArmSVE
|
|
|
|
MLIRLLVMIR
|
|
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
|
|
)
|
|
|
|
|
2020-04-11 07:58:39 +08:00
|
|
|
add_mlir_translation_library(MLIRTargetNVVMIR
|
2019-04-30 21:08:21 +08:00
|
|
|
LLVMIR/ConvertToNVVMIR.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
2020-05-05 03:41:43 +08:00
|
|
|
|
2019-04-30 21:08:21 +08:00
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
2020-05-05 03:41:43 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
2019-06-25 21:30:32 +08:00
|
|
|
MLIRGPU
|
|
|
|
MLIRIR
|
2019-10-10 16:33:33 +08:00
|
|
|
MLIRLLVMIR
|
2019-06-25 21:30:32 +08:00
|
|
|
MLIRNVVMIR
|
|
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
|
|
)
|
2020-02-09 11:27:54 +08:00
|
|
|
|
2020-04-11 07:58:39 +08:00
|
|
|
add_mlir_translation_library(MLIRTargetROCDLIR
|
2019-09-27 14:49:51 +08:00
|
|
|
LLVMIR/ConvertToROCDLIR.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
2020-05-05 03:41:43 +08:00
|
|
|
|
2019-09-27 14:49:51 +08:00
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
2020-05-05 03:41:43 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
2019-09-27 14:49:51 +08:00
|
|
|
MLIRGPU
|
|
|
|
MLIRIR
|
2019-10-10 16:33:33 +08:00
|
|
|
MLIRLLVMIR
|
2019-09-27 14:49:51 +08:00
|
|
|
MLIRROCDLIR
|
|
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
|
|
)
|