summaryrefslogtreecommitdiff
path: root/lib/Target/CellSPU/CMakeLists.txt
blob: 1b24c4448f0f4e3c6bd6db45274244948d098528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
set(LLVM_TARGET_DEFINITIONS SPU.td)

tablegen(SPUGenInstrNames.inc -gen-instr-enums)
tablegen(SPUGenRegisterNames.inc -gen-register-enums)
tablegen(SPUGenAsmWriter.inc -gen-asm-writer)
tablegen(SPUGenCodeEmitter.inc -gen-emitter)
tablegen(SPUGenRegisterInfo.h.inc -gen-register-desc-header)
tablegen(SPUGenRegisterInfo.inc -gen-register-desc)
tablegen(SPUGenInstrInfo.inc -gen-instr-desc)
tablegen(SPUGenDAGISel.inc -gen-dag-isel)
tablegen(SPUGenSubtarget.inc -gen-subtarget)
tablegen(SPUGenCallingConv.inc -gen-callingconv)

add_llvm_target(CellSPUCodeGen
  SPUFrameInfo.cpp
  SPUHazardRecognizers.cpp
  SPUInstrInfo.cpp
  SPUISelDAGToDAG.cpp
  SPUISelLowering.cpp
  SPURegisterInfo.cpp
  SPUSubtarget.cpp
  SPUMCAsmInfo.cpp
  SPUTargetMachine.cpp
  )

target_link_libraries (LLVMCellSPUCodeGen LLVMSelectionDAG)