00f8b106c731ee4a40d8addfb2b9e149723584de
[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   AMDGPUSubtarget.cpp
31   AMDGPUStructurizeCFG.cpp
32   AMDGPUTargetMachine.cpp
33   AMDGPUISelLowering.cpp
34   AMDGPUConvertToISA.cpp
35   AMDGPUInstrInfo.cpp
36   AMDGPURegisterInfo.cpp
37   R600ExpandSpecialInstrs.cpp
38   R600InstrInfo.cpp
39   R600ISelLowering.cpp
40   R600LowerConstCopy.cpp
41   R600MachineFunctionInfo.cpp
42   R600RegisterInfo.cpp
43   SIAnnotateControlFlow.cpp
44   SIAssignInterpRegs.cpp
45   SIInsertWaits.cpp
46   SIInstrInfo.cpp
47   SIISelLowering.cpp
48   SILowerControlFlow.cpp
49   SIMachineFunctionInfo.cpp
50   SIRegisterInfo.cpp
51   )
52
53 add_dependencies(LLVMR600CodeGen intrinsics_gen)
54
55 add_subdirectory(InstPrinter)
56 add_subdirectory(TargetInfo)
57 add_subdirectory(MCTargetDesc)