87428573073e276170f06258da1fa0ea4b3cf4af
[oota-llvm.git] / lib / Target / XCore / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS XCore.td)
2
3 tablegen(LLVM XCoreGenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM XCoreGenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM XCoreGenAsmWriter.inc -gen-asm-writer)
6 tablegen(LLVM XCoreGenDAGISel.inc -gen-dag-isel)
7 tablegen(LLVM XCoreGenCallingConv.inc -gen-callingconv)
8 tablegen(LLVM XCoreGenSubtargetInfo.inc -gen-subtarget)
9 add_public_tablegen_target(XCoreCommonTableGen)
10
11 add_llvm_target(XCoreCodeGen
12   XCoreAsmPrinter.cpp
13   XCoreFrameLowering.cpp
14   XCoreInstrInfo.cpp
15   XCoreISelDAGToDAG.cpp
16   XCoreISelLowering.cpp
17   XCoreMachineFunctionInfo.cpp
18   XCoreMCInstLower.cpp
19   XCoreRegisterInfo.cpp
20   XCoreSubtarget.cpp
21   XCoreTargetMachine.cpp
22   XCoreTargetObjectFile.cpp
23   XCoreSelectionDAGInfo.cpp
24   )
25
26 add_dependencies(LLVMXCoreCodeGen intrinsics_gen)
27
28 add_subdirectory(InstPrinter)
29 add_subdirectory(TargetInfo)
30 add_subdirectory(MCTargetDesc)