1set(LLVM_TARGET_DEFINITIONS PPC.td)
2
3tablegen(LLVM PPCGenAsmWriter.inc -gen-asm-writer)
4tablegen(LLVM PPCGenCodeEmitter.inc -gen-emitter)
5tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
6tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
7tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
8tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
9tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
10tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
11add_public_tablegen_target(PowerPCCommonTableGen)
12
13add_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
32add_dependencies(LLVMPowerPCCodeGen intrinsics_gen)
33
34add_subdirectory(InstPrinter)
35add_subdirectory(TargetInfo)
36add_subdirectory(MCTargetDesc)
37