diff options
Diffstat (limited to 'lib/Target/Mips/CMakeLists.txt')
-rw-r--r-- | lib/Target/Mips/CMakeLists.txt | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/lib/Target/Mips/CMakeLists.txt b/lib/Target/Mips/CMakeLists.txt index 36ab1a9..1b4329b 100644 --- a/lib/Target/Mips/CMakeLists.txt +++ b/lib/Target/Mips/CMakeLists.txt @@ -1,17 +1,20 @@ set(LLVM_TARGET_DEFINITIONS Mips.td) -tablegen(MipsGenRegisterInfo.inc -gen-register-info) -tablegen(MipsGenInstrInfo.inc -gen-instr-info) -tablegen(MipsGenAsmWriter.inc -gen-asm-writer) -tablegen(MipsGenDAGISel.inc -gen-dag-isel) -tablegen(MipsGenCallingConv.inc -gen-callingconv) -tablegen(MipsGenSubtargetInfo.inc -gen-subtarget) +llvm_tablegen(MipsGenRegisterInfo.inc -gen-register-info) +llvm_tablegen(MipsGenInstrInfo.inc -gen-instr-info) +llvm_tablegen(MipsGenAsmWriter.inc -gen-asm-writer) +llvm_tablegen(MipsGenDAGISel.inc -gen-dag-isel) +llvm_tablegen(MipsGenCallingConv.inc -gen-callingconv) +llvm_tablegen(MipsGenSubtargetInfo.inc -gen-subtarget) +add_public_tablegen_target(MipsCommonTableGen) add_llvm_target(MipsCodeGen MipsAsmPrinter.cpp + MipsCodeEmitter.cpp MipsDelaySlotFiller.cpp MipsEmitGPRestore.cpp MipsExpandPseudo.cpp + MipsJITInfo.cpp MipsInstrInfo.cpp MipsISelDAGToDAG.cpp MipsISelLowering.cpp @@ -25,6 +28,19 @@ add_llvm_target(MipsCodeGen MipsSelectionDAGInfo.cpp ) +add_llvm_library_dependencies(LLVMMipsCodeGen + LLVMAsmPrinter + LLVMCodeGen + LLVMCore + LLVMMC + LLVMMipsAsmPrinter + LLVMMipsDesc + LLVMMipsInfo + LLVMSelectionDAG + LLVMSupport + LLVMTarget + ) + add_subdirectory(InstPrinter) add_subdirectory(TargetInfo) add_subdirectory(MCTargetDesc) |