Searched refs:SectionKind (Results 1 - 25 of 40) sorted by relevance

12

/external/llvm/include/llvm/MC/
H A DSectionKind.h20 /// SectionKind - This is a simple POD value that classifies the properties of
28 class SectionKind { class in namespace:llvm
38 /// SectionKind are not mergeable.
199 static SectionKind get(Kind K) {
200 SectionKind Res;
206 static SectionKind getMetadata() { return get(Metadata); }
207 static SectionKind getText() { return get(Text); }
208 static SectionKind getReadOnly() { return get(ReadOnly); }
209 static SectionKind getMergeable1ByteCString() {
212 static SectionKind getMergeable2ByteCStrin
[all...]
H A DMCSection.h18 #include "llvm/MC/SectionKind.h"
42 MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin)
45 SectionKind Kind;
50 SectionKind getKind() const { return Kind; }
H A DMCSectionCOFF.h48 MCSymbol *COMDATSymbol, int Selection, SectionKind K,
H A DMCSectionELF.h56 MCSectionELF(StringRef Section, unsigned type, unsigned flags, SectionKind K,
H A DMCSectionMachO.h39 unsigned reserved2, SectionKind K, MCSymbol *Begin);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h50 TextSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getText());
52 new NVPTXSection(MCSection::SV_ELF, SectionKind::getDataRel());
53 BSSSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getBSS());
55 new NVPTXSection(MCSection::SV_ELF, SectionKind::getReadOnly());
58 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
60 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
62 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
64 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
66 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
68 new NVPTXSection(MCSection::SV_ELF, SectionKind
[all...]
H A DNVPTXSection.h29 NVPTXSection(SectionVariant V, SectionKind K) : MCSection(V, K, nullptr) {}
/external/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp133 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV,
143 return SectionKind::getText();
148 return SectionKind::getThreadBSS();
149 return SectionKind::getThreadData();
154 return SectionKind::getCommon();
159 return SectionKind::getBSSLocal();
161 return SectionKind::getBSSExtern();
162 return SectionKind::getBSS();
179 return SectionKind::getReadOnly();
190 return SectionKind
[all...]
/external/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.h29 SectionKind Kind, Mangler &Mang,
33 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
37 const MCSection *getSectionForConstant(SectionKind Kind,
H A DXCoreTargetObjectFile.cpp66 static unsigned getXCoreSectionType(SectionKind K) {
72 static unsigned getXCoreSectionFlags(SectionKind K, bool IsCPRel) {
100 SectionKind Kind, Mangler &Mang,
112 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler &Mang,
145 XCoreTargetObjectFile::getSectionForConstant(SectionKind Kind,
/external/llvm/lib/MC/
H A DMCObjectFileInfo.cpp62 SectionKind::getText());
65 SectionKind::getDataRel());
73 SectionKind::getDataRel());
77 SectionKind::getThreadBSS());
83 SectionKind::getDataRel());
88 SectionKind::getDataRel());
93 SectionKind::getMergeable1ByteCString());
96 SectionKind::getMergeable2ByteCString());
100 SectionKind::getMergeableConst4());
104 SectionKind
[all...]
H A DMCContext.cpp239 SectionKind Kind, const char *BeginSymName) {
289 MCSectionELF(I->getKey(), Type, Flags, SectionKind::getReadOnly(),
323 SectionKind Kind;
325 Kind = SectionKind::getText();
327 Kind = SectionKind::getReadOnly();
342 MCSectionELF(".group", ELF::SHT_GROUP, 0, SectionKind::getReadOnly(), 4,
349 SectionKind Kind, StringRef COMDATSymName,
378 SectionKind Kind,
H A DMCWinEH.cpp54 SectionKind::getDataRel());
/external/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.h28 SectionKind Kind) const;
35 SectionKind Kind, Mangler &Mang,
42 const MCSection *getSectionForConstant(SectionKind Kind,
H A DMipsTargetObjectFile.cpp77 SectionKind Kind) const {
114 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
140 getSectionForConstant(SectionKind Kind, const Constant *C) const {
/external/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.h28 SectionKind Kind) const;
34 SectionKind Kind, Mangler &Mang,
H A DHexagonTargetObjectFile.cpp70 SectionKind Kind) const {
86 SectionKind Kind, Mangler &Mang,
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.h26 SectionKind Kind, Mangler &Mang,
H A DPPCTargetObjectFile.cpp26 const GlobalValue *GV, SectionKind Kind, Mangler &Mang,
48 Kind = SectionKind::getReadOnlyWithRel();
/external/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h19 #include "llvm/MC/SectionKind.h"
47 /// Given a constant with the SectionKind, return a section that it should be
49 const MCSection *getSectionForConstant(SectionKind Kind,
53 SectionKind Kind, Mangler &Mang,
57 SectionKind Kind, Mangler &Mang,
105 SectionKind Kind, Mangler &Mang,
110 SectionKind Kind, Mangler &Mang,
113 const MCSection *getSectionForConstant(SectionKind Kind,
143 SectionKind Kind, Mangler &Mang,
148 SectionKind Kin
[all...]
/external/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h21 #include "llvm/MC/SectionKind.h"
78 /// Given a constant with the SectionKind, return a section that it should be
80 virtual const MCSection *getSectionForConstant(SectionKind Kind,
84 /// categories embodied in SectionKind.
85 static SectionKind getKindForGlobal(const GlobalValue *GV,
92 SectionKind Kind, Mangler &Mang,
120 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
125 SectionKind Kind,
196 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
/external/llvm/include/llvm/Object/
H A DELFYAML.h81 enum class SectionKind { Group, RawContent, Relocation }; class in struct:llvm::ELFYAML::Section
82 SectionKind Kind;
90 Section(SectionKind Kind) : Kind(Kind) {}
96 RawContentSection() : Section(SectionKind::RawContent) {}
98 return S->Kind == SectionKind::RawContent;
106 Group() : Section(SectionKind::Group) {}
108 return S->Kind == SectionKind::Group;
120 RelocationSection() : Section(SectionKind::Relocation) {}
122 return S->Kind == SectionKind::Relocation;
/external/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp114 static SectionKind
115 getELFKindForNamedSection(StringRef Name, SectionKind K) {
133 return SectionKind::getBSS();
139 return SectionKind::getThreadData();
145 return SectionKind::getThreadBSS();
151 static unsigned getELFSectionType(StringRef Name, SectionKind K) {
168 static unsigned getELFSectionFlags(SectionKind K) {
205 const GlobalValue *GV, SectionKind Kind, Mangler &Mang,
225 static StringRef getSectionPrefixForGlobal(SectionKind Kind) {
250 SectionKind Kin
[all...]
/external/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp37 SectionKind Kind);
40 SectionKind Kind, StringRef COMDATSymName,
97 SectionKind::getText());
104 SectionKind::getDataRel());
111 SectionKind::getBSS());
148 static SectionKind computeSectionKind(unsigned Flags) {
150 return SectionKind::getText();
153 return SectionKind::getReadOnly();
154 return SectionKind::getDataRel();
294 SectionKind Kin
[all...]
H A DELFAsmParser.cpp35 SectionKind Kind);
85 SectionKind::getDataRel());
90 ELF::SHF_ALLOC, SectionKind::getText());
95 ELF::SHF_ALLOC, SectionKind::getBSS());
100 SectionKind::getReadOnly());
106 SectionKind::getThreadData());
112 SectionKind::getThreadBSS());
118 SectionKind::getDataRel());
124 SectionKind::getReadOnlyWithRel());
130 SectionKind
[all...]

Completed in 2620 milliseconds

12