Fixed accidental use of reserved identifier in r214709.
[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 XCoreGenDisassemblerTables.inc -gen-disassembler)
6 tablegen(LLVM XCoreGenAsmWriter.inc -gen-asm-writer)
7 tablegen(LLVM XCoreGenDAGISel.inc -gen-dag-isel)
8 tablegen(LLVM XCoreGenCallingConv.inc -gen-callingconv)
9 tablegen(LLVM XCoreGenSubtargetInfo.inc -gen-subtarget)
10 add_public_tablegen_target(XCoreCommonTableGen)
11
12 add_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
30 add_subdirectory(Disassembler)
31 add_subdirectory(InstPrinter)
32 add_subdirectory(TargetInfo)
33 add_subdirectory(MCTargetDesc)