llvm.org GIT mirror llvm / ef70d2a
[CMake] Let add_public_tablegen_target() provide intrinsics_gen, too. I think, in principle, intrinsics_gen may be added explicitly. That said, it can be added incidentally, since each target already has dependencies to llvm-tblgen. Almost all source files depend on both CommonTaleGen and intrinsics_gen. Explicit add_dependencies() have been pruned under lib/Target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195929 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 6 years ago
12 changed file(s) with 1 addition(s) and 23 deletion(s). Raw diff Collapse all Expand all
5353 add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
5454 endif ()
5555 set_target_properties(${target} PROPERTIES FOLDER "Tablegenning")
56 list(APPEND LLVM_COMMON_DEPENDS ${target})
56 list(APPEND LLVM_COMMON_DEPENDS ${target} intrinsics_gen)
5757 endif( TABLEGEN_OUTPUT )
5858 endmacro()
5959
4848 Thumb2SizeReduction.cpp
4949 )
5050
51 add_dependencies(LLVMARMCodeGen intrinsics_gen)
52
5351 # workaround for hanging compilation on MSVC9, 10
5452 if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
5553 set_property(
3636 HexagonCopyToCombine.cpp
3737 )
3838
39 add_dependencies(LLVMHexagonCodeGen intrinsics_gen)
40
4139 add_subdirectory(TargetInfo)
4240 add_subdirectory(InstPrinter)
4341 add_subdirectory(MCTargetDesc)
2222 MSP430MCInstLower.cpp
2323 )
2424
25 add_dependencies(LLVMMSP430CodeGen intrinsics_gen)
26
2725 add_subdirectory(InstPrinter)
2826 add_subdirectory(TargetInfo)
2927 add_subdirectory(MCTargetDesc)
4747 MipsSelectionDAGInfo.cpp
4848 )
4949
50 add_dependencies(LLVMMipsCodeGen intrinsics_gen)
51
5250 add_subdirectory(InstPrinter)
5351 add_subdirectory(Disassembler)
5452 add_subdirectory(TargetInfo)
2929
3030 add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
3131
32 add_dependencies(LLVMNVPTXCodeGen intrinsics_gen)
33
3432 add_subdirectory(TargetInfo)
3533 add_subdirectory(InstPrinter)
3634 add_subdirectory(MCTargetDesc)
3333 PPCSelectionDAGInfo.cpp
3434 )
3535
36 add_dependencies(LLVMPowerPCCodeGen intrinsics_gen)
37
3836 add_subdirectory(AsmParser)
3937 add_subdirectory(InstPrinter)
4038 add_subdirectory(TargetInfo)
4949 SITypeRewriter.cpp
5050 )
5151
52 add_dependencies(LLVMR600CodeGen intrinsics_gen)
53
5452 add_subdirectory(InstPrinter)
5553 add_subdirectory(TargetInfo)
5654 add_subdirectory(MCTargetDesc)
0 add_llvm_library(LLVMR600Info
11 AMDGPUTargetInfo.cpp
22 )
3
4 add_dependencies(LLVMR600Info intrinsics_gen)
2424 SparcCodeEmitter.cpp
2525 )
2626
27 add_dependencies(LLVMSparcCodeGen intrinsics_gen)
28
2927 add_subdirectory(TargetInfo)
3028 add_subdirectory(MCTargetDesc)
5252
5353 add_llvm_target(X86CodeGen ${sources})
5454
55 add_dependencies(LLVMX86CodeGen intrinsics_gen)
56
5755 add_subdirectory(AsmParser)
5856 add_subdirectory(Disassembler)
5957 add_subdirectory(InstPrinter)
2525 XCoreSelectionDAGInfo.cpp
2626 )
2727
28 add_dependencies(LLVMXCoreCodeGen intrinsics_gen)
29
3028 add_subdirectory(Disassembler)
3129 add_subdirectory(InstPrinter)
3230 add_subdirectory(TargetInfo)