13#ifndef LLVM_MC_MCSECTIONCOFF_H
14#define LLVM_MC_MCSECTIONCOFF_H
33 mutable unsigned Characteristics;
40 mutable unsigned WinCFISectionID = ~0U;
48 mutable int Selection;
56 MCSymbol *COMDATSymbol,
int Selection,
unsigned UniqueID,
59 Characteristics &
COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA,
61 Characteristics(Characteristics), COMDATSymbol(COMDATSymbol),
62 Selection(Selection), UniqueID(UniqueID) {
63 assert((Characteristics & 0x00F00000) == 0 &&
64 "alignment must not be set upon section creation");
78 if (WinCFISectionID == ~0U)
79 WinCFISectionID = (*NextID)++;
80 return WinCFISectionID;
84 return Name.starts_with(
".debug");
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
amdgpu AMDGPU DAG DAG Pattern Instruction Selection
static bool isImplicitlyDiscardable(StringRef Name)
MCSymbol * getCOMDATSymbol() const
unsigned getCharacteristics() const
unsigned getOrAssignWinCFISectionID(unsigned *NextID) const
unsigned getUniqueID() const
LLVM_ABI void setSelection(int Selection) const
static constexpr unsigned NonUniqueID
MCSection(StringRef Name, bool IsText, bool IsBss, MCSymbol *Begin)
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Represent a constant reference to a string, i.e.
This is an optimization pass for GlobalISel generic memory operations.