Go to the documentation of this file.
9 #ifndef LLVM_MC_SECTIONKIND_H
10 #define LLVM_MC_SECTIONKIND_H
48 Mergeable1ByteCString,
51 Mergeable2ByteCString,
54 Mergeable4ByteCString,
127 bool isText()
const {
return K == Text || K == ExecuteOnly; }
137 return K == Mergeable1ByteCString || K == Mergeable2ByteCString ||
138 K == Mergeable4ByteCString;
145 return K == MergeableConst4 || K == MergeableConst8 ||
146 K == MergeableConst16 || K == MergeableConst32;
158 return K == ThreadData || K == ThreadBSS || K == ThreadBSSLocal;
161 bool isThreadBSS()
const {
return K == ThreadBSS || K == ThreadBSSLocal; }
169 bool isBSS()
const {
return K == BSS || K == BSSLocal || K == BSSExtern; }
175 bool isData()
const {
return K == Data; }
178 return K == ReadOnlyWithRel;
194 return get(Mergeable1ByteCString);
197 return get(Mergeable2ByteCString);
200 return get(Mergeable4ByteCString);
static SectionKind getExclude()
bool isThreadLocal() const
bool isMergeableConst8() const
static SectionKind getReadOnlyWithRel()
static SectionKind getMergeable2ByteCString()
This is an optimization pass for GlobalISel generic memory operations.
static SectionKind getBSSExtern()
static SectionKind getMetadata()
static SectionKind getExecuteOnly()
static SectionKind getThreadBSSLocal()
bool isMergeableConst16() const
bool isMergeable2ByteCString() const
static SectionKind getMergeableConst16()
bool isMergeableConst() const
bool isMergeable1ByteCString() const
static SectionKind getReadOnly()
static SectionKind getBSSLocal()
static SectionKind getThreadBSS()
static SectionKind getBSS()
static SectionKind getText()
bool isThreadBSSLocal() const
static SectionKind getCommon()
static SectionKind getMergeable1ByteCString()
static SectionKind getMergeable4ByteCString()
bool isMergeableCString() const
bool isThreadData() const
bool isMergeable4ByteCString() const
static SectionKind getThreadData()
bool isMergeableConst32() const
static SectionKind getData()
static SectionKind getMergeableConst8()
SectionKind - This is a simple POD value that classifies the properties of a section.
bool isGlobalWriteableData() const
static SectionKind getMergeableConst4()
bool isReadOnlyWithRel() const
bool isMergeableConst4() const
static SectionKind getMergeableConst32()
bool isExecuteOnly() const