Implement a basic MCCodeEmitter for PPC. This doesn't handle
[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(PPCGenRegisterInfo.h.inc -gen-register-desc-header)
9 tablegen(PPCGenRegisterInfo.inc -gen-register-desc)
10 tablegen(PPCGenInstrInfo.inc -gen-instr-desc)
11 tablegen(PPCGenDAGISel.inc -gen-dag-isel)
12 tablegen(PPCGenCallingConv.inc -gen-callingconv)
13 tablegen(PPCGenSubtarget.inc -gen-subtarget)
14
15 add_llvm_target(PowerPCCodeGen
16   PPCAsmPrinter.cpp
17   PPCBranchSelector.cpp
18   PPCCodeEmitter.cpp
19   PPCHazardRecognizers.cpp
20   PPCInstrInfo.cpp
21   PPCISelDAGToDAG.cpp
22   PPCISelLowering.cpp
23   PPCFrameInfo.cpp
24   PPCJITInfo.cpp
25   PPCMCAsmInfo.cpp
26   PPCMCCodeEmitter.cpp
27   PPCMCInstLower.cpp
28   PPCPredicates.cpp
29   PPCRegisterInfo.cpp
30   PPCSubtarget.cpp
31   PPCTargetMachine.cpp
32   PPCSelectionDAGInfo.cpp
33   )