| /freebsd/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() 188 static SectionKind getMetadata() { return get(Metadata); } in getMetadata() 189 static SectionKind getExclude() { return get(Exclude); } in getExclude() 190 static SectionKind getText() { return get(Text); } in getText() 191 static SectionKind getExecuteOnly() { return get(ExecuteOnly); } in getExecuteOnly() 192 static SectionKind getReadOnly() { return get(ReadOnly); } in getReadOnly() 193 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString() 196 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString() [all …]
|
| H A D | MCSectionXCOFF.h | 40 SectionKind Kind; 46 XCOFF::SymbolType ST, SectionKind K, MCSymbolXCOFF *QualName, in MCSectionXCOFF() 76 MCSectionXCOFF(StringRef Name, SectionKind K, MCSymbolXCOFF *QualName, in MCSectionXCOFF() 133 SectionKind getKind() const { return Kind; } in getKind()
|
| H A D | MCContext.h | 361 MCSectionGOFF *getGOFFSection(SectionKind Kind, StringRef Name, 548 unsigned Reserved2, SectionKind K, 552 unsigned TypeAndAttributes, SectionKind K, 619 LLVM_ABI MCSectionGOFF *getGOFFSection(SectionKind Kind, StringRef Name, 621 LLVM_ABI MCSectionGOFF *getGOFFSection(SectionKind Kind, StringRef Name, 624 LLVM_ABI MCSectionGOFF *getGOFFSection(SectionKind Kind, StringRef Name, 646 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, 651 LLVM_ABI MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, 655 LLVM_ABI MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, 662 SectionKind K); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCObjectFileInfo.cpp | 71 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo() 96 SectionKind::getText()); in initMachOMCObjectFileInfo() 98 = Ctx->getMachOSection("__DATA", "__data", 0, SectionKind::getData()); in initMachOMCObjectFileInfo() 106 SectionKind::getData()); in initMachOMCObjectFileInfo() 110 SectionKind::getThreadBSS()); in initMachOMCObjectFileInfo() 116 SectionKind::getData()); in initMachOMCObjectFileInfo() 120 SectionKind::getData()); in initMachOMCObjectFileInfo() 125 SectionKind::getMergeable1ByteCString()); in initMachOMCObjectFileInfo() 128 SectionKind::getMergeable2ByteCString()); in initMachOMCObjectFileInfo() 132 SectionKind::getMergeableConst4()); in initMachOMCObjectFileInfo() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 227 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO, in getKindForGlobal() 234 return SectionKind::getText(); in getKindForGlobal() 238 return SectionKind::getText(); in getKindForGlobal() 249 return SectionKind::getThreadBSSLocal(); in getKindForGlobal() 251 return SectionKind::getThreadBSS(); in getKindForGlobal() 253 return SectionKind::getThreadData(); in getKindForGlobal() 258 return SectionKind::getCommon(); in getKindForGlobal() 264 return SectionKind::getBSSLocal(); in getKindForGlobal() 266 return SectionKind::getBSSExtern(); in getKindForGlobal() 267 return SectionKind::getBSS(); in getKindForGlobal() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.h | 65 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 71 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 75 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 78 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 148 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 151 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 154 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 191 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 194 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 223 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | OutputSections.h | 155 SectionDescriptor(DebugSectionKind SectionKind, LinkingGlobalData &GlobalData, in SectionDescriptor() 157 : SectionDescriptorBase(SectionKind, Format, Endianess), OS(Contents), in SectionDescriptor() 319 getSectionDescriptor(DebugSectionKind SectionKind) const { in getSectionDescriptor() argument 320 SectionsSetTy::const_iterator It = SectionDescriptors.find(SectionKind); in getSectionDescriptor() 324 formatv("Section {0} does not exist", getSectionName(SectionKind)) in getSectionDescriptor() 334 SectionDescriptor &getSectionDescriptor(DebugSectionKind SectionKind) { in getSectionDescriptor() argument 335 SectionsSetTy::iterator It = SectionDescriptors.find(SectionKind); in getSectionDescriptor() 339 formatv("Section {0} does not exist", getSectionName(SectionKind)) in getSectionDescriptor() 351 tryGetSectionDescriptor(DebugSectionKind SectionKind) const { in tryGetSectionDescriptor() argument 352 SectionsSetTy::const_iterator It = SectionDescriptors.find(SectionKind); in tryGetSectionDescriptor() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Parallel/ |
| H A D | DWARFLinker.h | 95 SectionDescriptorBase(DebugSectionKind SectionKind, dwarf::FormParams Format, in SectionDescriptorBase() 97 : SectionKind(SectionKind), Format(Format), Endianess(Endianess) {} in SectionDescriptorBase() 102 DebugSectionKind getKind() { return SectionKind; } in getKind() 104 const StringLiteral &getName() const { return getSectionName(SectionKind); } in getName() 112 DebugSectionKind SectionKind = DebugSectionKind::NumberOfEnumEntries;
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | WasmAsmParser.cpp | 160 auto Kind = StringSwitch<std::optional<SectionKind>>(Name) in parseSectionDirective() 161 .StartsWith(".data", SectionKind::getData()) in parseSectionDirective() 162 .StartsWith(".tdata", SectionKind::getThreadData()) in parseSectionDirective() 163 .StartsWith(".tbss", SectionKind::getThreadBSS()) in parseSectionDirective() 164 .StartsWith(".rodata", SectionKind::getReadOnly()) in parseSectionDirective() 165 .StartsWith(".text", SectionKind::getText()) in parseSectionDirective() 166 .StartsWith(".custom_section", SectionKind::getMetadata()) in parseSectionDirective() 167 .StartsWith(".bss", SectionKind::getBSS()) in parseSectionDirective() 170 .StartsWith(".init_array", SectionKind::getData()) in parseSectionDirective() 171 .StartsWith(".debug_", SectionKind::getMetadata()) in parseSectionDirective() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 455 static SectionKind getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection() 472 return SectionKind::getMetadata(); in getELFKindForNamedSection() 482 return SectionKind::getBSS(); in getELFKindForNamedSection() 487 return SectionKind::getThreadData(); in getELFKindForNamedSection() 492 return SectionKind::getThreadBSS(); in getELFKindForNamedSection() 502 static unsigned getELFSectionType(StringRef Name, SectionKind K) { in getELFSectionType() 529 static unsigned getELFSectionFlags(SectionKind K, const Triple &T) { in getELFSectionFlags() 588 static unsigned getEntrySizeForKind(SectionKind Kind) { in getEntrySizeForKind() 614 static StringRef getSectionPrefixForGlobal(SectionKind Kind, bool IsLarge) { in getSectionPrefixForGlobal() 633 getELFSectionNameForGlobal(const GlobalObject *GO, SectionKind Kind, in getELFSectionNameForGlobal() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/ |
| H A D | OutputSections.h | |
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetObjectFile.cpp | 98 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction() 107 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() 110 SK = SectionKind::getExecuteOnly(); in getExplicitSectionGlobal() 116 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal() 119 SK = SectionKind::getExecuteOnly(); in SelectSectionForGlobal()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetLoweringObjectFile.h | 42 class SectionKind; variable 108 SectionKind Kind, const Constant *C, 114 SectionKind Kind, const Constant *C, 129 static SectionKind getKindForGlobal(const GlobalObject *GO, 135 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind, 166 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 308 SectionKind Kind,
|
| /freebsd/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/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetObjectFile.cpp | 12 #include "llvm/MC/SectionKind.h" 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/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/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/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 | 63 SectionKind Kind) const { in isGlobalInSmallSection() 99 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 117 const DataLayout &DL, SectionKind Kind, const Constant *C, in getSectionForConstant()
|
| /freebsd/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/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,
|
| H A D | HexagonTargetObjectFile.cpp | 127 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 165 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/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetObjectFile.cpp | 164 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind Kind, in isExecuteOnlyFunction() 173 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal() 176 Kind = SectionKind::getExecuteOnly(); in getExplicitSectionGlobal() 182 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 185 Kind = SectionKind::getExecuteOnly(); in SelectSectionForGlobal()
|