Go to the documentation of this file.
13 #ifndef LLVM_MC_MCSECTIONCOFF_H
14 #define LLVM_MC_MCSECTIONCOFF_H
32 mutable unsigned Characteristics;
39 mutable unsigned WinCFISectionID = ~0U;
47 mutable int Selection;
58 "alignment must not be set upon section creation");
74 const MCExpr *Subsection)
const override;
80 if (WinCFISectionID == ~0U)
81 WinCFISectionID = (*NextID)++;
82 return WinCFISectionID;
94 #endif // LLVM_MC_MCSECTIONCOFF_H
bool shouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name.
LLVM_NODISCARD bool startswith(StringRef Prefix) const
Check if this string starts with the given Prefix.
This is an optimization pass for GlobalISel generic memory operations.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
static bool classof(const MCSection *S)
Context object for machine code objects.
This class is intended to be used as a base class for asm properties and features specific to the tar...
Triple - Helper class for working with autoconf configuration names.
void setSelection(int Selection) const
void printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
This class implements an extremely fast bulk output stream that can only output to a stream.
StringRef getVirtualSectionKind() const override
unsigned getCharacteristics() const
MCSymbol * getCOMDATSymbol() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This represents a section on Windows.
StringRef - Represent a constant reference to a string, i.e.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
bool useCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
SectionKind - This is a simple POD value that classifies the properties of a section.
static bool isImplicitlyDiscardable(StringRef Name)
amdgpu AMDGPU DAG DAG Pattern Instruction Selection
COFFYAML::WeakExternalCharacteristics Characteristics
Base class for the full range of assembler expressions which are needed for parsing.
unsigned getOrAssignWinCFISectionID(unsigned *NextID) const