/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetObjectFile.cpp | 129 TRACE("input section(" << GO->getSection() << ") "); in SelectSectionForGlobal() 167 << GO->getSection() << ") "); in getExplicitSectionGlobal() 179 StringRef Section = GO->getSection(); in getExplicitSectionGlobal() 181 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal() 184 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal() 217 bool IsSmall = isSmallDataSection(GVar->getSection()); in isGlobalInSmallSection() 219 << ", has section: " << GVar->getSection() << '\n'); in isGlobalInSmallSection() 400 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELFObjectFile.h | 464 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection() 471 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() function 558 auto SymTabOrErr = EF.getSection(Sym.d.a); in getSymbolName() 562 auto StrTabOrErr = EF.getSection(SymTableSec->sh_link); in getSymbolName() 585 return getSection(Sec)->sh_flags; in getSectionFlags() 590 return getSection(Sec)->sh_type; in getSectionType() 595 return getSection(Sec)->sh_offset; in getSectionOffset() 637 auto SymTabOrErr = EF.getSection(Symb.d.a); in getSymbolAddress() 653 EF.getSection(**SymOrErr, *SymTabOrErr, ShndxTable); in getSymbolAddress() 863 auto ESecOrErr = EF.getSection(*ESym, SymTab, ShndxTable); in getSymbolSection() [all …]
|
H A D | ELF.h | 483 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym, 486 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym, 489 Expected<const Elf_Shdr *> getSection(uint32_t Index) const; 533 getSection(typename ELFT::ShdrRange Sections, uint32_t Index) { in getSection() function 576 ELFFile<ELFT>::getSection(const Elf_Sym &Sym, const Elf_Shdr *SymTab, in getSection() function 581 return getSection(Sym, *SymsOrErr, ShndxTable); in getSection() 586 ELFFile<ELFT>::getSection(const Elf_Sym &Sym, Elf_Sym_Range Symbols, in getSection() function 594 return getSection(Index); in getSection() 979 auto SecOrErr = getSection(Section); in getEntry() 1208 ELFFile<ELFT>::getSection(uint32_t Index) const { in getSection() function [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | JITLink.cpp | 118 << ", section = " << B.getSection().getName(); in operator <<() 143 auto &TargetSec = TargetBlock.getSection(); in printEdge() 184 ? createZeroFillBlock(B.getSection(), SplitIndex, B.getAddress(), in splitBlock() 187 B.getSection(), B.getContent().slice(0, SplitIndex), in splitBlock() 220 for (auto *Sym : B.getSection().symbols()) in splitBlock() 385 Section &Sec = B.getSection(); in makeTargetOutOfRangeError() 391 ErrStream << E.getTarget().getBlock().getSection().getName() << " + " in makeTargetOutOfRangeError()
|
H A D | aarch32.cpp | 405 "In graph " + G.getName() + ", section " + B.getSection().getName() + in applyFixupThumb() 428 "In graph " + G.getName() + ", section " + B.getSection().getName() + in applyFixupThumb() 459 "In graph " + G.getName() + ", section " + B.getSection().getName() + in createEntry() 517 "In graph " + G.getName() + ", section " + B.getSection().getName() + 591 "In graph " + G.getName() + ", section " + B.getSection().getName() + 690 "In graph " + G.getName() + ", section " + B.getSection().getName() + 879 << StubEntrypoint->getBlock().getSection().getName() << "\n"; 925 << StubSymbol->getBlock().getSection().getName() << "\n";
|
H A D | JITLinkMemoryManager.cpp | 43 if (LHS->getSection().getOrdinal() != RHS->getSection().getOrdinal()) in BasicLayout() 44 return LHS->getSection().getOrdinal() < RHS->getSection().getOrdinal(); in BasicLayout()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | ELFDump.cpp | 95 auto SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString() 136 Expected<section_iterator> SymSI = SI->getSection(); in getRelocationValueString() 140 Obj->getSection((*SymSI)->getRawDataRefImpl()); in getRelocationValueString() 191 ->getSection(Sec.getRawDataRefImpl())))) in getSectionLMA() 427 unwrapOrError(Elf.getSection(Shdr.sh_link), FileName); in printSymbolVersion()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLink.h | 223 Section &getSection() const { return *Parent; } in getSection() function 872 B->getSection().addBlock(*B); in createBlock() 1244 Content.getSection().addSymbol(Sym); in addAnonymousSymbol() 1259 Content.getSection().addSymbol(Sym); in addDefinedSymbol() 1339 Section &Sec = Sym.getBlock().getSection(); in makeExternal() 1367 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute() 1396 Content.getSection().addSymbol(Sym); in makeDefined() 1413 auto &OldSection = Sym.getBlock().getSection(); in transferDefinedSymbol() 1423 if (&DestBlock.getSection() != &OldSection) { in transferDefinedSymbol() 1425 DestBlock.getSection().addSymbol(Sym); in transferDefinedSymbol() [all …]
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | InputFiles.cpp | 206 const coff_section *ObjFile::getSection(uint32_t i) { in getSection() function in ObjFile 207 auto sec = coffObj->getSection(i); in getSection() 225 const coff_section *sec = getSection(i); in initializeChunks() 236 const coff_section *sec = getSection(sectionNumber); in readSection() 335 const coff_section *parentSec = getSection(parentIndex); in readAssociativeDefinition() 571 if (leaderChunk->getSize() != getSection(sym)->SizeOfRawData) { in handleComdatSelection() 586 SectionChunk newChunk(this, getSection(sym)); in handleComdatSelection() 603 if (leaderChunk->getSize() < getSection(sym)->SizeOfRawData) { in handleComdatSelection() 1167 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
|
H A D | InputFiles.h | 219 const coff_section* getSection(uint32_t i); 220 const coff_section *getSection(COFFSymbolRef sym) { in getSection() function 221 return getSection(sym.getSectionNumber()); in getSection()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MachObjectWriter.cpp | 136 const MCSectionMachO &RefSec = cast<MCSectionMachO>(Symbol.getSection()); in canUseLocalRelocation() 315 const MCSection &Sec = Symbol->getSection(); in recordRelocation() 354 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Globals.cpp | 150 setSection(Src->getSection()); in copyAttributesFrom() 183 StringRef GlobalValue::getSection() const { in getSection() function in GlobalValue 187 return GO->getSection(); in getSection() 190 return cast<GlobalObject>(this)->getSection(); in getSection()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetObjectFile.cpp | 32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DirectXAsmPrinter.cpp | 47 if (GV->getSection() == "llvm.metadata") in emitGlobalVariable()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetMachine.cpp | 70 StringRef Name = GO->getSection(); in isLargeGlobalValue() 93 StringRef Name = GV->getSection(); in isLargeGlobalValue()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCObjectWriter.cpp | 51 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
|
H A D | MCCodeView.cpp | 498 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable() 500 if (&Loc.getLabel()->getSection() != FirstSec) { in encodeInlineLineTable() 613 if (&Loc.getLabel()->getSection() == &LastLabel->getSection()) in encodeInlineLineTable()
|
H A D | ELFObjectWriter.cpp | 558 static_cast<const MCSectionELF &>(Symbol.getSection()); in computeSymbolTable() 922 sh_link = Sym->getSection().getOrdinal(); in writeSection() 1181 Sym = Sym->getSection().getBeginSymbol(); in executePostLayoutBinding() 1274 auto &Sec = cast<MCSectionELF>(Sym->getSection()); in shouldRelocateWithSymbol() 1357 const MCSection &SecB = SymB.getSection(); in recordRelocation() 1385 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation() 1447 return &SymA.getSection() == FB.getParent(); in isSymbolRefDifferenceFullyResolvedImpl()
|
H A D | MCPseudoProbe.cpp | 218 return A.first->getSection().getOrdinal() < in emit() 219 B.first->getSection().getOrdinal(); in emit() 224 FuncSym->getSection())) { in emit()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
H A D | BPFELFObjectWriter.cpp | 58 MCSection &Section = Sym.getSection(); in getRelocType()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCSectionELF.h | 95 return &LinkedToSym->getSection(); in getLinkedToSection()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | DebugObjectManagerPlugin.cpp | 204 DebugObjectSection *getSection(StringRef Name); 351 if (auto *DebugObjSection = getSection(Name)) in reportSectionTargetMemoryRange() 368 DebugObjectSection *ELFDebugObject::getSection(StringRef Name) { in getSection() function in llvm::orc::ELFDebugObject
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalValue.h | 290 bool hasSection() const { return !getSection().empty(); } in hasSection() 291 StringRef getSection() const;
|
H A D | GlobalObject.h | 108 /// This is more efficient than calling getSection() and checking for an empty 118 StringRef getSection() const { in getSection() 117 StringRef getSection() const { getSection() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiTargetObjectFile.cpp | 83 if (GVA->getSection().starts_with(".ldata")) in isGlobalInSmallSectionImpl()
|