13#ifndef LLVM_MC_MCSECTIONWASM_H
14#define LLVM_MC_MCSECTIONWASM_H
41 bool IsPassive =
false;
48 unsigned SegmentFlags;
56 UniqueID(UniqueID), Group(Group),
57 IsWasmData(K.isReadOnly() || K.isWriteable()),
58 IsMetadata(K.
isMetadata()), SegmentFlags(SegmentFlags) {}
67 bool isUnique()
const {
return UniqueID != ~0U; }
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
uint32_t getSegmentIndex() const
void setSegmentIndex(uint32_t Index)
void setPassive(bool V=true)
const MCSymbolWasm * getGroup() const
void setSectionOffset(uint64_t Offset)
unsigned getSegmentFlags() const
friend class MCAsmInfoWasm
uint64_t getSectionOffset() const
unsigned getUniqueID() const
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 ...
SectionKind - This is a simple POD value that classifies the properties of a section.
StringRef - Represent a constant reference to a string, i.e.
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.