Revert r158337 "Move PPC host-CPU detection logic from PPCSubtarget into sys::getHost...
[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   XCoreRegisterInfo.cpp
19   XCoreSubtarget.cpp
20   XCoreTargetMachine.cpp
21   XCoreTargetObjectFile.cpp
22   XCoreSelectionDAGInfo.cpp
23   )
24
25 add_subdirectory(TargetInfo)
26 add_subdirectory(MCTargetDesc)