diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake index c17e67e478e..71c74fa9a78 100644 --- a/cmake/modules/TableGen.cmake +++ b/cmake/modules/TableGen.cmake @@ -45,7 +45,7 @@ macro(tablegen project ofn) PROPERTIES GENERATED 1) endmacro(tablegen) -function(add_public_tablegen_target target) +macro(add_public_tablegen_target target) # Creates a target for publicly exporting tablegen dependencies. if( TABLEGEN_OUTPUT ) add_custom_target(${target} @@ -54,8 +54,9 @@ function(add_public_tablegen_target target) add_dependencies(${target} ${LLVM_COMMON_DEPENDS}) endif () set_target_properties(${target} PROPERTIES FOLDER "Tablegenning") + list(APPEND LLVM_COMMON_DEPENDS ${target}) endif( TABLEGEN_OUTPUT ) -endfunction() +endmacro() if(CMAKE_CROSSCOMPILING) set(CX_NATIVE_TG_DIR "${CMAKE_BINARY_DIR}/native") diff --git a/lib/Target/AArch64/AsmParser/CMakeLists.txt b/lib/Target/AArch64/AsmParser/CMakeLists.txt index 9a1536ac37d..e81ec70437a 100644 --- a/lib/Target/AArch64/AsmParser/CMakeLists.txt +++ b/lib/Target/AArch64/AsmParser/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMAArch64AsmParser AArch64AsmParser.cpp ) - -add_dependencies(LLVMAArch64AsmParser AArch64CommonTableGen) diff --git a/lib/Target/AArch64/CMakeLists.txt b/lib/Target/AArch64/CMakeLists.txt index 637bf14fdfa..1eb83f5d03b 100644 --- a/lib/Target/AArch64/CMakeLists.txt +++ b/lib/Target/AArch64/CMakeLists.txt @@ -28,8 +28,6 @@ add_llvm_target(AArch64CodeGen AArch64TargetObjectFile.cpp ) -add_dependencies(LLVMAArch64CodeGen AArch64CommonTableGen) - add_subdirectory(AsmParser) add_subdirectory(Disassembler) add_subdirectory(InstPrinter) diff --git a/lib/Target/AArch64/Disassembler/CMakeLists.txt b/lib/Target/AArch64/Disassembler/CMakeLists.txt index 5df31772867..21baf250af8 100644 --- a/lib/Target/AArch64/Disassembler/CMakeLists.txt +++ b/lib/Target/AArch64/Disassembler/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMAArch64Disassembler AArch64Disassembler.cpp ) - -add_dependencies(LLVMAArch64Disassembler AArch64CommonTableGen) diff --git a/lib/Target/AArch64/InstPrinter/CMakeLists.txt b/lib/Target/AArch64/InstPrinter/CMakeLists.txt index efecd787f9d..3db56e4733f 100644 --- a/lib/Target/AArch64/InstPrinter/CMakeLists.txt +++ b/lib/Target/AArch64/InstPrinter/CMakeLists.txt @@ -1,6 +1,3 @@ add_llvm_library(LLVMAArch64AsmPrinter AArch64InstPrinter.cpp ) - -add_dependencies(LLVMAArch64AsmPrinter AArch64CommonTableGen) - diff --git a/lib/Target/AArch64/MCTargetDesc/CMakeLists.txt b/lib/Target/AArch64/MCTargetDesc/CMakeLists.txt index 5aa9ddaeb5c..54c4465b60d 100644 --- a/lib/Target/AArch64/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/AArch64/MCTargetDesc/CMakeLists.txt @@ -7,4 +7,3 @@ add_llvm_library(LLVMAArch64Desc AArch64MCExpr.cpp AArch64MCTargetDesc.cpp ) -add_dependencies(LLVMAArch64Desc AArch64CommonTableGen) diff --git a/lib/Target/AArch64/TargetInfo/CMakeLists.txt b/lib/Target/AArch64/TargetInfo/CMakeLists.txt index 082363a4ffc..ee734c64726 100644 --- a/lib/Target/AArch64/TargetInfo/CMakeLists.txt +++ b/lib/Target/AArch64/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMAArch64Info AArch64TargetInfo.cpp ) - -add_dependencies(LLVMAArch64Info AArch64CommonTableGen) diff --git a/lib/Target/AArch64/Utils/CMakeLists.txt b/lib/Target/AArch64/Utils/CMakeLists.txt index 7212a3ca617..8ee03a7571b 100644 --- a/lib/Target/AArch64/Utils/CMakeLists.txt +++ b/lib/Target/AArch64/Utils/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMAArch64Utils AArch64BaseInfo.cpp ) - -add_dependencies(LLVMAArch64Utils AArch64CommonTableGen) diff --git a/lib/Target/ARM/AsmParser/CMakeLists.txt b/lib/Target/ARM/AsmParser/CMakeLists.txt index ff650dae75f..66ed1df61a2 100644 --- a/lib/Target/ARM/AsmParser/CMakeLists.txt +++ b/lib/Target/ARM/AsmParser/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMARMAsmParser ARMAsmParser.cpp ) - -add_dependencies(LLVMARMAsmParser ARMCommonTableGen) diff --git a/lib/Target/ARM/CMakeLists.txt b/lib/Target/ARM/CMakeLists.txt index f271a932b54..b832508a086 100644 --- a/lib/Target/ARM/CMakeLists.txt +++ b/lib/Target/ARM/CMakeLists.txt @@ -49,7 +49,7 @@ add_llvm_target(ARMCodeGen Thumb2SizeReduction.cpp ) -add_dependencies(LLVMARMCodeGen ARMCommonTableGen intrinsics_gen) +add_dependencies(LLVMARMCodeGen intrinsics_gen) # workaround for hanging compilation on MSVC9, 10 if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 ) diff --git a/lib/Target/ARM/Disassembler/CMakeLists.txt b/lib/Target/ARM/Disassembler/CMakeLists.txt index bdd50fecad2..92bc709ecb2 100644 --- a/lib/Target/ARM/Disassembler/CMakeLists.txt +++ b/lib/Target/ARM/Disassembler/CMakeLists.txt @@ -8,4 +8,3 @@ set_property( PROPERTY COMPILE_FLAGS "/Od" ) endif() -add_dependencies(LLVMARMDisassembler ARMCommonTableGen) diff --git a/lib/Target/ARM/InstPrinter/CMakeLists.txt b/lib/Target/ARM/InstPrinter/CMakeLists.txt index 6e8fdfa5059..e59ec4bb77f 100644 --- a/lib/Target/ARM/InstPrinter/CMakeLists.txt +++ b/lib/Target/ARM/InstPrinter/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMARMAsmPrinter ARMInstPrinter.cpp ) - -add_dependencies(LLVMARMAsmPrinter ARMCommonTableGen) diff --git a/lib/Target/ARM/MCTargetDesc/CMakeLists.txt b/lib/Target/ARM/MCTargetDesc/CMakeLists.txt index 07993917fc6..162de7d21e2 100644 --- a/lib/Target/ARM/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/ARM/MCTargetDesc/CMakeLists.txt @@ -11,4 +11,3 @@ add_llvm_library(LLVMARMDesc ARMUnwindOpAsm.cpp ARMMachORelocationInfo.cpp ) -add_dependencies(LLVMARMDesc ARMCommonTableGen) diff --git a/lib/Target/ARM/TargetInfo/CMakeLists.txt b/lib/Target/ARM/TargetInfo/CMakeLists.txt index e4d439fe093..03393a0102c 100644 --- a/lib/Target/ARM/TargetInfo/CMakeLists.txt +++ b/lib/Target/ARM/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMARMInfo ARMTargetInfo.cpp ) - -add_dependencies(LLVMARMInfo ARMCommonTableGen) diff --git a/lib/Target/Hexagon/CMakeLists.txt b/lib/Target/Hexagon/CMakeLists.txt index ae3c9ebc255..713979d1c97 100644 --- a/lib/Target/Hexagon/CMakeLists.txt +++ b/lib/Target/Hexagon/CMakeLists.txt @@ -37,7 +37,7 @@ add_llvm_target(HexagonCodeGen HexagonCopyToCombine.cpp ) -add_dependencies(LLVMHexagonCodeGen HexagonCommonTableGen intrinsics_gen) +add_dependencies(LLVMHexagonCodeGen intrinsics_gen) add_subdirectory(TargetInfo) add_subdirectory(InstPrinter) diff --git a/lib/Target/Hexagon/InstPrinter/CMakeLists.txt b/lib/Target/Hexagon/InstPrinter/CMakeLists.txt index cb106a88443..1ddaf9bac20 100644 --- a/lib/Target/Hexagon/InstPrinter/CMakeLists.txt +++ b/lib/Target/Hexagon/InstPrinter/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMHexagonAsmPrinter HexagonInstPrinter.cpp ) - -add_dependencies(LLVMHexagonAsmPrinter HexagonCommonTableGen) diff --git a/lib/Target/Hexagon/MCTargetDesc/CMakeLists.txt b/lib/Target/Hexagon/MCTargetDesc/CMakeLists.txt index 62b9b600ce8..eeef3ef8c20 100644 --- a/lib/Target/Hexagon/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/Hexagon/MCTargetDesc/CMakeLists.txt @@ -3,5 +3,3 @@ add_llvm_library(LLVMHexagonDesc HexagonMCInst.cpp HexagonMCTargetDesc.cpp ) - -add_dependencies(LLVMHexagonDesc HexagonCommonTableGen) diff --git a/lib/Target/Hexagon/TargetInfo/CMakeLists.txt b/lib/Target/Hexagon/TargetInfo/CMakeLists.txt index 092346b4bfa..b9411f6925d 100644 --- a/lib/Target/Hexagon/TargetInfo/CMakeLists.txt +++ b/lib/Target/Hexagon/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMHexagonInfo HexagonTargetInfo.cpp ) - -add_dependencies(LLVMHexagonInfo HexagonCommonTableGen) diff --git a/lib/Target/MSP430/CMakeLists.txt b/lib/Target/MSP430/CMakeLists.txt index c9b3c3d0c8e..f9ecaed83a6 100644 --- a/lib/Target/MSP430/CMakeLists.txt +++ b/lib/Target/MSP430/CMakeLists.txt @@ -23,7 +23,7 @@ add_llvm_target(MSP430CodeGen MSP430MCInstLower.cpp ) -add_dependencies(LLVMMSP430CodeGen MSP430CommonTableGen intrinsics_gen) +add_dependencies(LLVMMSP430CodeGen intrinsics_gen) add_subdirectory(InstPrinter) add_subdirectory(TargetInfo) diff --git a/lib/Target/MSP430/InstPrinter/CMakeLists.txt b/lib/Target/MSP430/InstPrinter/CMakeLists.txt index 4bade9b8611..580a9ce71d9 100644 --- a/lib/Target/MSP430/InstPrinter/CMakeLists.txt +++ b/lib/Target/MSP430/InstPrinter/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMMSP430AsmPrinter MSP430InstPrinter.cpp ) - -add_dependencies(LLVMMSP430AsmPrinter MSP430CommonTableGen) diff --git a/lib/Target/MSP430/MCTargetDesc/CMakeLists.txt b/lib/Target/MSP430/MCTargetDesc/CMakeLists.txt index adc95c52014..0f3ebd30392 100644 --- a/lib/Target/MSP430/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/MSP430/MCTargetDesc/CMakeLists.txt @@ -2,5 +2,3 @@ add_llvm_library(LLVMMSP430Desc MSP430MCTargetDesc.cpp MSP430MCAsmInfo.cpp ) - -add_dependencies(LLVMMSP430Desc MSP430CommonTableGen) diff --git a/lib/Target/MSP430/TargetInfo/CMakeLists.txt b/lib/Target/MSP430/TargetInfo/CMakeLists.txt index bd2eee9085e..fee5f434e79 100644 --- a/lib/Target/MSP430/TargetInfo/CMakeLists.txt +++ b/lib/Target/MSP430/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMMSP430Info MSP430TargetInfo.cpp ) - -add_dependencies(LLVMMSP430Info MSP430CommonTableGen) diff --git a/lib/Target/Mips/AsmParser/CMakeLists.txt b/lib/Target/Mips/AsmParser/CMakeLists.txt index 6c7343bbe51..f1675560853 100644 --- a/lib/Target/Mips/AsmParser/CMakeLists.txt +++ b/lib/Target/Mips/AsmParser/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMMipsAsmParser MipsAsmParser.cpp ) - -add_dependencies(LLVMMipsAsmParser MipsCommonTableGen) diff --git a/lib/Target/Mips/CMakeLists.txt b/lib/Target/Mips/CMakeLists.txt index 568c638310e..b38fc52f1a9 100644 --- a/lib/Target/Mips/CMakeLists.txt +++ b/lib/Target/Mips/CMakeLists.txt @@ -48,7 +48,7 @@ add_llvm_target(MipsCodeGen MipsSelectionDAGInfo.cpp ) -add_dependencies(LLVMMipsCodeGen MipsCommonTableGen intrinsics_gen) +add_dependencies(LLVMMipsCodeGen intrinsics_gen) add_subdirectory(InstPrinter) add_subdirectory(Disassembler) diff --git a/lib/Target/Mips/Disassembler/CMakeLists.txt b/lib/Target/Mips/Disassembler/CMakeLists.txt index 3745fef0db5..35b0999d0e5 100644 --- a/lib/Target/Mips/Disassembler/CMakeLists.txt +++ b/lib/Target/Mips/Disassembler/CMakeLists.txt @@ -9,5 +9,3 @@ set_property( PROPERTY COMPILE_FLAGS "/Od" ) endif() - -add_dependencies(LLVMMipsDisassembler MipsCommonTableGen) diff --git a/lib/Target/Mips/InstPrinter/CMakeLists.txt b/lib/Target/Mips/InstPrinter/CMakeLists.txt index c8c61be7f73..2a67fba796a 100644 --- a/lib/Target/Mips/InstPrinter/CMakeLists.txt +++ b/lib/Target/Mips/InstPrinter/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMMipsAsmPrinter MipsInstPrinter.cpp ) - -add_dependencies(LLVMMipsAsmPrinter MipsCommonTableGen) diff --git a/lib/Target/Mips/MCTargetDesc/CMakeLists.txt b/lib/Target/Mips/MCTargetDesc/CMakeLists.txt index 911674890c7..dc20647da20 100644 --- a/lib/Target/Mips/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/Mips/MCTargetDesc/CMakeLists.txt @@ -7,5 +7,3 @@ add_llvm_library(LLVMMipsDesc MipsReginfo.cpp MipsTargetStreamer.cpp ) - -add_dependencies(LLVMMipsDesc MipsCommonTableGen) diff --git a/lib/Target/Mips/TargetInfo/CMakeLists.txt b/lib/Target/Mips/TargetInfo/CMakeLists.txt index 6a6d6788e69..3347a99a432 100644 --- a/lib/Target/Mips/TargetInfo/CMakeLists.txt +++ b/lib/Target/Mips/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMMipsInfo MipsTargetInfo.cpp ) - -add_dependencies(LLVMMipsInfo MipsCommonTableGen) diff --git a/lib/Target/NVPTX/CMakeLists.txt b/lib/Target/NVPTX/CMakeLists.txt index 4f1324c6d5a..fd3c99b545c 100644 --- a/lib/Target/NVPTX/CMakeLists.txt +++ b/lib/Target/NVPTX/CMakeLists.txt @@ -30,7 +30,7 @@ set(NVPTXCodeGen_sources add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources}) -add_dependencies(LLVMNVPTXCodeGen NVPTXCommonTableGen intrinsics_gen) +add_dependencies(LLVMNVPTXCodeGen intrinsics_gen) add_subdirectory(TargetInfo) add_subdirectory(InstPrinter) diff --git a/lib/Target/NVPTX/InstPrinter/CMakeLists.txt b/lib/Target/NVPTX/InstPrinter/CMakeLists.txt index b654e5d16ef..bb6c8abc961 100644 --- a/lib/Target/NVPTX/InstPrinter/CMakeLists.txt +++ b/lib/Target/NVPTX/InstPrinter/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMNVPTXAsmPrinter NVPTXInstPrinter.cpp ) - -add_dependencies(LLVMNVPTXAsmPrinter NVPTXCommonTableGen) diff --git a/lib/Target/NVPTX/MCTargetDesc/CMakeLists.txt b/lib/Target/NVPTX/MCTargetDesc/CMakeLists.txt index 08910e8d816..dbbf23554aa 100644 --- a/lib/Target/NVPTX/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/NVPTX/MCTargetDesc/CMakeLists.txt @@ -2,5 +2,3 @@ add_llvm_library(LLVMNVPTXDesc NVPTXMCAsmInfo.cpp NVPTXMCTargetDesc.cpp ) - -add_dependencies(LLVMNVPTXDesc NVPTXCommonTableGen) diff --git a/lib/Target/NVPTX/TargetInfo/CMakeLists.txt b/lib/Target/NVPTX/TargetInfo/CMakeLists.txt index d4ac78671a5..1beb40ea58e 100644 --- a/lib/Target/NVPTX/TargetInfo/CMakeLists.txt +++ b/lib/Target/NVPTX/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMNVPTXInfo NVPTXTargetInfo.cpp ) - -add_dependencies(LLVMNVPTXInfo NVPTXCommonTableGen) diff --git a/lib/Target/PowerPC/AsmParser/CMakeLists.txt b/lib/Target/PowerPC/AsmParser/CMakeLists.txt index 707c0a81214..408858e424d 100644 --- a/lib/Target/PowerPC/AsmParser/CMakeLists.txt +++ b/lib/Target/PowerPC/AsmParser/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMPowerPCAsmParser PPCAsmParser.cpp ) - -add_dependencies(LLVMPowerPCAsmParser PowerPCCommonTableGen) diff --git a/lib/Target/PowerPC/CMakeLists.txt b/lib/Target/PowerPC/CMakeLists.txt index 9a763f53a2d..737b52174e2 100644 --- a/lib/Target/PowerPC/CMakeLists.txt +++ b/lib/Target/PowerPC/CMakeLists.txt @@ -34,7 +34,7 @@ add_llvm_target(PowerPCCodeGen PPCSelectionDAGInfo.cpp ) -add_dependencies(LLVMPowerPCCodeGen PowerPCCommonTableGen intrinsics_gen) +add_dependencies(LLVMPowerPCCodeGen intrinsics_gen) add_subdirectory(AsmParser) add_subdirectory(InstPrinter) diff --git a/lib/Target/PowerPC/InstPrinter/CMakeLists.txt b/lib/Target/PowerPC/InstPrinter/CMakeLists.txt index 03f8e92690f..ab30a110f40 100644 --- a/lib/Target/PowerPC/InstPrinter/CMakeLists.txt +++ b/lib/Target/PowerPC/InstPrinter/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMPowerPCAsmPrinter PPCInstPrinter.cpp ) - -add_dependencies(LLVMPowerPCAsmPrinter PowerPCCommonTableGen) diff --git a/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt b/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt index 3efa5ecf909..3cea65ee4de 100644 --- a/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt @@ -8,5 +8,3 @@ add_llvm_library(LLVMPowerPCDesc PPCMachObjectWriter.cpp PPCELFObjectWriter.cpp ) - -add_dependencies(LLVMPowerPCDesc PowerPCCommonTableGen) diff --git a/lib/Target/PowerPC/TargetInfo/CMakeLists.txt b/lib/Target/PowerPC/TargetInfo/CMakeLists.txt index 1732ddb12ad..c9548c7fe0c 100644 --- a/lib/Target/PowerPC/TargetInfo/CMakeLists.txt +++ b/lib/Target/PowerPC/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMPowerPCInfo PowerPCTargetInfo.cpp ) - -add_dependencies(LLVMPowerPCInfo PowerPCCommonTableGen) diff --git a/lib/Target/R600/CMakeLists.txt b/lib/Target/R600/CMakeLists.txt index 9f8f6a83e45..a8ac2c2fdb8 100644 --- a/lib/Target/R600/CMakeLists.txt +++ b/lib/Target/R600/CMakeLists.txt @@ -50,7 +50,7 @@ add_llvm_target(R600CodeGen SITypeRewriter.cpp ) -add_dependencies(LLVMR600CodeGen AMDGPUCommonTableGen intrinsics_gen) +add_dependencies(LLVMR600CodeGen intrinsics_gen) add_subdirectory(InstPrinter) add_subdirectory(TargetInfo) diff --git a/lib/Target/R600/InstPrinter/CMakeLists.txt b/lib/Target/R600/InstPrinter/CMakeLists.txt index edc6524d25f..dcd87037fab 100644 --- a/lib/Target/R600/InstPrinter/CMakeLists.txt +++ b/lib/Target/R600/InstPrinter/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMR600AsmPrinter AMDGPUInstPrinter.cpp ) - -add_dependencies(LLVMR600AsmPrinter AMDGPUCommonTableGen) diff --git a/lib/Target/R600/MCTargetDesc/CMakeLists.txt b/lib/Target/R600/MCTargetDesc/CMakeLists.txt index 98f6925d9fb..801c9054937 100644 --- a/lib/Target/R600/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/R600/MCTargetDesc/CMakeLists.txt @@ -8,5 +8,3 @@ add_llvm_library(LLVMR600Desc R600MCCodeEmitter.cpp SIMCCodeEmitter.cpp ) - -add_dependencies(LLVMR600Desc AMDGPUCommonTableGen) diff --git a/lib/Target/R600/TargetInfo/CMakeLists.txt b/lib/Target/R600/TargetInfo/CMakeLists.txt index cd96d7ddd46..8b8e8d521e5 100644 --- a/lib/Target/R600/TargetInfo/CMakeLists.txt +++ b/lib/Target/R600/TargetInfo/CMakeLists.txt @@ -2,4 +2,4 @@ add_llvm_library(LLVMR600Info AMDGPUTargetInfo.cpp ) -add_dependencies(LLVMR600Info AMDGPUCommonTableGen intrinsics_gen) +add_dependencies(LLVMR600Info intrinsics_gen) diff --git a/lib/Target/Sparc/CMakeLists.txt b/lib/Target/Sparc/CMakeLists.txt index 6339394eab6..b98e7137271 100644 --- a/lib/Target/Sparc/CMakeLists.txt +++ b/lib/Target/Sparc/CMakeLists.txt @@ -25,7 +25,7 @@ add_llvm_target(SparcCodeGen SparcCodeEmitter.cpp ) -add_dependencies(LLVMSparcCodeGen SparcCommonTableGen intrinsics_gen) +add_dependencies(LLVMSparcCodeGen intrinsics_gen) add_subdirectory(TargetInfo) add_subdirectory(MCTargetDesc) diff --git a/lib/Target/Sparc/MCTargetDesc/CMakeLists.txt b/lib/Target/Sparc/MCTargetDesc/CMakeLists.txt index 9d4db4d25ef..1e8c0297988 100644 --- a/lib/Target/Sparc/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/Sparc/MCTargetDesc/CMakeLists.txt @@ -2,5 +2,3 @@ add_llvm_library(LLVMSparcDesc SparcMCTargetDesc.cpp SparcMCAsmInfo.cpp ) - -add_dependencies(LLVMSparcDesc SparcCommonTableGen) diff --git a/lib/Target/Sparc/TargetInfo/CMakeLists.txt b/lib/Target/Sparc/TargetInfo/CMakeLists.txt index 7862b5610f4..9633e03a384 100644 --- a/lib/Target/Sparc/TargetInfo/CMakeLists.txt +++ b/lib/Target/Sparc/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMSparcInfo SparcTargetInfo.cpp ) - -add_dependencies(LLVMSparcInfo SparcCommonTableGen) diff --git a/lib/Target/SystemZ/AsmParser/CMakeLists.txt b/lib/Target/SystemZ/AsmParser/CMakeLists.txt index 4f3d699a3b5..ad19a565030 100644 --- a/lib/Target/SystemZ/AsmParser/CMakeLists.txt +++ b/lib/Target/SystemZ/AsmParser/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMSystemZAsmParser SystemZAsmParser.cpp ) - -add_dependencies(LLVMSystemZAsmParser SystemZCommonTableGen) diff --git a/lib/Target/SystemZ/CMakeLists.txt b/lib/Target/SystemZ/CMakeLists.txt index d21c0a8086f..4da2d0f2dd5 100644 --- a/lib/Target/SystemZ/CMakeLists.txt +++ b/lib/Target/SystemZ/CMakeLists.txt @@ -30,8 +30,6 @@ add_llvm_target(SystemZCodeGen SystemZTargetMachine.cpp ) -add_dependencies(LLVMSystemZCodeGen SystemZCommonTableGen intrinsics_gen) - add_subdirectory(AsmParser) add_subdirectory(Disassembler) add_subdirectory(InstPrinter) diff --git a/lib/Target/SystemZ/Disassembler/CMakeLists.txt b/lib/Target/SystemZ/Disassembler/CMakeLists.txt index 3f37a80a5e6..4b94bcd1f5f 100644 --- a/lib/Target/SystemZ/Disassembler/CMakeLists.txt +++ b/lib/Target/SystemZ/Disassembler/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMSystemZDisassembler SystemZDisassembler.cpp ) - -add_dependencies(LLVMSystemZDisassembler SystemZCommonTableGen) diff --git a/lib/Target/SystemZ/InstPrinter/CMakeLists.txt b/lib/Target/SystemZ/InstPrinter/CMakeLists.txt index 9e41f580849..21b023ce1f7 100644 --- a/lib/Target/SystemZ/InstPrinter/CMakeLists.txt +++ b/lib/Target/SystemZ/InstPrinter/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMSystemZAsmPrinter SystemZInstPrinter.cpp ) - -add_dependencies(LLVMSystemZAsmPrinter SystemZCommonTableGen) diff --git a/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt b/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt index 3d131288c76..1aa8c76e8bc 100644 --- a/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt @@ -5,5 +5,3 @@ add_llvm_library(LLVMSystemZDesc SystemZMCObjectWriter.cpp SystemZMCTargetDesc.cpp ) - -add_dependencies(LLVMSystemZDesc SystemZCommonTableGen) diff --git a/lib/Target/SystemZ/TargetInfo/CMakeLists.txt b/lib/Target/SystemZ/TargetInfo/CMakeLists.txt index a390f017c45..1ebc669e59a 100644 --- a/lib/Target/SystemZ/TargetInfo/CMakeLists.txt +++ b/lib/Target/SystemZ/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMSystemZInfo SystemZTargetInfo.cpp ) - -add_dependencies(LLVMSystemZInfo SystemZCommonTableGen) diff --git a/lib/Target/X86/AsmParser/CMakeLists.txt b/lib/Target/X86/AsmParser/CMakeLists.txt index fcc105a0ebd..14544267bf5 100644 --- a/lib/Target/X86/AsmParser/CMakeLists.txt +++ b/lib/Target/X86/AsmParser/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMX86AsmParser X86AsmParser.cpp ) - -add_dependencies(LLVMX86AsmParser X86CommonTableGen) diff --git a/lib/Target/X86/CMakeLists.txt b/lib/Target/X86/CMakeLists.txt index 7e20151a19f..7cb71f066cc 100644 --- a/lib/Target/X86/CMakeLists.txt +++ b/lib/Target/X86/CMakeLists.txt @@ -53,7 +53,7 @@ endif() add_llvm_target(X86CodeGen ${sources}) -add_dependencies(LLVMX86CodeGen X86CommonTableGen intrinsics_gen) +add_dependencies(LLVMX86CodeGen intrinsics_gen) add_subdirectory(AsmParser) add_subdirectory(Disassembler) diff --git a/lib/Target/X86/Disassembler/CMakeLists.txt b/lib/Target/X86/Disassembler/CMakeLists.txt index 3118b61b120..34d36cb0957 100644 --- a/lib/Target/X86/Disassembler/CMakeLists.txt +++ b/lib/Target/X86/Disassembler/CMakeLists.txt @@ -10,5 +10,3 @@ set_property( PROPERTY COMPILE_FLAGS "/Od" ) endif() - -add_dependencies(LLVMX86Disassembler X86CommonTableGen) diff --git a/lib/Target/X86/InstPrinter/CMakeLists.txt b/lib/Target/X86/InstPrinter/CMakeLists.txt index a9adb17fecf..686a37e6149 100644 --- a/lib/Target/X86/InstPrinter/CMakeLists.txt +++ b/lib/Target/X86/InstPrinter/CMakeLists.txt @@ -3,5 +3,3 @@ add_llvm_library(LLVMX86AsmPrinter X86IntelInstPrinter.cpp X86InstComments.cpp ) - -add_dependencies(LLVMX86AsmPrinter X86CommonTableGen) diff --git a/lib/Target/X86/MCTargetDesc/CMakeLists.txt b/lib/Target/X86/MCTargetDesc/CMakeLists.txt index 83bd817de83..3f5a0e2bafb 100644 --- a/lib/Target/X86/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/X86/MCTargetDesc/CMakeLists.txt @@ -9,5 +9,3 @@ add_llvm_library(LLVMX86Desc X86MachORelocationInfo.cpp X86ELFRelocationInfo.cpp ) - -add_dependencies(LLVMX86Desc X86CommonTableGen) diff --git a/lib/Target/X86/TargetInfo/CMakeLists.txt b/lib/Target/X86/TargetInfo/CMakeLists.txt index d9286fa2d97..1d8a8c1c118 100644 --- a/lib/Target/X86/TargetInfo/CMakeLists.txt +++ b/lib/Target/X86/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMX86Info X86TargetInfo.cpp ) - -add_dependencies(LLVMX86Info X86CommonTableGen) diff --git a/lib/Target/X86/Utils/CMakeLists.txt b/lib/Target/X86/Utils/CMakeLists.txt index 0b0b45583e9..b2697467f26 100644 --- a/lib/Target/X86/Utils/CMakeLists.txt +++ b/lib/Target/X86/Utils/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMX86Utils X86ShuffleDecode.cpp ) - -add_dependencies(LLVMX86Utils X86CommonTableGen) diff --git a/lib/Target/XCore/CMakeLists.txt b/lib/Target/XCore/CMakeLists.txt index 3fa3b34245d..4edbf9818f0 100644 --- a/lib/Target/XCore/CMakeLists.txt +++ b/lib/Target/XCore/CMakeLists.txt @@ -26,7 +26,7 @@ add_llvm_target(XCoreCodeGen XCoreSelectionDAGInfo.cpp ) -add_dependencies(LLVMXCoreCodeGen XCoreCommonTableGen intrinsics_gen) +add_dependencies(LLVMXCoreCodeGen intrinsics_gen) add_subdirectory(Disassembler) add_subdirectory(InstPrinter) diff --git a/lib/Target/XCore/Disassembler/CMakeLists.txt b/lib/Target/XCore/Disassembler/CMakeLists.txt index cdc5d993b8b..1ed10c02c35 100644 --- a/lib/Target/XCore/Disassembler/CMakeLists.txt +++ b/lib/Target/XCore/Disassembler/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMXCoreDisassembler XCoreDisassembler.cpp ) - -add_dependencies(LLVMXCoreDisassembler XCoreCommonTableGen) diff --git a/lib/Target/XCore/InstPrinter/CMakeLists.txt b/lib/Target/XCore/InstPrinter/CMakeLists.txt index 36a46cd7f4d..53cf84da7be 100644 --- a/lib/Target/XCore/InstPrinter/CMakeLists.txt +++ b/lib/Target/XCore/InstPrinter/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMXCoreAsmPrinter XCoreInstPrinter.cpp ) - -add_dependencies(LLVMXCoreAsmPrinter XCoreCommonTableGen) diff --git a/lib/Target/XCore/MCTargetDesc/CMakeLists.txt b/lib/Target/XCore/MCTargetDesc/CMakeLists.txt index 8af5369d8f2..a14cf5ce2ac 100644 --- a/lib/Target/XCore/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/XCore/MCTargetDesc/CMakeLists.txt @@ -2,5 +2,3 @@ add_llvm_library(LLVMXCoreDesc XCoreMCTargetDesc.cpp XCoreMCAsmInfo.cpp ) - -add_dependencies(LLVMXCoreDesc XCoreCommonTableGen) diff --git a/lib/Target/XCore/TargetInfo/CMakeLists.txt b/lib/Target/XCore/TargetInfo/CMakeLists.txt index 51c0e25a238..462f2d40530 100644 --- a/lib/Target/XCore/TargetInfo/CMakeLists.txt +++ b/lib/Target/XCore/TargetInfo/CMakeLists.txt @@ -1,5 +1,3 @@ add_llvm_library(LLVMXCoreInfo XCoreTargetInfo.cpp ) - -add_dependencies(LLVMXCoreInfo XCoreCommonTableGen)