Home
last modified time | relevance | path

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

123456

/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()
400 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h464 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 DELF.h483 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 DJITLink.cpp118 << ", 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 Daarch32.cpp405 "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 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.cpp95 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 DJITLink.h223 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 DInputFiles.cpp206 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 DInputFiles.h219 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 DAArch64MachObjectWriter.cpp136 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 DGlobals.cpp150 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 DAMDGPUTargetObjectFile.cpp32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXAsmPrinter.cpp47 if (GV->getSection() == "llvm.metadata") in emitGlobalVariable()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp70 StringRef Name = GO->getSection(); in isLargeGlobalValue()
93 StringRef Name = GV->getSection(); in isLargeGlobalValue()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectWriter.cpp51 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
H A DMCCodeView.cpp498 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 DELFObjectWriter.cpp558 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 DMCPseudoProbe.cpp218 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 DBPFELFObjectWriter.cpp58 MCSection &Section = Sym.getSection(); in getRelocType()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionELF.h95 return &LinkedToSym->getSection(); in getLinkedToSection()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebugObjectManagerPlugin.cpp204 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 DGlobalValue.h290 bool hasSection() const { return !getSection().empty(); } in hasSection()
291 StringRef getSection() const;
H A DGlobalObject.h108 /// 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 DLanaiTargetObjectFile.cpp83 if (GVA->getSection().starts_with(".ldata")) in isGlobalInSmallSectionImpl()

123456