Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc...
[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   PPCAsmBackend.cpp
14   PPCAsmPrinter.cpp
15   PPCBranchSelector.cpp
16   PPCCodeEmitter.cpp
17   PPCHazardRecognizers.cpp
18   PPCInstrInfo.cpp
19   PPCISelDAGToDAG.cpp
20   PPCISelLowering.cpp
21   PPCFrameLowering.cpp
22   PPCJITInfo.cpp
23   PPCMCCodeEmitter.cpp
24   PPCMCInstLower.cpp
25   PPCPredicates.cpp
26   PPCRegisterInfo.cpp
27   PPCSubtarget.cpp
28   PPCTargetMachine.cpp
29   PPCSelectionDAGInfo.cpp
30   )
31
32 add_subdirectory(InstPrinter)
33 add_subdirectory(TargetInfo)
34 add_subdirectory(MCTargetDesc)