OSDN Git Service

Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc...
[android-x86/external-llvm.git] / lib / Target / CellSPU / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS SPU.td)
2
3 tablegen(SPUGenAsmWriter.inc -gen-asm-writer)
4 tablegen(SPUGenCodeEmitter.inc -gen-emitter)
5 tablegen(SPUGenRegisterInfo.inc -gen-register-info)
6 tablegen(SPUGenInstrInfo.inc -gen-instr-info)
7 tablegen(SPUGenDAGISel.inc -gen-dag-isel)
8 tablegen(SPUGenSubtargetInfo.inc -gen-subtarget)
9 tablegen(SPUGenCallingConv.inc -gen-callingconv)
10
11 add_llvm_target(CellSPUCodeGen
12   SPUAsmPrinter.cpp
13   SPUHazardRecognizers.cpp
14   SPUInstrInfo.cpp
15   SPUISelDAGToDAG.cpp
16   SPUISelLowering.cpp
17   SPUFrameLowering.cpp
18   SPURegisterInfo.cpp
19   SPUSubtarget.cpp
20   SPUTargetMachine.cpp
21   SPUSelectionDAGInfo.cpp
22   SPUNopFiller.cpp
23   )
24
25 add_subdirectory(TargetInfo)
26 add_subdirectory(MCTargetDesc)