2020-02-09 11:27:54 +08:00
|
|
|
add_mlir_library(MLIRTargetLLVMIRModuleTranslation
|
2020-02-06 09:10:55 +08:00
|
|
|
LLVMIR/DebugTranslation.cpp
|
2019-04-30 21:08:21 +08:00
|
|
|
LLVMIR/ModuleTranslation.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
|
|
|
)
|
2020-03-01 03:51:04 +08:00
|
|
|
target_link_libraries(MLIRTargetLLVMIRModuleTranslation
|
2020-03-06 03:49:42 +08:00
|
|
|
PUBLIC
|
2020-02-09 11:27:54 +08:00
|
|
|
MLIRLLVMIR
|
2020-03-17 22:06:41 +08:00
|
|
|
MLIRLLVMIRTransforms
|
2020-02-09 11:27:54 +08:00
|
|
|
LLVMCore
|
|
|
|
LLVMIRReader
|
|
|
|
LLVMSupport
|
|
|
|
LLVMTransformUtils
|
|
|
|
MLIRTranslation
|
|
|
|
)
|
|
|
|
|
|
|
|
add_mlir_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-03-06 03:49:42 +08:00
|
|
|
target_link_libraries(MLIRTargetLLVMIR
|
|
|
|
PUBLIC
|
2020-02-09 11:27:54 +08:00
|
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
|
|
)
|
|
|
|
|
|
|
|
add_mlir_library(MLIRTargetNVVMIR
|
2019-04-30 21:08:21 +08:00
|
|
|
LLVMIR/ConvertToNVVMIR.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
2020-03-01 03:51:04 +08:00
|
|
|
)
|
|
|
|
target_link_libraries(MLIRTargetNVVMIR
|
2020-03-06 03:49:42 +08:00
|
|
|
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
|
|
|
|
|
|
|
add_mlir_library(MLIRTargetROCDLIR
|
2019-09-27 14:49:51 +08:00
|
|
|
LLVMIR/ConvertToROCDLIR.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
2020-03-01 03:51:04 +08:00
|
|
|
)
|
|
|
|
target_link_libraries(MLIRTargetROCDLIR
|
2020-03-06 03:49:42 +08:00
|
|
|
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
|
|
|
|
)
|