Home
last modified time | relevance | path

Searched refs:referent (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/lld/MachO/
H A DICF.cpp118 if (isa<Symbol *>(ra.referent) != isa<Symbol *>(rb.referent)) in equalsConstant()
125 if (isa<Symbol *>(ra.referent)) { in equalsConstant()
126 const auto *sa = cast<Symbol *>(ra.referent); in equalsConstant()
127 const auto *sb = cast<Symbol *>(rb.referent); in equalsConstant()
146 isecA = cast<InputSection *>(ra.referent); in equalsConstant()
147 isecB = cast<InputSection *>(rb.referent); in equalsConstant()
170 if (isa<Symbol *>(ra.referent)) in equalsConstant()
195 if (ra.referent == rb.referent) in equalsVariable()
198 if (isa<Symbol *>(ra.referent)) { in equalsVariable()
202 const auto *da = cast<Defined>(cast<Symbol *>(ra.referent)); in equalsVariable()
[all …]
H A DRelocations.cpp25 if (const auto *sym = referent.dyn_cast<Symbol *>()) { in getReferentInputSection()
30 return cast<InputSection *>(referent); in getReferentInputSection()
35 if (auto *isec = dyn_cast<InputSection *>(referent)) { in getReferentString()
41 auto *sym = dyn_cast<Defined>(cast<Symbol *>(referent)); in getReferentString()
126 if (auto *sym = r.referent.dyn_cast<Symbol *>()) in reportRangeError()
H A DRelocations.h62 llvm::PointerUnion<Symbol *, InputSection *> referent = nullptr; member
67 int64_t addend, llvm::PointerUnion<Symbol *, InputSection *> referent) in Reloc()
69 addend(addend), referent(referent) {} in Reloc()
H A DUnwindInfoSection.cpp242 if (auto *referentIsec = r.referent.dyn_cast<InputSection *>()) in prepareRelocations()
243 r.referent = referentIsec->canonical(); in prepareRelocations()
252 if (auto *s = r.referent.dyn_cast<Symbol *>()) { in prepareRelocations()
269 r.referent = s = sym; in prepareRelocations()
287 r.referent = personality; in prepareRelocations()
297 if (auto *referentIsec = r.referent.dyn_cast<InputSection *>()) { in prepareRelocations()
327 r.referent = s; in prepareRelocations()
393 cu.personality = cast<Symbol *>(r.referent); in relocateCompactUnwind()
H A DMarkLive.cpp158 if (auto *s = r.referent.dyn_cast<Symbol *>()) in markTransitively()
161 enqueue(cast<InputSection *>(r.referent), r.addend, entry); in markTransitively()
176 if (auto *s = r.referent.dyn_cast<Symbol *>()) { in markTransitively()
184 auto *referentIsec = cast<InputSection *>(r.referent); in markTransitively()
H A DConcatOutputSection.cpp154 auto *sym = cast<Symbol *>(r.referent); in needsThunks()
352 auto *funcSym = cast<Symbol *>(r.referent); in finalize()
377 r.referent = thunkInfo.sym; in finalize()
397 r.referent = thunkInfo.sym = symtab->addDefined( in finalize()
403 r.referent = thunkInfo.sym = make<Defined>( in finalize()
H A DInputSection.cpp227 const Symbol *fromSym = cast<Symbol *>(r.referent); in writeTo()
230 if (const Symbol *toSym = minuend.referent.dyn_cast<Symbol *>()) in writeTo()
233 auto *referentIsec = cast<InputSection *>(minuend.referent); in writeTo()
238 } else if (auto *referentSym = r.referent.dyn_cast<Symbol *>()) { in writeTo()
260 } else if (auto *referentIsec = r.referent.dyn_cast<InputSection *>()) { in writeTo()
H A DBPSectionOrderer.cpp64 if (r.length == 0 || r.referent.isNull() || r.offset >= data.size()) in getSectionHashes()
97 if (auto *sym = reloc.referent.dyn_cast<Symbol *>()) { in getRelocHash()
H A DObjC.cpp265 auto *classSym = cast<Symbol *>(classReloc->referent); in parseCategory()
545 Symbol *sym = dyn_cast_if_present<Symbol *>(reloc->referent); in tryGetSymbolAtIsecOffset()
605 Defined *sym = dyn_cast_or_null<Defined>(cast<Symbol *>(reloc->referent)); in tryEraseDefinedAtIsecOffset()
677 auto *ptrListSym = dyn_cast_or_null<Defined>(cast<Symbol *>(reloc->referent)); in parseProtocolListInfo()
709 auto *listSym = dyn_cast_or_null<Defined>(cast<Symbol *>(reloc->referent)); in parseProtocolListInfo()
747 auto *ptrListSym = dyn_cast_or_null<Defined>(cast<Symbol *>(reloc->referent)); in parsePointerListInfo()
772 dyn_cast_or_null<Defined>(reloc->referent.dyn_cast<Symbol *>()); in parsePointerListInfo()
1145 r.referent = const_cast<Symbol *>(refTo); in createSymbolReference()
1160 const Symbol *sym = r.referent.dyn_cast<Symbol *>(); in collectNlCategories()
H A DInputFiles.cpp587 r.referent = symbols[relInfo.r_symbolnum]; in parseRelocations()
608 r.referent = findContainingSubsection(*sections[relInfo.r_symbolnum - 1], in parseRelocations()
642 p.referent = symbols[minuendInfo.r_symbolnum]; in parseRelocations()
647 p.referent = findContainingSubsection( in parseRelocations()
1163 if (auto *sym = cast_or_null<Defined>(r.referent.dyn_cast<Symbol *>())) { in registerCompactUnwind()
1174 cast<ConcatInputSection>(r.referent.dyn_cast<InputSection *>()); in registerCompactUnwind()
1292 cie.personalitySymbol = cast<macho::Symbol *>(personalityReloc->referent); in parseCIE()
1339 auto *pcSym = cast<Defined>(cast<macho::Symbol *>(subtrahend.referent)); in targetSymFromCanonicalSubtractor()
1341 cast_or_null<Defined>(minuend.referent.dyn_cast<macho::Symbol *>()); in targetSymFromCanonicalSubtractor()
1344 cast<ConcatInputSection>(cast<InputSection *>(minuend.referent)); in targetSymFromCanonicalSubtractor()
[all …]
H A DSyntheticSections.cpp838 if (const auto *sym = Reloc.referent.dyn_cast<Symbol *>()) { in initialize()
1969 const Symbol *referent = cast<Symbol *>(rel.referent); in writeTo() local
1970 assert(referent && "section relocation should have been rejected"); in writeTo()
1971 uint64_t offset = referent->getVA() - in.header->addr; in writeTo()
1975 referent->getName() + " (" + utohexstr(offset) + in writeTo()
2001 if (isa<InputSection *>(rel.referent)) in setUp()
2005 Symbol *sym = rel.referent.dyn_cast<Symbol *>(); in setUp()
2147 } else if (auto *sym = dyn_cast<Symbol *>(reloc->referent)) { in writeRelativeOffsetForIsec()
2152 auto *isec = cast<InputSection *>(reloc->referent); in writeRelativeOffsetForIsec()
H A DWriter.cpp713 if (auto *referentIsec = dyn_cast_if_present<InputSection *>(r.referent)) in scanRelocations()
714 r.referent = referentIsec->canonical(); in scanRelocations()
723 if (auto *referentIsec = it->referent.dyn_cast<InputSection *>()) in scanRelocations()
724 it->referent = referentIsec->canonical(); in scanRelocations()
727 if (auto *sym = dyn_cast_if_present<Symbol *>(r.referent)) { in scanRelocations()
/freebsd/contrib/llvm-project/lld/MachO/Arch/
H A DARM64.cpp203 assert(isa<Symbol *>(reloc.referent) && in getThunkBranchTarget()
206 return cast<Symbol *>(reloc.referent); in getThunkBranchTarget()
407 uint64_t referent = pageBits(addr1) + adrp.addend + add.addend; in applyAdrpAdd() local
408 int64_t delta = referent - addr1; in applyAdrpAdd()
465 uint64_t referent = pageBits(addr1) + adrp.addend + ldr.offset; in applyAdrpLdr() local
466 ldr.offset = referent - addr2; in applyAdrpLdr()
517 uint64_t referent = pageBits(addr1) + adrp.addend + add.addend; in applyAdrpAddLdr() local
519 literalLdr.offset += referent - addr3; in applyAdrpAddLdr()
H A DARM64Common.cpp146 ::reportUnalignedLdrStr(locStr, va, align, r.referent.dyn_cast<Symbol *>()); in reportUnalignedLdrStr()
/freebsd/stand/ficl/softwords/
H A Doo.fr472 \ suspend-class and resume-class help to build mutually referent classes.
/freebsd/share/dict/
H A Dweb2165570 referent