xref: /llvm-project/llvm/lib/Target/M68k/CMakeLists.txt (revision 5d71ec6e448fa3ecb7e22368e97cf8274d5c84c6)
1add_llvm_component_group(M68k)
2
3set(LLVM_TARGET_DEFINITIONS M68k.td)
4
5tablegen(LLVM M68kGenGlobalISel.inc       -gen-global-isel)
6tablegen(LLVM M68kGenRegisterInfo.inc     -gen-register-info)
7tablegen(LLVM M68kGenRegisterBank.inc     -gen-register-bank)
8tablegen(LLVM M68kGenInstrInfo.inc        -gen-instr-info)
9tablegen(LLVM M68kGenSubtargetInfo.inc    -gen-subtarget)
10tablegen(LLVM M68kGenMCCodeEmitter.inc    -gen-emitter)
11tablegen(LLVM M68kGenMCPseudoLowering.inc -gen-pseudo-lowering)
12tablegen(LLVM M68kGenDAGISel.inc          -gen-dag-isel)
13tablegen(LLVM M68kGenCallingConv.inc      -gen-callingconv)
14tablegen(LLVM M68kGenAsmWriter.inc        -gen-asm-writer)
15tablegen(LLVM M68kGenAsmMatcher.inc       -gen-asm-matcher)
16tablegen(LLVM M68kGenDisassemblerTable.inc -gen-disassembler)
17
18add_public_tablegen_target(M68kCommonTableGen)
19
20add_llvm_target(M68kCodeGen
21  GISel/M68kCallLowering.cpp
22  GISel/M68kInstructionSelector.cpp
23  GISel/M68kLegalizerInfo.cpp
24  GISel/M68kRegisterBankInfo.cpp
25  M68kAsmPrinter.cpp
26  M68kCollapseMOVEMPass.cpp
27  M68kExpandPseudo.cpp
28  M68kFrameLowering.cpp
29  M68kInstrInfo.cpp
30  M68kISelLowering.cpp
31  M68kISelDAGToDAG.cpp
32  M68kMachineFunction.cpp
33  M68kMCInstLower.cpp
34  M68kRegisterInfo.cpp
35  M68kSubtarget.cpp
36  M68kTargetMachine.cpp
37  M68kTargetObjectFile.cpp
38
39  LINK_COMPONENTS
40  Analysis
41  AsmPrinter
42  CodeGen
43  CodeGenTypes
44  Core
45  GlobalISel
46  M68kDesc
47  M68kInfo
48  MC
49  SelectionDAG
50  Support
51  Target
52
53  ADD_TO_COMPONENT
54  M68k
55  )
56
57add_subdirectory(TargetInfo)
58add_subdirectory(MCTargetDesc)
59add_subdirectory(AsmParser)
60add_subdirectory(Disassembler)
61