14 #ifndef LLVM_MC_MCSECTIONCOFF_H 15 #define LLVM_MC_MCSECTIONCOFF_H 36 mutable unsigned Characteristics;
43 mutable unsigned WinCFISectionID = ~0U;
51 mutable int Selection;
59 Characteristics(Characteristics), COMDATSymbol(COMDATSymbol),
60 Selection(Selection) {
61 assert((Characteristics & 0x00F00000) == 0 &&
62 "alignment must not be set upon section creation");
81 const MCExpr *Subsection)
const override;
86 if (WinCFISectionID == ~0U)
87 WinCFISectionID = (*NextID)++;
88 return WinCFISectionID;
100 #endif // LLVM_MC_MCSECTIONCOFF_H Instances of this class represent a uniqued identifier for a section in the current translation unit...
This class represents lattice values for constants.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
void setSelection(int Selection) const
This represents a section on Windows.
amdgpu Simplify well known AMD library false Value Value const Twine & Name
unsigned getOrAssignWinCFISectionID(unsigned *NextID) const
Base class for the full range of assembler expressions which are needed for parsing.
bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name. ...
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
Context object for machine code objects.
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool startswith(StringRef Prefix) const
Check if this string starts with the given Prefix.
bool UseCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
unsigned getCharacteristics() const
This class is intended to be used as a base class for asm properties and features specific to the tar...
SectionKind - This is a simple POD value that classifies the properties of a section.
SectionVariant getVariant() const
StringRef getSectionName() const
Triple - Helper class for working with autoconf configuration names.
MCSymbol * getCOMDATSymbol() const
amdgpu AMDGPU DAG DAG Pattern Instruction Selection
static bool classof(const MCSection *S)
void PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override
COFFYAML::WeakExternalCharacteristics Characteristics
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
static bool isImplicitlyDiscardable(StringRef Name)
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.