2012-12-12 05:25:42 +08:00
|
|
|
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 AMDGPUGenCallingConv.inc -gen-callingconv)
|
|
|
|
tablegen(LLVM AMDGPUGenSubtargetInfo.inc -gen-subtarget)
|
|
|
|
tablegen(LLVM AMDGPUGenIntrinsics.inc -gen-tgt-intrinsic)
|
|
|
|
tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
|
|
|
|
tablegen(LLVM AMDGPUGenDFAPacketizer.inc -gen-dfa-packetizer)
|
|
|
|
tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer)
|
|
|
|
add_public_tablegen_target(AMDGPUCommonTableGen)
|
|
|
|
|
|
|
|
add_llvm_target(R600CodeGen
|
|
|
|
AMDILCFGStructurizer.cpp
|
|
|
|
AMDILIntrinsicInfo.cpp
|
|
|
|
AMDILISelLowering.cpp
|
|
|
|
AMDGPUAsmPrinter.cpp
|
2013-02-07 01:32:29 +08:00
|
|
|
AMDGPUFrameLowering.cpp
|
|
|
|
AMDGPUIndirectAddressing.cpp
|
2013-07-23 09:48:29 +08:00
|
|
|
AMDGPUISelDAGToDAG.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
AMDGPUMCInstLower.cpp
|
2013-04-02 06:05:58 +08:00
|
|
|
AMDGPUMachineFunction.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
AMDGPUSubtarget.cpp
|
|
|
|
AMDGPUTargetMachine.cpp
|
|
|
|
AMDGPUISelLowering.cpp
|
|
|
|
AMDGPUConvertToISA.cpp
|
|
|
|
AMDGPUInstrInfo.cpp
|
|
|
|
AMDGPURegisterInfo.cpp
|
2013-04-02 06:05:58 +08:00
|
|
|
R600ControlFlowFinalizer.cpp
|
|
|
|
R600EmitClauseMarkers.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
R600ExpandSpecialInstrs.cpp
|
|
|
|
R600InstrInfo.cpp
|
|
|
|
R600ISelLowering.cpp
|
|
|
|
R600MachineFunctionInfo.cpp
|
2013-03-06 02:54:05 +08:00
|
|
|
R600MachineScheduler.cpp
|
2013-06-06 05:38:04 +08:00
|
|
|
R600OptimizeVectorRegisters.cpp
|
2013-04-30 08:14:27 +08:00
|
|
|
R600Packetizer.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
R600RegisterInfo.cpp
|
2013-05-18 00:50:20 +08:00
|
|
|
R600TextureIntrinsicsReplacer.cpp
|
2012-12-20 06:10:31 +08:00
|
|
|
SIAnnotateControlFlow.cpp
|
2013-01-19 05:15:53 +08:00
|
|
|
SIInsertWaits.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
SIInstrInfo.cpp
|
|
|
|
SIISelLowering.cpp
|
|
|
|
SILowerControlFlow.cpp
|
|
|
|
SIMachineFunctionInfo.cpp
|
|
|
|
SIRegisterInfo.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(LLVMR600CodeGen intrinsics_gen)
|
|
|
|
|
|
|
|
add_subdirectory(InstPrinter)
|
|
|
|
add_subdirectory(TargetInfo)
|
|
|
|
add_subdirectory(MCTargetDesc)
|