1add_llvm_component_group(AMDGPU) 2 3set(LLVM_TARGET_DEFINITIONS AMDGPU.td) 4 5tablegen(LLVM AMDGPUGenAsmMatcher.inc -gen-asm-matcher) 6tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer) 7tablegen(LLVM AMDGPUGenCallingConv.inc -gen-callingconv) 8tablegen(LLVM AMDGPUGenDAGISel.inc -gen-dag-isel) 9tablegen(LLVM AMDGPUGenDisassemblerTables.inc -gen-disassembler) 10tablegen(LLVM AMDGPUGenInstrInfo.inc -gen-instr-info) 11tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter) 12tablegen(LLVM AMDGPUGenMCPseudoLowering.inc -gen-pseudo-lowering) 13tablegen(LLVM AMDGPUGenRegisterBank.inc -gen-register-bank) 14tablegen(LLVM AMDGPUGenRegisterInfo.inc -gen-register-info) 15tablegen(LLVM AMDGPUGenSearchableTables.inc -gen-searchable-tables) 16tablegen(LLVM AMDGPUGenSubtargetInfo.inc -gen-subtarget) 17 18set(LLVM_TARGET_DEFINITIONS AMDGPUGISel.td) 19tablegen(LLVM AMDGPUGenGlobalISel.inc -gen-global-isel) 20tablegen(LLVM AMDGPUGenPreLegalizeGICombiner.inc -gen-global-isel-combiner 21 -combiners="AMDGPUPreLegalizerCombinerHelper") 22tablegen(LLVM AMDGPUGenPostLegalizeGICombiner.inc -gen-global-isel-combiner 23 -combiners="AMDGPUPostLegalizerCombinerHelper") 24tablegen(LLVM AMDGPUGenRegBankGICombiner.inc -gen-global-isel-combiner 25 -combiners="AMDGPURegBankCombinerHelper") 26 27set(LLVM_TARGET_DEFINITIONS R600.td) 28tablegen(LLVM R600GenAsmWriter.inc -gen-asm-writer) 29tablegen(LLVM R600GenCallingConv.inc -gen-callingconv) 30tablegen(LLVM R600GenDAGISel.inc -gen-dag-isel) 31tablegen(LLVM R600GenDFAPacketizer.inc -gen-dfa-packetizer) 32tablegen(LLVM R600GenInstrInfo.inc -gen-instr-info) 33tablegen(LLVM R600GenMCCodeEmitter.inc -gen-emitter) 34tablegen(LLVM R600GenRegisterInfo.inc -gen-register-info) 35tablegen(LLVM R600GenSubtargetInfo.inc -gen-subtarget) 36 37add_public_tablegen_target(AMDGPUCommonTableGen) 38 39set(LLVM_TARGET_DEFINITIONS InstCombineTables.td) 40tablegen(LLVM InstCombineTables.inc -gen-searchable-tables) 41add_public_tablegen_target(InstCombineTableGen) 42 43add_llvm_target(AMDGPUCodeGen 44 AMDGPUAliasAnalysis.cpp 45 AMDGPUAlwaysInlinePass.cpp 46 AMDGPUAnnotateKernelFeatures.cpp 47 AMDGPUAnnotateUniformValues.cpp 48 AMDGPUArgumentUsageInfo.cpp 49 AMDGPUAsmPrinter.cpp 50 AMDGPUAtomicOptimizer.cpp 51 AMDGPUAttributor.cpp 52 AMDGPUCallLowering.cpp 53 AMDGPUCodeGenPrepare.cpp 54 AMDGPUCombinerHelper.cpp 55 AMDGPUCtorDtorLowering.cpp 56 AMDGPUExportClustering.cpp 57 AMDGPUFrameLowering.cpp 58 AMDGPUGlobalISelUtils.cpp 59 AMDGPUHSAMetadataStreamer.cpp 60 AMDGPUInstCombineIntrinsic.cpp 61 AMDGPUInstrInfo.cpp 62 AMDGPUInstructionSelector.cpp 63 AMDGPUISelDAGToDAG.cpp 64 AMDGPUISelLowering.cpp 65 AMDGPULateCodeGenPrepare.cpp 66 AMDGPULegalizerInfo.cpp 67 AMDGPULibCalls.cpp 68 AMDGPULibFunc.cpp 69 AMDGPULowerIntrinsics.cpp 70 AMDGPULowerKernelArguments.cpp 71 AMDGPULowerKernelAttributes.cpp 72 AMDGPULowerModuleLDSPass.cpp 73 AMDGPUMachineCFGStructurizer.cpp 74 AMDGPUMachineFunction.cpp 75 AMDGPUMachineModuleInfo.cpp 76 AMDGPUMacroFusion.cpp 77 AMDGPUMCInstLower.cpp 78 AMDGPUMIRFormatter.cpp 79 AMDGPUOpenCLEnqueuedBlockLowering.cpp 80 AMDGPUPerfHintAnalysis.cpp 81 AMDGPUPostLegalizerCombiner.cpp 82 AMDGPUPreLegalizerCombiner.cpp 83 AMDGPUPrintfRuntimeBinding.cpp 84 AMDGPUPromoteAlloca.cpp 85 AMDGPUPropagateAttributes.cpp 86 AMDGPUPromoteKernelArguments.cpp 87 AMDGPURegBankCombiner.cpp 88 AMDGPURegisterBankInfo.cpp 89 AMDGPUReplaceLDSUseWithPointer.cpp 90 AMDGPUResourceUsageAnalysis.cpp 91 AMDGPURewriteOutArguments.cpp 92 AMDGPUSubtarget.cpp 93 AMDGPUTargetMachine.cpp 94 AMDGPUTargetObjectFile.cpp 95 AMDGPUTargetTransformInfo.cpp 96 AMDGPUUnifyDivergentExitNodes.cpp 97 AMDGPUUnifyMetadata.cpp 98 R600MachineCFGStructurizer.cpp 99 GCNDPPCombine.cpp 100 GCNHazardRecognizer.cpp 101 GCNILPSched.cpp 102 GCNIterativeScheduler.cpp 103 GCNMinRegStrategy.cpp 104 GCNNSAReassign.cpp 105 GCNPreRAOptimizations.cpp 106 GCNRegPressure.cpp 107 GCNSchedStrategy.cpp 108 R600AsmPrinter.cpp 109 R600ClauseMergePass.cpp 110 R600ControlFlowFinalizer.cpp 111 R600EmitClauseMarkers.cpp 112 R600ExpandSpecialInstrs.cpp 113 R600FrameLowering.cpp 114 R600InstrInfo.cpp 115 R600ISelDAGToDAG.cpp 116 R600ISelLowering.cpp 117 R600MachineFunctionInfo.cpp 118 R600MachineScheduler.cpp 119 R600MCInstLower.cpp 120 R600OpenCLImageTypeLoweringPass.cpp 121 R600OptimizeVectorRegisters.cpp 122 R600Packetizer.cpp 123 R600RegisterInfo.cpp 124 R600Subtarget.cpp 125 R600TargetMachine.cpp 126 R600TargetTransformInfo.cpp 127 SIAnnotateControlFlow.cpp 128 SIFixSGPRCopies.cpp 129 SIFixVGPRCopies.cpp 130 SIFoldOperands.cpp 131 SIFormMemoryClauses.cpp 132 SIFrameLowering.cpp 133 SIInsertHardClauses.cpp 134 SIInsertWaitcnts.cpp 135 SIInstrInfo.cpp 136 SIISelLowering.cpp 137 SILateBranchLowering.cpp 138 SILoadStoreOptimizer.cpp 139 SILowerControlFlow.cpp 140 SILowerI1Copies.cpp 141 SILowerSGPRSpills.cpp 142 SIMachineFunctionInfo.cpp 143 SIMachineScheduler.cpp 144 SIMemoryLegalizer.cpp 145 SIModeRegister.cpp 146 SIOptimizeExecMasking.cpp 147 SIOptimizeExecMaskingPreRA.cpp 148 SIOptimizeVGPRLiveRange.cpp 149 SIPeepholeSDWA.cpp 150 SIPostRABundler.cpp 151 SIPreAllocateWWMRegs.cpp 152 SIPreEmitPeephole.cpp 153 SIProgramInfo.cpp 154 SIRegisterInfo.cpp 155 SIShrinkInstructions.cpp 156 SIWholeQuadMode.cpp 157 158 LINK_COMPONENTS 159 Analysis 160 AsmPrinter 161 CodeGen 162 Core 163 IPO 164 MC 165 Passes 166 AMDGPUDesc 167 AMDGPUInfo 168 AMDGPUUtils 169 Scalar 170 SelectionDAG 171 Support 172 Target 173 TransformUtils 174 Vectorize 175 GlobalISel 176 BinaryFormat 177 MIRParser 178 179 ADD_TO_COMPONENT 180 AMDGPU 181 ) 182 183add_subdirectory(AsmParser) 184add_subdirectory(Disassembler) 185add_subdirectory(MCA) 186add_subdirectory(MCTargetDesc) 187add_subdirectory(TargetInfo) 188add_subdirectory(Utils) 189