Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCObjectFileInfo.cpp58 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo()
99 SectionKind::getData()); in initMachOMCObjectFileInfo()
498 SectionKind::getBSS()); in initCOFFMCObjectFileInfo()
504 SectionKind::getText()); in initCOFFMCObjectFileInfo()
508 SectionKind::getData()); in initCOFFMCObjectFileInfo()
511 SectionKind::getReadOnly()); in initCOFFMCObjectFileInfo()
538 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
564 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo()
697 SectionKind::getData()); in initCOFFMCObjectFileInfo()
701 SectionKind::getData()); in initCOFFMCObjectFileInfo()
[all …]
H A DMCContext.cpp275 unsigned Reserved2, SectionKind Kind, in getMachOSection()
318 unsigned Flags, SectionKind K, in createELFSectionImpl()
362 I->getKey(), Type, Flags, SectionKind::getReadOnly(), EntrySize, Group, in createELFRelSection()
402 SectionKind Kind; in getELFSection()
404 Kind = SectionKind::getExecuteOnly(); in getELFSection()
406 Kind = SectionKind::getText(); in getELFSection()
408 Kind = SectionKind::getReadOnly(); in getELFSection()
418 SectionKind::getReadOnly(), 4, Group, ~0, in createELFGroupSection()
424 SectionKind Kind, in getCOFFSection()
456 SectionKind Kind, in getCOFFSection()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DSectionKind.h23 class SectionKind {
172 static SectionKind get(Kind K) { in get()
173 SectionKind Res; in get()
179 static SectionKind getMetadata() { return get(Metadata); } in getMetadata()
180 static SectionKind getText() { return get(Text); } in getText()
183 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString()
186 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString()
189 static SectionKind getMergeable4ByteCString() { in getMergeable4ByteCString()
198 static SectionKind getBSS() { return get(BSS); } in getBSS()
201 static SectionKind getCommon() { return get(Common); } in getCommon()
[all …]
H A DMCContext.h272 unsigned Flags, SectionKind K,
379 unsigned Reserved2, SectionKind K,
383 unsigned TypeAndAttributes, SectionKind K,
435 SectionKind Kind, StringRef COMDATSymName,
441 SectionKind Kind,
454 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K) { in getWasmSection()
458 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection()
463 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection()
468 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
472 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
/freebsd-12.1/contrib/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp150 return SectionKind::getText(); in getKindForGlobal()
158 return SectionKind::getThreadBSS(); in getKindForGlobal()
159 return SectionKind::getThreadData(); in getKindForGlobal()
164 return SectionKind::getCommon(); in getKindForGlobal()
170 return SectionKind::getBSSLocal(); in getKindForGlobal()
172 return SectionKind::getBSSExtern(); in getKindForGlobal()
173 return SectionKind::getBSS(); in getKindForGlobal()
188 return SectionKind::getReadOnly(); in getKindForGlobal()
219 return SectionKind::getReadOnly(); in getKindForGlobal()
231 return SectionKind::getReadOnly(); in getKindForGlobal()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h55 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
59 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
62 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
107 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
110 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
113 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
146 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
149 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
178 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
190 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp390 static SectionKind getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection()
400 return SectionKind::getMetadata(); in getELFKindForNamedSection()
413 return SectionKind::getBSS(); in getELFKindForNamedSection()
1409 SectionKind Kind = SectionKind::getReadOnly(); in getSectionForJumpTable()
1449 SectionKind::getReadOnly()); in emitModuleMetadata()
1474 SectionKind::getData()); in Initialize()
1478 SectionKind::getData()); in Initialize()
1503 SectionKind::getReadOnly()); in getCOFFStaticStructorSection()
1670 static SectionKind getWasmKindForNamedSection(StringRef Name, SectionKind K) { in getWasmKindForNamedSection()
1673 return SectionKind::getText(); in getWasmKindForNamedSection()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h112 enum class SectionKind { enum
119 SectionKind Kind;
129 Section(SectionKind Kind) : Kind(Kind) {} in Section()
139 return S->Kind == SectionKind::RawContent; in classof()
146 NoBitsSection() : Section(SectionKind::NoBits) {} in NoBitsSection()
149 return S->Kind == SectionKind::NoBits; in classof()
158 Group() : Section(SectionKind::Group) {} in Group()
161 return S->Kind == SectionKind::Group; in classof()
178 return S->Kind == SectionKind::Relocation; in classof()
196 MipsABIFlags() : Section(SectionKind::MipsABIFlags) {} in MipsABIFlags()
[all …]
/freebsd-12.1/contrib/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.h36 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
39 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/freebsd-12.1/contrib/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h86 SectionKind Kind,
92 static SectionKind getKindForGlobal(const GlobalObject *GO,
98 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
123 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
212 SectionKind Kind,
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp25 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
34 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal()
38 SK = SectionKind::getMetadata(); in getExplicitSectionGlobal()
H A DAMDGPUTargetObjectFile.h27 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
29 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h29 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, in getSectionForConstant()
35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
40 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.h28 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
31 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
34 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
H A DXCoreTargetObjectFile.cpp66 static unsigned getXCoreSectionType(SectionKind K) { in getXCoreSectionType()
72 static unsigned getXCoreSectionFlags(SectionKind K, bool IsCPRel) { in getXCoreSectionFlags()
99 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
110 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
145 SectionKind Kind, in getSectionForConstant()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.h22 SectionKind Kind) const;
34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
40 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
H A DLanaiTargetObjectFile.cpp68 SectionKind Kind) const { in isGlobalInSmallSection()
104 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
122 SectionKind Kind, in getSectionForConstant()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.h23 SectionKind Kind) const;
35 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
42 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.h22 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
26 SectionKind Kind,
49 SectionKind Kind,
H A DHexagonTargetObjectFile.cpp129 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
167 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
344 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in selectSmallSectionForGlobal()
401 Kind = SectionKind::getData(); in selectSmallSectionForGlobal()
454 SectionKind Kind = SectionKind::getText(); in selectSectionForLookupTable()
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp45 SectionKind Kind);
109 SectionKind::getText()); in ParseSectionDirectiveText()
116 SectionKind::getData()); in ParseSectionDirectiveData()
124 SectionKind::getBSS()); in ParseSectionDirectiveBSS()
165 static SectionKind computeSectionKind(unsigned Flags) { in computeSectionKind()
167 return SectionKind::getText(); in computeSectionKind()
170 return SectionKind::getReadOnly(); in computeSectionKind()
171 return SectionKind::getData(); in computeSectionKind()
320 SectionKind Kind) { in ParseSectionSwitch()
326 SectionKind Kind, in ParseSectionSwitch()
[all …]
H A DELFAsmParser.cpp47 SectionKind Kind);
96 SectionKind::getData()); in ParseSectionDirectiveData()
101 ELF::SHF_ALLOC, SectionKind::getText()); in ParseSectionDirectiveText()
106 ELF::SHF_ALLOC, SectionKind::getBSS()); in ParseSectionDirectiveBSS()
111 SectionKind::getReadOnly()); in ParseSectionDirectiveRoData()
117 SectionKind::getThreadData()); in ParseSectionDirectiveTData()
123 SectionKind::getThreadBSS()); in ParseSectionDirectiveTBSS()
128 SectionKind::getData()); in ParseSectionDirectiveDataRel()
134 SectionKind::getReadOnlyWithRel()); in ParseSectionDirectiveDataRelRo()
139 SectionKind::getData()); in ParseSectionDirectiveEhFrame()
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DInputSection.h42 Kind kind() const { return (Kind)SectionKind; } in kind()
53 unsigned SectionKind : 3; variable
87 SectionBase(Kind SectionKind, StringRef Name, uint64_t Flags, in SectionBase() argument
90 : Name(Name), Repl(this), SectionKind(SectionKind), Live(false), in SectionBase()
100 StringRef Name, Kind SectionKind);
105 Kind SectionKind);
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp39 DWARFSectionKind SectionKind) { in addUnitsForSection() argument
45 SectionKind); in addUnitsForSection()
50 DWARFSectionKind SectionKind, in addUnitsForDWOSection() argument
57 SectionKind); in addUnitsForDWOSection()
65 bool Lazy, DWARFSectionKind SectionKind) { in addUnitsImpl() argument
70 &LS](uint32_t Offset, DWARFSectionKind SectionKind, in addUnitsImpl()
80 Index = &getDWARFUnitIndex(Context, SectionKind); in addUnitsImpl()
82 if (!Header.extract(Context, Data, &Offset, SectionKind, Index, in addUnitsImpl()
112 auto U = Parser(Offset, SectionKind, &Section, nullptr); in addUnitsImpl()
238 DWARFSectionKind SectionKind, in extract() argument
[all …]

123