xref: /llvm-project/llvm/lib/Target/PowerPC/CMakeLists.txt (revision 03847f19f2e462a339e1afa1093f253ec8a23765)
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  PPCSelectionDAGInfo.cpp
47  PPCSubtarget.cpp
48  PPCTargetMachine.cpp
49  PPCTargetObjectFile.cpp
50  PPCTargetTransformInfo.cpp
51  PPCTOCRegDeps.cpp
52  PPCTLSDynamicCall.cpp
53  PPCVSXCopy.cpp
54  PPCReduceCRLogicals.cpp
55  PPCVSXFMAMutate.cpp
56  PPCVSXSwapRemoval.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  CodeGenTypes
70  Core
71  GlobalISel
72  MC
73  PowerPCDesc
74  PowerPCInfo
75  Scalar
76  SelectionDAG
77  Support
78  Target
79  TargetParser
80  TransformUtils
81
82  ADD_TO_COMPONENT
83  PowerPC
84  )
85
86add_subdirectory(AsmParser)
87add_subdirectory(Disassembler)
88add_subdirectory(MCTargetDesc)
89add_subdirectory(TargetInfo)
90