1set(LLVM_TARGET_DEFINITIONS XCore.td)
2
3tablegen(LLVM XCoreGenRegisterInfo.inc -gen-register-info)
4tablegen(LLVM XCoreGenInstrInfo.inc -gen-instr-info)
5tablegen(LLVM XCoreGenDisassemblerTables.inc -gen-disassembler)
6tablegen(LLVM XCoreGenAsmWriter.inc -gen-asm-writer)
7tablegen(LLVM XCoreGenDAGISel.inc -gen-dag-isel)
8tablegen(LLVM XCoreGenCallingConv.inc -gen-callingconv)
9tablegen(LLVM XCoreGenSubtargetInfo.inc -gen-subtarget)
10add_public_tablegen_target(XCoreCommonTableGen)
11
12add_llvm_target(XCoreCodeGen
13  XCoreAsmPrinter.cpp
14  XCoreFrameLowering.cpp
15  XCoreInstrInfo.cpp
16  XCoreISelDAGToDAG.cpp
17  XCoreISelLowering.cpp
18  XCoreLowerThreadLocal.cpp
19  XCoreMachineFunctionInfo.cpp
20  XCoreMCInstLower.cpp
21  XCoreRegisterInfo.cpp
22  XCoreSubtarget.cpp
23  XCoreTargetMachine.cpp
24  XCoreTargetObjectFile.cpp
25  XCoreTargetTransformInfo.cpp
26  XCoreSelectionDAGInfo.cpp
27  XCoreFrameToArgsOffsetElim.cpp
28  )
29
30add_subdirectory(Disassembler)
31add_subdirectory(InstPrinter)
32add_subdirectory(TargetInfo)
33add_subdirectory(MCTargetDesc)
34