164 return AE->print(OS, &MAI);
173 if (WrapSubExprInParens)
176 if (WrapSubExprInParens)
225 return AE->print(OS, &MAI);
228 if (!Str.empty() && Str[0] ==
'%')
231 if (!Str.empty() && Str[0] ==
'%')
constexpr auto COFFAtSpecifiers
constexpr EnumStringDef< MCAsmInfo::AtSpecifierKind > COFFAtSpecifierDefs[]
constexpr EnumStringDef< MCAsmInfo::AtSpecifierKind > ELFAtSpecifierDefs[]
constexpr auto ELFAtSpecifiers
static bool evaluate(const MCSpecifierExpr &Expr, MCValue &Res, const MCAssembler *Asm)
constexpr auto MachOAtSpecifiers
constexpr EnumStringDef< MCAsmInfo::AtSpecifierKind > MachOAtSpecifierDefs[]
#define BUILD_ENUM_STRINGS(Tab)
void print(raw_ostream &OS, const MCAsmInfo *MAI) const
bool hasAddressDiversity() const
MCAsmInfoDarwin(const MCTargetOptions &Options)
MCAsmInfoELF(const Triple &TT, const MCTargetOptions &Options)
MCAsmInfoGNUCOFF(const MCTargetOptions &Options)
MCAsmInfoMicrosoft(const MCTargetOptions &Options)
This class is intended to be used as a base class for asm properties and features specific to the tar...
StringRef InternalSymbolPrefix
For internal use by compiler and assembler, not meant to be visible externally.
const char * Data16bitsDirective
bool(* SpecifierExprEvaluateFn)(const MCSpecifierExpr &E, MCValue &Res, const MCAssembler *Asm)
bool UseAtForSpecifier
True if target uses @ (expr@specifier) for relocation specifiers.
const char * Data64bitsDirective
const char * Data32bitsDirective
WinEH::EncodingType WinEHEncodingType
Windows exception handling data (.pdata) encoding. Defaults to Invalid.
const char * WeakRefDirective
This directive, if non-null, is used to declare a global as being a weak undefined symbol.
void printExpr(raw_ostream &, const MCExpr &) const
SmallDenseSet< StringRef, 8 > SectionDirectives
Sections whose name also is supported as a directive without an explicit ".section" directive.
bool SupportsDebugInformation
True if target supports emission of debugging information.
void(* SpecifierExprPrintFn)(const MCAsmInfo &, raw_ostream &, const MCSpecifierExpr &)
unsigned AssemblerDialect
Which dialect of an assembler variant to use. Defaults to 0.
const char * SeparatorString
This string, if specified, is used to separate instructions from each other when on the same line.
bool HasIdentDirective
True if the target has a .ident directive, this is true for ELF targets.
bool AlignmentIsInBytes
If this is true (the default) then the asmprinter emits ".align N" directives, where N is the number ...
void initializeAtSpecifiers(EnumStrings< AtSpecifierKind, 1 >)
bool UseDataRegionDirectives
This is true if data region markers should be printed as ".data_region/.end_data_region" directives.
uint16_t DwarfPersonalitySymbolSpec
The optional specifier to use for the personality symbol references.
bool IsLittleEndian
True if target is little endian. Default is true.
unsigned CodePointerSize
Code pointer size in bytes. Default is 4.
unsigned CalleeSaveStackSlotSize
Size of the stack slot reserved for callee-saved registers, in bytes.
StringRef CommentString
This indicates the comment string used by the assembler.
LLVM_ABI bool evaluateAsRelocatable(MCValue &Res, const MCAssembler *Asm) const
Try to evaluate the expression to a relocatable value, i.e.
Extension point for target-specific MCExpr subclasses with a relocation specifier,...
const MCExpr * getSubExpr() const
Spec getSpecifier() const
void setSpecifier(uint32_t S)
const MCSymbol * getSubSym() const
Represent a constant reference to a string, i.e.
A switch()-like statement whose cases are string literals.
StringSwitch & Case(StringLiteral S, T Value)
Triple - Helper class for working with autoconf configuration names.
This class implements an extremely fast bulk output stream that can only output to a stream.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
const AArch64MCOptions & getCLOpts(const MCTargetOptions &Options)
Specifier parsePercentSpecifierName(StringRef)
StringRef getSpecifierName(Specifier S)
Return the string representation of the ELF relocation specifier (e.g.
@ Itanium
Windows CE ARM, PowerPC, SH3, SH4.
This is an optimization pass for GlobalISel generic memory operations.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.
bool isa(const From &Val)
isa<X> - Return true if the parameter to the template is an instance of one of the template type argu...
static StringRef AArch64PACKeyIDToString(AArch64PACKey::ID KeyID)
Return 2-letter identifier string for numeric key ID.
AArch64MCAsmInfoDarwin(bool IsILP32, const MCTargetOptions &Options)
AArch64MCAsmInfoELF(const Triple &T, const MCTargetOptions &Options)
AArch64MCAsmInfoGNUCOFF(const MCTargetOptions &Options)
AArch64MCAsmInfoMicrosoftCOFF(const MCTargetOptions &Options)
Compile-time data representation of enum entries.