1set(LLVM_TARGET_DEFINITIONS SPU.td)
2
3tablegen(LLVM SPUGenAsmWriter.inc -gen-asm-writer)
4tablegen(LLVM SPUGenCodeEmitter.inc -gen-emitter)
5tablegen(LLVM SPUGenRegisterInfo.inc -gen-register-info)
6tablegen(LLVM SPUGenInstrInfo.inc -gen-instr-info)
7tablegen(LLVM SPUGenDAGISel.inc -gen-dag-isel)
8tablegen(LLVM SPUGenSubtargetInfo.inc -gen-subtarget)
9tablegen(LLVM SPUGenCallingConv.inc -gen-callingconv)
10add_public_tablegen_target(CellSPUCommonTableGen)
11
12add_llvm_target(CellSPUCodeGen
13  SPUAsmPrinter.cpp
14  SPUHazardRecognizers.cpp
15  SPUInstrInfo.cpp
16  SPUISelDAGToDAG.cpp
17  SPUISelLowering.cpp
18  SPUFrameLowering.cpp
19  SPUMachineFunction.cpp
20  SPURegisterInfo.cpp
21  SPUSubtarget.cpp
22  SPUTargetMachine.cpp
23  SPUSelectionDAGInfo.cpp
24  SPUNopFiller.cpp
25  )
26
27add_dependencies(LLVMCellSPUCodeGen intrinsics_gen)
28
29add_subdirectory(TargetInfo)
30add_subdirectory(MCTargetDesc)
31