llvm-project/llvm/lib/Target/X86/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
X86ATTInstPrinter.cpp [llvm-objdump] Symbolize binary addresses for low-noisy asm diff. 2020-08-17 16:55:12 -07:00
X86ATTInstPrinter.h [AsmWriter] Factor out mnemonic generation to accessible getMnemonic. 2020-11-17 09:47:38 +00:00
X86AsmBackend.cpp [X86] Cleanup/add namespace closure comments. NFCI. 2020-09-22 15:06:58 +01:00
X86BaseInfo.h [X86] Support Intel avxvnni 2020-10-31 12:39:51 +08:00
X86ELFObjectWriter.cpp [MC][X86] Make .reloc support arbitrary relocation types 2020-03-27 13:33:15 -07:00
X86FixupKinds.h
X86InstComments.cpp [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC 2020-04-13 10:14:08 -07:00
X86InstComments.h
X86InstPrinterCommon.cpp [X86] Support Intel avxvnni 2020-10-31 12:39:51 +08:00
X86InstPrinterCommon.h [MCInstPrinter] Pass `Address` parameter to MCOI::OPERAND_PCREL typed operands. NFC 2020-03-26 08:21:15 -07:00
X86IntelInstPrinter.cpp [llvm-objdump] Symbolize binary addresses for low-noisy asm diff. 2020-08-17 16:55:12 -07:00
X86IntelInstPrinter.h [AsmWriter] Factor out mnemonic generation to accessible getMnemonic. 2020-11-17 09:47:38 +00:00
X86MCAsmInfo.cpp [MC] Default MCAsmInfo::UseIntegratedAssembler to true 2020-04-11 10:13:52 -07:00
X86MCAsmInfo.h X86MCAsmInfo.h - remove unnecessary MCAsmInfo.h include. NFC. 2020-04-20 11:39:38 +01:00
X86MCCodeEmitter.cpp [X86] Produce R_X86_64_GOTPCRELX for test/binop instructions (MOV32rm/TEST32rm/...) when -Wa,-mrelax-relocations=yes is enabled 2020-10-24 15:14:17 -07:00
X86MCExpr.h
X86MCTargetDesc.cpp [X86][MC][Target] Initial backend support a tune CPU to support -mtune 2020-08-14 15:31:50 -07:00
X86MCTargetDesc.h [X86] X86MCTargetDesc - ensure the declaration/definition variable names match. NFCI. 2020-10-31 11:50:00 +00:00
X86MachObjectWriter.cpp [X86] Cleanup/add namespace closure comments. NFCI. 2020-09-22 15:06:58 +01:00
X86ShuffleDecode.cpp [X86] Cleanup/add namespace closure comments. NFCI. 2020-09-22 15:06:58 +01:00
X86ShuffleDecode.h [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC 2020-04-13 10:14:08 -07:00
X86TargetStreamer.h
X86WinCOFFObjectWriter.cpp
X86WinCOFFStreamer.cpp [X86] Cleanup/add namespace closure comments. NFCI. 2020-09-22 15:06:58 +01:00
X86WinCOFFTargetStreamer.cpp