Merge XXXGenRegisterDesc.inc XXXGenRegisterNames.inc XXXGenRegisterInfo.h.inc
[oota-llvm.git] / lib / Target / PowerPC / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS PPC.td)
2
3 tablegen(PPCGenInstrNames.inc -gen-instr-enums)
4 tablegen(PPCGenAsmWriter.inc -gen-asm-writer)
5 tablegen(PPCGenCodeEmitter.inc -gen-emitter)
6 tablegen(PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
7 tablegen(PPCGenRegisterInfo.inc -gen-register-info)
8 tablegen(PPCGenInstrInfo.inc -gen-instr-desc)
9 tablegen(PPCGenDAGISel.inc -gen-dag-isel)
10 tablegen(PPCGenCallingConv.inc -gen-callingconv)
11 tablegen(PPCGenSubtarget.inc -gen-subtarget)
12
13 add_llvm_target(PowerPCCodeGen
14   PPCAsmBackend.cpp
15   PPCAsmPrinter.cpp
16   PPCBranchSelector.cpp
17   PPCCodeEmitter.cpp
18   PPCHazardRecognizers.cpp
19   PPCInstrInfo.cpp
20   PPCISelDAGToDAG.cpp
21   PPCISelLowering.cpp
22   PPCFrameLowering.cpp
23   PPCJITInfo.cpp
24   PPCMCAsmInfo.cpp
25   PPCMCCodeEmitter.cpp
26   PPCMCInstLower.cpp
27   PPCPredicates.cpp
28   PPCRegisterInfo.cpp
29   PPCSubtarget.cpp
30   PPCTargetMachine.cpp
31   PPCSelectionDAGInfo.cpp
32   )
33
34 add_subdirectory(InstPrinter)
35 add_subdirectory(TargetInfo)