Starting to refactor Target to separate out code that's needed to fully describe
[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(PPCGenRegisterNames.inc -gen-register-enums)
5 tablegen(PPCGenAsmWriter.inc -gen-asm-writer)
6 tablegen(PPCGenCodeEmitter.inc -gen-emitter)
7 tablegen(PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
8 tablegen(PPCGenRegisterDesc.inc -gen-register-desc)
9 tablegen(PPCGenRegisterInfo.h.inc -gen-register-info-header)
10 tablegen(PPCGenRegisterInfo.inc -gen-register-info)
11 tablegen(PPCGenInstrInfo.inc -gen-instr-desc)
12 tablegen(PPCGenDAGISel.inc -gen-dag-isel)
13 tablegen(PPCGenCallingConv.inc -gen-callingconv)
14 tablegen(PPCGenSubtarget.inc -gen-subtarget)
15
16 add_llvm_target(PowerPCCodeGen
17   PPCAsmBackend.cpp
18   PPCAsmPrinter.cpp
19   PPCBranchSelector.cpp
20   PPCCodeEmitter.cpp
21   PPCHazardRecognizers.cpp
22   PPCInstrInfo.cpp
23   PPCISelDAGToDAG.cpp
24   PPCISelLowering.cpp
25   PPCFrameLowering.cpp
26   PPCJITInfo.cpp
27   PPCMCAsmInfo.cpp
28   PPCMCCodeEmitter.cpp
29   PPCMCInstLower.cpp
30   PPCPredicates.cpp
31   PPCRegisterInfo.cpp
32   PPCSubtarget.cpp
33   PPCTargetMachine.cpp
34   PPCSelectionDAGInfo.cpp
35   )
36
37 add_subdirectory(InstPrinter)
38 add_subdirectory(TargetInfo)