1add_mlir_translation_library(MLIRTargetLLVMIRModuleTranslation 2 LLVMIR/DebugTranslation.cpp 3 LLVMIR/ModuleTranslation.cpp 4 LLVMIR/TypeTranslation.cpp 5 6 ADDITIONAL_HEADER_DIRS 7 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR 8 9 DEPENDS 10 intrinsics_gen 11 12 LINK_COMPONENTS 13 Core 14 FrontendOpenMP 15 TransformUtils 16 17 LINK_LIBS PUBLIC 18 MLIRLLVMIR 19 MLIROpenMP 20 MLIRLLVMIRTransforms 21 MLIRTranslation 22 ) 23 24add_mlir_translation_library(MLIRTargetAVX512 25 LLVMIR/LLVMAVX512Intr.cpp 26 27 ADDITIONAL_HEADER_DIRS 28 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR 29 30 DEPENDS 31 MLIRLLVMAVX512ConversionsIncGen 32 33 LINK_COMPONENTS 34 Core 35 36 LINK_LIBS PUBLIC 37 MLIRIR 38 MLIRLLVMAVX512 39 MLIRLLVMIR 40 MLIRTargetLLVMIRModuleTranslation 41 ) 42 43add_mlir_translation_library(MLIRTargetLLVMIR 44 LLVMIR/ConvertFromLLVMIR.cpp 45 LLVMIR/ConvertToLLVMIR.cpp 46 47 ADDITIONAL_HEADER_DIRS 48 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR 49 50 LINK_COMPONENTS 51 Core 52 IRReader 53 54 LINK_LIBS PUBLIC 55 MLIRTargetLLVMIRModuleTranslation 56 ) 57 58add_mlir_translation_library(MLIRTargetNVVMIR 59 LLVMIR/ConvertToNVVMIR.cpp 60 61 ADDITIONAL_HEADER_DIRS 62 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR 63 64 DEPENDS 65 intrinsics_gen 66 67 LINK_COMPONENTS 68 Core 69 70 LINK_LIBS PUBLIC 71 MLIRGPU 72 MLIRIR 73 MLIRLLVMIR 74 MLIRNVVMIR 75 MLIRTargetLLVMIRModuleTranslation 76 ) 77 78add_mlir_translation_library(MLIRTargetROCDLIR 79 LLVMIR/ConvertToROCDLIR.cpp 80 81 ADDITIONAL_HEADER_DIRS 82 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR 83 84 DEPENDS 85 intrinsics_gen 86 87 LINK_COMPONENTS 88 Core 89 90 LINK_LIBS PUBLIC 91 MLIRGPU 92 MLIRIR 93 MLIRLLVMIR 94 MLIRROCDLIR 95 MLIRTargetLLVMIRModuleTranslation 96 ) 97