Starting to refactor Target to separate out code that's needed to fully describe
[oota-llvm.git] / lib / Target / Blackfin / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Blackfin.td)
2
3 tablegen(BlackfinGenRegisterNames.inc -gen-register-enums)
4 tablegen(BlackfinGenRegisterDesc.inc -gen-register-desc)
5 tablegen(BlackfinGenRegisterInfo.h.inc -gen-register-info-header)
6 tablegen(BlackfinGenRegisterInfo.inc -gen-register-info)
7 tablegen(BlackfinGenInstrNames.inc -gen-instr-enums)
8 tablegen(BlackfinGenInstrInfo.inc -gen-instr-desc)
9 tablegen(BlackfinGenAsmWriter.inc -gen-asm-writer)
10 tablegen(BlackfinGenDAGISel.inc -gen-dag-isel)
11 tablegen(BlackfinGenSubtarget.inc -gen-subtarget)
12 tablegen(BlackfinGenCallingConv.inc -gen-callingconv)
13 tablegen(BlackfinGenIntrinsics.inc -gen-tgt-intrinsic)
14
15 add_llvm_target(BlackfinCodeGen
16   BlackfinAsmPrinter.cpp
17   BlackfinInstrInfo.cpp
18   BlackfinIntrinsicInfo.cpp
19   BlackfinISelDAGToDAG.cpp
20   BlackfinISelLowering.cpp
21   BlackfinFrameLowering.cpp
22   BlackfinMCAsmInfo.cpp
23   BlackfinRegisterInfo.cpp
24   BlackfinSubtarget.cpp
25   BlackfinTargetMachine.cpp
26   BlackfinSelectionDAGInfo.cpp
27   )
28
29 add_subdirectory(TargetInfo)