13#ifndef LLVM_MC_MCSECTIONWASM_H
14#define LLVM_MC_MCSECTIONWASM_H
41 bool IsPassive =
false;
48 unsigned SegmentFlags;
55 UniqueID(UniqueID), Group(Group),
56 IsWasmData(K.isReadOnly() || K.isWriteable()),
57 IsMetadata(K.
isMetadata()), SegmentFlags(SegmentFlags) {}
75 bool isUnique()
const {
return UniqueID != ~0U; }
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This class is intended to be used as a base class for asm properties and features specific to the tar...
Context object for machine code objects.
This represents a section on wasm.
uint32_t getSegmentIndex() const
bool useCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
void setSegmentIndex(uint32_t Index)
static bool classof(const MCSection *S)
bool shouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name.
void setPassive(bool V=true)
void printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, uint32_t Subsection) const override
const MCSymbolWasm * getGroup() const
void setSectionOffset(uint64_t Offset)
unsigned getSegmentFlags() const
uint64_t getSectionOffset() const
unsigned getUniqueID() const
Instances of this class represent a uniqued identifier for a section in the current translation unit.
SectionVariant getVariant() const
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
SectionKind - This is a simple POD value that classifies the properties of a section.
StringRef - Represent a constant reference to a string, i.e.
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.
This is an optimization pass for GlobalISel generic memory operations.