diff options
Diffstat (limited to 'llvm/lib/Target/AMDGPU/CMakeLists.txt')
-rw-r--r-- | llvm/lib/Target/AMDGPU/CMakeLists.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/CMakeLists.txt b/llvm/lib/Target/AMDGPU/CMakeLists.txt new file mode 100644 index 00000000000..1dc2c70fa37 --- /dev/null +++ b/llvm/lib/Target/AMDGPU/CMakeLists.txt @@ -0,0 +1,50 @@ +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 AMDGPUGenCodeEmitter.inc -gen-emitter) +tablegen(LLVM AMDGPUGenDFAPacketizer.inc -gen-dfa-packetizer) +add_public_tablegen_target(AMDGPUCommonTableGen) + +add_llvm_target(AMDGPUCodeGen + AMDIL7XXDevice.cpp + AMDILCFGStructurizer.cpp + AMDILDevice.cpp + AMDILDeviceInfo.cpp + AMDILEvergreenDevice.cpp + AMDILFrameLowering.cpp + AMDILInstrInfo.cpp + AMDILIntrinsicInfo.cpp + AMDILISelDAGToDAG.cpp + AMDILISelLowering.cpp + AMDILNIDevice.cpp + AMDILPeepholeOptimizer.cpp + AMDILRegisterInfo.cpp + AMDILSIDevice.cpp + AMDILSubtarget.cpp + AMDGPUTargetMachine.cpp + AMDGPUISelLowering.cpp + AMDGPUConvertToISA.cpp + AMDGPUInstrInfo.cpp + AMDGPURegisterInfo.cpp + AMDGPUUtil.cpp + R600CodeEmitter.cpp + R600InstrInfo.cpp + R600ISelLowering.cpp + R600KernelParameters.cpp + R600MachineFunctionInfo.cpp + R600RegisterInfo.cpp + SIAssignInterpRegs.cpp + SICodeEmitter.cpp + SIInstrInfo.cpp + SIISelLowering.cpp + SIMachineFunctionInfo.cpp + SIRegisterInfo.cpp + ) + +add_subdirectory(TargetInfo) +add_subdirectory(MCTargetDesc) |