diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-04-04 12:37:44 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-04-04 12:37:44 +0000 |
commit | 1cbd0969143e1e7c016fcfda5866a598e5e4b765 (patch) | |
tree | d36c95cd33587ad51f6aec0133d839c5fe4a2b6e /llvm/lib/Target | |
parent | 55d717805ba4731f1b09d09d9d9fd53527c60add (diff) | |
download | bcm5719-llvm-1cbd0969143e1e7c016fcfda5866a598e5e4b765.tar.gz bcm5719-llvm-1cbd0969143e1e7c016fcfda5866a598e5e4b765.zip |
Sort targetgen calls in lib/Target/*/CMakeLists.
Makes it easier to see mistakes such as the one fixed in r329178 and makes
the different target CMakeLists more consistent.
Also remove some stale-looking comments from the Nios2 target cmakefile.
No intended behavior change.
llvm-svn: 329181
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/AArch64/CMakeLists.txt | 18 | ||||
-rw-r--r-- | llvm/lib/Target/AMDGPU/CMakeLists.txt | 17 | ||||
-rw-r--r-- | llvm/lib/Target/ARC/CMakeLists.txt | 9 | ||||
-rw-r--r-- | llvm/lib/Target/ARM/CMakeLists.txt | 17 | ||||
-rw-r--r-- | llvm/lib/Target/BPF/CMakeLists.txt | 11 | ||||
-rw-r--r-- | llvm/lib/Target/Hexagon/CMakeLists.txt | 1 | ||||
-rw-r--r-- | llvm/lib/Target/Lanai/CMakeLists.txt | 1 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/CMakeLists.txt | 7 | ||||
-rw-r--r-- | llvm/lib/Target/Mips/CMakeLists.txt | 15 | ||||
-rw-r--r-- | llvm/lib/Target/NVPTX/CMakeLists.txt | 6 | ||||
-rw-r--r-- | llvm/lib/Target/Nios2/CMakeLists.txt | 9 | ||||
-rw-r--r-- | llvm/lib/Target/PowerPC/CMakeLists.txt | 11 | ||||
-rw-r--r-- | llvm/lib/Target/RISCV/CMakeLists.txt | 10 | ||||
-rw-r--r-- | llvm/lib/Target/Sparc/CMakeLists.txt | 13 | ||||
-rw-r--r-- | llvm/lib/Target/SystemZ/CMakeLists.txt | 3 | ||||
-rw-r--r-- | llvm/lib/Target/WebAssembly/CMakeLists.txt | 3 | ||||
-rw-r--r-- | llvm/lib/Target/X86/CMakeLists.txt | 16 | ||||
-rw-r--r-- | llvm/lib/Target/XCore/CMakeLists.txt | 9 |
18 files changed, 92 insertions, 84 deletions
diff --git a/llvm/lib/Target/AArch64/CMakeLists.txt b/llvm/lib/Target/AArch64/CMakeLists.txt index 3d4b9dcf7e8..e345e3e066f 100644 --- a/llvm/lib/Target/AArch64/CMakeLists.txt +++ b/llvm/lib/Target/AArch64/CMakeLists.txt @@ -1,20 +1,20 @@ set(LLVM_TARGET_DEFINITIONS AArch64.td) -tablegen(LLVM AArch64GenRegisterInfo.inc -gen-register-info) -tablegen(LLVM AArch64GenInstrInfo.inc -gen-instr-info) -tablegen(LLVM AArch64GenMCCodeEmitter.inc -gen-emitter) -tablegen(LLVM AArch64GenMCPseudoLowering.inc -gen-pseudo-lowering) +tablegen(LLVM AArch64GenAsmMatcher.inc -gen-asm-matcher) tablegen(LLVM AArch64GenAsmWriter.inc -gen-asm-writer) tablegen(LLVM AArch64GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1) -tablegen(LLVM AArch64GenAsmMatcher.inc -gen-asm-matcher) +tablegen(LLVM AArch64GenCallingConv.inc -gen-callingconv) tablegen(LLVM AArch64GenDAGISel.inc -gen-dag-isel) +tablegen(LLVM AArch64GenDisassemblerTables.inc -gen-disassembler) tablegen(LLVM AArch64GenFastISel.inc -gen-fast-isel) -tablegen(LLVM AArch64GenCallingConv.inc -gen-callingconv) +tablegen(LLVM AArch64GenGlobalISel.inc -gen-global-isel) +tablegen(LLVM AArch64GenInstrInfo.inc -gen-instr-info) +tablegen(LLVM AArch64GenMCCodeEmitter.inc -gen-emitter) +tablegen(LLVM AArch64GenMCPseudoLowering.inc -gen-pseudo-lowering) +tablegen(LLVM AArch64GenRegisterBank.inc -gen-register-bank) +tablegen(LLVM AArch64GenRegisterInfo.inc -gen-register-info) tablegen(LLVM AArch64GenSubtargetInfo.inc -gen-subtarget) -tablegen(LLVM AArch64GenDisassemblerTables.inc -gen-disassembler) tablegen(LLVM AArch64GenSystemOperands.inc -gen-searchable-tables) -tablegen(LLVM AArch64GenRegisterBank.inc -gen-register-bank) -tablegen(LLVM AArch64GenGlobalISel.inc -gen-global-isel) add_public_tablegen_target(AArch64CommonTableGen) diff --git a/llvm/lib/Target/AMDGPU/CMakeLists.txt b/llvm/lib/Target/AMDGPU/CMakeLists.txt index 0b0bde789d6..af7c6a7d0ff 100644 --- a/llvm/lib/Target/AMDGPU/CMakeLists.txt +++ b/llvm/lib/Target/AMDGPU/CMakeLists.txt @@ -1,19 +1,20 @@ set(LLVM_TARGET_DEFINITIONS AMDGPU.td) -tablegen(LLVM AMDGPUGenRegisterInfo.inc -gen-register-info) -tablegen(LLVM AMDGPUGenInstrInfo.inc -gen-instr-info) -tablegen(LLVM AMDGPUGenDAGISel.inc -gen-dag-isel) +tablegen(LLVM AMDGPUGenAsmMatcher.inc -gen-asm-matcher) +tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer) tablegen(LLVM AMDGPUGenCallingConv.inc -gen-callingconv) -tablegen(LLVM AMDGPUGenSubtargetInfo.inc -gen-subtarget) -tablegen(LLVM AMDGPUGenIntrinsics.inc -gen-tgt-intrinsic) -tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter) +tablegen(LLVM AMDGPUGenDAGISel.inc -gen-dag-isel) tablegen(LLVM AMDGPUGenDFAPacketizer.inc -gen-dfa-packetizer) -tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer) -tablegen(LLVM AMDGPUGenAsmMatcher.inc -gen-asm-matcher) tablegen(LLVM AMDGPUGenDisassemblerTables.inc -gen-disassembler) +tablegen(LLVM AMDGPUGenInstrInfo.inc -gen-instr-info) +tablegen(LLVM AMDGPUGenIntrinsics.inc -gen-tgt-intrinsic) +tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM AMDGPUGenMCPseudoLowering.inc -gen-pseudo-lowering) tablegen(LLVM AMDGPUGenRegisterBank.inc -gen-register-bank) +tablegen(LLVM AMDGPUGenRegisterInfo.inc -gen-register-info) tablegen(LLVM AMDGPUGenSearchableTables.inc -gen-searchable-tables) +tablegen(LLVM AMDGPUGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(AMDGPUCommonTableGen) add_llvm_target(AMDGPUCodeGen diff --git a/llvm/lib/Target/ARC/CMakeLists.txt b/llvm/lib/Target/ARC/CMakeLists.txt index b862a5e61e0..8620ec2923b 100644 --- a/llvm/lib/Target/ARC/CMakeLists.txt +++ b/llvm/lib/Target/ARC/CMakeLists.txt @@ -1,12 +1,13 @@ set(LLVM_TARGET_DEFINITIONS ARC.td) -tablegen(LLVM ARCGenRegisterInfo.inc -gen-register-info) -tablegen(LLVM ARCGenInstrInfo.inc -gen-instr-info) -tablegen(LLVM ARCGenDisassemblerTables.inc -gen-disassembler) tablegen(LLVM ARCGenAsmWriter.inc -gen-asm-writer) -tablegen(LLVM ARCGenDAGISel.inc -gen-dag-isel) tablegen(LLVM ARCGenCallingConv.inc -gen-callingconv) +tablegen(LLVM ARCGenDAGISel.inc -gen-dag-isel) +tablegen(LLVM ARCGenDisassemblerTables.inc -gen-disassembler) +tablegen(LLVM ARCGenInstrInfo.inc -gen-instr-info) +tablegen(LLVM ARCGenRegisterInfo.inc -gen-register-info) tablegen(LLVM ARCGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(ARCCommonTableGen) add_llvm_target(ARCCodeGen diff --git a/llvm/lib/Target/ARM/CMakeLists.txt b/llvm/lib/Target/ARM/CMakeLists.txt index 014ac2ae8b4..90df48b8b1e 100644 --- a/llvm/lib/Target/ARM/CMakeLists.txt +++ b/llvm/lib/Target/ARM/CMakeLists.txt @@ -1,19 +1,20 @@ set(LLVM_TARGET_DEFINITIONS ARM.td) -tablegen(LLVM ARMGenRegisterBank.inc -gen-register-bank) +tablegen(LLVM ARMGenAsmMatcher.inc -gen-asm-matcher) +tablegen(LLVM ARMGenAsmWriter.inc -gen-asm-writer) +tablegen(LLVM ARMGenCallingConv.inc -gen-callingconv) +tablegen(LLVM ARMGenDAGISel.inc -gen-dag-isel) +tablegen(LLVM ARMGenDisassemblerTables.inc -gen-disassembler) +tablegen(LLVM ARMGenFastISel.inc -gen-fast-isel) tablegen(LLVM ARMGenGlobalISel.inc -gen-global-isel) -tablegen(LLVM ARMGenRegisterInfo.inc -gen-register-info) tablegen(LLVM ARMGenInstrInfo.inc -gen-instr-info) tablegen(LLVM ARMGenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM ARMGenMCPseudoLowering.inc -gen-pseudo-lowering) -tablegen(LLVM ARMGenAsmWriter.inc -gen-asm-writer) -tablegen(LLVM ARMGenAsmMatcher.inc -gen-asm-matcher) -tablegen(LLVM ARMGenDAGISel.inc -gen-dag-isel) -tablegen(LLVM ARMGenFastISel.inc -gen-fast-isel) -tablegen(LLVM ARMGenCallingConv.inc -gen-callingconv) +tablegen(LLVM ARMGenRegisterBank.inc -gen-register-bank) +tablegen(LLVM ARMGenRegisterInfo.inc -gen-register-info) tablegen(LLVM ARMGenSubtargetInfo.inc -gen-subtarget) -tablegen(LLVM ARMGenDisassemblerTables.inc -gen-disassembler) tablegen(LLVM ARMGenSystemRegister.inc -gen-searchable-tables) + add_public_tablegen_target(ARMCommonTableGen) add_llvm_target(ARMCodeGen diff --git a/llvm/lib/Target/BPF/CMakeLists.txt b/llvm/lib/Target/BPF/CMakeLists.txt index c3d2e48de51..76e72d53f4f 100644 --- a/llvm/lib/Target/BPF/CMakeLists.txt +++ b/llvm/lib/Target/BPF/CMakeLists.txt @@ -1,14 +1,15 @@ set(LLVM_TARGET_DEFINITIONS BPF.td) -tablegen(LLVM BPFGenRegisterInfo.inc -gen-register-info) -tablegen(LLVM BPFGenInstrInfo.inc -gen-instr-info) -tablegen(LLVM BPFGenDisassemblerTables.inc -gen-disassembler) -tablegen(LLVM BPFGenAsmWriter.inc -gen-asm-writer) tablegen(LLVM BPFGenAsmMatcher.inc -gen-asm-matcher) +tablegen(LLVM BPFGenAsmWriter.inc -gen-asm-writer) +tablegen(LLVM BPFGenCallingConv.inc -gen-callingconv) tablegen(LLVM BPFGenDAGISel.inc -gen-dag-isel) +tablegen(LLVM BPFGenDisassemblerTables.inc -gen-disassembler) +tablegen(LLVM BPFGenInstrInfo.inc -gen-instr-info) tablegen(LLVM BPFGenMCCodeEmitter.inc -gen-emitter) -tablegen(LLVM BPFGenCallingConv.inc -gen-callingconv) +tablegen(LLVM BPFGenRegisterInfo.inc -gen-register-info) tablegen(LLVM BPFGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(BPFCommonTableGen) add_llvm_target(BPFCodeGen diff --git a/llvm/lib/Target/Hexagon/CMakeLists.txt b/llvm/lib/Target/Hexagon/CMakeLists.txt index df86fabf417..7e76bf3118e 100644 --- a/llvm/lib/Target/Hexagon/CMakeLists.txt +++ b/llvm/lib/Target/Hexagon/CMakeLists.txt @@ -10,6 +10,7 @@ tablegen(LLVM HexagonGenInstrInfo.inc -gen-instr-info) tablegen(LLVM HexagonGenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM HexagonGenRegisterInfo.inc -gen-register-info) tablegen(LLVM HexagonGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(HexagonCommonTableGen) add_llvm_target(HexagonCodeGen diff --git a/llvm/lib/Target/Lanai/CMakeLists.txt b/llvm/lib/Target/Lanai/CMakeLists.txt index 867f6165c25..41af095fa50 100644 --- a/llvm/lib/Target/Lanai/CMakeLists.txt +++ b/llvm/lib/Target/Lanai/CMakeLists.txt @@ -9,6 +9,7 @@ tablegen(LLVM LanaiGenInstrInfo.inc -gen-instr-info) tablegen(LLVM LanaiGenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM LanaiGenRegisterInfo.inc -gen-register-info) tablegen(LLVM LanaiGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(LanaiCommonTableGen) add_llvm_target(LanaiCodeGen diff --git a/llvm/lib/Target/MSP430/CMakeLists.txt b/llvm/lib/Target/MSP430/CMakeLists.txt index 3f377631c01..ee4bde7ffb9 100644 --- a/llvm/lib/Target/MSP430/CMakeLists.txt +++ b/llvm/lib/Target/MSP430/CMakeLists.txt @@ -1,11 +1,12 @@ set(LLVM_TARGET_DEFINITIONS MSP430.td) -tablegen(LLVM MSP430GenRegisterInfo.inc -gen-register-info) -tablegen(LLVM MSP430GenInstrInfo.inc -gen-instr-info) tablegen(LLVM MSP430GenAsmWriter.inc -gen-asm-writer) -tablegen(LLVM MSP430GenDAGISel.inc -gen-dag-isel) tablegen(LLVM MSP430GenCallingConv.inc -gen-callingconv) +tablegen(LLVM MSP430GenDAGISel.inc -gen-dag-isel) +tablegen(LLVM MSP430GenInstrInfo.inc -gen-instr-info) +tablegen(LLVM MSP430GenRegisterInfo.inc -gen-register-info) tablegen(LLVM MSP430GenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(MSP430CommonTableGen) add_llvm_target(MSP430CodeGen diff --git a/llvm/lib/Target/Mips/CMakeLists.txt b/llvm/lib/Target/Mips/CMakeLists.txt index f58bb8dae59..ba21ea09674 100644 --- a/llvm/lib/Target/Mips/CMakeLists.txt +++ b/llvm/lib/Target/Mips/CMakeLists.txt @@ -1,16 +1,17 @@ set(LLVM_TARGET_DEFINITIONS Mips.td) -tablegen(LLVM MipsGenRegisterInfo.inc -gen-register-info) -tablegen(LLVM MipsGenInstrInfo.inc -gen-instr-info) -tablegen(LLVM MipsGenDisassemblerTables.inc -gen-disassembler) -tablegen(LLVM MipsGenMCCodeEmitter.inc -gen-emitter) +tablegen(LLVM MipsGenAsmMatcher.inc -gen-asm-matcher) tablegen(LLVM MipsGenAsmWriter.inc -gen-asm-writer) +tablegen(LLVM MipsGenCallingConv.inc -gen-callingconv) tablegen(LLVM MipsGenDAGISel.inc -gen-dag-isel) +tablegen(LLVM MipsGenDisassemblerTables.inc -gen-disassembler) tablegen(LLVM MipsGenFastISel.inc -gen-fast-isel) -tablegen(LLVM MipsGenCallingConv.inc -gen-callingconv) -tablegen(LLVM MipsGenSubtargetInfo.inc -gen-subtarget) -tablegen(LLVM MipsGenAsmMatcher.inc -gen-asm-matcher) +tablegen(LLVM MipsGenInstrInfo.inc -gen-instr-info) +tablegen(LLVM MipsGenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM MipsGenMCPseudoLowering.inc -gen-pseudo-lowering) +tablegen(LLVM MipsGenRegisterInfo.inc -gen-register-info) +tablegen(LLVM MipsGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(MipsCommonTableGen) add_llvm_target(MipsCodeGen diff --git a/llvm/lib/Target/NVPTX/CMakeLists.txt b/llvm/lib/Target/NVPTX/CMakeLists.txt index a8eecfcc138..9b8afae2cc5 100644 --- a/llvm/lib/Target/NVPTX/CMakeLists.txt +++ b/llvm/lib/Target/NVPTX/CMakeLists.txt @@ -1,11 +1,11 @@ set(LLVM_TARGET_DEFINITIONS NVPTX.td) - -tablegen(LLVM NVPTXGenRegisterInfo.inc -gen-register-info) -tablegen(LLVM NVPTXGenInstrInfo.inc -gen-instr-info) tablegen(LLVM NVPTXGenAsmWriter.inc -gen-asm-writer) tablegen(LLVM NVPTXGenDAGISel.inc -gen-dag-isel) +tablegen(LLVM NVPTXGenInstrInfo.inc -gen-instr-info) +tablegen(LLVM NVPTXGenRegisterInfo.inc -gen-register-info) tablegen(LLVM NVPTXGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(NVPTXCommonTableGen) set(NVPTXCodeGen_sources diff --git a/llvm/lib/Target/Nios2/CMakeLists.txt b/llvm/lib/Target/Nios2/CMakeLists.txt index 7cad3c5ba9c..6393cc5fcb9 100644 --- a/llvm/lib/Target/Nios2/CMakeLists.txt +++ b/llvm/lib/Target/Nios2/CMakeLists.txt @@ -1,17 +1,12 @@ set(LLVM_TARGET_DEFINITIONS Nios2.td) -#Generate Nios2GenRegisterInfo.inc and Nios2GenInstrInfo.inc which included by -#your hand code C++ files. -#Nios2GenRegisterInfo.inc came from Nios2RegisterInfo.td, Nios2GenInstrInfo.inc -#came from Nios2InstrInfo.td. tablegen(LLVM Nios2GenAsmWriter.inc -gen-asm-writer) -tablegen(LLVM Nios2GenDAGISel.inc -gen-dag-isel) -tablegen(LLVM Nios2GenRegisterInfo.inc -gen-register-info) tablegen(LLVM Nios2GenCallingConv.inc -gen-callingconv) +tablegen(LLVM Nios2GenDAGISel.inc -gen-dag-isel) tablegen(LLVM Nios2GenInstrInfo.inc -gen-instr-info) +tablegen(LLVM Nios2GenRegisterInfo.inc -gen-register-info) tablegen(LLVM Nios2GenSubtargetInfo.inc -gen-subtarget) -#Nios2CommonTableGen must be defined add_public_tablegen_target(Nios2CommonTableGen) #Nios2CodeGen should match with LLVMBuild.txt Nios2CodeGen diff --git a/llvm/lib/Target/PowerPC/CMakeLists.txt b/llvm/lib/Target/PowerPC/CMakeLists.txt index 3f173787114..d6ef1e045dd 100644 --- a/llvm/lib/Target/PowerPC/CMakeLists.txt +++ b/llvm/lib/Target/PowerPC/CMakeLists.txt @@ -1,15 +1,16 @@ set(LLVM_TARGET_DEFINITIONS PPC.td) -tablegen(LLVM PPCGenAsmWriter.inc -gen-asm-writer) tablegen(LLVM PPCGenAsmMatcher.inc -gen-asm-matcher) +tablegen(LLVM PPCGenAsmWriter.inc -gen-asm-writer) +tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv) +tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel) tablegen(LLVM PPCGenDisassemblerTables.inc -gen-disassembler) +tablegen(LLVM PPCGenFastISel.inc -gen-fast-isel) +tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info) tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info) -tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info) -tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel) -tablegen(LLVM PPCGenFastISel.inc -gen-fast-isel) -tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv) tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(PowerPCCommonTableGen) add_llvm_target(PowerPCCodeGen diff --git a/llvm/lib/Target/RISCV/CMakeLists.txt b/llvm/lib/Target/RISCV/CMakeLists.txt index 71787d08719..fa9adeb25eb 100644 --- a/llvm/lib/Target/RISCV/CMakeLists.txt +++ b/llvm/lib/Target/RISCV/CMakeLists.txt @@ -1,14 +1,14 @@ set(LLVM_TARGET_DEFINITIONS RISCV.td) -tablegen(LLVM RISCVGenRegisterInfo.inc -gen-register-info) -tablegen(LLVM RISCVGenInstrInfo.inc -gen-instr-info) -tablegen(LLVM RISCVGenMCCodeEmitter.inc -gen-emitter) -tablegen(LLVM RISCVGenMCPseudoLowering.inc -gen-pseudo-lowering) tablegen(LLVM RISCVGenAsmMatcher.inc -gen-asm-matcher) tablegen(LLVM RISCVGenAsmWriter.inc -gen-asm-writer) tablegen(LLVM RISCVGenDAGISel.inc -gen-dag-isel) -tablegen(LLVM RISCVGenSubtargetInfo.inc -gen-subtarget) tablegen(LLVM RISCVGenDisassemblerTables.inc -gen-disassembler) +tablegen(LLVM RISCVGenInstrInfo.inc -gen-instr-info) +tablegen(LLVM RISCVGenMCCodeEmitter.inc -gen-emitter) +tablegen(LLVM RISCVGenMCPseudoLowering.inc -gen-pseudo-lowering) +tablegen(LLVM RISCVGenRegisterInfo.inc -gen-register-info) +tablegen(LLVM RISCVGenSubtargetInfo.inc -gen-subtarget) add_public_tablegen_target(RISCVCommonTableGen) diff --git a/llvm/lib/Target/Sparc/CMakeLists.txt b/llvm/lib/Target/Sparc/CMakeLists.txt index 312215cf6cd..7894ee6c286 100644 --- a/llvm/lib/Target/Sparc/CMakeLists.txt +++ b/llvm/lib/Target/Sparc/CMakeLists.txt @@ -1,14 +1,15 @@ set(LLVM_TARGET_DEFINITIONS Sparc.td) -tablegen(LLVM SparcGenRegisterInfo.inc -gen-register-info) -tablegen(LLVM SparcGenInstrInfo.inc -gen-instr-info) -tablegen(LLVM SparcGenDisassemblerTables.inc -gen-disassembler) -tablegen(LLVM SparcGenMCCodeEmitter.inc -gen-emitter) -tablegen(LLVM SparcGenAsmWriter.inc -gen-asm-writer) tablegen(LLVM SparcGenAsmMatcher.inc -gen-asm-matcher) +tablegen(LLVM SparcGenAsmWriter.inc -gen-asm-writer) +tablegen(LLVM SparcGenCallingConv.inc -gen-callingconv) tablegen(LLVM SparcGenDAGISel.inc -gen-dag-isel) +tablegen(LLVM SparcGenDisassemblerTables.inc -gen-disassembler) +tablegen(LLVM SparcGenInstrInfo.inc -gen-instr-info) +tablegen(LLVM SparcGenMCCodeEmitter.inc -gen-emitter) +tablegen(LLVM SparcGenRegisterInfo.inc -gen-register-info) tablegen(LLVM SparcGenSubtargetInfo.inc -gen-subtarget) -tablegen(LLVM SparcGenCallingConv.inc -gen-callingconv) + add_public_tablegen_target(SparcCommonTableGen) add_llvm_target(SparcCodeGen diff --git a/llvm/lib/Target/SystemZ/CMakeLists.txt b/llvm/lib/Target/SystemZ/CMakeLists.txt index 138e14a25b7..7b521173656 100644 --- a/llvm/lib/Target/SystemZ/CMakeLists.txt +++ b/llvm/lib/Target/SystemZ/CMakeLists.txt @@ -5,10 +5,11 @@ tablegen(LLVM SystemZGenAsmWriter.inc -gen-asm-writer) tablegen(LLVM SystemZGenCallingConv.inc -gen-callingconv) tablegen(LLVM SystemZGenDAGISel.inc -gen-dag-isel) tablegen(LLVM SystemZGenDisassemblerTables.inc -gen-disassembler) -tablegen(LLVM SystemZGenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM SystemZGenInstrInfo.inc -gen-instr-info) +tablegen(LLVM SystemZGenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM SystemZGenRegisterInfo.inc -gen-register-info) tablegen(LLVM SystemZGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(SystemZCommonTableGen) add_llvm_target(SystemZCodeGen diff --git a/llvm/lib/Target/WebAssembly/CMakeLists.txt b/llvm/lib/Target/WebAssembly/CMakeLists.txt index 173eb23a89e..c76186781e3 100644 --- a/llvm/lib/Target/WebAssembly/CMakeLists.txt +++ b/llvm/lib/Target/WebAssembly/CMakeLists.txt @@ -1,5 +1,6 @@ set(LLVM_TARGET_DEFINITIONS WebAssembly.td) +tablegen(LLVM WebAssemblyGenAsmMatcher.inc -gen-asm-matcher) tablegen(LLVM WebAssemblyGenAsmWriter.inc -gen-asm-writer) tablegen(LLVM WebAssemblyGenDAGISel.inc -gen-dag-isel) tablegen(LLVM WebAssemblyGenFastISel.inc -gen-fast-isel) @@ -7,7 +8,7 @@ tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info) tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info) tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget) -tablegen(LLVM WebAssemblyGenAsmMatcher.inc -gen-asm-matcher) + add_public_tablegen_target(WebAssemblyCommonTableGen) add_llvm_target(WebAssemblyCodeGen diff --git a/llvm/lib/Target/X86/CMakeLists.txt b/llvm/lib/Target/X86/CMakeLists.txt index eb91a4cb37f..a4be362452f 100644 --- a/llvm/lib/Target/X86/CMakeLists.txt +++ b/llvm/lib/Target/X86/CMakeLists.txt @@ -1,18 +1,18 @@ set(LLVM_TARGET_DEFINITIONS X86.td) -tablegen(LLVM X86GenRegisterInfo.inc -gen-register-info) -tablegen(LLVM X86GenDisassemblerTables.inc -gen-disassembler) -tablegen(LLVM X86GenInstrInfo.inc -gen-instr-info) +tablegen(LLVM X86GenAsmMatcher.inc -gen-asm-matcher) tablegen(LLVM X86GenAsmWriter.inc -gen-asm-writer) tablegen(LLVM X86GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1) -tablegen(LLVM X86GenAsmMatcher.inc -gen-asm-matcher) -tablegen(LLVM X86GenDAGISel.inc -gen-dag-isel) -tablegen(LLVM X86GenFastISel.inc -gen-fast-isel) tablegen(LLVM X86GenCallingConv.inc -gen-callingconv) -tablegen(LLVM X86GenSubtargetInfo.inc -gen-subtarget) +tablegen(LLVM X86GenDAGISel.inc -gen-dag-isel) +tablegen(LLVM X86GenDisassemblerTables.inc -gen-disassembler) tablegen(LLVM X86GenEVEX2VEXTables.inc -gen-x86-EVEX2VEX-tables) -tablegen(LLVM X86GenRegisterBank.inc -gen-register-bank) +tablegen(LLVM X86GenFastISel.inc -gen-fast-isel) tablegen(LLVM X86GenGlobalISel.inc -gen-global-isel) +tablegen(LLVM X86GenInstrInfo.inc -gen-instr-info) +tablegen(LLVM X86GenRegisterBank.inc -gen-register-bank) +tablegen(LLVM X86GenRegisterInfo.inc -gen-register-info) +tablegen(LLVM X86GenSubtargetInfo.inc -gen-subtarget) if (X86_GEN_FOLD_TABLES) tablegen(LLVM X86GenFoldTables.inc -gen-x86-fold-tables) diff --git a/llvm/lib/Target/XCore/CMakeLists.txt b/llvm/lib/Target/XCore/CMakeLists.txt index 0a609ef76f4..40cbc1cfa5e 100644 --- a/llvm/lib/Target/XCore/CMakeLists.txt +++ b/llvm/lib/Target/XCore/CMakeLists.txt @@ -1,12 +1,13 @@ set(LLVM_TARGET_DEFINITIONS XCore.td) -tablegen(LLVM XCoreGenRegisterInfo.inc -gen-register-info) -tablegen(LLVM XCoreGenInstrInfo.inc -gen-instr-info) -tablegen(LLVM XCoreGenDisassemblerTables.inc -gen-disassembler) tablegen(LLVM XCoreGenAsmWriter.inc -gen-asm-writer) -tablegen(LLVM XCoreGenDAGISel.inc -gen-dag-isel) tablegen(LLVM XCoreGenCallingConv.inc -gen-callingconv) +tablegen(LLVM XCoreGenDAGISel.inc -gen-dag-isel) +tablegen(LLVM XCoreGenDisassemblerTables.inc -gen-disassembler) +tablegen(LLVM XCoreGenInstrInfo.inc -gen-instr-info) +tablegen(LLVM XCoreGenRegisterInfo.inc -gen-register-info) tablegen(LLVM XCoreGenSubtargetInfo.inc -gen-subtarget) + add_public_tablegen_target(XCoreCommonTableGen) add_llvm_target(XCoreCodeGen |