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