LLVM: lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
18using namespace llvm;
19
25
28 cl::desc("Select the assembly style for input"),
30 clEnumValN(Intel, "intel", "Emit Intel-style assembly")));
31
34 cl::desc("Mark code section jump table data regions."),
36
67
68void X86MCAsmInfoDarwin::anchor() { }
69
74
76
79
80
81
82
83
84
86
88
91
92
94
95
96
97
98 if (T.isMacOSX() && T.isMacOSXVersionLT(10, 6))
100
101
102
103
105
107}
108
112
113void X86ELFMCAsmInfo::anchor() { }
114
117 bool isX32 = T.isX32();
118
119
120
121
123
124
126
129
130
132
133
135
137}
138
141 unsigned Encoding,
147}
148
149void X86MCAsmInfoMicrosoft::anchor() { }
150
157 } else {
158
159
160
162 }
163
165
168
170
172}
173
174void X86MCAsmInfoMicrosoftMASM::anchor() { }
175
186
187void X86MCAsmInfoGNUCOFF::anchor() { }
188
191 "Windows and UEFI are the only supported COFF targets");
198 } else {
200 }
201
203
206
208}
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
const MCAsmInfo::AtSpecifier atSpecifiers[]
#define clEnumValN(ENUMVAL, FLAGNAME, DESC)
static bool is64Bit(const char *name)
static cl::opt< bool > MarkedJTDataRegions("mark-data-regions", cl::init(true), cl::desc("Mark code section jump table data regions."), cl::Hidden)
AsmWriterFlavorTy
Definition X86MCAsmInfo.cpp:20
@ Intel
Definition X86MCAsmInfo.cpp:23
@ ATT
Definition X86MCAsmInfo.cpp:23
static cl::opt< AsmWriterFlavorTy > X86AsmSyntax("x86-asm-syntax", cl::init(ATT), cl::Hidden, cl::desc("Select the assembly style for input"), cl::values(clEnumValN(ATT, "att", "Emit AT&T-style assembly"), clEnumValN(Intel, "intel", "Emit Intel-style assembly")))
bool AllowAdditionalComments
This indicates whether to allow additional "comment strings" to be lexed as a comment.
bool AllowQuestionAtStartOfIdentifier
This is true if the assembler allows the "?" character at the start of of a string to be lexed as an ...
void initializeAtSpecifiers(ArrayRef< AtSpecifier >)
const char * Data64bitsDirective
bool DollarIsPC
The '$' token, when not referencing an identifier or constant, refers to the current PC.
ExceptionHandling ExceptionsType
Exception handling format for the target. Defaults to None.
bool AllowDollarAtStartOfIdentifier
This is true if the assembler allows the "$" character at the start of of a string to be lexed as an ...
StringRef PrivateGlobalPrefix
This prefix is used for globals like constant pool entries that are completely private to the ....
bool DwarfFDESymbolsUseAbsDiff
True if DWARF FDE symbol reference relocations should be replaced by an absolute difference.
bool AllowAtAtStartOfIdentifier
This is true if the assembler allows the "@" character at the start of a string to be lexed as an Asm...
WinEH::EncodingType WinEHEncodingType
Windows exception handling data (.pdata) encoding. Defaults to Invalid.
StringRef PrivateLabelPrefix
This prefix is used for labels for basic blocks.
bool AllowAtInName
This is true if the assembler allows @ characters in symbol names.
bool HasWeakDefCanBeHiddenDirective
True if we have a directive to declare a global as being a weak defined symbol that can be hidden (un...
bool SupportsDebugInformation
True if target supports emission of debugging information.
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 UseDataRegionDirectives
This is true if data region markers should be printed as ".data_region/.end_data_region" directives.
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.
static const MCBinaryExpr * createAdd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx, SMLoc Loc=SMLoc())
static LLVM_ABI const MCConstantExpr * create(int64_t Value, MCContext &Ctx, bool PrintInHex=false, unsigned SizeInBytes=0)
Context object for machine code objects.
Base class for the full range of assembler expressions which are needed for parsing.
Streaming machine code generation interface.
MCContext & getContext() const
static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx, SMLoc Loc=SMLoc())
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Triple - Helper class for working with autoconf configuration names.
bool isX86_64() const
Tests whether the target is x86 (64-bit).
bool isUEFI() const
Tests whether the OS is UEFI.
bool isOSWindows() const
Tests whether the OS is Windows.
X86ELFMCAsmInfo(const Triple &Triple)
Definition X86MCAsmInfo.cpp:115
X86MCAsmInfoDarwin(const Triple &Triple)
Definition X86MCAsmInfo.cpp:70
X86MCAsmInfoGNUCOFF(const Triple &Triple)
Definition X86MCAsmInfo.cpp:189
X86MCAsmInfoMicrosoftMASM(const Triple &Triple)
Definition X86MCAsmInfo.cpp:176
X86MCAsmInfoMicrosoft(const Triple &Triple)
Definition X86MCAsmInfo.cpp:151
@ Itanium
Windows CE ARM, PowerPC, SH3, SH4.
@ X86
Windows x64, Windows Itanium (IA-64)
ValuesClass values(OptsTy... Options)
Helper to build a ValuesClass by forwarding a variable number of arguments as an initializer list to ...
initializer< Ty > init(const Ty &Val)
This is an optimization pass for GlobalISel generic memory operations.
@ DwarfCFI
DWARF-like instruction based exceptions.
@ WinEH
Windows Exception Handling.
const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override
Definition X86MCAsmInfo.cpp:140
X86_64MCAsmInfoDarwin(const Triple &Triple)
Definition X86MCAsmInfo.cpp:109