CMakeLists.txt revision 00d78f1348a5980a276bed8f9be09ce2412a6a12
1set(LLVM_TARGET_DEFINITIONS MSP430.td)
2
3tablegen(MSP430GenRegisterInfo.h.inc -gen-register-desc-header)
4tablegen(MSP430GenRegisterNames.inc -gen-register-enums)
5tablegen(MSP430GenRegisterInfo.inc -gen-register-desc)
6tablegen(MSP430GenInstrNames.inc -gen-instr-enums)
7tablegen(MSP430GenInstrInfo.inc -gen-instr-desc)
8tablegen(MSP430GenAsmWriter.inc -gen-asm-writer)
9tablegen(MSP430GenDAGISel.inc -gen-dag-isel)
10tablegen(MSP430GenCallingConv.inc -gen-callingconv)
11tablegen(MSP430GenSubtarget.inc -gen-subtarget)
12
13add_llvm_target(MSP430CodeGen
14  MSP430BranchSelector.cpp
15  MSP430ISelDAGToDAG.cpp
16  MSP430ISelLowering.cpp
17  MSP430InstrInfo.cpp
18  MSP430FrameLowering.cpp
19  MSP430MCAsmInfo.cpp
20  MSP430RegisterInfo.cpp
21  MSP430Subtarget.cpp
22  MSP430TargetMachine.cpp
23  MSP430SelectionDAGInfo.cpp
24  MSP430AsmPrinter.cpp
25  MSP430MCInstLower.cpp
26  )
27
28add_subdirectory(InstPrinter)
29add_subdirectory(TargetInfo)
30