There are some Mips instructions that are lowered by the
[oota-llvm.git] / lib / Target / Mips / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Mips.td)
2
3 tablegen(LLVM MipsGenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM MipsGenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM MipsGenDisassemblerTables.inc -gen-disassembler)
6 tablegen(LLVM MipsGenCodeEmitter.inc -gen-emitter)
7 tablegen(LLVM MipsGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
8 tablegen(LLVM MipsGenAsmWriter.inc -gen-asm-writer)
9 tablegen(LLVM MipsGenDAGISel.inc -gen-dag-isel)
10 tablegen(LLVM MipsGenCallingConv.inc -gen-callingconv)
11 tablegen(LLVM MipsGenSubtargetInfo.inc -gen-subtarget)
12 tablegen(LLVM MipsGenEDInfo.inc -gen-enhanced-disassembly-info)
13 tablegen(LLVM MipsGenAsmMatcher.inc -gen-asm-matcher)
14 add_public_tablegen_target(MipsCommonTableGen)
15
16 add_llvm_target(MipsCodeGen
17   Mips16FrameLowering.cpp
18   Mips16InstrInfo.cpp
19   Mips16RegisterInfo.cpp
20   MipsAnalyzeImmediate.cpp
21   MipsAsmPrinter.cpp
22   MipsCodeEmitter.cpp
23   MipsDelaySlotFiller.cpp
24   MipsDirectObjLower.cpp
25   MipsELFWriterInfo.cpp
26   MipsJITInfo.cpp
27   MipsInstrInfo.cpp
28   MipsISelDAGToDAG.cpp
29   MipsISelLowering.cpp
30   MipsFrameLowering.cpp
31   MipsLongBranch.cpp
32   MipsMCInstLower.cpp
33   MipsMachineFunction.cpp
34   MipsRegisterInfo.cpp
35   MipsSEFrameLowering.cpp
36   MipsSEInstrInfo.cpp
37   MipsSERegisterInfo.cpp
38   MipsSubtarget.cpp
39   MipsTargetMachine.cpp
40   MipsTargetObjectFile.cpp
41   MipsSelectionDAGInfo.cpp
42   )
43
44 add_dependencies(LLVMMipsCodeGen intrinsics_gen)
45
46 add_subdirectory(InstPrinter)
47 add_subdirectory(Disassembler)
48 add_subdirectory(TargetInfo)
49 add_subdirectory(MCTargetDesc)
50 add_subdirectory(AsmParser)