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