Home | History | Annotate | Download | only in CellSPU
      1 set(LLVM_TARGET_DEFINITIONS SPU.td)
      2 
      3 llvm_tablegen(SPUGenAsmWriter.inc -gen-asm-writer)
      4 llvm_tablegen(SPUGenCodeEmitter.inc -gen-emitter)
      5 llvm_tablegen(SPUGenRegisterInfo.inc -gen-register-info)
      6 llvm_tablegen(SPUGenInstrInfo.inc -gen-instr-info)
      7 llvm_tablegen(SPUGenDAGISel.inc -gen-dag-isel)
      8 llvm_tablegen(SPUGenSubtargetInfo.inc -gen-subtarget)
      9 llvm_tablegen(SPUGenCallingConv.inc -gen-callingconv)
     10 add_public_tablegen_target(CellSPUCommonTableGen)
     11 
     12 add_llvm_target(CellSPUCodeGen
     13   SPUAsmPrinter.cpp
     14   SPUHazardRecognizers.cpp
     15   SPUInstrInfo.cpp
     16   SPUISelDAGToDAG.cpp
     17   SPUISelLowering.cpp
     18   SPUFrameLowering.cpp
     19   SPURegisterInfo.cpp
     20   SPUSubtarget.cpp
     21   SPUTargetMachine.cpp
     22   SPUSelectionDAGInfo.cpp
     23   SPUNopFiller.cpp
     24   )
     25 
     26 add_llvm_library_dependencies(LLVMCellSPUCodeGen
     27   LLVMAsmPrinter
     28   LLVMCellSPUDesc
     29   LLVMCellSPUInfo
     30   LLVMCodeGen
     31   LLVMCore
     32   LLVMMC
     33   LLVMSelectionDAG
     34   LLVMSupport
     35   LLVMTarget
     36   )
     37 
     38 add_subdirectory(TargetInfo)
     39 add_subdirectory(MCTargetDesc)
     40