Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCObjectFileInfo.cpp58 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo()
76 SectionKind::getText()); in initMachOMCObjectFileInfo()
78 = Ctx->getMachOSection("__DATA", "__data", 0, SectionKind::getData()); in initMachOMCObjectFileInfo()
86 SectionKind::getData()); in initMachOMCObjectFileInfo()
90 SectionKind::getThreadBSS()); in initMachOMCObjectFileInfo()
96 SectionKind::getData()); in initMachOMCObjectFileInfo()
100 SectionKind::getData()); in initMachOMCObjectFileInfo()
105 SectionKind::getMergeable1ByteCString()); in initMachOMCObjectFileInfo()
108 SectionKind::getMergeable2ByteCString()); in initMachOMCObjectFileInfo()
112 SectionKind::getMergeableConst4()); in initMachOMCObjectFileInfo()
[all …]
H A DMCContext.cpp416 unsigned Reserved2, SectionKind Kind, in getMachOSection()
463 unsigned Flags, SectionKind K, in createELFSectionImpl()
508 I->getKey(), Type, Flags, SectionKind::getReadOnly(), EntrySize, Group, in createELFRelSection()
553 SectionKind Kind; in getELFSection()
555 Kind = SectionKind::getExecuteOnly(); in getELFSection()
557 Kind = SectionKind::getText(); in getELFSection()
559 Kind = SectionKind::getReadOnly(); in getELFSection()
575 SectionKind::getReadOnly(), 4, Group, IsComdat, in createELFGroupSection()
615 SectionKind Kind, in getCOFFSection()
647 SectionKind Kind, in getCOFFSection()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DSectionKind.h22 class SectionKind {
175 static SectionKind get(Kind K) { in get()
176 SectionKind Res; in get()
182 static SectionKind getMetadata() { return get(Metadata); } in getMetadata()
183 static SectionKind getText() { return get(Text); } in getText()
184 static SectionKind getExecuteOnly() { return get(ExecuteOnly); } in getExecuteOnly()
185 static SectionKind getReadOnly() { return get(ReadOnly); } in getReadOnly()
186 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString()
189 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString()
192 static SectionKind getMergeable4ByteCString() { in getMergeable4ByteCString()
[all …]
H A DMCContext.h351 unsigned Flags, SectionKind K,
527 unsigned Reserved2, SectionKind K,
531 unsigned TypeAndAttributes, SectionKind K,
597 SectionKind Kind, StringRef COMDATSymName,
603 SectionKind Kind,
614 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
619 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection()
624 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection()
630 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
634 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp202 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO, in getKindForGlobal()
209 return SectionKind::getText(); in getKindForGlobal()
213 return SectionKind::getText(); in getKindForGlobal()
224 return SectionKind::getThreadBSSLocal(); in getKindForGlobal()
226 return SectionKind::getThreadBSS(); in getKindForGlobal()
228 return SectionKind::getThreadData(); in getKindForGlobal()
233 return SectionKind::getCommon(); in getKindForGlobal()
239 return SectionKind::getBSSLocal(); in getKindForGlobal()
241 return SectionKind::getBSSExtern(); in getKindForGlobal()
242 return SectionKind::getBSS(); in getKindForGlobal()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h58 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
62 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
65 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
124 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
127 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
130 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
165 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
168 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
191 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
206 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DWasmAsmParser.cpp148 auto Kind = StringSwitch<Optional<SectionKind>>(Name) in parseSectionDirective()
149 .StartsWith(".data", SectionKind::getData()) in parseSectionDirective()
150 .StartsWith(".tdata", SectionKind::getThreadData()) in parseSectionDirective()
151 .StartsWith(".tbss", SectionKind::getThreadBSS()) in parseSectionDirective()
152 .StartsWith(".rodata", SectionKind::getReadOnly()) in parseSectionDirective()
153 .StartsWith(".text", SectionKind::getText()) in parseSectionDirective()
154 .StartsWith(".custom_section", SectionKind::getMetadata()) in parseSectionDirective()
155 .StartsWith(".bss", SectionKind::getBSS()) in parseSectionDirective()
158 .StartsWith(".init_array", SectionKind::getData()) in parseSectionDirective()
159 .StartsWith(".debug_", SectionKind::getMetadata()) in parseSectionDirective()
[all …]
H A DCOFFMasmParser.cpp44 SectionKind Kind);
47 SectionKind Kind, StringRef COMDATSymName,
195 SectionKind::getText()); in ParseSectionDirectiveCode()
203 SectionKind::getData()); in ParseSectionDirectiveInitializedData()
211 SectionKind::getBSS()); in ParseSectionDirectiveUninitializedData()
223 static SectionKind computeSectionKind(unsigned Flags) { in computeSectionKind()
225 return SectionKind::getText(); in computeSectionKind()
228 return SectionKind::getReadOnly(); in computeSectionKind()
229 return SectionKind::getData(); in computeSectionKind()
234 SectionKind Kind) { in ParseSectionSwitch()
[all …]
H A DCOFFAsmParser.cpp44 SectionKind Kind);
47 SectionKind Kind, StringRef COMDATSymName,
101 SectionKind::getText()); in ParseSectionDirectiveText()
108 SectionKind::getData()); in ParseSectionDirectiveData()
116 SectionKind::getBSS()); in ParseSectionDirectiveBSS()
153 static SectionKind computeSectionKind(unsigned Flags) { in computeSectionKind()
155 return SectionKind::getText(); in computeSectionKind()
158 return SectionKind::getReadOnly(); in computeSectionKind()
159 return SectionKind::getData(); in computeSectionKind()
312 SectionKind Kind) { in ParseSectionSwitch()
[all …]
H A DELFAsmParser.cpp46 SectionKind Kind);
95 SectionKind::getData()); in ParseSectionDirectiveData()
100 ELF::SHF_ALLOC, SectionKind::getText()); in ParseSectionDirectiveText()
105 ELF::SHF_ALLOC, SectionKind::getBSS()); in ParseSectionDirectiveBSS()
110 SectionKind::getReadOnly()); in ParseSectionDirectiveRoData()
116 SectionKind::getThreadData()); in ParseSectionDirectiveTData()
122 SectionKind::getThreadBSS()); in ParseSectionDirectiveTBSS()
127 SectionKind::getData()); in ParseSectionDirectiveDataRel()
133 SectionKind::getReadOnlyWithRel()); in ParseSectionDirectiveDataRelRo()
138 SectionKind::getData()); in ParseSectionDirectiveEhFrame()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp437 static SectionKind getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection()
450 return SectionKind::getMetadata(); in getELFKindForNamedSection()
463 return SectionKind::getBSS(); in getELFKindForNamedSection()
469 return SectionKind::getThreadData(); in getELFKindForNamedSection()
475 return SectionKind::getThreadBSS(); in getELFKindForNamedSection()
480 static unsigned getELFSectionType(StringRef Name, SectionKind K) { in getELFSectionType()
502 static unsigned getELFSectionFlags(SectionKind K) { in getELFSectionFlags()
561 static unsigned getEntrySizeForKind(SectionKind Kind) { in getEntrySizeForKind()
587 static StringRef getSectionPrefixForGlobal(SectionKind Kind) { in getSectionPrefixForGlobal()
606 getELFSectionNameForGlobal(const GlobalObject *GO, SectionKind Kind, in getELFSectionNameForGlobal()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp76 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction()
85 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal()
88 SK = SectionKind::getExecuteOnly(); in getExplicitSectionGlobal()
94 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal()
97 SK = SectionKind::getExecuteOnly(); in SelectSectionForGlobal()
H A DARMTargetObjectFile.h35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
38 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h38 class SectionKind; variable
97 SectionKind Kind, const Constant *C,
111 static SectionKind getKindForGlobal(const GlobalObject *GO,
117 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
144 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
279 SectionKind Kind,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp21 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
30 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal()
34 SK = SectionKind::getMetadata(); in getExplicitSectionGlobal()
H A DAMDGPUTargetObjectFile.h24 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
26 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.h27 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
33 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
H A DXCoreTargetObjectFile.cpp65 static unsigned getXCoreSectionType(SectionKind K) { in getXCoreSectionType()
71 static unsigned getXCoreSectionFlags(SectionKind K, bool IsCPRel) { in getXCoreSectionFlags()
98 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
109 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
144 const DataLayout &DL, SectionKind Kind, const Constant *C, in getSectionForConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h28 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, in getSectionForConstant()
34 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
39 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.h20 SectionKind Kind) const;
32 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
38 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
H A DLanaiTargetObjectFile.cpp66 SectionKind Kind) const { in isGlobalInSmallSection()
102 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
120 const DataLayout &DL, SectionKind Kind, const Constant *C, in getSectionForConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.h22 SectionKind Kind) const;
34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
41 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.h22 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
26 SectionKind Kind,
49 SectionKind Kind,
H A DHexagonTargetObjectFile.cpp128 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
166 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
343 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in selectSmallSectionForGlobal()
400 Kind = SectionKind::getData(); in selectSmallSectionForGlobal()
453 SectionKind Kind = SectionKind::getText(); in selectSectionForLookupTable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.h30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
36 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,

123