llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc
Florian Hahn b2f4c5fddc
[AsmWriter] Factor out mnemonic generation to accessible getMnemonic.
This patch factors out the part of printInstruction that gets the
mnemonic string for a given MCInst. This is intended to be used
subsequently for the instruction-mix remarks to display the final
mnemonic (D90040).

Unfortunately making `getMnemonic` available to the AsmPrinter
seems to require making it virtual. Not sure if there's a way around
that with the current layering of the AsmPrinters.

Reviewed By: Paul-C-Anagnostopoulos

Differential Revision: https://reviews.llvm.org/D90039
2020-11-17 09:47:38 +00:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
HexagonAsmBackend.cpp [MC] Fix memory leak when allocating MCInst with bump allocator 2020-08-03 16:08:26 -07:00
HexagonBaseInfo.h
HexagonELFObjectWriter.cpp
HexagonFixupKinds.h
HexagonInstPrinter.cpp
HexagonInstPrinter.h [AsmWriter] Factor out mnemonic generation to accessible getMnemonic. 2020-11-17 09:47:38 +00:00
HexagonMCAsmInfo.cpp
HexagonMCAsmInfo.h
HexagonMCChecker.cpp [Hexagon] pX.new cannot be used with p3:0 as producer 2020-05-19 17:06:34 -05:00
HexagonMCChecker.h
HexagonMCCodeEmitter.cpp
HexagonMCCodeEmitter.h
HexagonMCCompound.cpp [MC] Fix memory leak when allocating MCInst with bump allocator 2020-08-03 16:08:26 -07:00
HexagonMCDuplexInfo.cpp
HexagonMCELFStreamer.cpp
HexagonMCELFStreamer.h
HexagonMCExpr.cpp
HexagonMCExpr.h [Hexagon] Remove unused forward declarations. NFC. 2020-04-22 18:26:50 +01:00
HexagonMCInstrInfo.cpp
HexagonMCInstrInfo.h
HexagonMCShuffler.cpp
HexagonMCShuffler.h
HexagonMCTargetDesc.cpp [X86][MC][Target] Initial backend support a tune CPU to support -mtune 2020-08-14 15:31:50 -07:00
HexagonMCTargetDesc.h [Hexagon] Remove unused forward declarations. NFC. 2020-04-22 18:26:50 +01:00
HexagonShuffler.cpp
HexagonShuffler.h HexagonShuffler.h - remove duplicate STLExtras.h include. NFC. 2020-04-24 13:27:56 +01:00