You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
1.6 KiB
97 lines
1.6 KiB
add_mlir_translation_library(MLIRTargetLLVMIRModuleTranslation
|
|
LLVMIR/DebugTranslation.cpp
|
|
LLVMIR/ModuleTranslation.cpp
|
|
LLVMIR/TypeTranslation.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
FrontendOpenMP
|
|
TransformUtils
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRLLVMIR
|
|
MLIROpenMP
|
|
MLIRLLVMIRTransforms
|
|
MLIRTranslation
|
|
)
|
|
|
|
add_mlir_translation_library(MLIRTargetAVX512
|
|
LLVMIR/LLVMAVX512Intr.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
DEPENDS
|
|
MLIRLLVMAVX512ConversionsIncGen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRIR
|
|
MLIRLLVMAVX512
|
|
MLIRLLVMIR
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
)
|
|
|
|
add_mlir_translation_library(MLIRTargetLLVMIR
|
|
LLVMIR/ConvertFromLLVMIR.cpp
|
|
LLVMIR/ConvertToLLVMIR.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
IRReader
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
)
|
|
|
|
add_mlir_translation_library(MLIRTargetNVVMIR
|
|
LLVMIR/ConvertToNVVMIR.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRGPU
|
|
MLIRIR
|
|
MLIRLLVMIR
|
|
MLIRNVVMIR
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
)
|
|
|
|
add_mlir_translation_library(MLIRTargetROCDLIR
|
|
LLVMIR/ConvertToROCDLIR.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRGPU
|
|
MLIRIR
|
|
MLIRLLVMIR
|
|
MLIRROCDLIR
|
|
MLIRTargetLLVMIRModuleTranslation
|
|
)
|