blob: 8efba5846befbf94b5d75720dae8bd5780f0bb5f [file] [log] [blame]
Tom Stellard75aadc22012-12-11 21:25:42 +00001set(LLVM_TARGET_DEFINITIONS AMDGPU.td)
2
3tablegen(LLVM AMDGPUGenRegisterInfo.inc -gen-register-info)
4tablegen(LLVM AMDGPUGenInstrInfo.inc -gen-instr-info)
5tablegen(LLVM AMDGPUGenDAGISel.inc -gen-dag-isel)
6tablegen(LLVM AMDGPUGenCallingConv.inc -gen-callingconv)
7tablegen(LLVM AMDGPUGenSubtargetInfo.inc -gen-subtarget)
8tablegen(LLVM AMDGPUGenIntrinsics.inc -gen-tgt-intrinsic)
9tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
10tablegen(LLVM AMDGPUGenDFAPacketizer.inc -gen-dfa-packetizer)
11tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer)
12add_public_tablegen_target(AMDGPUCommonTableGen)
13
14add_llvm_target(R600CodeGen
15 AMDIL7XXDevice.cpp
16 AMDILCFGStructurizer.cpp
17 AMDILDevice.cpp
18 AMDILDeviceInfo.cpp
19 AMDILEvergreenDevice.cpp
Tom Stellard75aadc22012-12-11 21:25:42 +000020 AMDILIntrinsicInfo.cpp
21 AMDILISelDAGToDAG.cpp
22 AMDILISelLowering.cpp
23 AMDILNIDevice.cpp
24 AMDILPeepholeOptimizer.cpp
25 AMDILSIDevice.cpp
26 AMDGPUAsmPrinter.cpp
Tom Stellardf3b2a1e2013-02-06 17:32:29 +000027 AMDGPUFrameLowering.cpp
28 AMDGPUIndirectAddressing.cpp
Tom Stellard75aadc22012-12-11 21:25:42 +000029 AMDGPUMCInstLower.cpp
NAKAMURA Takumifd98f7f2013-04-01 22:05:58 +000030 AMDGPUMachineFunction.cpp
Tom Stellard75aadc22012-12-11 21:25:42 +000031 AMDGPUSubtarget.cpp
Tom Stellardf8794352012-12-19 22:10:31 +000032 AMDGPUStructurizeCFG.cpp
Tom Stellard75aadc22012-12-11 21:25:42 +000033 AMDGPUTargetMachine.cpp
34 AMDGPUISelLowering.cpp
35 AMDGPUConvertToISA.cpp
36 AMDGPUInstrInfo.cpp
37 AMDGPURegisterInfo.cpp
NAKAMURA Takumifd98f7f2013-04-01 22:05:58 +000038 R600ControlFlowFinalizer.cpp
39 R600EmitClauseMarkers.cpp
Tom Stellard75aadc22012-12-11 21:25:42 +000040 R600ExpandSpecialInstrs.cpp
41 R600InstrInfo.cpp
42 R600ISelLowering.cpp
43 R600MachineFunctionInfo.cpp
Benjamin Kramer5dc83182013-03-05 18:54:05 +000044 R600MachineScheduler.cpp
Tom Stellard75aadc22012-12-11 21:25:42 +000045 R600RegisterInfo.cpp
Tom Stellardf8794352012-12-19 22:10:31 +000046 SIAnnotateControlFlow.cpp
Tom Stellardc4cabef2013-01-18 21:15:53 +000047 SIInsertWaits.cpp
Tom Stellard75aadc22012-12-11 21:25:42 +000048 SIInstrInfo.cpp
49 SIISelLowering.cpp
Tom Stellard75aadc22012-12-11 21:25:42 +000050 SILowerControlFlow.cpp
51 SIMachineFunctionInfo.cpp
52 SIRegisterInfo.cpp
Tom Stellard75aadc22012-12-11 21:25:42 +000053 )
54
55add_dependencies(LLVMR600CodeGen intrinsics_gen)
56
57add_subdirectory(InstPrinter)
58add_subdirectory(TargetInfo)
59add_subdirectory(MCTargetDesc)