diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-04-03 10:41:41 +0000 | 
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-04-03 10:41:41 +0000 | 
| commit | 06d2d8ba72ebd7da2b41cd40a14cafd29d53c0ae (patch) | |
| tree | f4700e98451dc13450514cb642bea596028434e6 /llvm/lib | |
| parent | 354171f060ee92328098a47c9fc028e12e00c6be (diff) | |
| download | bcm5719-llvm-06d2d8ba72ebd7da2b41cd40a14cafd29d53c0ae.tar.gz bcm5719-llvm-06d2d8ba72ebd7da2b41cd40a14cafd29d53c0ae.zip  | |
Separate MIPS asmprinter
llvm-svn: 68383
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/Mips/AsmPrinter/CMakeLists.txt | 12 | ||||
| -rw-r--r-- | llvm/lib/Target/Mips/AsmPrinter/Makefile | 17 | ||||
| -rw-r--r-- | llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp (renamed from llvm/lib/Target/Mips/MipsAsmPrinter.cpp) | 0 | ||||
| -rw-r--r-- | llvm/lib/Target/Mips/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | llvm/lib/Target/Mips/Makefile | 4 | 
5 files changed, 33 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/AsmPrinter/CMakeLists.txt b/llvm/lib/Target/Mips/AsmPrinter/CMakeLists.txt new file mode 100644 index 00000000000..6a868c2fc78 --- /dev/null +++ b/llvm/lib/Target/Mips/AsmPrinter/CMakeLists.txt @@ -0,0 +1,12 @@ +include_directories(
 +  ${CMAKE_CURRENT_BINARY_DIR}/..
 +  ${CMAKE_CURRENT_SOURCE_DIR}/..
 +  )
 +
 +add_partially_linked_object(LLVMMipsAsmPrinter
 +  MipsAsmPrinter.cpp
 +  )
 +
 +target_name_of_partially_linked_object(LLVMMipsCodeGen n)
 +
 +add_dependencies(LLVMMipsAsmPrinter ${n})
 diff --git a/llvm/lib/Target/Mips/AsmPrinter/Makefile b/llvm/lib/Target/Mips/AsmPrinter/Makefile new file mode 100644 index 00000000000..a2fecf44e8e --- /dev/null +++ b/llvm/lib/Target/Mips/AsmPrinter/Makefile @@ -0,0 +1,17 @@ +##===- lib/Target/Mips/AsmPrinter/Makefile -----------------*- Makefile -*-===## +# +#                     The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## + +LEVEL = ../../../.. +LIBRARYNAME = LLVMMipsAsmPrinter + +# Hack: we need to include 'main' Mips target directory to grab +# private headers +CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. + +include $(LEVEL)/Makefile.common diff --git a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp index 532c82df06f..532c82df06f 100644 --- a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp diff --git a/llvm/lib/Target/Mips/CMakeLists.txt b/llvm/lib/Target/Mips/CMakeLists.txt index b14e6caa654..70c7a51c285 100644 --- a/llvm/lib/Target/Mips/CMakeLists.txt +++ b/llvm/lib/Target/Mips/CMakeLists.txt @@ -10,8 +10,7 @@ tablegen(MipsGenDAGISel.inc -gen-dag-isel)  tablegen(MipsGenCallingConv.inc -gen-callingconv)  tablegen(MipsGenSubtarget.inc -gen-subtarget) -add_llvm_target(Mips -  MipsAsmPrinter.cpp +add_llvm_target(MipsCodeGen    MipsDelaySlotFiller.cpp    MipsInstrInfo.cpp    MipsISelDAGToDAG.cpp diff --git a/llvm/lib/Target/Mips/Makefile b/llvm/lib/Target/Mips/Makefile index d3905b702f4..48ab5f99470 100644 --- a/llvm/lib/Target/Mips/Makefile +++ b/llvm/lib/Target/Mips/Makefile @@ -7,7 +7,7 @@  #  ##===----------------------------------------------------------------------===##  LEVEL = ../../.. -LIBRARYNAME = LLVMMips +LIBRARYNAME = LLVMMipsCodeGen  TARGET = Mips  # Make sure that tblgen is run, first thing. @@ -17,5 +17,7 @@ BUILT_SOURCES = MipsGenRegisterInfo.h.inc MipsGenRegisterNames.inc \                  MipsGenDAGISel.inc MipsGenCallingConv.inc \                  MipsGenSubtarget.inc +DIRS = AsmPrinter +  include $(LEVEL)/Makefile.common  | 

