mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 22:24:28 +00:00
Separate MIPS asmprinter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
12
lib/Target/Mips/AsmPrinter/CMakeLists.txt
Normal file
12
lib/Target/Mips/AsmPrinter/CMakeLists.txt
Normal file
@ -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})
|
17
lib/Target/Mips/AsmPrinter/Makefile
Normal file
17
lib/Target/Mips/AsmPrinter/Makefile
Normal file
@ -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
|
@ -10,8 +10,7 @@ tablegen(MipsGenDAGISel.inc -gen-dag-isel)
|
|||||||
tablegen(MipsGenCallingConv.inc -gen-callingconv)
|
tablegen(MipsGenCallingConv.inc -gen-callingconv)
|
||||||
tablegen(MipsGenSubtarget.inc -gen-subtarget)
|
tablegen(MipsGenSubtarget.inc -gen-subtarget)
|
||||||
|
|
||||||
add_llvm_target(Mips
|
add_llvm_target(MipsCodeGen
|
||||||
MipsAsmPrinter.cpp
|
|
||||||
MipsDelaySlotFiller.cpp
|
MipsDelaySlotFiller.cpp
|
||||||
MipsInstrInfo.cpp
|
MipsInstrInfo.cpp
|
||||||
MipsISelDAGToDAG.cpp
|
MipsISelDAGToDAG.cpp
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
##===----------------------------------------------------------------------===##
|
##===----------------------------------------------------------------------===##
|
||||||
LEVEL = ../../..
|
LEVEL = ../../..
|
||||||
LIBRARYNAME = LLVMMips
|
LIBRARYNAME = LLVMMipsCodeGen
|
||||||
TARGET = Mips
|
TARGET = Mips
|
||||||
|
|
||||||
# Make sure that tblgen is run, first thing.
|
# Make sure that tblgen is run, first thing.
|
||||||
@ -17,5 +17,7 @@ BUILT_SOURCES = MipsGenRegisterInfo.h.inc MipsGenRegisterNames.inc \
|
|||||||
MipsGenDAGISel.inc MipsGenCallingConv.inc \
|
MipsGenDAGISel.inc MipsGenCallingConv.inc \
|
||||||
MipsGenSubtarget.inc
|
MipsGenSubtarget.inc
|
||||||
|
|
||||||
|
DIRS = AsmPrinter
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user