Home | History | Annotate | Download | only in AMDGPU
      1 set(LLVM_TARGET_DEFINITIONS AMDGPU.td)
      2 
      3 tablegen(LLVM AMDGPUGenRegisterInfo.inc -gen-register-info)
      4 tablegen(LLVM AMDGPUGenInstrInfo.inc -gen-instr-info)
      5 tablegen(LLVM AMDGPUGenDAGISel.inc -gen-dag-isel)
      6 tablegen(LLVM AMDGPUGenCallingConv.inc -gen-callingconv)
      7 tablegen(LLVM AMDGPUGenSubtargetInfo.inc -gen-subtarget)
      8 tablegen(LLVM AMDGPUGenIntrinsics.inc -gen-tgt-intrinsic)
      9 tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter)
     10 tablegen(LLVM AMDGPUGenDFAPacketizer.inc -gen-dfa-packetizer)
     11 tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer)
     12 tablegen(LLVM AMDGPUGenAsmMatcher.inc -gen-asm-matcher)
     13 tablegen(LLVM AMDGPUGenDisassemblerTables.inc -gen-disassembler)
     14 add_public_tablegen_target(AMDGPUCommonTableGen)
     15 
     16 # List of all GlobalISel files.
     17 set(GLOBAL_ISEL_FILES
     18   AMDGPUCallLowering.cpp
     19   )
     20 
     21 # Add GlobalISel files to the dependencies if the user wants to build it.
     22 if(LLVM_BUILD_GLOBAL_ISEL)
     23   set(GLOBAL_ISEL_BUILD_FILES ${GLOBAL_ISEL_FILES})
     24 else()
     25   set(GLOBAL_ISEL_BUILD_FILES"")
     26   set(LLVM_OPTIONAL_SOURCES LLVMGlobalISel ${GLOBAL_ISEL_FILES})
     27 endif()
     28 
     29 
     30 add_llvm_target(AMDGPUCodeGen
     31   AMDILCFGStructurizer.cpp
     32   AMDGPUAlwaysInlinePass.cpp
     33   AMDGPUAnnotateKernelFeatures.cpp
     34   AMDGPUAnnotateUniformValues.cpp
     35   AMDGPUAsmPrinter.cpp
     36   AMDGPUCodeGenPrepare.cpp
     37   AMDGPUFrameLowering.cpp
     38   AMDGPUTargetObjectFile.cpp
     39   AMDGPUIntrinsicInfo.cpp
     40   AMDGPUISelDAGToDAG.cpp
     41   AMDGPUMCInstLower.cpp
     42   AMDGPUMachineFunction.cpp
     43   AMDGPUOpenCLImageTypeLoweringPass.cpp
     44   AMDGPUSubtarget.cpp
     45   AMDGPUTargetMachine.cpp
     46   AMDGPUTargetTransformInfo.cpp
     47   AMDGPUISelLowering.cpp
     48   AMDGPUInstrInfo.cpp
     49   AMDGPUPromoteAlloca.cpp
     50   AMDGPURegisterInfo.cpp
     51   GCNHazardRecognizer.cpp
     52   R600ClauseMergePass.cpp
     53   R600ControlFlowFinalizer.cpp
     54   R600EmitClauseMarkers.cpp
     55   R600ExpandSpecialInstrs.cpp
     56   R600FrameLowering.cpp
     57   R600InstrInfo.cpp
     58   R600ISelLowering.cpp
     59   R600MachineFunctionInfo.cpp
     60   R600MachineScheduler.cpp
     61   R600OptimizeVectorRegisters.cpp
     62   R600Packetizer.cpp
     63   R600RegisterInfo.cpp
     64   SIAnnotateControlFlow.cpp
     65   SIDebuggerInsertNops.cpp
     66   SIFixControlFlowLiveIntervals.cpp
     67   SIFixSGPRCopies.cpp
     68   SIFoldOperands.cpp
     69   SIFrameLowering.cpp
     70   SIInsertWaits.cpp
     71   SIInstrInfo.cpp
     72   SIISelLowering.cpp
     73   SILoadStoreOptimizer.cpp
     74   SILowerControlFlow.cpp
     75   SILowerI1Copies.cpp
     76   SIMachineFunctionInfo.cpp
     77   SIMachineScheduler.cpp
     78   SIRegisterInfo.cpp
     79   SIShrinkInstructions.cpp
     80   SITypeRewriter.cpp
     81   SIWholeQuadMode.cpp
     82   ${GLOBAL_ISEL_BUILD_FILES}
     83   )
     84 
     85 add_subdirectory(AsmParser)
     86 add_subdirectory(InstPrinter)
     87 add_subdirectory(Disassembler)
     88 add_subdirectory(TargetInfo)
     89 add_subdirectory(MCTargetDesc)
     90 add_subdirectory(Utils)
     91