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)
|
2014-09-03 06:28:02 +08:00
|
|
|
tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter)
|
2012-12-12 05:25:42 +08:00
|
|
|
tablegen(LLVM AMDGPUGenDFAPacketizer.inc -gen-dfa-packetizer)
|
|
|
|
tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer)
|
2014-11-14 22:08:00 +08:00
|
|
|
tablegen(LLVM AMDGPUGenAsmMatcher.inc -gen-asm-matcher)
|
2012-12-12 05:25:42 +08:00
|
|
|
add_public_tablegen_target(AMDGPUCommonTableGen)
|
|
|
|
|
2015-06-13 11:28:10 +08:00
|
|
|
add_llvm_target(AMDGPUCodeGen
|
2012-12-12 05:25:42 +08:00
|
|
|
AMDILCFGStructurizer.cpp
|
2014-11-04 03:49:05 +08:00
|
|
|
AMDGPUAlwaysInlinePass.cpp
|
2015-11-07 02:01:57 +08:00
|
|
|
AMDGPUAnnotateKernelFeatures.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
AMDGPUAsmPrinter.cpp
|
2015-10-22 06:37:46 +08:00
|
|
|
AMDGPUDiagnosticInfoUnsupported.cpp
|
2013-02-07 01:32:29 +08:00
|
|
|
AMDGPUFrameLowering.cpp
|
2015-09-26 05:41:28 +08:00
|
|
|
AMDGPUHSATargetObjectFile.cpp
|
2014-06-24 02:00:31 +08:00
|
|
|
AMDGPUIntrinsicInfo.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
|
2015-08-08 07:19:30 +08:00
|
|
|
AMDGPUOpenCLImageTypeLoweringPass.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
AMDGPUSubtarget.cpp
|
|
|
|
AMDGPUTargetMachine.cpp
|
2013-07-27 08:01:07 +08:00
|
|
|
AMDGPUTargetTransformInfo.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
AMDGPUISelLowering.cpp
|
|
|
|
AMDGPUInstrInfo.cpp
|
2014-06-18 00:53:14 +08:00
|
|
|
AMDGPUPromoteAlloca.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
AMDGPURegisterInfo.cpp
|
2013-10-02 03:32:58 +08:00
|
|
|
R600ClauseMergePass.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
|
2015-05-13 01:13:02 +08:00
|
|
|
SIFixControlFlowLiveIntervals.cpp
|
2013-08-07 07:12:34 +08:00
|
|
|
SIFixSGPRCopies.cpp
|
2014-07-03 04:53:48 +08:00
|
|
|
SIFixSGPRLiveRanges.cpp
|
2014-11-22 06:06:37 +08:00
|
|
|
SIFoldOperands.cpp
|
2013-01-19 05:15:53 +08:00
|
|
|
SIInsertWaits.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
SIInstrInfo.cpp
|
|
|
|
SIISelLowering.cpp
|
2014-10-11 06:01:59 +08:00
|
|
|
SILoadStoreOptimizer.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
SILowerControlFlow.cpp
|
2014-04-30 23:31:33 +08:00
|
|
|
SILowerI1Copies.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
SIMachineFunctionInfo.cpp
|
2015-01-14 23:42:31 +08:00
|
|
|
SIPrepareScratchRegs.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
SIRegisterInfo.cpp
|
2014-07-22 00:55:33 +08:00
|
|
|
SIShrinkInstructions.cpp
|
2013-08-15 07:24:45 +08:00
|
|
|
SITypeRewriter.cpp
|
2012-12-12 05:25:42 +08:00
|
|
|
)
|
|
|
|
|
2014-11-14 22:08:00 +08:00
|
|
|
add_subdirectory(AsmParser)
|
2012-12-12 05:25:42 +08:00
|
|
|
add_subdirectory(InstPrinter)
|
|
|
|
add_subdirectory(TargetInfo)
|
|
|
|
add_subdirectory(MCTargetDesc)
|
2015-06-27 05:15:07 +08:00
|
|
|
add_subdirectory(Utils)
|