1set(LLVM_TARGET_DEFINITIONS PPC.td)
2
3tablegen(LLVM PPCGenAsmWriter.inc -gen-asm-writer)
4tablegen(LLVM PPCGenAsmMatcher.inc -gen-asm-matcher)
5tablegen(LLVM PPCGenDisassemblerTables.inc -gen-disassembler)
6tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter)
7tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
8tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
9tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
10tablegen(LLVM PPCGenFastISel.inc -gen-fast-isel)
11tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
12tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
13add_public_tablegen_target(PowerPCCommonTableGen)
14
15add_llvm_target(PowerPCCodeGen
16  PPCAsmPrinter.cpp
17  PPCBranchSelector.cpp
18  PPCCTRLoops.cpp
19  PPCHazardRecognizers.cpp
20  PPCInstrInfo.cpp
21  PPCISelDAGToDAG.cpp
22  PPCISelLowering.cpp
23  PPCFastISel.cpp
24  PPCFrameLowering.cpp
25  PPCMCInstLower.cpp
26  PPCMachineFunctionInfo.cpp
27  PPCRegisterInfo.cpp
28  PPCSubtarget.cpp
29  PPCTargetMachine.cpp
30  PPCTargetObjectFile.cpp
31  PPCTargetTransformInfo.cpp
32  PPCSelectionDAGInfo.cpp
33  )
34
35add_subdirectory(AsmParser)
36add_subdirectory(Disassembler)
37add_subdirectory(InstPrinter)
38add_subdirectory(TargetInfo)
39add_subdirectory(MCTargetDesc)
40