Home
last modified time | relevance | path

Searched refs:SectionKind (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm/lib/MC/
DMCObjectFileInfo.cpp56 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo()
77 SectionKind::getText()); in initMachOMCObjectFileInfo()
79 = Ctx->getMachOSection("__DATA", "__data", 0, SectionKind::getData()); in initMachOMCObjectFileInfo()
87 SectionKind::getData()); in initMachOMCObjectFileInfo()
91 SectionKind::getThreadBSS()); in initMachOMCObjectFileInfo()
97 SectionKind::getData()); in initMachOMCObjectFileInfo()
101 SectionKind::getData()); in initMachOMCObjectFileInfo()
106 SectionKind::getMergeable1ByteCString()); in initMachOMCObjectFileInfo()
109 SectionKind::getMergeable2ByteCString()); in initMachOMCObjectFileInfo()
113 SectionKind::getMergeableConst4()); in initMachOMCObjectFileInfo()
[all …]
DMCContext.cpp272 unsigned Reserved2, SectionKind Kind, in getMachOSection()
324 MCSectionELF(I->getKey(), Type, Flags, SectionKind::getReadOnly(), in createELFRelSection()
358 SectionKind Kind; in getELFSection()
360 Kind = SectionKind::getText(); in getELFSection()
362 Kind = SectionKind::getReadOnly(); in getELFSection()
377 MCSectionELF(".group", ELF::SHT_GROUP, 0, SectionKind::getReadOnly(), 4, in createELFGroupSection()
384 SectionKind Kind, in getCOFFSection()
414 SectionKind Kind, in getCOFFSection()
/external/llvm/include/llvm/MC/
DSectionKind.h28 class SectionKind {
166 static SectionKind get(Kind K) { in get()
167 SectionKind Res; in get()
173 static SectionKind getMetadata() { return get(Metadata); } in getMetadata()
174 static SectionKind getText() { return get(Text); } in getText()
175 static SectionKind getReadOnly() { return get(ReadOnly); } in getReadOnly()
176 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString()
179 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString()
182 static SectionKind getMergeable4ByteCString() { in getMergeable4ByteCString()
185 static SectionKind getMergeableConst4() { return get(MergeableConst4); } in getMergeableConst4()
[all …]
DMCSection.h105 MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
107 SectionKind Kind;
111 SectionKind getKind() const { return Kind; }
DMCContext.h310 unsigned Reserved2, SectionKind K,
314 unsigned TypeAndAttributes, SectionKind K,
371 SectionKind Kind, StringRef COMDATSymName,
376 SectionKind Kind,
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetObjectFile.h50 TextSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getText()); in Initialize()
51 DataSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getData()); in Initialize()
52 BSSSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getBSS()); in Initialize()
54 new NVPTXSection(MCSection::SV_ELF, SectionKind::getReadOnly()); in Initialize()
57 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
59 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
61 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
63 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
65 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
67 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
[all …]
DNVPTXSection.h28 NVPTXSection(SectionVariant V, SectionKind K) : MCSection(V, K, nullptr) {} in NVPTXSection()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp132 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV, in getKindForGlobal()
142 return SectionKind::getText(); in getKindForGlobal()
147 return SectionKind::getThreadBSS(); in getKindForGlobal()
148 return SectionKind::getThreadData(); in getKindForGlobal()
153 return SectionKind::getCommon(); in getKindForGlobal()
158 return SectionKind::getBSSLocal(); in getKindForGlobal()
160 return SectionKind::getBSSExtern(); in getKindForGlobal()
161 return SectionKind::getBSS(); in getKindForGlobal()
177 return SectionKind::getReadOnly(); in getKindForGlobal()
188 return SectionKind::getMergeable1ByteCString(); in getKindForGlobal()
[all …]
/external/llvm/include/llvm/Object/
DELFYAML.h88 enum class SectionKind { enum
95 SectionKind Kind;
103 Section(SectionKind Kind) : Kind(Kind) {} in Section()
109 RawContentSection() : Section(SectionKind::RawContent) {} in RawContentSection()
111 return S->Kind == SectionKind::RawContent; in classof()
117 NoBitsSection() : Section(SectionKind::NoBits) {} in NoBitsSection()
119 return S->Kind == SectionKind::NoBits; in classof()
127 Group() : Section(SectionKind::Group) {} in Group()
129 return S->Kind == SectionKind::Group; in classof()
141 RelocationSection() : Section(SectionKind::Relocation) {} in RelocationSection()
[all …]
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h49 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
52 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
56 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
98 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
102 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
106 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
137 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
141 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
/external/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h73 SectionKind Kind,
78 static SectionKind getKindForGlobal(const GlobalValue *GV,
84 MCSection *SectionForGlobal(const GlobalValue *GV, SectionKind Kind,
109 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
114 SectionKind Kind, in getSpecialCasedSectionGlobals()
188 SectionKind Kind, Mangler &Mang,
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp114 static SectionKind
115 getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection()
133 return SectionKind::getBSS(); in getELFKindForNamedSection()
139 return SectionKind::getThreadData(); in getELFKindForNamedSection()
145 return SectionKind::getThreadBSS(); in getELFKindForNamedSection()
151 static unsigned getELFSectionType(StringRef Name, SectionKind K) { in getELFSectionType()
168 static unsigned getELFSectionFlags(SectionKind K) { in getELFSectionFlags()
205 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal()
225 static StringRef getSectionPrefixForGlobal(SectionKind Kind) { in getSectionPrefixForGlobal()
244 SectionKind Kind, Mangler &Mang, in selectELFSectionForGlobal()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.h28 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
32 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
36 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
DXCoreTargetObjectFile.cpp66 static unsigned getXCoreSectionType(SectionKind K) { in getXCoreSectionType()
72 static unsigned getXCoreSectionFlags(SectionKind K, bool IsCPRel) { in getXCoreSectionFlags()
100 SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal()
113 SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal()
149 const DataLayout &DL, SectionKind Kind, const Constant *C) const { in getSectionForConstant()
/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.h28 SectionKind Kind) const;
34 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
42 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
DMipsTargetObjectFile.cpp77 SectionKind Kind) const { in IsGlobalInSmallSection()
116 SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal()
142 const DataLayout &DL, SectionKind Kind, const Constant *C) const { in getSectionForConstant()
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp35 SectionKind Kind);
83 SectionKind::getData()); in ParseSectionDirectiveData()
88 ELF::SHF_ALLOC, SectionKind::getText()); in ParseSectionDirectiveText()
93 ELF::SHF_ALLOC, SectionKind::getBSS()); in ParseSectionDirectiveBSS()
98 SectionKind::getReadOnly()); in ParseSectionDirectiveRoData()
104 SectionKind::getThreadData()); in ParseSectionDirectiveTData()
110 SectionKind::getThreadBSS()); in ParseSectionDirectiveTBSS()
115 SectionKind::getData()); in ParseSectionDirectiveDataRel()
121 SectionKind::getReadOnlyWithRel()); in ParseSectionDirectiveDataRelRo()
126 SectionKind::getData()); in ParseSectionDirectiveEhFrame()
[all …]
DCOFFAsmParser.cpp37 SectionKind Kind);
40 SectionKind Kind, StringRef COMDATSymName,
98 SectionKind::getText()); in ParseSectionDirectiveText()
104 SectionKind::getData()); in ParseSectionDirectiveData()
111 SectionKind::getBSS()); in ParseSectionDirectiveBSS()
149 static SectionKind computeSectionKind(unsigned Flags) { in computeSectionKind()
151 return SectionKind::getText(); in computeSectionKind()
154 return SectionKind::getReadOnly(); in computeSectionKind()
155 return SectionKind::getData(); in computeSectionKind()
295 SectionKind Kind) { in ParseSectionSwitch()
[all …]
DDarwinAsmParser.cpp395 isText ? SectionKind::getText() : SectionKind::getData())); in parseSectionSwitch()
618 isText ? SectionKind::getText() : SectionKind::getData())); in parseDirectiveSection()
768 0, SectionKind::getThreadBSS()), in parseDirectiveTBSS()
797 0, SectionKind::getBSS())); in parseDirectiveZerofill()
855 0, SectionKind::getBSS()), in parseDirectiveZerofill()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.h29 SectionKind Kind) const;
34 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
DHexagonTargetObjectFile.cpp70 SectionKind Kind) const { in IsGlobalInSmallSection()
87 SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetObjectFile.h26 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
44 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
DAMDGPUTargetObjectFile.cpp24 SectionKind Kind, in SelectSectionForGlobal()
72 const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal()
/external/llvm/lib/Target/PowerPC/
DPPCTargetObjectFile.cpp26 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal()
46 Kind = SectionKind::getReadOnlyWithRel(); in SelectSectionForGlobal()
DPPCTargetObjectFile.h25 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,

12