Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp59 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo()
101 SectionKind::getData()); in initMachOMCObjectFileInfo()
530 SectionKind::getBSS()); in initCOFFMCObjectFileInfo()
536 SectionKind::getText()); in initCOFFMCObjectFileInfo()
540 SectionKind::getData()); in initCOFFMCObjectFileInfo()
543 SectionKind::getReadOnly()); in initCOFFMCObjectFileInfo()
570 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
596 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
754 SectionKind::getData()); in initCOFFMCObjectFileInfo()
758 SectionKind::getData()); in initCOFFMCObjectFileInfo()
[all …]
H A DMCContext.cpp469 unsigned Flags, SectionKind K, in createELFSectionImpl()
514 I->getKey(), Type, Flags, SectionKind::getReadOnly(), EntrySize, Group, in createELFRelSection()
559 SectionKind Kind; in getELFSection()
561 Kind = SectionKind::getExecuteOnly(); in getELFSection()
563 Kind = SectionKind::getText(); in getELFSection()
565 Kind = SectionKind::getReadOnly(); in getELFSection()
581 SectionKind::getReadOnly(), 4, Group, IsComdat, in createELFGroupSection()
630 SectionKind Kind, in getCOFFSection()
662 SectionKind Kind, in getCOFFSection()
689 MCSectionWasm *MCContext::getWasmSection(const Twine &Section, SectionKind K, in getWasmSection()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
186 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString()
189 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString()
192 static SectionKind getMergeable4ByteCString() { in getMergeable4ByteCString()
202 static SectionKind getBSS() { return get(BSS); } in getBSS()
205 static SectionKind getCommon() { return get(Common); } in getCommon()
[all …]
H A DMCContext.h354 unsigned Flags, SectionKind K,
530 unsigned Reserved2, SectionKind K,
599 MCSectionGOFF *getGOFFSection(StringRef Section, SectionKind Kind);
602 SectionKind Kind, StringRef COMDATSymName,
608 SectionKind Kind,
619 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
624 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection()
629 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection()
635 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
639 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp209 return SectionKind::getText(); in getKindForGlobal()
213 return SectionKind::getText(); 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()
257 return SectionKind::getReadOnly(); in getKindForGlobal()
288 return SectionKind::getReadOnly(); in getKindForGlobal()
[all …]
/freebsd-13.1/contrib/llvm-project/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,
168 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
191 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
209 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
253 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
[all …]
/freebsd-13.1/contrib/llvm-project/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);
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()
241 SectionKind Kind, in ParseSectionSwitch()
275 SectionKind Kind = computeSectionKind(Flags); in ParseDirectiveSegment()
[all …]
H A DCOFFAsmParser.cpp44 SectionKind Kind);
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()
318 SectionKind Kind, in ParseSectionSwitch()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp438 static SectionKind getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection()
451 return SectionKind::getMetadata(); in getELFKindForNamedSection()
464 return SectionKind::getBSS(); in getELFKindForNamedSection()
470 return SectionKind::getThreadData(); in getELFKindForNamedSection()
476 return SectionKind::getThreadBSS(); in getELFKindForNamedSection()
895 SectionKind Kind = SectionKind::getText(); in getUniqueSectionForFunction()
1728 SectionKind Kind = SectionKind::getReadOnly(); in getSectionForJumpTable()
1843 SectionKind::getData()); in Initialize()
1847 SectionKind::getData()); in Initialize()
1873 SectionKind::getReadOnly()); in getCOFFStaticStructorSection()
[all …]
/freebsd-13.1/contrib/llvm-project/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,
/freebsd-13.1/contrib/llvm-project/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,
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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,
/freebsd-13.1/contrib/llvm-project/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,
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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,
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.h30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
36 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp25 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
45 Kind = SectionKind::getReadOnlyWithRel(); in SelectSectionForGlobal()

123