13#ifndef LLVM_MC_MCSECTIONWASM_H
14#define LLVM_MC_MCSECTIONWASM_H
40 bool IsPassive =
false;
47 unsigned SegmentFlags;
54 UniqueID(UniqueID), Group(Group),
55 IsWasmData(
K.isReadOnly() ||
K.isWriteable()),
56 IsMetadata(
K.
isMetadata()), SegmentFlags(SegmentFlags) {}
65 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
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.
Represent a constant reference to a string, i.e.
This is an optimization pass for GlobalISel generic memory operations.