1add_llvm_component_group(PowerPC HAS_JIT)
2
3set(LLVM_TARGET_DEFINITIONS PPC.td)
4
5tablegen(LLVM PPCGenAsmMatcher.inc -gen-asm-matcher)
6tablegen(LLVM PPCGenAsmWriter.inc -gen-asm-writer)
7tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
8tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
9tablegen(LLVM PPCGenDisassemblerTables.inc -gen-disassembler)
10tablegen(LLVM PPCGenFastISel.inc -gen-fast-isel)
11tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
12tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter)
13tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
14tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
15tablegen(LLVM PPCGenExegesis.inc -gen-exegesis)
16tablegen(LLVM PPCGenRegisterBank.inc -gen-register-bank)
17tablegen(LLVM PPCGenGlobalISel.inc -gen-global-isel)
18
19add_public_tablegen_target(PowerPCCommonTableGen)
20
21add_llvm_target(PowerPCCodeGen
22  GISel/PPCInstructionSelector.cpp
23  PPCBoolRetToInt.cpp
24  PPCAsmPrinter.cpp
25  PPCBranchSelector.cpp
26  PPCBranchCoalescing.cpp
27  PPCCallingConv.cpp
28  PPCCCState.cpp
29  PPCCTRLoops.cpp
30  PPCCTRLoopsVerify.cpp
31  PPCExpandAtomicPseudoInsts.cpp
32  PPCHazardRecognizers.cpp
33  PPCInstrInfo.cpp
34  PPCISelDAGToDAG.cpp
35  PPCISelLowering.cpp
36  PPCEarlyReturn.cpp
37  PPCFastISel.cpp
38  PPCFrameLowering.cpp
39  PPCLoopInstrFormPrep.cpp
40  PPCMCInstLower.cpp
41  PPCMachineFunctionInfo.cpp
42  PPCMachineScheduler.cpp
43  PPCMacroFusion.cpp
44  PPCMIPeephole.cpp
45  PPCRegisterInfo.cpp
46  PPCSubtarget.cpp
47  PPCTargetMachine.cpp
48  PPCTargetObjectFile.cpp
49  PPCTargetTransformInfo.cpp
50  PPCTOCRegDeps.cpp
51  PPCTLSDynamicCall.cpp
52  PPCVSXCopy.cpp
53  PPCReduceCRLogicals.cpp
54  PPCVSXFMAMutate.cpp
55  PPCVSXSwapRemoval.cpp
56  PPCExpandISEL.cpp
57  PPCPreEmitPeephole.cpp
58  PPCLowerMASSVEntries.cpp
59  PPCGenScalarMASSEntries.cpp
60  GISel/PPCCallLowering.cpp
61  GISel/PPCRegisterBankInfo.cpp
62  GISel/PPCLegalizerInfo.cpp
63
64  LINK_COMPONENTS
65  Analysis
66  AsmPrinter
67  BinaryFormat
68  CodeGen
69  Core
70  MC
71  PowerPCDesc
72  PowerPCInfo
73  Scalar
74  SelectionDAG
75  Support
76  Target
77  TransformUtils
78  GlobalISel
79
80  ADD_TO_COMPONENT
81  PowerPC
82  )
83
84add_subdirectory(AsmParser)
85add_subdirectory(Disassembler)
86add_subdirectory(MCTargetDesc)
87add_subdirectory(TargetInfo)
88