For Mips 16, add the optimization where the 16 bit form of addiu sp can be used
[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   XCoreMachineFunctionInfo.cpp
19   XCoreMCInstLower.cpp
20   XCoreRegisterInfo.cpp
21   XCoreSubtarget.cpp
22   XCoreTargetMachine.cpp
23   XCoreTargetObjectFile.cpp
24   XCoreSelectionDAGInfo.cpp
25   )
26
27 add_dependencies(LLVMXCoreCodeGen intrinsics_gen)
28
29 add_subdirectory(Disassembler)
30 add_subdirectory(InstPrinter)
31 add_subdirectory(TargetInfo)
32 add_subdirectory(MCTargetDesc)