| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCObjectFileInfo.cpp | 70 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo() 119 SectionKind::getData()); in initMachOMCObjectFileInfo() 578 SectionKind::getBSS()); in initCOFFMCObjectFileInfo() 584 SectionKind::getText()); in initCOFFMCObjectFileInfo() 588 SectionKind::getData()); in initCOFFMCObjectFileInfo() 591 SectionKind::getReadOnly()); in initCOFFMCObjectFileInfo() 619 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo() 803 SectionKind::getData()); in initCOFFMCObjectFileInfo() 807 SectionKind::getData()); in initCOFFMCObjectFileInfo() 835 SectionKind::getData()); in initCOFFMCObjectFileInfo() [all …]
|
| H A D | MCContext.cpp | 557 SectionKind Kind; in getELFSection() 559 Kind = SectionKind::getExecuteOnly(); in getELFSection() 561 Kind = SectionKind::getText(); in getELFSection() 563 Kind = SectionKind::getReadOnly(); in getELFSection() 573 Kind = llvm::StringSwitch<SectionKind>(CachedName) in getELFSection() 574 .Case(".bss", SectionKind::getBSS()) in getELFSection() 578 .Case(".data", SectionKind::getData()) in getELFSection() 579 .Case(".data1", SectionKind::getData()) in getELFSection() 594 .Default(SectionKind::getReadOnly()); in getELFSection() 780 StringRef Section, SectionKind Kind, in getXCOFFSection() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | SectionKind.h | 22 class SectionKind { 181 static SectionKind get(Kind K) { in get() 182 SectionKind Res; in get() 189 static SectionKind getExclude() { return get(Exclude); } in getExclude() 190 static SectionKind getText() { return get(Text); } in getText() 193 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString() 196 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString() 199 static SectionKind getMergeable4ByteCString() { in getMergeable4ByteCString() 209 static SectionKind getBSS() { return get(BSS); } in getBSS() 212 static SectionKind getCommon() { return get(Common); } in getCommon() [all …]
|
| H A D | MCContext.h | 375 unsigned Flags, SectionKind K, 555 unsigned Reserved2, SectionKind K, 623 MCSectionGOFF *getGOFFSection(StringRef Section, SectionKind Kind, 627 SectionKind Kind, StringRef COMDATSymName, 633 SectionKind Kind, 646 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, 651 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection() 656 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection() 662 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, 666 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 207 return SectionKind::getText(); in getKindForGlobal() 211 return SectionKind::getText(); in getKindForGlobal() 224 return SectionKind::getThreadBSS(); in getKindForGlobal() 226 return SectionKind::getThreadData(); in getKindForGlobal() 231 return SectionKind::getCommon(); in getKindForGlobal() 237 return SectionKind::getBSSLocal(); in getKindForGlobal() 239 return SectionKind::getBSSExtern(); in getKindForGlobal() 240 return SectionKind::getBSS(); in getKindForGlobal() 248 return SectionKind::getExclude(); in getKindForGlobal() 262 return SectionKind::getReadOnly(); in getKindForGlobal() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.h | 59 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 63 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 66 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 128 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 131 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 134 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 174 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 200 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 218 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 262 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Parallel/ |
| H A D | DWARFLinker.h | 94 SectionDescriptorBase(DebugSectionKind SectionKind, dwarf::FormParams Format, in SectionDescriptorBase() 96 : SectionKind(SectionKind), Format(Format), Endianess(Endianess) {} in SectionDescriptorBase() 101 DebugSectionKind getKind() { return SectionKind; } in getKind() 103 const StringLiteral &getName() const { return getSectionName(SectionKind); } in getName() 111 DebugSectionKind SectionKind = DebugSectionKind::NumberOfEnumEntries;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | OutputSections.h | 157 : SectionDescriptorBase(SectionKind, Format, Endianess), OS(Contents), in SectionDescriptor() 317 getSectionDescriptor(DebugSectionKind SectionKind) const { in getSectionDescriptor() argument 318 SectionsSetTy::const_iterator It = SectionDescriptors.find(SectionKind); in getSectionDescriptor() 332 SectionDescriptor &getSectionDescriptor(DebugSectionKind SectionKind) { in getSectionDescriptor() argument 333 SectionsSetTy::iterator It = SectionDescriptors.find(SectionKind); in getSectionDescriptor() 349 tryGetSectionDescriptor(DebugSectionKind SectionKind) const { in tryGetSectionDescriptor() argument 361 tryGetSectionDescriptor(DebugSectionKind SectionKind) { in tryGetSectionDescriptor() argument 362 SectionsSetTy::iterator It = SectionDescriptors.find(SectionKind); in tryGetSectionDescriptor() 373 getOrCreateSectionDescriptor(DebugSectionKind SectionKind) { in getOrCreateSectionDescriptor() argument 374 SectionsSetTy::iterator It = SectionDescriptors.find(SectionKind); in getOrCreateSectionDescriptor() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | WasmAsmParser.cpp | 157 auto Kind = StringSwitch<std::optional<SectionKind>>(Name) in parseSectionDirective() 158 .StartsWith(".data", SectionKind::getData()) in parseSectionDirective() 159 .StartsWith(".tdata", SectionKind::getThreadData()) in parseSectionDirective() 160 .StartsWith(".tbss", SectionKind::getThreadBSS()) in parseSectionDirective() 161 .StartsWith(".rodata", SectionKind::getReadOnly()) in parseSectionDirective() 162 .StartsWith(".text", SectionKind::getText()) in parseSectionDirective() 163 .StartsWith(".custom_section", SectionKind::getMetadata()) in parseSectionDirective() 164 .StartsWith(".bss", SectionKind::getBSS()) in parseSectionDirective() 167 .StartsWith(".init_array", SectionKind::getData()) in parseSectionDirective() 168 .StartsWith(".debug_", SectionKind::getMetadata()) in parseSectionDirective() [all …]
|
| H A D | COFFMasmParser.cpp | 39 SectionKind Kind); 42 SectionKind Kind, StringRef COMDATSymName, 191 SectionKind::getText()); in ParseSectionDirectiveCode() 199 SectionKind::getData()); in ParseSectionDirectiveInitializedData() 207 SectionKind::getBSS()); in ParseSectionDirectiveUninitializedData() 222 SectionKind Kind) { in ParseSectionSwitch() 347 SectionKind Kind = StringSwitch<SectionKind>(Class) in ParseDirectiveSegment() 348 .CaseLower("data", SectionKind::getData()) in ParseDirectiveSegment() 349 .CaseLower("code", SectionKind::getText()) in ParseDirectiveSegment() 351 .Default(SectionKind::getData()); in ParseDirectiveSegment() [all …]
|
| H A D | COFFAsmParser.cpp | 41 SectionKind Kind); 103 SectionKind::getText()); in ParseSectionDirectiveText() 110 SectionKind::getData()); in ParseSectionDirectiveData() 118 SectionKind::getBSS()); in ParseSectionDirectiveBSS() 158 static SectionKind computeSectionKind(unsigned Flags) { in computeSectionKind() 160 return SectionKind::getText(); in computeSectionKind() 163 return SectionKind::getReadOnly(); in computeSectionKind() 164 return SectionKind::getData(); in computeSectionKind() 325 SectionKind Kind) { in ParseSectionSwitch() 331 SectionKind Kind, in ParseSectionSwitch() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 463 static SectionKind getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection() 480 return SectionKind::getMetadata(); in getELFKindForNamedSection() 490 return SectionKind::getBSS(); in getELFKindForNamedSection() 500 return SectionKind::getThreadBSS(); in getELFKindForNamedSection() 932 SectionKind Kind = SectionKind::getText(); in getUniqueSectionForFunction() 1681 Kind = SectionKind::getMetadata(); in getExplicitSectionGlobal() 1817 SectionKind Kind = SectionKind::getReadOnly(); in getSectionForJumpTable() 1945 SectionKind::getData()); in Initialize() 1949 SectionKind::getData()); in Initialize() 1988 SectionKind::getReadOnly()); in getCOFFStaticStructorSection() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetObjectFile.cpp | 84 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction() 93 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() 96 SK = SectionKind::getExecuteOnly(); in getExplicitSectionGlobal() 102 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal() 105 SK = SectionKind::getExecuteOnly(); in SelectSectionForGlobal()
|
| H A D | ARMTargetObjectFile.h | 39 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 42 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetObjectFile.h | 24 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, in getSectionForConstant() 30 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal() 35 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetObjectFile.cpp | 21 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 D | AMDGPUTargetObjectFile.h | 24 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 26 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVTargetObjectFile.h | 28 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, in getSectionForConstant() 33 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal() 37 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, in SelectSectionForGlobal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreTargetObjectFile.h | 27 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 D | XCoreTargetObjectFile.cpp | 65 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-14.2/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetLoweringObjectFile.h | 40 class SectionKind; variable 99 SectionKind Kind, const Constant *C, 113 static SectionKind getKindForGlobal(const GlobalObject *GO, 119 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind, 146 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 289 SectionKind Kind,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetObjectFile.h | 20 SectionKind Kind) const; 32 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 38 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
| H A D | LanaiTargetObjectFile.cpp | 66 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-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetObjectFile.h | 22 SectionKind Kind) const; 34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 41 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetObjectFile.h | 22 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 26 SectionKind Kind, 49 SectionKind Kind,
|