1add_llvm_component_group(Lanai)
2
3set(LLVM_TARGET_DEFINITIONS Lanai.td)
4
5tablegen(LLVM LanaiGenAsmMatcher.inc -gen-asm-matcher)
6tablegen(LLVM LanaiGenAsmWriter.inc -gen-asm-writer)
7tablegen(LLVM LanaiGenCallingConv.inc -gen-callingconv)
8tablegen(LLVM LanaiGenDAGISel.inc -gen-dag-isel)
9tablegen(LLVM LanaiGenDisassemblerTables.inc -gen-disassembler)
10tablegen(LLVM LanaiGenInstrInfo.inc -gen-instr-info)
11tablegen(LLVM LanaiGenMCCodeEmitter.inc -gen-emitter)
12tablegen(LLVM LanaiGenRegisterInfo.inc -gen-register-info)
13tablegen(LLVM LanaiGenSubtargetInfo.inc -gen-subtarget)
14
15add_public_tablegen_target(LanaiCommonTableGen)
16
17add_llvm_target(LanaiCodeGen
18  LanaiAsmPrinter.cpp
19  LanaiDelaySlotFiller.cpp
20  LanaiFrameLowering.cpp
21  LanaiInstrInfo.cpp
22  LanaiISelDAGToDAG.cpp
23  LanaiISelLowering.cpp
24  LanaiMachineFunctionInfo.cpp
25  LanaiMCInstLower.cpp
26  LanaiMemAluCombiner.cpp
27  LanaiRegisterInfo.cpp
28  LanaiSelectionDAGInfo.cpp
29  LanaiSubtarget.cpp
30  LanaiTargetMachine.cpp
31  LanaiTargetObjectFile.cpp
32
33  LINK_COMPONENTS
34  Analysis
35  AsmPrinter
36  CodeGen
37  Core
38  LanaiAsmParser
39  LanaiDesc
40  LanaiInfo
41  MC
42  SelectionDAG
43  Support
44  Target
45  TransformUtils
46
47  ADD_TO_COMPONENT
48  Lanai
49)
50
51add_subdirectory(AsmParser)
52add_subdirectory(Disassembler)
53add_subdirectory(MCTargetDesc)
54add_subdirectory(TargetInfo)
55