10 #ifndef LLVM_MC_SECTIONKIND_H 11 #define LLVM_MC_SECTIONKIND_H 45 Mergeable1ByteCString,
48 Mergeable2ByteCString,
51 Mergeable4ByteCString,
119 bool isText()
const {
return K == Text || K == ExecuteOnly; }
129 return K == Mergeable1ByteCString || K == Mergeable2ByteCString ||
130 K == Mergeable4ByteCString;
137 return K == MergeableConst4 || K == MergeableConst8 ||
138 K == MergeableConst16 || K == MergeableConst32;
150 return K == ThreadData || K == ThreadBSS;
160 bool isBSS()
const {
return K == BSS || K == BSSLocal || K == BSSExtern; }
166 bool isData()
const {
return K == Data; }
169 return K == ReadOnlyWithRel;
184 return get(Mergeable1ByteCString);
187 return get(Mergeable2ByteCString);
190 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()