llvm-project/llvm/lib/CodeGen/AsmPrinter
Nico Weber 2fb3c05b34 [asm] Merge EmitMSInlineAsmStr() and EmitGCCInlineAsmStr()
This basically reverts 1778831a3d, which split them.
Since they were split 9 years ago, EmitGCCInlineAsmStr() grew a bunch of
features that usually weren't added to EmitMSInlineAsmStr(), and
that was usually a mistake.  D71677, D113932, D114167 are all examples
of where things were backported to EmitMSInlineAsmStr().

The names were also not great. EmitMSInlineAsmStr() used to be called for `asm
inteldialect`, which clang produces for Microsoft-style __asm { ... } blocks as
well for GCC-style __asm__ / asm statements with -masm=intel. On the other hand,
EmitGCCInlineAsmStr() used to be called for `asm`, whic clang produces for
GCC-style __asm__ / asm statements with -masm=att (the default).

It's also less code (23 insertions, 188 deletions).

No behavior change.

Differential Revision: https://reviews.llvm.org/D114330
2021-11-22 11:49:57 -05:00
..
AIXException.cpp [AIX][XCOFF] generate eh_info when vector registers are saved according to the traceback table. 2021-06-22 13:01:31 -04:00
ARMException.cpp [CodeGen] Fix wrapping personality symbol on ARM 2021-09-28 15:01:05 -07:00
AccelTable.cpp [debug-info] refactor emitDwarfUnitLength 2021-02-25 21:00:25 -05:00
AddressPool.cpp [debug-info] refactor emitDwarfUnitLength 2021-02-25 21:00:25 -05:00
AddressPool.h
AsmPrinter.cpp [llvm] Use range-based for loops (NFC) 2021-11-20 18:42:10 -08:00
AsmPrinterDwarf.cpp Implement DW_CFA_LLVM_* for Heterogeneous Debugging 2021-06-14 08:51:50 +05:30
AsmPrinterInlineAsm.cpp [asm] Merge EmitMSInlineAsmStr() and EmitGCCInlineAsmStr() 2021-11-22 11:49:57 -05:00
ByteStreamer.h
CMakeLists.txt
CodeViewDebug.cpp [CodeView] Properly handle a DISubprogram in getScopeIndex. 2021-11-09 13:18:07 -05:00
CodeViewDebug.h [CodeView] Fortran debug info emission in Code View. 2021-11-02 15:06:21 -04:00
DIE.cpp DebugInfo: Add a DWARF FORM extension for addrx+offset references to reduce relocations 2021-01-28 10:20:02 -08:00
DIEHash.cpp [llvm] Use llvm::reverse (NFC) 2021-11-06 19:31:18 -07:00
DIEHash.h
DIEHashAttributes.def
DbgEntityHistoryCalculator.cpp [llvm] Use llvm::reverse (NFC) 2021-11-06 19:31:18 -07:00
DebugHandlerBase.cpp DebugInfo: Use the signedness of the underlying enum when encoding enum non-type-template-parameters 2021-09-24 17:02:55 -07:00
DebugLocEntry.h [AsmPrinter] DebugLocEntry::dump() - Use const-ref iterator in for-range loop. NFCI. 2021-09-17 12:11:54 +01:00
DebugLocStream.cpp
DebugLocStream.h
DwarfCFIException.cpp [MCAsmInfo] Support UsesCFIForDebug for targets with no exception handling 2021-05-06 04:53:45 +05:30
DwarfCompileUnit.cpp Don't add irrelevant items to queue in DwarfCompileUnit::createScopeChildrenDIE (NFC) 2021-11-17 00:01:20 +01:00
DwarfCompileUnit.h [DWARF] Revert sharing subprograms across CUs 2021-08-09 12:43:43 +01:00
DwarfDebug.cpp [DebugInfo] Fix end_sequence of debug_line in LTO Object 2021-11-14 20:19:47 -08:00
DwarfDebug.h [DebugInfo] Use DbgEntityKind in DbgEntity interface (NFC) 2021-11-17 00:01:20 +01:00
DwarfException.h [NFC] Delete the redundant member 'shouldEmitMoves' from DwarfCFIException class 2021-04-24 06:35:39 +05:30
DwarfExpression.cpp Fix unused lambda capture in a non-asserts build 2021-03-11 00:22:18 -08:00
DwarfExpression.h Fix unused lambda capture in a non-asserts build 2021-03-11 00:22:18 -08:00
DwarfFile.cpp
DwarfFile.h
DwarfStringPool.cpp
DwarfStringPool.h
DwarfUnit.cpp Revert "[DebugInfo] Only create concrete DIEs of concrete functions" 2021-11-10 10:52:15 +01:00
DwarfUnit.h [DWARF] Support new TAG DW_TAG_LLVM_annotation 2021-08-31 19:22:17 -07:00
EHStreamer.cpp [llvm] Use llvm::reverse (NFC) 2021-11-06 19:31:18 -07:00
EHStreamer.h
ErlangGCPrinter.cpp [GC][NFC] Move GCStrategy from CodeGen to IR 2021-05-13 12:31:59 +07:00
OcamlGCPrinter.cpp [GC][NFC] Move GCStrategy from CodeGen to IR 2021-05-13 12:31:59 +07:00
PseudoProbePrinter.cpp [CSSPGO] Avoid repeatedly computing md5 hash code for pseudo probe inline contexts. 2021-08-30 10:11:47 -07:00
PseudoProbePrinter.h [CSSPGO] Avoid repeatedly computing md5 hash code for pseudo probe inline contexts. 2021-08-30 10:11:47 -07:00
WasmException.cpp [WebAssembly] Make EH work with dynamic linking 2021-10-12 23:28:27 -07:00
WasmException.h
WinCFGuard.cpp
WinCFGuard.h
WinException.cpp Fix SEH table addresses for Windows 2021-08-20 22:32:12 +03:00
WinException.h Fix SEH table addresses for Windows 2021-08-20 22:32:12 +03:00