Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/MachO/
H A DICF.cpp117 if (ra.referent.is<Symbol *>() != rb.referent.is<Symbol *>()) in equalsConstant()
124 if (ra.referent.is<Symbol *>()) { in equalsConstant()
125 const auto *sa = ra.referent.get<Symbol *>(); in equalsConstant()
126 const auto *sb = rb.referent.get<Symbol *>(); in equalsConstant()
145 isecA = ra.referent.get<InputSection *>(); in equalsConstant()
146 isecB = rb.referent.get<InputSection *>(); in equalsConstant()
158 if (ra.referent.is<Symbol *>()) in equalsConstant()
183 if (ra.referent == rb.referent) in equalsVariable()
186 if (ra.referent.is<Symbol *>()) { in equalsVariable()
190 const auto *da = cast<Defined>(ra.referent.get<Symbol *>()); in equalsVariable()
[all …]
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 DRelocations.cpp25 if (const auto *sym = referent.dyn_cast<Symbol *>()) { in getReferentInputSection()
30 return referent.get<InputSection *>(); in getReferentInputSection()
101 if (auto *sym = r.referent.dyn_cast<Symbol *>()) in reportRangeError()
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 = r.referent.get<Symbol *>(); in relocateCompactUnwind()
H A DConcatOutputSection.cpp138 auto *sym = r.referent.get<Symbol *>(); in needsThunks()
290 auto *funcSym = r.referent.get<Symbol *>(); in finalize()
311 r.referent = thunkInfo.sym; in finalize()
331 r.referent = thunkInfo.sym = symtab->addDefined( in finalize()
337 r.referent = thunkInfo.sym = make<Defined>( in finalize()
H A DMarkLive.cpp160 if (auto *s = r.referent.dyn_cast<Symbol *>()) in markTransitively()
163 enqueue(r.referent.get<InputSection *>(), r.addend, entry); in markTransitively()
178 if (auto *s = r.referent.dyn_cast<Symbol *>()) { in markTransitively()
186 auto *referentIsec = r.referent.get<InputSection *>(); in markTransitively()
H A DInputSection.cpp228 const Symbol *fromSym = r.referent.get<Symbol *>(); in writeTo()
231 if (const Symbol *toSym = minuend.referent.dyn_cast<Symbol *>()) in writeTo()
234 auto *referentIsec = minuend.referent.get<InputSection *>(); in writeTo()
239 } else if (auto *referentSym = r.referent.dyn_cast<Symbol *>()) { in writeTo()
261 } else if (auto *referentIsec = r.referent.dyn_cast<InputSection *>()) { in writeTo()
H A DObjC.cpp192 if (auto *isec = r.referent.dyn_cast<InputSection *>()) in getReferentString()
195 auto *sym = cast<Defined>(r.referent.get<Symbol *>()); in getReferentString()
288 auto *classSym = classReloc->referent.get<Symbol *>(); in parseCategory()
568 Symbol *sym = reloc->referent.get<Symbol *>(); in tryGetSymbolAtIsecOffset()
628 Defined *sym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in tryEraseDefinedAtIsecOffset()
691 auto *ptrListSym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in parseProtocolListInfo()
723 auto *listSym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in parseProtocolListInfo()
760 auto *ptrListSym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in parsePointerListInfo()
784 auto *listSym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in parsePointerListInfo()
1141 r.referent = const_cast<Symbol *>(refTo); in createSymbolReference()
[all …]
H A DInputFiles.cpp589 r.referent = symbols[relInfo.r_symbolnum]; in parseRelocations()
610 r.referent = findContainingSubsection(*sections[relInfo.r_symbolnum - 1], in parseRelocations()
644 p.referent = symbols[minuendInfo.r_symbolnum]; in parseRelocations()
649 p.referent = findContainingSubsection( in parseRelocations()
1165 if (auto *sym = cast_or_null<Defined>(r.referent.dyn_cast<Symbol *>())) { in registerCompactUnwind()
1176 cast<ConcatInputSection>(r.referent.dyn_cast<InputSection *>()); in registerCompactUnwind()
1294 cie.personalitySymbol = personalityReloc->referent.get<macho::Symbol *>(); in parseCIE()
1341 auto *pcSym = cast<Defined>(subtrahend.referent.get<macho::Symbol *>()); in targetSymFromCanonicalSubtractor()
1343 cast_or_null<Defined>(minuend.referent.dyn_cast<macho::Symbol *>()); in targetSymFromCanonicalSubtractor()
1346 cast<ConcatInputSection>(minuend.referent.get<InputSection *>()); in targetSymFromCanonicalSubtractor()
[all …]
H A DSyntheticSections.cpp839 if (const auto *sym = Reloc.referent.dyn_cast<Symbol *>()) { in initialize()
1946 const Symbol *referent = rel.referent.dyn_cast<Symbol *>(); in writeTo() local
1947 assert(referent && "section relocation should have been rejected"); in writeTo()
1948 uint64_t offset = referent->getVA() - in.header->addr; in writeTo()
1952 referent->getName() + " (" + utohexstr(offset) + in writeTo()
1978 if (rel.referent.is<InputSection *>()) in setUp()
1982 Symbol *sym = rel.referent.dyn_cast<Symbol *>(); in setUp()
2013 auto *def = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in setUp()
2117 auto *def = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in writeRelativeOffsetForIsec()
H A DWriter.cpp689 if (auto *referentIsec = r.referent.dyn_cast<InputSection *>()) in scanRelocations()
690 r.referent = referentIsec->canonical(); in scanRelocations()
699 if (auto *referentIsec = it->referent.dyn_cast<InputSection *>()) in scanRelocations()
700 it->referent = referentIsec->canonical(); in scanRelocations()
703 if (auto *sym = r.referent.dyn_cast<Symbol *>()) { in scanRelocations()
/freebsd/contrib/llvm-project/lld/MachO/Arch/
H A DARM64.cpp375 uint64_t referent = pageBits(addr1) + adrp.addend + add.addend; in applyAdrpAdd() local
376 int64_t delta = referent - addr1; in applyAdrpAdd()
432 uint64_t referent = pageBits(addr1) + adrp.addend + ldr.offset; in applyAdrpLdr() local
433 ldr.offset = referent - addr2; in applyAdrpLdr()
488 uint64_t referent = pageBits(addr1) + adrp.addend + add.addend; in applyAdrpAddLdr() local
490 literalLdr.offset += referent - addr3; in applyAdrpAddLdr()
502 int64_t adrOffset = referent - addr1; in applyAdrpAddLdr()
563 uint64_t referent = pageBits(addr1) + adrp.addend + ldr2.offset; in applyAdrpLdrGotLdr() local
569 literalLdr.offset = referent - addr2; in applyAdrpLdrGotLdr()
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