1add_llvm_component_group(MSP430)
2
3set(LLVM_TARGET_DEFINITIONS MSP430.td)
4
5tablegen(LLVM MSP430GenAsmMatcher.inc -gen-asm-matcher)
6tablegen(LLVM MSP430GenAsmWriter.inc -gen-asm-writer)
7tablegen(LLVM MSP430GenCallingConv.inc -gen-callingconv)
8tablegen(LLVM MSP430GenDAGISel.inc -gen-dag-isel)
9tablegen(LLVM MSP430GenDisassemblerTables.inc -gen-disassembler)
10tablegen(LLVM MSP430GenInstrInfo.inc -gen-instr-info)
11tablegen(LLVM MSP430GenMCCodeEmitter.inc -gen-emitter)
12tablegen(LLVM MSP430GenRegisterInfo.inc -gen-register-info)
13tablegen(LLVM MSP430GenSubtargetInfo.inc -gen-subtarget)
14
15add_public_tablegen_target(MSP430CommonTableGen)
16
17add_llvm_target(MSP430CodeGen
18  MSP430BranchSelector.cpp
19  MSP430ISelDAGToDAG.cpp
20  MSP430ISelLowering.cpp
21  MSP430InstrInfo.cpp
22  MSP430FrameLowering.cpp
23  MSP430MachineFunctionInfo.cpp
24  MSP430RegisterInfo.cpp
25  MSP430Subtarget.cpp
26  MSP430TargetMachine.cpp
27  MSP430AsmPrinter.cpp
28  MSP430MCInstLower.cpp
29
30  LINK_COMPONENTS
31  AsmPrinter
32  CodeGen
33  Core
34  MC
35  MSP430Desc
36  MSP430Info
37  SelectionDAG
38  Support
39  Target
40
41  ADD_TO_COMPONENT
42  MSP430
43  )
44
45add_subdirectory(MCTargetDesc)
46add_subdirectory(TargetInfo)
47add_subdirectory(AsmParser)
48add_subdirectory(Disassembler)
49