[PGO] Convert InstrProfRecord based serialization methods to use common C methods
[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   XCoreSelectionDAGInfo.cpp
26   XCoreFrameToArgsOffsetElim.cpp
27   )
28
29 add_subdirectory(Disassembler)
30 add_subdirectory(InstPrinter)
31 add_subdirectory(TargetInfo)
32 add_subdirectory(MCTargetDesc)