| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCContext.h | 237 : SectionName(SectionName), GroupName(GroupName), in ELFSectionKey() 241 if (SectionName != Other.SectionName) 242 return SectionName < Other.SectionName; 259 : SectionName(SectionName), GroupName(GroupName), in COFFSectionKey() 263 if (SectionName != Other.SectionName) 264 return SectionName < Other.SectionName; 284 if (SectionName != Other.SectionName) 285 return SectionName < Other.SectionName; 306 : SectionName(SectionName), MappingClass(MappingClass), in XCOFFSectionKey() 375 if (SectionName != Other.SectionName) [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUMCAsmInfo.cpp | 51 bool AMDGPUMCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective() 52 return SectionName == ".hsatext" || SectionName == ".hsadata_global_agent" || in shouldOmitSectionDirective() 53 SectionName == ".hsadata_global_program" || in shouldOmitSectionDirective() 54 SectionName == ".hsarodata_readonly_agent" || in shouldOmitSectionDirective() 55 MCAsmInfo::shouldOmitSectionDirective(SectionName); in shouldOmitSectionDirective()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | ELFAsmParser.cpp | 252 SectionName = getTok().getIdentifier(); in ParseSectionName() 502 return SectionName.startswith(Prefix) || SectionName == Prefix.drop_back(); in hasPrefix() 506 StringRef SectionName; in ParseSectionArguments() local 508 if (ParseSectionName(SectionName)) in ParseSectionArguments() 523 if (hasPrefix(SectionName, ".rodata.") || SectionName == ".rodata1") in ParseSectionArguments() 525 else if (SectionName == ".fini" || SectionName == ".init" || in ParseSectionArguments() 526 hasPrefix(SectionName, ".text.")) in ParseSectionArguments() 528 else if (hasPrefix(SectionName, ".data.") || SectionName == ".data1" || in ParseSectionArguments() 529 hasPrefix(SectionName, ".bss.") || in ParseSectionArguments() 535 hasPrefix(SectionName, ".tbss.")) in ParseSectionArguments() [all …]
|
| H A D | COFFAsmParser.cpp | 50 bool ParseSectionName(StringRef &SectionName); 51 bool ParseSectionFlags(StringRef SectionName, StringRef FlagsString, 162 bool COFFAsmParser::ParseSectionFlags(StringRef SectionName, in ParseSectionFlags() argument 263 MCSectionCOFF::isImplicitlyDiscardable(SectionName)) in ParseSectionFlags() 331 bool COFFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName() argument 335 SectionName = getTok().getIdentifier(); in ParseSectionName() 356 StringRef SectionName; in ParseDirectiveSection() local 358 if (ParseSectionName(SectionName)) in ParseDirectiveSection() 374 if (ParseSectionFlags(SectionName, FlagsStr, &Flags)) in ParseDirectiveSection() 410 ParseSectionSwitch(SectionName, Flags, Kind, COMDATSymName, Type); in ParseDirectiveSection()
|
| H A D | COFFMasmParser.cpp | 261 StringRef SectionName = SegmentName; in ParseDirectiveSegment() local 267 SectionName = ".text"; in ParseDirectiveSegment() 269 SectionName = in ParseDirectiveSegment() 277 SectionName, Flags, Kind, "", (COFF::COMDATType)(0))); in ParseDirectiveSegment()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFListTable.cpp | 27 SectionName.data(), HeaderOffset, toString(std::move(Err)).c_str()); in extract() 37 SectionName.data(), HeaderOffset, FullLength); in extract() 44 SectionName.data(), FullLength, HeaderOffset); in extract() 56 SectionName.data(), HeaderData.Version, HeaderOffset); in extract() 61 SectionName.data(), HeaderOffset, HeaderData.AddrSize); in extract() 66 SectionName.data(), HeaderOffset, HeaderData.SegSize); in extract() 72 SectionName.data(), HeaderOffset, HeaderData.OffsetEntryCount); in extract()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFListTable.h | 50 uint64_t *OffsetPtr, StringRef SectionName, 81 StringRef SectionName; variable 87 DWARFListTableHeader(StringRef SectionName, StringRef ListTypeString) in DWARFListTableHeader() argument 88 : SectionName(SectionName), ListTypeString(ListTypeString) {} in DWARFListTableHeader() 98 StringRef getSectionName() const { return SectionName; } in getSectionName() 157 DWARFListTableBase(StringRef SectionName, StringRef HeaderString, in DWARFListTableBase() argument 159 : Header(SectionName, ListTypeString), HeaderString(HeaderString) {} in DWARFListTableBase() 230 StringRef SectionName, in extract() argument 248 SectionName.data(), HeaderOffset); in extract()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-rtdyld/ |
| H A D | llvm-rtdyld.cpp | 180 auto J = SectionIDs.find(SectionName); in getSectionId() 205 StringRef SectionName) override; 273 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab() 296 (*SecIDMap)[SectionName] = SectionID; in allocateCodeSection() 300 SectionName, SectionID); in allocateCodeSection() 310 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateCodeSection() 324 (*SecIDMap)[SectionName] = SectionID; in allocateDataSection() 338 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateDataSection() 612 std::string SectionName = SectionIDStr.substr(ComaIdx + 1); in applySpecificSectionMappings() local 794 StringRef SectionName, in linkAndVerify() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCAsmInfo.cpp | 134 bool MCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective() 136 return SectionName == ".text" || SectionName == ".data" || in shouldOmitSectionDirective() 137 (SectionName == ".bss" && !usesELFSectionDirectiveForBSS()); in shouldOmitSectionDirective()
|
| H A D | MCContext.cpp | 464 StringRef CachedName = I->first.SectionName; in renameELFSection() 557 StringRef CachedName = Entry.first.SectionName; in getELFSection() 590 ELFSeenGenericMergeableSections.insert(SectionName); in recordELFMergeableSectionInfo() 595 if (IsMergeable || isELFGenericMergeableSection(SectionName)) { in recordELFMergeableSectionInfo() 602 return SectionName.startswith(".rodata.str") || in isELFImplicitMergeableSectionNamePrefix() 603 SectionName.startswith(".rodata.cst"); in isELFImplicitMergeableSectionNamePrefix() 607 return isELFImplicitMergeableSectionNamePrefix(SectionName) || in isELFGenericMergeableSection() 608 ELFSeenGenericMergeableSections.count(SectionName); in isELFGenericMergeableSection() 652 StringRef CachedName = Iter->first.SectionName; in getCOFFSection() 717 StringRef CachedName = Entry.first.SectionName; in getWasmSection() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | SectionSizes.cpp | 86 StringRef SectionName; in calculateSectionSizes() local 88 SectionName = *NameOrErr; in calculateSectionSizes() 93 LLVM_DEBUG(dbgs() << SectionName.str() << ": " << Section.getSize() in calculateSectionSizes() 100 Sizes.DebugSectionSizes[std::string(SectionName)] += Section.getSize(); in calculateSectionSizes()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/lli/ |
| H A D | RemoteJITUtils.h | 45 StringRef SectionName) override { in allocateCodeSection() argument 46 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName); in allocateCodeSection() 50 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument 52 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName, in allocateDataSection()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Remarks/ |
| H A D | RemarkLinker.cpp | 34 Expected<StringRef> SectionName = getRemarksSectionName(Obj); in getRemarksSectionContents() local 35 if (!SectionName) in getRemarksSectionContents() 36 return SectionName.takeError(); in getRemarksSectionContents() 42 if (*MaybeName != *SectionName) in getRemarksSectionContents()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | IRSymtab.h | 130 Str SectionName; member 179 StringRef SectionName; member 231 StringRef getSectionName() const { return SectionName; } in getSectionName() 331 SectionName = R->str(UncI->SectionName); in read() 334 SectionName = ""; in read()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetObjectFile.cpp | 32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() local 33 if (SectionName.startswith(".AMDGPU.comment.")) in getExplicitSectionGlobal()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | XCOFFEmitter.cpp | 108 if (InitSections[I].SectionName.size() && in initSectionHeader() 109 !SectionIndexMap[InitSections[I].SectionName]) { in initSectionHeader() 111 SectionIndexMap[InitSections[I].SectionName] = I + 1; in initSectionHeader() 203 writeName(YamlSec.SectionName, W); in writeSectionHeader() 286 YamlSym.SectionName.size() ? SectionIndexMap[YamlSym.SectionName] : 0); in writeSymbols()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | IntelJITEventListener.cpp | 68 void reportSection(llvm::IttEventType EventType, const char *SectionName, in reportSection() argument 70 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection() 89 StringRef SectionName(""); in fillSectionInformation() local 92 SectionName = *SectionNameOrError; in fillSectionInformation() 94 SectionNamesVector.push_back(SectionName.str()); in fillSectionInformation() 96 reportSection(llvm::LoadBinarySection, SectionName.str().c_str(), in fillSectionInformation()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ObjDumper.cpp | 122 StringRef SectionName = unwrapOrError(Obj.getFileName(), Section.getName()); in printSectionsAsString() local 127 W.startLine() << "String dump of section '" << SectionName << "':\n"; in printSectionsAsString() 140 StringRef SectionName = unwrapOrError(Obj.getFileName(), Section.getName()); in printSectionsAsHex() local 145 W.startLine() << "Hex dump of section '" << SectionName << "':\n"; in printSectionsAsHex()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | CodeViewYAMLTypes.h | 54 StringRef SectionName); 56 StringRef SectionName);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngineBindings.cpp | 342 StringRef SectionName) override; 345 unsigned SectionID, StringRef SectionName, 375 StringRef SectionName) { in allocateCodeSection() argument 377 SectionName.str().c_str()); in allocateCodeSection() 382 StringRef SectionName, bool isReadOnly) { in allocateDataSection() argument 384 SectionName.str().c_str(), in allocateDataSection()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 196 StringRef SectionName; member 436 StringRef SectionName; in darwinPrintSymbol() local 438 SectionName = *NameOrErr; in darwinPrintSymbol() 941 StringRef SectionName; in getSymbolNMTypeChar() local 943 SectionName = *NameOrErr; in getSymbolNMTypeChar() 1085 StringRef SectionName; in getNsectForSegSect() local 1087 SectionName = *NameOrErr; in getNsectForSegSect() 1208 StringRef SectionName = StringRef(); in dumpSymbolsFromDLInfoMachO() local 1213 SectionName = *NameOrErr; in dumpSymbolsFromDLInfoMachO() 1528 StringRef SectionName = StringRef(); in dumpSymbolsFromDLInfoMachO() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
| H A D | SectionMemoryManager.h | 119 StringRef SectionName) override; 127 unsigned SectionID, StringRef SectionName,
|
| H A D | RuntimeDyld.h | 65 StringRef FileName, StringRef SectionName, StringRef SymbolName, 105 StringRef SectionName) = 0; 112 StringRef SectionName,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreTargetObjectFile.cpp | 99 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() local 101 bool IsCPRel = SectionName.startswith(".cp."); in getExplicitSectionGlobal() 104 return getContext().getELFSection(SectionName, getXCoreSectionType(Kind), in getExplicitSectionGlobal()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 703 Ctx.isELFGenericMergeableSection(SectionName); in calcUniqueIDUpdateFlagsAndSize() 713 Ctx.getELFUniqueIDForEntsize(SectionName, Flags, EntrySize); in calcUniqueIDUpdateFlagsAndSize() 724 Ctx.isELFImplicitMergeableSectionNamePrefix(SectionName) && in calcUniqueIDUpdateFlagsAndSize() 725 SectionName.startswith(ImplicitSectionNameStem)) in calcUniqueIDUpdateFlagsAndSize() 737 StringRef SectionName = GO->getSection(); in selectExplicitSectionGlobal() local 761 Kind = getELFKindForNamedSection(SectionName, Kind); in selectExplicitSectionGlobal() 779 SectionName, getELFSectionType(SectionName, Kind), Flags, EntrySize, in selectExplicitSectionGlobal() 1226 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() local 1241 SectionName, Segment, Section, TAA, TAAParsed, StubSize)) { in getExplicitSectionGlobal() 2253 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() local [all …]
|