Mercurial > hg > CbC > CbC_llvm
comparison mlir/lib/Target/CMakeLists.txt @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 0572611fdcc8 |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 add_llvm_library(MLIRTargetLLVMIRModuleTranslation | |
2 LLVMIR/DebugTranslation.cpp | |
3 LLVMIR/ModuleTranslation.cpp | |
4 | |
5 ADDITIONAL_HEADER_DIRS | |
6 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR | |
7 DEPENDS | |
8 intrinsics_gen | |
9 ) | |
10 target_link_libraries(MLIRTargetLLVMIRModuleTranslation | |
11 MLIRLLVMIR LLVMCore LLVMIRReader LLVMSupport LLVMTransformUtils | |
12 MLIRTranslation) | |
13 add_llvm_library(MLIRTargetLLVMIR | |
14 LLVMIR/ConvertFromLLVMIR.cpp | |
15 LLVMIR/ConvertToLLVMIR.cpp | |
16 | |
17 ADDITIONAL_HEADER_DIRS | |
18 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR | |
19 ) | |
20 target_link_libraries(MLIRTargetLLVMIR MLIRTargetLLVMIRModuleTranslation) | |
21 add_llvm_library(MLIRTargetNVVMIR | |
22 LLVMIR/ConvertToNVVMIR.cpp | |
23 | |
24 ADDITIONAL_HEADER_DIRS | |
25 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR | |
26 DEPENDS | |
27 intrinsics_gen | |
28 ) | |
29 target_link_libraries(MLIRTargetNVVMIR | |
30 MLIRGPU | |
31 MLIRIR | |
32 MLIRLLVMIR | |
33 MLIRNVVMIR | |
34 MLIRTargetLLVMIRModuleTranslation | |
35 ) | |
36 add_llvm_library(MLIRTargetROCDLIR | |
37 LLVMIR/ConvertToROCDLIR.cpp | |
38 | |
39 ADDITIONAL_HEADER_DIRS | |
40 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Target/LLVMIR | |
41 DEPENDS | |
42 intrinsics_gen | |
43 ) | |
44 target_link_libraries(MLIRTargetROCDLIR | |
45 MLIRGPU | |
46 MLIRIR | |
47 MLIRLLVMIR | |
48 MLIRROCDLIR | |
49 MLIRTargetLLVMIRModuleTranslation | |
50 ) |