Home
last modified time | relevance | path

Searched refs:getSection (Results 1 – 25 of 156) sorted by relevance

1234567

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp129 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()
399 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h470 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection()
477 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() function
564 auto SymTabOrErr = EF.getSection(Sym.d.a); in getSymbolName()
568 auto StrTabOrErr = EF.getSection(SymTableSec->sh_link); in getSymbolName()
591 return getSection(Sec)->sh_flags; in getSectionFlags()
596 return getSection(Sec)->sh_type; in getSectionType()
601 return getSection(Sec)->sh_offset; in getSectionOffset()
643 auto SymTabOrErr = EF.getSection(Symb.d.a); in getSymbolAddress()
659 EF.getSection(**SymOrErr, *SymTabOrErr, ShndxTable); in getSymbolAddress()
869 auto ESecOrErr = EF.getSection(*ESym, SymTab, ShndxTable); in getSymbolSection()
[all …]
H A DELF.h489 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym,
492 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym,
495 Expected<const Elf_Shdr *> getSection(uint32_t Index) const;
539 getSection(typename ELFT::ShdrRange Sections, uint32_t Index) { in getSection() function
582 ELFFile<ELFT>::getSection(const Elf_Sym &Sym, const Elf_Shdr *SymTab, in getSection() function
587 return getSection(Sym, *SymsOrErr, ShndxTable); in getSection()
592 ELFFile<ELFT>::getSection(const Elf_Sym &Sym, Elf_Sym_Range Symbols, in getSection() function
600 return getSection(Index); in getSection()
985 auto SecOrErr = getSection(Section); in getEntry()
1214 ELFFile<ELFT>::getSection(uint32_t Index) const { in getSection() function
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportKernelRuntimeHandles.cpp66 if (GV.getSection() == HandleSectionName) { in exportKernelRuntimeHandles()
88 if (Handle && Handle->getSection() == HandleSectionName) { in exportKernelRuntimeHandles()
H A DAMDGPUTargetObjectFile.cpp32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h224 Section &getSection() const { return *Parent; } in getSection() function
592 Section &getSection() const { return getBlock().getSection(); } in getSection() function
902 B->getSection().addBlock(*B); in createBlock()
1256 B.getSection(), B.getSize(), B.getAddress() + Offset,
1272 B.getSection(), ArrayRef<char>(), B.getAddress() + Offset,
1338 Content.getSection().addSymbol(Sym); in addAnonymousSymbol()
1362 Content.getSection().addSymbol(Sym); in addDefinedSymbol()
1467 Section &Sec = Sym.getSection(); in makeExternal()
1495 Section &Sec = Sym.getSection(); in makeAbsolute()
1524 Content.getSection().addSymbol(Sym); in makeDefined()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A Daarch32.cpp403 "In graph " + G.getName() + ", section " + B.getSection().getName() + in readAddendData()
426 "In graph " + G.getName() + ", section " + B.getSection().getName() + in readAddendArm()
457 "In graph " + G.getName() + ", section " + B.getSection().getName() + in readAddendThumb()
515 "In graph " + G.getName() + ", section " + B.getSection().getName() + in applyFixupData()
589 "In graph " + G.getName() + ", section " + B.getSection().getName() + in applyFixupArm()
688 "In graph " + G.getName() + ", section " + B.getSection().getName() + in applyFixupThumb()
877 << StubEntrypoint->getSection().getName() << "\n"; in visitEdge()
922 << *StubSymbol << " in " << StubSymbol->getSection().getName() in visitEdge()
H A DJITLink.cpp119 << ", section = " << B.getSection().getName(); in operator <<()
144 auto &TargetSec = TargetBlock.getSection(); in printEdge()
208 for (auto *Sym : Blocks[0]->getSection().symbols()) in splitBlockImpl()
422 Section &Sec = B.getSection(); in makeTargetOutOfRangeError()
H A DJITLinkMemoryManager.cpp43 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 DELFDump.cpp102 auto SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString()
143 Expected<section_iterator> SymSI = SI->getSection(); in getRelocationValueString()
147 Obj->getSection((*SymSI)->getRawDataRefImpl()); in getRelocationValueString()
198 ->getSection(Sec.getRawDataRefImpl())))) in getSectionLMA()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp135 const MCSectionMachO &RefSec = cast<MCSectionMachO>(Symbol.getSection()); in canUseLocalRelocation()
302 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
341 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp158 setSection(Src->getSection()); in copyAttributesFrom()
191 StringRef GlobalValue::getSection() const { in getSection() function in GlobalValue
195 return GO->getSection(); in getSection()
198 return cast<GlobalObject>(this)->getSection(); in getSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXAsmPrinter.cpp47 if (GV->getSection() == "llvm.metadata") in emitGlobalVariable()
/freebsd/contrib/llvm-project/lld/COFF/
H A DInputFiles.h228 const coff_section* getSection(uint32_t i);
229 const coff_section *getSection(COFFSymbolRef sym) { in getSection() function
230 return getSection(sym.getSectionNumber()); in getSection()
H A DInputFiles.cpp350 const coff_section *ObjFile::getSection(uint32_t i) { in getSection() function in ObjFile
351 auto sec = coffObj->getSection(i); in getSection()
369 const coff_section *sec = getSection(i); in initializeChunks()
380 const coff_section *sec = getSection(sectionNumber); in readSection()
479 const coff_section *parentSec = getSection(parentIndex); in readAssociativeDefinition()
766 if (leaderChunk->getSize() != getSection(sym)->SizeOfRawData) { in handleComdatSelection()
781 SectionChunk newChunk(this, getSection(sym)); in handleComdatSelection()
798 if (leaderChunk->getSize() < getSection(sym)->SizeOfRawData) { in handleComdatSelection()
1482 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp57 MCSection &Section = Sym.getSection(); in getRelocType()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectWriter.cpp47 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
H A DMCCodeView.cpp486 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable()
488 if (&Loc.getLabel()->getSection() != FirstSec) { in encodeInlineLineTable()
600 if (&Loc.getLabel()->getSection() == &LastLabel->getSection()) in encodeInlineLineTable()
H A DELFObjectWriter.cpp561 static_cast<const MCSectionELF &>(Symbol.getSection()); in computeSymbolTable()
926 sh_link = Sym->getSection().getOrdinal(); in writeSectionHeader()
1236 Sym = Sym->getSection().getBeginSymbol(); in executePostLayoutBinding()
1276 auto &Sec = cast<MCSectionELF>(Sym->getSection()); in useSectionSymbol()
1333 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation()
1351 const MCSection &SecB = SymB.getSection(); in recordRelocation()
1404 return &SymA.getSection() == FB.getParent(); in isSymbolRefDifferenceFullyResolvedImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp83 StringRef Name = GO->getSection(); in isLargeGlobalValue()
106 StringRef Name = GV->getSection(); in isLargeGlobalValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionELF.h97 return &LinkedToSym->getSection(); in getLinkedToSection()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebugObjectManagerPlugin.cpp202 DebugObjectSection *getSection(StringRef Name);
350 if (auto *DebugObjSection = getSection(Name)) in reportSectionTargetMemoryRange()
367 DebugObjectSection *ELFDebugObject::getSection(StringRef Name) { in getSection() function in llvm::orc::ELFDebugObject
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp80 if (GVA->getSection().starts_with(".ldata")) in isGlobalInSmallSectionImpl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFThumb.h64 auto SectionIterOrErr = SR.getSection(); in getJITSymbolFlags()
96 auto SectionOrErr = Symbol->getSection(); in processRelocationRef()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h114 StringRef getSection() const { in getSection() function

1234567