diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-10-01 22:39:28 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-10-01 22:39:28 +0000 |
commit | 7ac1609a3b81504d269bf967060241c309771f23 (patch) | |
tree | 41cba4e9be873c1d0cd0d77a24d37531a725fbff | |
parent | e5e2c41b7f4247766773e2d89b1725ad03c39fe1 (diff) |
Rename the AsmPrinter directory to InstPrinter for those targets that have
been MC-ized for assembly printing. MSP430 is mostly so, but still has the
asm printer and lowering code in the printer subdir for the moment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115360 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | configure | 5 | ||||
-rw-r--r-- | lib/Target/ARM/ARMAsmPrinter.cpp | 2 | ||||
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp (renamed from lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp) | 0 | ||||
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.h (renamed from lib/Target/ARM/AsmPrinter/ARMInstPrinter.h) | 0 | ||||
-rw-r--r-- | lib/Target/ARM/InstPrinter/CMakeLists.txt (renamed from lib/Target/ARM/AsmPrinter/CMakeLists.txt) | 0 | ||||
-rw-r--r-- | lib/Target/ARM/InstPrinter/Makefile (renamed from lib/Target/ARM/AsmPrinter/Makefile) | 0 | ||||
-rw-r--r-- | lib/Target/ARM/Makefile | 2 | ||||
-rw-r--r-- | lib/Target/X86/InstPrinter/CMakeLists.txt (renamed from lib/Target/X86/AsmPrinter/CMakeLists.txt) | 0 | ||||
-rw-r--r-- | lib/Target/X86/InstPrinter/Makefile (renamed from lib/Target/X86/AsmPrinter/Makefile) | 0 | ||||
-rw-r--r-- | lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp (renamed from lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp) | 0 | ||||
-rw-r--r-- | lib/Target/X86/InstPrinter/X86ATTInstPrinter.h (renamed from lib/Target/X86/AsmPrinter/X86ATTInstPrinter.h) | 0 | ||||
-rw-r--r-- | lib/Target/X86/InstPrinter/X86InstComments.cpp (renamed from lib/Target/X86/AsmPrinter/X86InstComments.cpp) | 0 | ||||
-rw-r--r-- | lib/Target/X86/InstPrinter/X86InstComments.h (renamed from lib/Target/X86/AsmPrinter/X86InstComments.h) | 0 | ||||
-rw-r--r-- | lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp (renamed from lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp) | 0 | ||||
-rw-r--r-- | lib/Target/X86/InstPrinter/X86IntelInstPrinter.h (renamed from lib/Target/X86/AsmPrinter/X86IntelInstPrinter.h) | 0 | ||||
-rw-r--r-- | lib/Target/X86/Makefile | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86AsmPrinter.cpp | 4 |
17 files changed, 10 insertions, 5 deletions
@@ -5050,6 +5050,11 @@ for target_to_build in $TARGETS_TO_BUILD; do if test -f ${srcdir}/lib/Target/${target_to_build}/AsmPrinter/Makefile ; then LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS"; fi + # MC-ized AsmPrinters live in TARGET/InstPrinter, not AsmPrinter + if test -f ${srcdir}/lib/Target/${target_to_build}/InstPrinter/Makefile ; then + LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS"; + fi + if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS"; fi diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 8ed2daed86..fbe0317287 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -17,7 +17,7 @@ #include "ARMBuildAttrs.h" #include "ARMAddressingModes.h" #include "ARMConstantPoolValue.h" -#include "AsmPrinter/ARMInstPrinter.h" +#include "InstPrinter/ARMInstPrinter.h" #include "ARMMachineFunctionInfo.h" #include "ARMMCInstLower.h" #include "ARMTargetMachine.h" diff --git a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp index f97bf0b3d6..f97bf0b3d6 100644 --- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp diff --git a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h index 7bfb757cf3..7bfb757cf3 100644 --- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h diff --git a/lib/Target/ARM/AsmPrinter/CMakeLists.txt b/lib/Target/ARM/InstPrinter/CMakeLists.txt index 18645c0864..18645c0864 100644 --- a/lib/Target/ARM/AsmPrinter/CMakeLists.txt +++ b/lib/Target/ARM/InstPrinter/CMakeLists.txt diff --git a/lib/Target/ARM/AsmPrinter/Makefile b/lib/Target/ARM/InstPrinter/Makefile index 65d372e44b..65d372e44b 100644 --- a/lib/Target/ARM/AsmPrinter/Makefile +++ b/lib/Target/ARM/InstPrinter/Makefile diff --git a/lib/Target/ARM/Makefile b/lib/Target/ARM/Makefile index b3fcfaf6bd..63596c30e8 100644 --- a/lib/Target/ARM/Makefile +++ b/lib/Target/ARM/Makefile @@ -20,6 +20,6 @@ BUILT_SOURCES = ARMGenRegisterInfo.h.inc ARMGenRegisterNames.inc \ ARMGenDecoderTables.inc ARMGenEDInfo.inc \ ARMGenFastISel.inc -DIRS = AsmPrinter AsmParser Disassembler TargetInfo +DIRS = InstPrinter AsmParser Disassembler TargetInfo include $(LEVEL)/Makefile.common diff --git a/lib/Target/X86/AsmPrinter/CMakeLists.txt b/lib/Target/X86/InstPrinter/CMakeLists.txt index 033973eeef..033973eeef 100644 --- a/lib/Target/X86/AsmPrinter/CMakeLists.txt +++ b/lib/Target/X86/InstPrinter/CMakeLists.txt diff --git a/lib/Target/X86/AsmPrinter/Makefile b/lib/Target/X86/InstPrinter/Makefile index c82aa330a2..c82aa330a2 100644 --- a/lib/Target/X86/AsmPrinter/Makefile +++ b/lib/Target/X86/InstPrinter/Makefile diff --git a/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp index d6950f49f8..d6950f49f8 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp +++ b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp diff --git a/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.h b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h index eb98664301..eb98664301 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.h +++ b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h diff --git a/lib/Target/X86/AsmPrinter/X86InstComments.cpp b/lib/Target/X86/InstPrinter/X86InstComments.cpp index da9d5a3579..da9d5a3579 100644 --- a/lib/Target/X86/AsmPrinter/X86InstComments.cpp +++ b/lib/Target/X86/InstPrinter/X86InstComments.cpp diff --git a/lib/Target/X86/AsmPrinter/X86InstComments.h b/lib/Target/X86/InstPrinter/X86InstComments.h index 6b86db4f9e..6b86db4f9e 100644 --- a/lib/Target/X86/AsmPrinter/X86InstComments.h +++ b/lib/Target/X86/InstPrinter/X86InstComments.h diff --git a/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp b/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp index a553a7c19a..a553a7c19a 100644 --- a/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp +++ b/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp diff --git a/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.h b/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h index 6f12032274..6f12032274 100644 --- a/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.h +++ b/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h diff --git a/lib/Target/X86/Makefile b/lib/Target/X86/Makefile index f4ff894a2a..9c6415d6e8 100644 --- a/lib/Target/X86/Makefile +++ b/lib/Target/X86/Makefile @@ -20,6 +20,6 @@ BUILT_SOURCES = X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \ X86GenCallingConv.inc X86GenSubtarget.inc \ X86GenEDInfo.inc -DIRS = AsmPrinter AsmParser Disassembler TargetInfo +DIRS = InstPrinter AsmParser Disassembler TargetInfo include $(LEVEL)/Makefile.common diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index 7d7cec5d8d..85441b187e 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -13,8 +13,8 @@ //===----------------------------------------------------------------------===// #include "X86AsmPrinter.h" -#include "AsmPrinter/X86ATTInstPrinter.h" -#include "AsmPrinter/X86IntelInstPrinter.h" +#include "InstPrinter/X86ATTInstPrinter.h" +#include "InstPrinter/X86IntelInstPrinter.h" #include "X86MCInstLower.h" #include "X86.h" #include "X86COFFMachineModuleInfo.h" |