Move getOpcodeName from the various target InstPrinters into the superclass MCInstPri...
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 2 Apr 2012 08:32:38 +0000 (08:32 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 2 Apr 2012 08:32:38 +0000 (08:32 +0000)
commitc97ef618d2d849a272a353c2b4343fc5902cd921
treed2c5330be5ec0c4964a9e87564b9ec6ce504e3fc
parentfab3f7ee6f2adca5037f597ce4f28c5acdcbd852
Move getOpcodeName from the various target InstPrinters into the superclass MCInstPrinter.

All implementations used the same code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153866 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/MC/MCInstPrinter.h
lib/MC/MCInstPrinter.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.h
lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
lib/Target/Mips/InstPrinter/MipsInstPrinter.h
lib/Target/PTX/InstPrinter/PTXInstPrinter.cpp
lib/Target/PTX/InstPrinter/PTXInstPrinter.h
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
lib/Target/X86/InstPrinter/X86IntelInstPrinter.h