[obj2yaml] - Fix BB after r373315.
[llvm-complete.git] / lib / Target / AMDGPU / CMakeLists.txt
blob21cb826823ef48b0081baa0f7fcf592bb80271c0
1 set(LLVM_TARGET_DEFINITIONS AMDGPU.td)
3 tablegen(LLVM AMDGPUGenAsmMatcher.inc -gen-asm-matcher)
4 tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer)
5 tablegen(LLVM AMDGPUGenCallingConv.inc -gen-callingconv)
6 tablegen(LLVM AMDGPUGenDAGISel.inc -gen-dag-isel)
7 tablegen(LLVM AMDGPUGenDisassemblerTables.inc -gen-disassembler)
8 tablegen(LLVM AMDGPUGenInstrInfo.inc -gen-instr-info)
9 tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter)
10 tablegen(LLVM AMDGPUGenMCPseudoLowering.inc -gen-pseudo-lowering)
11 tablegen(LLVM AMDGPUGenRegisterBank.inc -gen-register-bank)
12 tablegen(LLVM AMDGPUGenRegisterInfo.inc -gen-register-info)
13 tablegen(LLVM AMDGPUGenSearchableTables.inc -gen-searchable-tables)
14 tablegen(LLVM AMDGPUGenSubtargetInfo.inc -gen-subtarget)
16 set(LLVM_TARGET_DEFINITIONS AMDGPUGISel.td)
17 tablegen(LLVM AMDGPUGenGlobalISel.inc -gen-global-isel)
19 set(LLVM_TARGET_DEFINITIONS R600.td)
20 tablegen(LLVM R600GenAsmWriter.inc -gen-asm-writer)
21 tablegen(LLVM R600GenCallingConv.inc -gen-callingconv)
22 tablegen(LLVM R600GenDAGISel.inc -gen-dag-isel)
23 tablegen(LLVM R600GenDFAPacketizer.inc -gen-dfa-packetizer)
24 tablegen(LLVM R600GenInstrInfo.inc -gen-instr-info)
25 tablegen(LLVM R600GenMCCodeEmitter.inc -gen-emitter)
26 tablegen(LLVM R600GenRegisterInfo.inc -gen-register-info)
27 tablegen(LLVM R600GenSubtargetInfo.inc -gen-subtarget)
29 add_public_tablegen_target(AMDGPUCommonTableGen)
31 add_llvm_target(AMDGPUCodeGen
32   AMDGPUAliasAnalysis.cpp
33   AMDGPUAlwaysInlinePass.cpp
34   AMDGPUAnnotateKernelFeatures.cpp
35   AMDGPUAnnotateUniformValues.cpp
36   AMDGPUArgumentUsageInfo.cpp
37   AMDGPUAsmPrinter.cpp
38   AMDGPUAtomicOptimizer.cpp
39   AMDGPUCallLowering.cpp
40   AMDGPUCodeGenPrepare.cpp
41   AMDGPUFixFunctionBitcasts.cpp
42   AMDGPUFrameLowering.cpp
43   AMDGPUHSAMetadataStreamer.cpp
44   AMDGPUInstrInfo.cpp
45   AMDGPUInstructionSelector.cpp
46   AMDGPUISelDAGToDAG.cpp
47   AMDGPUISelLowering.cpp
48   AMDGPULegalizerInfo.cpp
49   AMDGPULibCalls.cpp
50   AMDGPULibFunc.cpp
51   AMDGPULowerIntrinsics.cpp
52   AMDGPULowerKernelArguments.cpp
53   AMDGPULowerKernelAttributes.cpp
54   AMDGPUMachineCFGStructurizer.cpp
55   AMDGPUMachineFunction.cpp
56   AMDGPUMachineModuleInfo.cpp
57   AMDGPUMacroFusion.cpp
58   AMDGPUMCInstLower.cpp
59   AMDGPUOpenCLEnqueuedBlockLowering.cpp
60   AMDGPUPromoteAlloca.cpp
61   AMDGPUPropagateAttributes.cpp
62   AMDGPURegisterBankInfo.cpp
63   AMDGPURegisterInfo.cpp
64   AMDGPURewriteOutArguments.cpp
65   AMDGPUSubtarget.cpp
66   AMDGPUTargetMachine.cpp
67   AMDGPUTargetObjectFile.cpp
68   AMDGPUTargetTransformInfo.cpp
69   AMDGPUUnifyDivergentExitNodes.cpp
70   AMDGPUUnifyMetadata.cpp
71   AMDGPUInline.cpp
72   AMDGPUPerfHintAnalysis.cpp
73   AMDILCFGStructurizer.cpp
74   AMDGPUPrintfRuntimeBinding.cpp
75   GCNHazardRecognizer.cpp
76   GCNIterativeScheduler.cpp
77   GCNMinRegStrategy.cpp
78   GCNRegPressure.cpp
79   GCNSchedStrategy.cpp
80   R600AsmPrinter.cpp
81   R600ClauseMergePass.cpp
82   R600ControlFlowFinalizer.cpp
83   R600EmitClauseMarkers.cpp
84   R600ExpandSpecialInstrs.cpp
85   R600FrameLowering.cpp
86   R600InstrInfo.cpp
87   R600ISelLowering.cpp
88   R600MachineFunctionInfo.cpp
89   R600MachineScheduler.cpp
90   R600OpenCLImageTypeLoweringPass.cpp
91   R600OptimizeVectorRegisters.cpp
92   R600Packetizer.cpp
93   R600RegisterInfo.cpp
94   SIAddIMGInit.cpp
95   SIAnnotateControlFlow.cpp
96   SIFixSGPRCopies.cpp
97   SIFixupVectorISel.cpp
98   SIFixVGPRCopies.cpp
99   SIPreAllocateWWMRegs.cpp
100   SIFoldOperands.cpp
101   SIFormMemoryClauses.cpp
102   SIFrameLowering.cpp
103   SIInsertSkips.cpp
104   SIInsertWaitcnts.cpp
105   SIInstrInfo.cpp
106   SIISelLowering.cpp
107   SILoadStoreOptimizer.cpp
108   SILowerControlFlow.cpp
109   SILowerI1Copies.cpp
110   SILowerSGPRSpills.cpp
111   SIMachineFunctionInfo.cpp
112   SIMachineScheduler.cpp
113   SIMemoryLegalizer.cpp
114   SIOptimizeExecMasking.cpp
115   SIOptimizeExecMaskingPreRA.cpp
116   SIPeepholeSDWA.cpp
117   SIRegisterInfo.cpp
118   SIShrinkInstructions.cpp
119   SIWholeQuadMode.cpp
120   GCNILPSched.cpp
121   GCNRegBankReassign.cpp
122   GCNNSAReassign.cpp
123   GCNDPPCombine.cpp
124   SIModeRegister.cpp
125   )
127 add_subdirectory(AsmParser)
128 add_subdirectory(Disassembler)
129 add_subdirectory(MCTargetDesc)
130 add_subdirectory(TargetInfo)
131 add_subdirectory(Utils)