9 #ifndef LLVM_MC_SECTIONKIND_H 10 #define LLVM_MC_SECTIONKIND_H 44 Mergeable1ByteCString,
47 Mergeable2ByteCString,
50 Mergeable4ByteCString,
118 bool isText()
const {
return K == Text || K == ExecuteOnly; }
128 return K == Mergeable1ByteCString || K == Mergeable2ByteCString ||
129 K == Mergeable4ByteCString;
136 return K == MergeableConst4 || K == MergeableConst8 ||
137 K == MergeableConst16 || K == MergeableConst32;
149 return K == ThreadData || K == ThreadBSS;
159 bool isBSS()
const {
return K == BSS || K == BSSLocal || K == BSSExtern; }
165 bool isData()
const {
return K == Data; }
168 return K == ReadOnlyWithRel;
183 return get(Mergeable1ByteCString);
186 return get(Mergeable2ByteCString);
189 return get(Mergeable4ByteCString);
static SectionKind getData()
bool isThreadData() const
static SectionKind getMergeableConst32()
This class represents lattice values for constants.
bool isMergeableConst8() const
static SectionKind getMergeableConst8()
static SectionKind getMergeableConst16()
static SectionKind getMergeable1ByteCString()
bool isMergeableCString() const
static SectionKind getCommon()
static SectionKind getMergeableConst4()
bool isMergeable2ByteCString() const
static SectionKind getBSS()
static SectionKind getMergeable4ByteCString()
bool isGlobalWriteableData() const
bool isMergeableConst32() const
static SectionKind getThreadData()
bool isReadOnlyWithRel() const
static SectionKind getBSSLocal()
SectionKind - This is a simple POD value that classifies the properties of a section.
bool isMergeableConst16() const
bool isMergeableConst4() const
static SectionKind getThreadBSS()
bool isMergeable4ByteCString() const
static SectionKind getMetadata()
static SectionKind getReadOnlyWithRel()
static SectionKind getMergeable2ByteCString()
bool isMergeableConst() const
static SectionKind getBSSExtern()
bool isThreadLocal() const
bool isMergeable1ByteCString() const
bool isExecuteOnly() const
static SectionKind getReadOnly()
static SectionKind getExecuteOnly()
static SectionKind getText()