Lines Matching refs:Kind

98     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {  in getExplicitSectionGlobal()  argument
102 if (IsCPRel && !Kind.isReadOnly()) in getExplicitSectionGlobal()
104 return getContext().getELFSection(SectionName, getXCoreSectionType(Kind), in getExplicitSectionGlobal()
105 getXCoreSectionFlags(Kind, IsCPRel)); in getExplicitSectionGlobal()
109 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
113 if (Kind.isText()) return TextSection; in SelectSectionForGlobal()
115 if (Kind.isMergeable1ByteCString()) return CStringSection; in SelectSectionForGlobal()
116 if (Kind.isMergeableConst4()) return MergeableConst4Section; in SelectSectionForGlobal()
117 if (Kind.isMergeableConst8()) return MergeableConst8Section; in SelectSectionForGlobal()
118 if (Kind.isMergeableConst16()) return MergeableConst16Section; in SelectSectionForGlobal()
124 if (Kind.isReadOnly()) return UseCPRel? ReadOnlySection in SelectSectionForGlobal()
126 if (Kind.isBSS() || Kind.isCommon())return BSSSection; in SelectSectionForGlobal()
127 if (Kind.isData()) in SelectSectionForGlobal()
129 if (Kind.isReadOnlyWithRel()) return DataRelROSection; in SelectSectionForGlobal()
131 if (Kind.isReadOnly()) return UseCPRel? ReadOnlySectionLarge in SelectSectionForGlobal()
133 if (Kind.isBSS() || Kind.isCommon())return BSSSectionLarge; in SelectSectionForGlobal()
134 if (Kind.isData()) in SelectSectionForGlobal()
136 if (Kind.isReadOnlyWithRel()) return DataRelROSectionLarge; in SelectSectionForGlobal()
139 assert((Kind.isThreadLocal() || Kind.isCommon()) && "Unknown section kind"); in SelectSectionForGlobal()
144 const DataLayout &DL, SectionKind Kind, const Constant *C, in getSectionForConstant() argument
146 if (Kind.isMergeableConst4()) return MergeableConst4Section; in getSectionForConstant()
147 if (Kind.isMergeableConst8()) return MergeableConst8Section; in getSectionForConstant()
148 if (Kind.isMergeableConst16()) return MergeableConst16Section; in getSectionForConstant()
149 assert((Kind.isReadOnly() || Kind.isReadOnlyWithRel()) && in getSectionForConstant()