R600/SI: Add processor types for each SI variant
[oota-llvm.git] / lib / Target / R600 / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS AMDGPU.td)
2
3 tablegen(LLVM AMDGPUGenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM AMDGPUGenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM AMDGPUGenDAGISel.inc -gen-dag-isel)
6 tablegen(LLVM AMDGPUGenCallingConv.inc -gen-callingconv)
7 tablegen(LLVM AMDGPUGenSubtargetInfo.inc -gen-subtarget)
8 tablegen(LLVM AMDGPUGenIntrinsics.inc -gen-tgt-intrinsic)
9 tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
10 tablegen(LLVM AMDGPUGenDFAPacketizer.inc -gen-dfa-packetizer)
11 tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer)
12 add_public_tablegen_target(AMDGPUCommonTableGen)
13
14 add_llvm_target(R600CodeGen
15   AMDIL7XXDevice.cpp
16   AMDILCFGStructurizer.cpp
17   AMDILDevice.cpp
18   AMDILDeviceInfo.cpp
19   AMDILEvergreenDevice.cpp
20   AMDILIntrinsicInfo.cpp
21   AMDILISelDAGToDAG.cpp
22   AMDILISelLowering.cpp
23   AMDILNIDevice.cpp
24   AMDILPeepholeOptimizer.cpp
25   AMDILSIDevice.cpp
26   AMDGPUAsmPrinter.cpp
27   AMDGPUFrameLowering.cpp
28   AMDGPUIndirectAddressing.cpp
29   AMDGPUMCInstLower.cpp
30   AMDGPUMachineFunction.cpp
31   AMDGPUSubtarget.cpp
32   AMDGPUStructurizeCFG.cpp
33   AMDGPUTargetMachine.cpp
34   AMDGPUISelLowering.cpp
35   AMDGPUConvertToISA.cpp
36   AMDGPUInstrInfo.cpp
37   AMDGPURegisterInfo.cpp
38   R600ControlFlowFinalizer.cpp
39   R600EmitClauseMarkers.cpp
40   R600ExpandSpecialInstrs.cpp
41   R600InstrInfo.cpp
42   R600ISelLowering.cpp
43   R600MachineFunctionInfo.cpp
44   R600MachineScheduler.cpp
45   R600RegisterInfo.cpp
46   SIAnnotateControlFlow.cpp
47   SIInsertWaits.cpp
48   SIInstrInfo.cpp
49   SIISelLowering.cpp
50   SILowerControlFlow.cpp
51   SIMachineFunctionInfo.cpp
52   SIRegisterInfo.cpp
53   )
54
55 add_dependencies(LLVMR600CodeGen intrinsics_gen)
56
57 add_subdirectory(InstPrinter)
58 add_subdirectory(TargetInfo)
59 add_subdirectory(MCTargetDesc)