LLVM 20.0.0git
MCAsmInfo.h
Go to the documentation of this file.
1//===-- llvm/MC/MCAsmInfo.h - Asm info --------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains a class to be used as the basis for target specific
10// asm writers. This class primarily takes care of global printing constants,
11// which are used in very similar ways across all targets.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_MC_MCASMINFO_H
16#define LLVM_MC_MCASMINFO_H
17
18#include "llvm/ADT/StringRef.h"
21#include <vector>
22
23namespace llvm {
24
25class MCContext;
26class MCCFIInstruction;
27class MCExpr;
28class MCSection;
29class MCStreamer;
30class MCSubtargetInfo;
31class MCSymbol;
32
33namespace WinEH {
34
35enum class EncodingType {
36 Invalid, /// Invalid
37 Alpha, /// Windows Alpha
38 Alpha64, /// Windows AXP64
39 ARM, /// Windows NT (Windows on ARM)
40 CE, /// Windows CE ARM, PowerPC, SH3, SH4
41 Itanium, /// Windows x64, Windows Itanium (IA-64)
42 X86, /// Windows x86, uses no CFI, just EH tables
43 MIPS = Alpha,
44};
45
46} // end namespace WinEH
47
48namespace LCOMM {
49
51
52} // end namespace LCOMM
53
54/// This class is intended to be used as a base class for asm
55/// properties and features specific to the target.
56class MCAsmInfo {
57public:
58 /// Assembly character literal syntax types.
60 ACLS_Unknown, /// Unknown; character literals not used by LLVM for this
61 /// target.
62 ACLS_SingleQuotePrefix, /// The desired character is prefixed by a single
63 /// quote, e.g., `'A`.
64 };
65
66protected:
67 //===------------------------------------------------------------------===//
68 // Properties to be set by the target writer, used to configure asm printer.
69 //
70
71 /// Code pointer size in bytes. Default is 4.
72 unsigned CodePointerSize = 4;
73
74 /// Size of the stack slot reserved for callee-saved registers, in bytes.
75 /// Default is same as pointer size.
77
78 /// True if target is little endian. Default is true.
79 bool IsLittleEndian = true;
80
81 /// True if target stack grow up. Default is false.
82 bool StackGrowsUp = false;
83
84 /// True if this target has the MachO .subsections_via_symbols directive.
85 /// Default is false.
87
88 /// True if this is a non-GNU COFF target. The COFF port of the GNU linker
89 /// doesn't handle associative comdats in the way that we would like to use
90 /// them.
92
93 /// True if this is a non-GNU COFF target. For GNU targets, we don't generate
94 /// constants into comdat sections.
96
97 /// True if this is an XCOFF target that supports visibility attributes as
98 /// part of .global, .weak, .extern, and .comm. Default is false.
100
101 // True if using the HLASM dialect on z/OS.
102 bool IsHLASM = false;
103
104 /// This is the maximum possible length of an instruction, which is needed to
105 /// compute the size of an inline asm. Defaults to 4.
106 unsigned MaxInstLength = 4;
107
108 /// Every possible instruction length is a multiple of this value. Factored
109 /// out in .debug_frame and .debug_line. Defaults to 1.
110 unsigned MinInstAlignment = 1;
111
112 /// The '$' token, when not referencing an identifier or constant, refers to
113 /// the current PC. Defaults to false.
114 bool DollarIsPC = false;
115
116 /// This string, if specified, is used to separate instructions from each
117 /// other when on the same line. Defaults to ';'
118 const char *SeparatorString;
119
120 /// This indicates the comment string used by the assembler. Defaults to
121 /// "#"
123
124 /// This indicates whether to allow additional "comment strings" to be lexed
125 /// as a comment. Setting this attribute to true, will ensure that C-style
126 /// line comments (// ..), C-style block comments (/* .. */), and "#" are
127 /// all treated as comments in addition to the string specified by the
128 /// CommentString attribute.
129 /// Default is true.
131
132 /// This is appended to emitted labels. Defaults to ":"
133 const char *LabelSuffix;
134
135 // Print the EH begin symbol with an assignment. Defaults to false.
137
138 // Do we need to create a local symbol for .size?
139 bool NeedsLocalForSize = false;
140
141 /// This prefix is used for globals like constant pool entries that are
142 /// completely private to the .s file and should not have names in the .o
143 /// file. Defaults to "L"
145
146 /// This prefix is used for labels for basic blocks. Defaults to the same as
147 /// PrivateGlobalPrefix.
149
150 /// This prefix is used for symbols that should be passed through the
151 /// assembler but be removed by the linker. This is 'l' on Darwin, currently
152 /// used for some ObjC metadata. The default of "" meast that for this system
153 /// a plain private symbol should be used. Defaults to "".
155
156 /// If these are nonempty, they contain a directive to emit before and after
157 /// an inline assembly statement. Defaults to "#APP\n", "#NO_APP\n"
158 const char *InlineAsmStart;
159 const char *InlineAsmEnd;
160
161 /// These are assembly directives that tells the assembler to interpret the
162 /// following instructions differently. Defaults to ".code16", ".code32",
163 /// ".code64".
164 const char *Code16Directive;
165 const char *Code32Directive;
166 const char *Code64Directive;
167
168 /// Which dialect of an assembler variant to use. Defaults to 0
169 unsigned AssemblerDialect = 0;
170
171 /// This is true if the assembler allows @ characters in symbol names.
172 /// Defaults to false.
173 bool AllowAtInName = false;
174
175 /// This is true if the assembler allows the "?" character at the start of
176 /// of a string to be lexed as an AsmToken::Identifier.
177 /// If the AsmLexer determines that the string can be lexed as a possible
178 /// comment, setting this option will have no effect, and the string will
179 /// still be lexed as a comment.
181
182 /// This is true if the assembler allows the "$" character at the start of
183 /// of a string to be lexed as an AsmToken::Identifier.
184 /// If the AsmLexer determines that the string can be lexed as a possible
185 /// comment, setting this option will have no effect, and the string will
186 /// still be lexed as a comment.
188
189 /// This is true if the assembler allows the "@" character at the start of
190 /// a string to be lexed as an AsmToken::Identifier.
191 /// If the AsmLexer determines that the string can be lexed as a possible
192 /// comment, setting this option will have no effect, and the string will
193 /// still be lexed as a comment.
195
196 /// If this is true, symbol names with invalid characters will be printed in
197 /// quotes.
199
200 /// This is true if data region markers should be printed as
201 /// ".data_region/.end_data_region" directives. If false, use "$d/$a" labels
202 /// instead.
204
205 /// True if .align is to be used for alignment. Only power-of-two
206 /// alignment is supported.
208
209 /// True if the target supports LEB128 directives.
211
212 /// True if full register names are printed.
214
215 //===--- Data Emission Directives -------------------------------------===//
216
217 /// This should be set to the directive used to get some number of zero (and
218 /// non-zero if supported by the directive) bytes emitted to the current
219 /// section. Common cases are "\t.zero\t" and "\t.space\t". Defaults to
220 /// "\t.zero\t"
221 const char *ZeroDirective;
222
223 /// This should be set to true if the zero directive supports a value to emit
224 /// other than zero. If this is set to false, the Data*bitsDirective's will be
225 /// used to emit these bytes. Defaults to true.
227
228 /// This directive allows emission of an ascii string with the standard C
229 /// escape characters embedded into it. If a target doesn't support this, it
230 /// can be set to null. Defaults to "\t.ascii\t"
231 const char *AsciiDirective;
232
233 /// If not null, this allows for special handling of zero terminated strings
234 /// on this target. This is commonly supported as ".asciz". If a target
235 /// doesn't support this, it can be set to null. Defaults to "\t.asciz\t"
236 const char *AscizDirective;
237
238 /// This directive accepts a comma-separated list of bytes for emission as a
239 /// string of bytes. For targets that do not support this, it shall be set to
240 /// null. Defaults to null.
241 const char *ByteListDirective = nullptr;
242
243 /// This directive allows emission of a zero-terminated ascii string without
244 /// the standard C escape characters embedded into it. If a target doesn't
245 /// support this, it can be set to null. Defaults to null.
246 const char *PlainStringDirective = nullptr;
247
248 /// Form used for character literals in the assembly syntax. Useful for
249 /// producing strings as byte lists. If a target does not use or support
250 /// this, it shall be set to ACLS_Unknown. Defaults to ACLS_Unknown.
252
253 /// These directives are used to output some unit of integer data to the
254 /// current section. If a data directive is set to null, smaller data
255 /// directives will be used to emit the large sizes. Defaults to "\t.byte\t",
256 /// "\t.short\t", "\t.long\t", "\t.quad\t"
261
262 /// True if data directives support signed values
264
265 /// If non-null, a directive that is used to emit a word which should be
266 /// relocated as a 64-bit GP-relative offset, e.g. .gpdword on Mips. Defaults
267 /// to nullptr.
268 const char *GPRel64Directive = nullptr;
269
270 /// If non-null, a directive that is used to emit a word which should be
271 /// relocated as a 32-bit GP-relative offset, e.g. .gpword on Mips or .gprel32
272 /// on Alpha. Defaults to nullptr.
273 const char *GPRel32Directive = nullptr;
274
275 /// If non-null, directives that are used to emit a word/dword which should
276 /// be relocated as a 32/64-bit DTP/TP-relative offset, e.g. .dtprelword/
277 /// .dtpreldword/.tprelword/.tpreldword on Mips.
278 const char *DTPRel32Directive = nullptr;
279 const char *DTPRel64Directive = nullptr;
280 const char *TPRel32Directive = nullptr;
281 const char *TPRel64Directive = nullptr;
282
283 /// This is true if this target uses "Sun Style" syntax for section switching
284 /// ("#alloc,#write" etc) instead of the normal ELF syntax (,"a,w") in
285 /// .section directives. Defaults to false.
287
288 /// This is true if this target uses ELF '.section' directive before the
289 /// '.bss' one. It's used for PPC/Linux which doesn't support the '.bss'
290 /// directive only. Defaults to false.
292
294
295 //===--- Alignment Information ----------------------------------------===//
296
297 /// If this is true (the default) then the asmprinter emits ".align N"
298 /// directives, where N is the number of bytes to align to. Otherwise, it
299 /// emits ".align log2(N)", e.g. 3 to align to an 8 byte boundary. Defaults
300 /// to true.
302
303 /// If non-zero, this is used to fill the executable space created as the
304 /// result of a alignment directive. Defaults to 0
305 unsigned TextAlignFillValue = 0;
306
307 //===--- Global Variable Emission Directives --------------------------===//
308
309 /// This is the directive used to declare a global entity. Defaults to
310 /// ".globl".
311 const char *GlobalDirective;
312
313 /// True if the expression
314 /// .long f - g
315 /// uses a relocation but it can be suppressed by writing
316 /// a = f - g
317 /// .long a
319
320 /// True is .comm's and .lcomms optional alignment is to be specified in bytes
321 /// instead of log2(n). Defaults to true.
323
324 /// Describes if the .lcomm directive for the target supports an alignment
325 /// argument and how it is interpreted. Defaults to NoAlignment.
327
328 /// True if the target only has basename for .file directive. False if the
329 /// target also needs the directory along with the basename. Defaults to true.
331
332 /// True if the target represents string constants as mostly raw characters in
333 /// paired double quotation with paired double quotation marks as the escape
334 /// mechanism to represent a double quotation mark within the string. Defaults
335 /// to false.
337
338 // True if the target allows .align directives on functions. This is true for
339 // most targets, so defaults to true.
341
342 /// True if the target has .type and .size directives, this is true for most
343 /// ELF targets. Defaults to true.
345
346 /// True if the target has a single parameter .file directive, this is true
347 /// for ELF targets. Defaults to true.
349
350 /// True if the target has a four strings .file directive, strings separated
351 /// by comma. Defaults to false.
353
354 /// True if the target has a .ident directive, this is true for ELF targets.
355 /// Defaults to false.
356 bool HasIdentDirective = false;
357
358 /// True if this target supports the MachO .no_dead_strip directive. Defaults
359 /// to false.
360 bool HasNoDeadStrip = false;
361
362 /// Used to declare a global as being a weak symbol. Defaults to ".weak".
363 const char *WeakDirective;
364
365 /// This directive, if non-null, is used to declare a global as being a weak
366 /// undefined symbol. Defaults to nullptr.
367 const char *WeakRefDirective = nullptr;
368
369 /// True if we have a directive to declare a global as being a weak defined
370 /// symbol that can be hidden (unexported). Defaults to false.
372
373 /// True if we should mark symbols as global instead of weak, for
374 /// weak*/linkonce*, if the symbol has a comdat.
375 /// Defaults to false.
376 bool AvoidWeakIfComdat = false;
377
378 /// This attribute, if not MCSA_Invalid, is used to declare a symbol as having
379 /// hidden visibility. Defaults to MCSA_Hidden.
381
382 /// This attribute, if not MCSA_Invalid, is used to declare a symbol as having
383 /// exported visibility. Defaults to MCSA_Exported.
385
386 /// This attribute, if not MCSA_Invalid, is used to declare an undefined
387 /// symbol as having hidden visibility. Defaults to MCSA_Hidden.
389
390 /// This attribute, if not MCSA_Invalid, is used to declare a symbol as having
391 /// protected visibility. Defaults to MCSA_Protected
393
395
396 //===--- Dwarf Emission Directives -----------------------------------===//
397
398 /// True if target supports emission of debugging information. Defaults to
399 /// false.
401
402 /// Exception handling format for the target. Defaults to None.
404
405 /// True if target uses CFI unwind information for other purposes than EH
406 /// (debugging / sanitizers) when `ExceptionsType == ExceptionHandling::None`.
407 bool UsesCFIWithoutEH = false;
408
409 /// Windows exception handling data (.pdata) encoding. Defaults to Invalid.
411
412 /// True if Dwarf2 output generally uses relocations for references to other
413 /// .debug_* sections.
415
416 /// True if DWARF FDE symbol reference relocations should be replaced by an
417 /// absolute difference.
419
420 /// True if the target supports generating the DWARF line table through using
421 /// the .loc/.file directives. Defaults to true.
423
424 /// True if DWARF `.file directory' directive syntax is used by
425 /// default.
427
428 /// True if the target needs the DWARF section length in the header (if any)
429 /// of the DWARF section in the assembly file. Defaults to true.
431
432 /// True if dwarf register numbers are printed instead of symbolic register
433 /// names in .cfi_* directives. Defaults to false.
434 bool DwarfRegNumForCFI = false;
435
436 /// True if target uses parens to indicate the symbol variant instead of @.
437 /// For example, foo(plt) instead of foo@plt. Defaults to false.
439
440 /// True if the target uses parens for symbol names starting with
441 /// '$' character to distinguish them from absolute names.
443
444 /// True if the target supports flags in ".loc" directive, false if only
445 /// location is allowed.
447
448 //===--- Prologue State ----------------------------------------------===//
449
450 std::vector<MCCFIInstruction> InitialFrameState;
451
452 //===--- Integrated Assembler Information ----------------------------===//
453
454 // Generated object files can use all ELF features supported by GNU ld of
455 // this binutils version and later. INT_MAX means all features can be used,
456 // regardless of GNU ld support. The default value is referenced by
457 // clang/Driver/Options.td.
458 std::pair<int, int> BinutilsVersion = {2, 26};
459
460 /// Should we use the integrated assembler?
461 /// The integrated assembler should be enabled by default (by the
462 /// constructors) when failing to parse a valid piece of assembly (inline
463 /// or otherwise) is considered a bug. It may then be overridden after
464 /// construction (see CodeGenTargetMachineImpl::initAsmInfo()).
466
467 /// Use AsmParser to parse inlineAsm when UseIntegratedAssembler is not set.
469
470 /// Preserve Comments in assembly
472
473 /// The column (zero-based) at which asm comments should be printed.
474 unsigned CommentColumn = 40;
475
476 /// True if the integrated assembler should interpret 'a >> b' constant
477 /// expressions as logical rather than arithmetic.
478 bool UseLogicalShr = true;
479
480 // If true, then the lexer and expression parser will support %neg(),
481 // %hi(), and similar unary operators.
482 bool HasMipsExpressions = false;
483
484 // If true, use Motorola-style integers in Assembly (ex. $0ac).
486
487 // If true, emit function descriptor symbol on AIX.
489
490public:
491 explicit MCAsmInfo();
492 virtual ~MCAsmInfo();
493
494 /// Get the code pointer size in bytes.
495 unsigned getCodePointerSize() const { return CodePointerSize; }
496
497 /// Get the callee-saved register stack slot
498 /// size in bytes.
499 unsigned getCalleeSaveStackSlotSize() const {
501 }
502
503 /// True if the target is little endian.
504 bool isLittleEndian() const { return IsLittleEndian; }
505
506 /// True if target stack grow up.
507 bool isStackGrowthDirectionUp() const { return StackGrowsUp; }
508
510
511 // Data directive accessors.
512
513 const char *getData8bitsDirective() const { return Data8bitsDirective; }
514 const char *getData16bitsDirective() const { return Data16bitsDirective; }
515 const char *getData32bitsDirective() const { return Data32bitsDirective; }
516 const char *getData64bitsDirective() const { return Data64bitsDirective; }
517 bool supportsSignedData() const { return SupportsSignedData; }
518 const char *getGPRel64Directive() const { return GPRel64Directive; }
519 const char *getGPRel32Directive() const { return GPRel32Directive; }
520 const char *getDTPRel64Directive() const { return DTPRel64Directive; }
521 const char *getDTPRel32Directive() const { return DTPRel32Directive; }
522 const char *getTPRel64Directive() const { return TPRel64Directive; }
523 const char *getTPRel32Directive() const { return TPRel32Directive; }
524
525 /// Targets can implement this method to specify a section to switch to if the
526 /// translation unit doesn't have any trampolines that require an executable
527 /// stack.
529 return nullptr;
530 }
531
532 virtual const MCExpr *getExprForPersonalitySymbol(const MCSymbol *Sym,
533 unsigned Encoding,
534 MCStreamer &Streamer) const;
535
536 virtual const MCExpr *getExprForFDESymbol(const MCSymbol *Sym,
537 unsigned Encoding,
538 MCStreamer &Streamer) const;
539
540 /// Return true if C is an acceptable character inside a symbol name.
541 virtual bool isAcceptableChar(char C) const;
542
543 /// Return true if the identifier \p Name does not need quotes to be
544 /// syntactically correct.
545 virtual bool isValidUnquotedName(StringRef Name) const;
546
547 /// Return true if the .section directive should be omitted when
548 /// emitting \p SectionName. For example:
549 ///
550 /// shouldOmitSectionDirective(".text")
551 ///
552 /// returns false => .section .text,#alloc,#execinstr
553 /// returns true => .text
555
558 }
559
562 }
563
566 }
567
568 // Accessors.
569
570 bool isHLASM() const { return IsHLASM; }
571 bool isMachO() const { return HasSubsectionsViaSymbols; }
576 }
577
578 /// Returns the maximum possible encoded instruction size in bytes. If \p STI
579 /// is null, this should be the maximum size for any subtarget.
580 virtual unsigned getMaxInstLength(const MCSubtargetInfo *STI = nullptr) const {
581 return MaxInstLength;
582 }
583
584 unsigned getMinInstAlignment() const { return MinInstAlignment; }
585 bool getDollarIsPC() const { return DollarIsPC; }
586 const char *getSeparatorString() const { return SeparatorString; }
587
588 unsigned getCommentColumn() const { return CommentColumn; }
589 void setCommentColumn(unsigned Col) { CommentColumn = Col; }
590
593 const char *getLabelSuffix() const { return LabelSuffix; }
594
596 bool needsLocalForSize() const { return NeedsLocalForSize; }
599
602 }
603
607 return getPrivateGlobalPrefix();
608 }
609
610 const char *getInlineAsmStart() const { return InlineAsmStart; }
611 const char *getInlineAsmEnd() const { return InlineAsmEnd; }
612 const char *getCode16Directive() const { return Code16Directive; }
613 const char *getCode32Directive() const { return Code32Directive; }
614 const char *getCode64Directive() const { return Code64Directive; }
615 unsigned getAssemblerDialect() const { return AssemblerDialect; }
616 bool doesAllowAtInName() const { return AllowAtInName; }
617 void setAllowAtInName(bool V) { AllowAtInName = V; }
620 }
623 }
626 }
628
631 }
632
635 }
636
638
641
642 const char *getZeroDirective() const { return ZeroDirective; }
645 }
646 const char *getAsciiDirective() const { return AsciiDirective; }
647 const char *getAscizDirective() const { return AscizDirective; }
648 const char *getByteListDirective() const { return ByteListDirective; }
649 const char *getPlainStringDirective() const { return PlainStringDirective; }
652 }
654 unsigned getTextAlignFillValue() const { return TextAlignFillValue; }
655 const char *getGlobalDirective() const { return GlobalDirective; }
656
659 }
660
663 }
664
667 }
668
671 }
674 }
679 bool hasIdentDirective() const { return HasIdentDirective; }
680 bool hasNoDeadStrip() const { return HasNoDeadStrip; }
681 const char *getWeakDirective() const { return WeakDirective; }
682 const char *getWeakRefDirective() const { return WeakRefDirective; }
683
686 }
687
688 bool avoidWeakIfComdat() const { return AvoidWeakIfComdat; }
689
691
693
696 }
697
700 }
701
703
705
708
710 ExceptionsType = EH;
711 }
712
713 bool usesCFIWithoutEH() const {
715 }
716
717 /// Returns true if the exception handling method for the platform uses call
718 /// frame information to unwind.
719 bool usesCFIForEH() const {
723 }
724
725 bool usesWindowsCFI() const {
729 }
730
733 }
734
740 }
743 }
744
747 }
748
751 }
752
755 }
756
757 void addInitialFrameState(const MCCFIInstruction &Inst);
758
759 const std::vector<MCCFIInstruction> &getInitialFrameState() const {
760 return InitialFrameState;
761 }
762
763 void setBinutilsVersion(std::pair<int, int> Value) {
765 }
766
767 /// Return true if assembly (inline or otherwise) should be parsed.
769
770 /// Return true if target want to use AsmParser to parse inlineasm.
773 }
774
775 bool binutilsIsAtLeast(int Major, int Minor) const {
776 return BinutilsVersion >= std::make_pair(Major, Minor);
777 }
778
779 /// Set whether assembly (inline or otherwise) should be parsed.
780 virtual void setUseIntegratedAssembler(bool Value) {
782 }
783
784 /// Set whether target want to use AsmParser to parse inlineasm.
787 }
788
789 /// Return true if assembly (inline or otherwise) should be parsed.
791
792 /// Set whether assembly (inline or otherwise) should be parsed.
793 virtual void setPreserveAsmComments(bool Value) {
795 }
796
797
798 bool shouldUseLogicalShr() const { return UseLogicalShr; }
799
800 bool hasMipsExpressions() const { return HasMipsExpressions; }
803};
804
805} // end namespace llvm
806
807#endif // LLVM_MC_MCASMINFO_H
std::string Name
Symbol * Sym
Definition: ELF_riscv.cpp:479
This class is intended to be used as a base class for asm properties and features specific to the tar...
Definition: MCAsmInfo.h:56
StringRef getPrivateGlobalPrefix() const
Definition: MCAsmInfo.h:597
bool needsFunctionDescriptors() const
Definition: MCAsmInfo.h:801
const char * Data16bitsDirective
Definition: MCAsmInfo.h:258
bool hasCOFFAssociativeComdats() const
Definition: MCAsmInfo.h:572
void addInitialFrameState(const MCCFIInstruction &Inst)
Definition: MCAsmInfo.cpp:75
bool NeedsDwarfSectionOffsetDirective
Definition: MCAsmInfo.h:293
bool useParensForSymbolVariant() const
Definition: MCAsmInfo.h:737
const char * getPlainStringDirective() const
Definition: MCAsmInfo.h:649
const char * getLabelSuffix() const
Definition: MCAsmInfo.h:593
void setAllowAtInName(bool V)
Definition: MCAsmInfo.h:617
MCSymbolAttr ExportedVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare a symbol as having exported visibility.
Definition: MCAsmInfo.h:384
bool preserveAsmComments() const
Return true if assembly (inline or otherwise) should be parsed.
Definition: MCAsmInfo.h:790
bool supportsSignedData() const
Definition: MCAsmInfo.h:517
const char * getInlineAsmStart() const
Definition: MCAsmInfo.h:610
bool isHLASM() const
Definition: MCAsmInfo.h:570
const char * DTPRel32Directive
If non-null, directives that are used to emit a word/dword which should be relocated as a 32/64-bit D...
Definition: MCAsmInfo.h:278
bool hasDotTypeDotSizeDirective() const
Definition: MCAsmInfo.h:676
bool isLittleEndian() const
True if the target is little endian.
Definition: MCAsmInfo.h:504
unsigned MinInstAlignment
Every possible instruction length is a multiple of this value.
Definition: MCAsmInfo.h:110
bool HasNoDeadStrip
True if this target supports the MachO .no_dead_strip directive.
Definition: MCAsmInfo.h:360
bool AllowAdditionalComments
This indicates whether to allow additional "comment strings" to be lexed as a comment.
Definition: MCAsmInfo.h:130
const char * PlainStringDirective
This directive allows emission of a zero-terminated ascii string without the standard C escape charac...
Definition: MCAsmInfo.h:246
unsigned TextAlignFillValue
If non-zero, this is used to fill the executable space created as the result of a alignment directive...
Definition: MCAsmInfo.h:305
bool AllowQuestionAtStartOfIdentifier
This is true if the assembler allows the "?" character at the start of of a string to be lexed as an ...
Definition: MCAsmInfo.h:180
bool useIntegratedAssembler() const
Return true if assembly (inline or otherwise) should be parsed.
Definition: MCAsmInfo.h:768
MCSymbolAttr ProtectedVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare a symbol as having protected visibility.
Definition: MCAsmInfo.h:392
bool HasFunctionAlignment
Definition: MCAsmInfo.h:340
bool HasBasenameOnlyForFileDirective
True if the target only has basename for .file directive.
Definition: MCAsmInfo.h:330
const char * AsciiDirective
This directive allows emission of an ascii string with the standard C escape characters embedded into...
Definition: MCAsmInfo.h:231
bool hasBasenameOnlyForFileDirective() const
Definition: MCAsmInfo.h:669
std::vector< MCCFIInstruction > InitialFrameState
Definition: MCAsmInfo.h:450
MCSymbolAttr getProtectedVisibilityAttr() const
Definition: MCAsmInfo.h:698
bool usesSunStyleELFSectionSwitchSyntax() const
Definition: MCAsmInfo.h:556
bool doesAllowDollarAtStartOfIdentifier() const
Definition: MCAsmInfo.h:624
const char * Code64Directive
Definition: MCAsmInfo.h:166
virtual unsigned getMaxInstLength(const MCSubtargetInfo *STI=nullptr) const
Returns the maximum possible encoded instruction size in bytes.
Definition: MCAsmInfo.h:580
unsigned getMinInstAlignment() const
Definition: MCAsmInfo.h:584
bool hasLEB128Directives() const
Definition: MCAsmInfo.h:637
bool doesSupportDataRegionDirectives() const
Definition: MCAsmInfo.h:629
const char * Code32Directive
Definition: MCAsmInfo.h:165
MCSymbolAttr getExportedVisibilityAttr() const
Definition: MCAsmInfo.h:692
const char * ByteListDirective
This directive accepts a comma-separated list of bytes for emission as a string of bytes.
Definition: MCAsmInfo.h:241
bool HasSubsectionsViaSymbols
True if this target has the MachO .subsections_via_symbols directive.
Definition: MCAsmInfo.h:86
const char * getTPRel64Directive() const
Definition: MCAsmInfo.h:522
bool HasFourStringsDotFile
True if the target has a four strings .file directive, strings separated by comma.
Definition: MCAsmInfo.h:352
const char * getData32bitsDirective() const
Definition: MCAsmInfo.h:515
const char * Data8bitsDirective
These directives are used to output some unit of integer data to the current section.
Definition: MCAsmInfo.h:257
const char * Data64bitsDirective
Definition: MCAsmInfo.h:260
const std::vector< MCCFIInstruction > & getInitialFrameState() const
Definition: MCAsmInfo.h:759
const char * DTPRel64Directive
Definition: MCAsmInfo.h:279
bool useFullRegisterNames() const
Definition: MCAsmInfo.h:639
bool hasFourStringsDotFile() const
Definition: MCAsmInfo.h:678
unsigned getAssemblerDialect() const
Definition: MCAsmInfo.h:615
virtual void setUseIntegratedAssembler(bool Value)
Set whether assembly (inline or otherwise) should be parsed.
Definition: MCAsmInfo.h:780
bool DollarIsPC
The '$' token, when not referencing an identifier or constant, refers to the current PC.
Definition: MCAsmInfo.h:114
virtual ~MCAsmInfo()
const char * getInlineAsmEnd() const
Definition: MCAsmInfo.h:611
bool HasVisibilityOnlyWithLinkage
True if this is an XCOFF target that supports visibility attributes as part of .global,...
Definition: MCAsmInfo.h:99
unsigned getTextAlignFillValue() const
Definition: MCAsmInfo.h:654
StringRef getLinkerPrivateGlobalPrefix() const
Definition: MCAsmInfo.h:604
bool doesAllowAtInName() const
Definition: MCAsmInfo.h:616
bool useDwarfRegNumForCFI() const
Definition: MCAsmInfo.h:736
bool useAssignmentForEHBegin() const
Definition: MCAsmInfo.h:595
bool usesCFIWithoutEH() const
Definition: MCAsmInfo.h:713
bool hasMipsExpressions() const
Definition: MCAsmInfo.h:800
bool supportsExtendedDwarfLocDirective() const
Definition: MCAsmInfo.h:741
bool AvoidWeakIfComdat
True if we should mark symbols as global instead of weak, for weak*‍/linkonce*, if the symbol has a c...
Definition: MCAsmInfo.h:376
bool UsesDwarfFileAndLocDirectives
True if the target supports generating the DWARF line table through using the .loc/....
Definition: MCAsmInfo.h:422
bool NeedsLocalForSize
Definition: MCAsmInfo.h:139
StringRef getPrivateLabelPrefix() const
Definition: MCAsmInfo.h:598
ExceptionHandling ExceptionsType
Exception handling format for the target. Defaults to None.
Definition: MCAsmInfo.h:403
bool AllowDollarAtStartOfIdentifier
This is true if the assembler allows the "$" character at the start of of a string to be lexed as an ...
Definition: MCAsmInfo.h:187
bool PreserveAsmComments
Preserve Comments in assembly.
Definition: MCAsmInfo.h:471
const char * LabelSuffix
This is appended to emitted labels. Defaults to ":".
Definition: MCAsmInfo.h:133
StringRef PrivateGlobalPrefix
This prefix is used for globals like constant pool entries that are completely private to the ....
Definition: MCAsmInfo.h:144
bool DwarfFDESymbolsUseAbsDiff
True if DWARF FDE symbol reference relocations should be replaced by an absolute difference.
Definition: MCAsmInfo.h:418
const char * getData8bitsDirective() const
Definition: MCAsmInfo.h:513
const char * getTPRel32Directive() const
Definition: MCAsmInfo.h:523
const char * TPRel64Directive
Definition: MCAsmInfo.h:281
const char * getData64bitsDirective() const
Definition: MCAsmInfo.h:516
AsmCharLiteralSyntax characterLiteralSyntax() const
Definition: MCAsmInfo.h:650
bool avoidWeakIfComdat() const
Definition: MCAsmInfo.h:688
bool UseDotAlignForAlignment
True if .align is to be used for alignment.
Definition: MCAsmInfo.h:207
const char * getByteListDirective() const
Definition: MCAsmInfo.h:648
bool SetDirectiveSuppressesReloc
True if the expression .long f - g uses a relocation but it can be suppressed by writing a = f - g ....
Definition: MCAsmInfo.h:318
bool hasVisibilityOnlyWithLinkage() const
Definition: MCAsmInfo.h:574
const char * getCode16Directive() const
Definition: MCAsmInfo.h:612
const char * Data32bitsDirective
Definition: MCAsmInfo.h:259
bool UseIntegratedAssembler
Should we use the integrated assembler? The integrated assembler should be enabled by default (by the...
Definition: MCAsmInfo.h:465
bool shouldUseMotorolaIntegers() const
Definition: MCAsmInfo.h:802
bool supportsNameQuoting() const
Definition: MCAsmInfo.h:627
bool AllowAtAtStartOfIdentifier
This is true if the assembler allows the "@" character at the start of a string to be lexed as an Asm...
Definition: MCAsmInfo.h:194
const char * getGPRel64Directive() const
Definition: MCAsmInfo.h:518
const char * Code16Directive
These are assembly directives that tells the assembler to interpret the following instructions differ...
Definition: MCAsmInfo.h:164
bool UseLogicalShr
True if the integrated assembler should interpret 'a >> b' constant expressions as logical rather tha...
Definition: MCAsmInfo.h:478
bool UseMotorolaIntegers
Definition: MCAsmInfo.h:485
MCSymbolAttr getHiddenDeclarationVisibilityAttr() const
Definition: MCAsmInfo.h:694
const char * GlobalDirective
This is the directive used to declare a global entity.
Definition: MCAsmInfo.h:311
LCOMM::LCOMMType LCOMMDirectiveAlignmentType
Describes if the .lcomm directive for the target supports an alignment argument and how it is interpr...
Definition: MCAsmInfo.h:326
bool hasWeakDefCanBeHiddenDirective() const
Definition: MCAsmInfo.h:684
WinEH::EncodingType WinEHEncodingType
Windows exception handling data (.pdata) encoding. Defaults to Invalid.
Definition: MCAsmInfo.h:410
bool HasCOFFComdatConstants
True if this is a non-GNU COFF target.
Definition: MCAsmInfo.h:95
virtual void setPreserveAsmComments(bool Value)
Set whether assembly (inline or otherwise) should be parsed.
Definition: MCAsmInfo.h:793
bool hasLinkerPrivateGlobalPrefix() const
Definition: MCAsmInfo.h:600
const char * WeakRefDirective
This directive, if non-null, is used to declare a global as being a weak undefined symbol.
Definition: MCAsmInfo.h:367
StringRef PrivateLabelPrefix
This prefix is used for labels for basic blocks.
Definition: MCAsmInfo.h:148
LCOMM::LCOMMType getLCOMMDirectiveAlignmentType() const
Definition: MCAsmInfo.h:665
bool needsDwarfSectionOffsetDirective() const
Definition: MCAsmInfo.h:564
bool shouldUseLogicalShr() const
Definition: MCAsmInfo.h:798
bool HasDotTypeDotSizeDirective
True if the target has .type and .size directives, this is true for most ELF targets.
Definition: MCAsmInfo.h:344
bool usesCFIForEH() const
Returns true if the exception handling method for the platform uses call frame information to unwind.
Definition: MCAsmInfo.h:719
bool AllowAtInName
This is true if the assembler allows @ characters in symbol names.
Definition: MCAsmInfo.h:173
unsigned CommentColumn
The column (zero-based) at which asm comments should be printed.
Definition: MCAsmInfo.h:474
unsigned MaxInstLength
This is the maximum possible length of an instruction, which is needed to compute the size of an inli...
Definition: MCAsmInfo.h:106
const char * TPRel32Directive
Definition: MCAsmInfo.h:280
bool HasWeakDefCanBeHiddenDirective
True if we have a directive to declare a global as being a weak defined symbol that can be hidden (un...
Definition: MCAsmInfo.h:371
StringRef getCommentString() const
Definition: MCAsmInfo.h:591
const char * getAscizDirective() const
Definition: MCAsmInfo.h:647
bool SunStyleELFSectionSwitchSyntax
This is true if this target uses "Sun Style" syntax for section switching ("#alloc,...
Definition: MCAsmInfo.h:286
const char * InlineAsmStart
If these are nonempty, they contain a directive to emit before and after an inline assembly statement...
Definition: MCAsmInfo.h:158
bool useParensForDollarSignNames() const
Definition: MCAsmInfo.h:738
bool UseAssignmentForEHBegin
Definition: MCAsmInfo.h:136
bool HasCOFFAssociativeComdats
True if this is a non-GNU COFF target.
Definition: MCAsmInfo.h:91
bool doesSupportDebugInformation() const
Definition: MCAsmInfo.h:704
bool doesSetDirectiveSuppressReloc() const
Definition: MCAsmInfo.h:657
bool ParseInlineAsmUsingAsmParser
Use AsmParser to parse inlineAsm when UseIntegratedAssembler is not set.
Definition: MCAsmInfo.h:468
WinEH::EncodingType getWinEHEncodingType() const
Definition: MCAsmInfo.h:707
bool doesDwarfUseRelocationsAcrossSections() const
Definition: MCAsmInfo.h:731
const char * getDTPRel64Directive() const
Definition: MCAsmInfo.h:520
bool UsesELFSectionDirectiveForBSS
This is true if this target uses ELF '.section' directive before the '.bss' one.
Definition: MCAsmInfo.h:291
virtual void setParseInlineAsmUsingAsmParser(bool Value)
Set whether target want to use AsmParser to parse inlineasm.
Definition: MCAsmInfo.h:785
const char * getZeroDirective() const
Definition: MCAsmInfo.h:642
bool EnableDwarfFileDirectoryDefault
True if DWARF ‘.file directory’ directive syntax is used by default.
Definition: MCAsmInfo.h:426
bool DwarfSectionSizeRequired
True if the target needs the DWARF section length in the header (if any) of the DWARF section in the ...
Definition: MCAsmInfo.h:430
MCSymbolAttr getMemtagAttr() const
Definition: MCAsmInfo.h:702
StringRef LinkerPrivateGlobalPrefix
This prefix is used for symbols that should be passed through the assembler but be removed by the lin...
Definition: MCAsmInfo.h:154
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:400
void setFullRegisterNames(bool V)
Definition: MCAsmInfo.h:640
const char * getWeakDirective() const
Definition: MCAsmInfo.h:681
virtual const MCExpr * getExprForFDESymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const
Definition: MCAsmInfo.cpp:87
bool StackGrowsUp
True if target stack grow up. Default is false.
Definition: MCAsmInfo.h:82
bool hasSubsectionsViaSymbols() const
Definition: MCAsmInfo.h:509
bool PPCUseFullRegisterNames
True if full register names are printed.
Definition: MCAsmInfo.h:213
const char * InlineAsmEnd
Definition: MCAsmInfo.h:159
const char * getData16bitsDirective() const
Definition: MCAsmInfo.h:514
const char * getSeparatorString() const
Definition: MCAsmInfo.h:586
bool SupportsSignedData
True if data directives support signed values.
Definition: MCAsmInfo.h:263
bool doesAllowAtAtStartOfIdentifier() const
Definition: MCAsmInfo.h:621
bool getCOMMDirectiveAlignmentIsInBytes() const
Definition: MCAsmInfo.h:661
bool isStackGrowthDirectionUp() const
True if target stack grow up.
Definition: MCAsmInfo.h:507
virtual bool isAcceptableChar(char C) const
Return true if C is an acceptable character inside a symbol name.
Definition: MCAsmInfo.cpp:101
unsigned AssemblerDialect
Which dialect of an assembler variant to use. Defaults to 0.
Definition: MCAsmInfo.h:169
const char * SeparatorString
This string, if specified, is used to separate instructions from each other when on the same line.
Definition: MCAsmInfo.h:118
virtual bool shouldOmitSectionDirective(StringRef SectionName) const
Return true if the .section directive should be omitted when emitting SectionName.
Definition: MCAsmInfo.cpp:122
MCSymbolAttr HiddenDeclarationVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare an undefined symbol as having hidden visibili...
Definition: MCAsmInfo.h:388
bool HasMipsExpressions
Definition: MCAsmInfo.h:482
bool hasPairedDoubleQuoteStringConstants() const
Definition: MCAsmInfo.h:672
const char * GPRel32Directive
If non-null, a directive that is used to emit a word which should be relocated as a 32-bit GP-relativ...
Definition: MCAsmInfo.h:273
bool shouldAllowAdditionalComments() const
Definition: MCAsmInfo.h:592
unsigned getCalleeSaveStackSlotSize() const
Get the callee-saved register stack slot size in bytes.
Definition: MCAsmInfo.h:499
bool UsesCFIWithoutEH
True if target uses CFI unwind information for other purposes than EH (debugging / sanitizers) when E...
Definition: MCAsmInfo.h:407
bool HasIdentDirective
True if the target has a .ident directive, this is true for ELF targets.
Definition: MCAsmInfo.h:356
bool isMachO() const
Definition: MCAsmInfo.h:571
bool UseParensForDollarSignNames
True if the target uses parens for symbol names starting with '$' character to distinguish them from ...
Definition: MCAsmInfo.h:442
bool DwarfUsesRelocationsAcrossSections
True if Dwarf2 output generally uses relocations for references to other .debug_* sections.
Definition: MCAsmInfo.h:414
bool needsDwarfSectionSizeInHeader() const
Definition: MCAsmInfo.h:749
bool parseInlineAsmUsingAsmParser() const
Return true if target want to use AsmParser to parse inlineasm.
Definition: MCAsmInfo.h:771
bool HasSingleParameterDotFile
True if the target has a single parameter .file directive, this is true for ELF targets.
Definition: MCAsmInfo.h:348
void setBinutilsVersion(std::pair< int, int > Value)
Definition: MCAsmInfo.h:763
bool doDwarfFDESymbolsUseAbsDiff() const
Definition: MCAsmInfo.h:735
const char * getGlobalDirective() const
Definition: MCAsmInfo.h:655
const char * getCode32Directive() const
Definition: MCAsmInfo.h:613
void setExceptionsType(ExceptionHandling EH)
Definition: MCAsmInfo.h:709
bool doesAllowQuestionAtStartOfIdentifier() const
Definition: MCAsmInfo.h:618
bool COMMDirectiveAlignmentIsInBytes
True is .comm's and .lcomms optional alignment is to be specified in bytes instead of log2(n).
Definition: MCAsmInfo.h:322
bool getAlignmentIsInBytes() const
Definition: MCAsmInfo.h:653
bool AlignmentIsInBytes
If this is true (the default) then the asmprinter emits ".align N" directives, where N is the number ...
Definition: MCAsmInfo.h:301
bool usesWindowsCFI() const
Definition: MCAsmInfo.h:725
bool usesELFSectionDirectiveForBSS() const
Definition: MCAsmInfo.h:560
AsmCharLiteralSyntax CharacterLiteralSyntax
Form used for character literals in the assembly syntax.
Definition: MCAsmInfo.h:251
bool getDollarIsPC() const
Definition: MCAsmInfo.h:585
bool SupportsExtendedDwarfLocDirective
True if the target supports flags in ".loc" directive, false if only location is allowed.
Definition: MCAsmInfo.h:446
bool NeedsFunctionDescriptors
Definition: MCAsmInfo.h:488
bool binutilsIsAtLeast(int Major, int Minor) const
Definition: MCAsmInfo.h:775
bool ZeroDirectiveSupportsNonZeroValue
This should be set to true if the zero directive supports a value to emit other than zero.
Definition: MCAsmInfo.h:226
const char * ZeroDirective
This should be set to the directive used to get some number of zero (and non-zero if supported by the...
Definition: MCAsmInfo.h:221
unsigned getCommentColumn() const
Definition: MCAsmInfo.h:588
MCSymbolAttr MemtagAttr
Definition: MCAsmInfo.h:394
MCSymbolAttr getHiddenVisibilityAttr() const
Definition: MCAsmInfo.h:690
const char * getCode64Directive() const
Definition: MCAsmInfo.h:614
bool SupportsQuotedNames
If this is true, symbol names with invalid characters will be printed in quotes.
Definition: MCAsmInfo.h:198
bool hasSingleParameterDotFile() const
Definition: MCAsmInfo.h:677
const char * AscizDirective
If not null, this allows for special handling of zero terminated strings on this target.
Definition: MCAsmInfo.h:236
bool UseDataRegionDirectives
This is true if data region markers should be printed as ".data_region/.end_data_region" directives.
Definition: MCAsmInfo.h:203
bool doesZeroDirectiveSupportNonZeroValue() const
Definition: MCAsmInfo.h:643
bool DwarfRegNumForCFI
True if dwarf register numbers are printed instead of symbolic register names in ....
Definition: MCAsmInfo.h:434
const char * getAsciiDirective() const
Definition: MCAsmInfo.h:646
bool IsLittleEndian
True if target is little endian. Default is true.
Definition: MCAsmInfo.h:79
AsmCharLiteralSyntax
Assembly character literal syntax types.
Definition: MCAsmInfo.h:59
@ ACLS_SingleQuotePrefix
Unknown; character literals not used by LLVM for this target.
Definition: MCAsmInfo.h:62
bool useDotAlignForAlignment() const
Definition: MCAsmInfo.h:633
unsigned CodePointerSize
Code pointer size in bytes. Default is 4.
Definition: MCAsmInfo.h:72
virtual const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const
Definition: MCAsmInfo.cpp:80
bool UseParensForSymbolVariant
True if target uses parens to indicate the symbol variant instead of .
Definition: MCAsmInfo.h:438
std::pair< int, int > BinutilsVersion
Definition: MCAsmInfo.h:458
bool HasLEB128Directives
True if the target supports LEB128 directives.
Definition: MCAsmInfo.h:210
unsigned CalleeSaveStackSlotSize
Size of the stack slot reserved for callee-saved registers, in bytes.
Definition: MCAsmInfo.h:76
const char * getGPRel32Directive() const
Definition: MCAsmInfo.h:519
const char * getWeakRefDirective() const
Definition: MCAsmInfo.h:682
bool hasCOFFComdatConstants() const
Definition: MCAsmInfo.h:573
MCSymbolAttr HiddenVisibilityAttr
This attribute, if not MCSA_Invalid, is used to declare a symbol as having hidden visibility.
Definition: MCAsmInfo.h:380
virtual bool isValidUnquotedName(StringRef Name) const
Return true if the identifier Name does not need quotes to be syntactically correct.
Definition: MCAsmInfo.cpp:108
const char * getDTPRel32Directive() const
Definition: MCAsmInfo.h:521
bool hasNoDeadStrip() const
Definition: MCAsmInfo.h:680
virtual MCSection * getNonexecutableStackSection(MCContext &Ctx) const
Targets can implement this method to specify a section to switch to if the translation unit doesn't h...
Definition: MCAsmInfo.h:528
ExceptionHandling getExceptionHandlingType() const
Definition: MCAsmInfo.h:706
StringRef CommentString
This indicates the comment string used by the assembler.
Definition: MCAsmInfo.h:122
bool needsLocalForSize() const
Definition: MCAsmInfo.h:596
const char * GPRel64Directive
If non-null, a directive that is used to emit a word which should be relocated as a 64-bit GP-relativ...
Definition: MCAsmInfo.h:268
const char * WeakDirective
Used to declare a global as being a weak symbol. Defaults to ".weak".
Definition: MCAsmInfo.h:363
void setCommentColumn(unsigned Col)
Definition: MCAsmInfo.h:589
bool hasFunctionAlignment() const
Definition: MCAsmInfo.h:675
bool enableDwarfFileDirectoryDefault() const
Definition: MCAsmInfo.h:753
bool HasPairedDoubleQuoteStringConstants
True if the target represents string constants as mostly raw characters in paired double quotation wi...
Definition: MCAsmInfo.h:336
bool usesDwarfFileAndLocDirectives() const
Definition: MCAsmInfo.h:745
bool hasIdentDirective() const
Definition: MCAsmInfo.h:679
unsigned getCodePointerSize() const
Get the code pointer size in bytes.
Definition: MCAsmInfo.h:495
Context object for machine code objects.
Definition: MCContext.h:83
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:34
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition: MCSection.h:36
Streaming machine code generation interface.
Definition: MCStreamer.h:213
Generic base class for all target subtargets.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:51
constexpr bool empty() const
empty - Check if the string is empty.
Definition: StringRef.h:147
LLVM Value Representation.
Definition: Value.h:74
@ C
The default llvm calling convention, compatible with C.
Definition: CallingConv.h:34
@ ByteAlignment
Definition: MCAsmInfo.h:50
@ Log2Alignment
Definition: MCAsmInfo.h:50
@ MIPS
Windows x86, uses no CFI, just EH tables.
@ Itanium
Windows CE ARM, PowerPC, SH3, SH4.
@ CE
Windows NT (Windows on ARM)
@ Alpha64
Windows Alpha.
@ X86
Windows x64, Windows Itanium (IA-64)
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
ExceptionHandling
@ ZOS
z/OS MVS Exception Handling.
@ None
No exception support.
@ DwarfCFI
DWARF-like instruction based exceptions.
@ WinEH
Windows Exception Handling.
MCSymbolAttr
Definition: MCDirectives.h:18
@ MCSA_Memtag
.memtag (ELF)
Definition: MCDirectives.h:50
@ MCSA_Protected
.protected (ELF)
Definition: MCDirectives.h:43
@ MCSA_Exported
.globl _foo, exported (XCOFF)
Definition: MCDirectives.h:34
@ MCSA_Hidden
.hidden (ELF)
Definition: MCDirectives.h:33