Add the PPCCTRLoops pass: a PPC machine-code-level optimization pass to form CTR...
[oota-llvm.git] / lib / Target / PowerPC / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS PPC.td)
2
3 tablegen(LLVM PPCGenAsmWriter.inc -gen-asm-writer)
4 tablegen(LLVM PPCGenCodeEmitter.inc -gen-emitter)
5 tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
6 tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
7 tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
8 tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
9 tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
10 tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
11 add_public_tablegen_target(PowerPCCommonTableGen)
12
13 add_llvm_target(PowerPCCodeGen
14   PPCAsmPrinter.cpp
15   PPCBranchSelector.cpp
16   PPCCodeEmitter.cpp
17   PPCCTRLoops.cpp
18   PPCHazardRecognizers.cpp
19   PPCInstrInfo.cpp
20   PPCISelDAGToDAG.cpp
21   PPCISelLowering.cpp
22   PPCFrameLowering.cpp
23   PPCJITInfo.cpp
24   PPCMCInstLower.cpp
25   PPCMachineFunctionInfo.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)