Merge XXXGenRegisterDesc.inc XXXGenRegisterNames.inc XXXGenRegisterInfo.h.inc
[oota-llvm.git] / lib / Target / Blackfin / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Blackfin.td)
2
3 tablegen(BlackfinGenRegisterInfo.inc -gen-register-info)
4 tablegen(BlackfinGenInstrNames.inc -gen-instr-enums)
5 tablegen(BlackfinGenInstrInfo.inc -gen-instr-desc)
6 tablegen(BlackfinGenAsmWriter.inc -gen-asm-writer)
7 tablegen(BlackfinGenDAGISel.inc -gen-dag-isel)
8 tablegen(BlackfinGenSubtarget.inc -gen-subtarget)
9 tablegen(BlackfinGenCallingConv.inc -gen-callingconv)
10 tablegen(BlackfinGenIntrinsics.inc -gen-tgt-intrinsic)
11
12 add_llvm_target(BlackfinCodeGen
13   BlackfinAsmPrinter.cpp
14   BlackfinInstrInfo.cpp
15   BlackfinIntrinsicInfo.cpp
16   BlackfinISelDAGToDAG.cpp
17   BlackfinISelLowering.cpp
18   BlackfinFrameLowering.cpp
19   BlackfinMCAsmInfo.cpp
20   BlackfinRegisterInfo.cpp
21   BlackfinSubtarget.cpp
22   BlackfinTargetMachine.cpp
23   BlackfinSelectionDAGInfo.cpp
24   )
25
26 add_subdirectory(TargetInfo)