Home
last modified time | relevance | path

Searched refs:RelTy (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DICF.cpp107 template <class RelTy>
108 bool constantEq(const InputSection *a, ArrayRef<RelTy> relsA,
109 const InputSection *b, ArrayRef<RelTy> relsB);
111 template <class RelTy>
112 bool variableEq(const InputSection *a, ArrayRef<RelTy> relsA,
113 const InputSection *b, ArrayRef<RelTy> relsB);
239 template <class RelTy>
333 template <class RelTy>
438 template <class ELFT, class RelTy>
440 ArrayRef<RelTy> rels) { in combineRelocHashes()
[all …]
H A DDWARF.cpp78 template <class RelTy> struct LLDRelocationResolver {
105 template <class RelTy>
108 ArrayRef<RelTy> rels) const { in findAux()
110 partition_point(rels, [=](const RelTy &a) { return a.r_offset < pos; }); in findAux()
113 const RelTy &rel = *it; in findAux()
133 0, LLDRelocationResolver<RelTy>::resolve}; in findAux()
H A DRelocations.h200 template <typename RelTy>
201 ArrayRef<RelTy> sortRels(ArrayRef<RelTy> rels, SmallVector<RelTy, 0> &storage) { in sortRels() argument
202 auto cmp = [](const RelTy &a, const RelTy &b) { in sortRels()
H A DMarkLive.cpp58 template <class RelTy>
59 void resolveReloc(InputSectionBase &sec, RelTy &rel, bool fromFDE);
61 template <class RelTy>
62 void scanEhFrameSection(EhInputSection &eh, ArrayRef<RelTy> rels);
90 template <class RelTy>
91 void MarkLive<ELFT>::resolveReloc(InputSectionBase &sec, RelTy &rel, in resolveReloc()
144 template <class RelTy>
146 ArrayRef<RelTy> rels) { in scanEhFrameSection()
H A DRelocations.cpp636 template <class ELFT, class RelTy>
637 static int64_t computeMipsAddend(const RelTy &rel, const RelTy *end, in computeMipsAddend()
645 if (RelTy::IsRela) in computeMipsAddend()
671 template <class ELFT, class RelTy>
672 static int64_t computeAddend(const RelTy &rel, const RelTy *end, in computeAddend()
678 if (RelTy::IsRela) { in computeAddend()
1001 template <class RelTy> static RelType getMipsN32RelType(RelTy *&rel, RelTy *end) { in getMipsN32RelType()
1306 RelTy *start, RelTy *end) { in scanReloc()
1307 const RelTy &rel = *i; in scanReloc()
1554 template <class RelTy>
[all …]
H A DInputSection.h337 template <class ELFT, class RelTy> void split(ArrayRef<RelTy> rels);
376 template <class ELFT, class RelTy>
377 void relocateNonAlloc(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
388 template <class ELFT, class RelTy>
389 void copyRelocations(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
H A DInputSection.cpp409 template <class ELFT, class RelTy>
413 for (const RelTy &rel : rels) { in copyRelocations()
419 buf += sizeof(RelTy); in copyRelocations()
421 if (RelTy::IsRela) in copyRelocations()
466 if (!RelTy::IsRela) in copyRelocations()
485 if (RelTy::IsRela) in copyRelocations()
873 template <class ELFT, class RelTy>
887 for (const RelTy &rel : rels) { in relocateNonAlloc()
900 if (!RelTy::IsRela) in relocateNonAlloc()
1337 template <class ELFT, class RelTy>
[all …]
H A DDWARF.h84 template <class RelTy>
87 ArrayRef<RelTy> rels) const;
H A DSyntheticSections.h102 template <class ELFT, class RelTy>
103 void addRecords(EhInputSection *s, llvm::ArrayRef<RelTy> rels);
105 template <class ELFT, class RelTy>
106 void iterateFDEWithLSDAAux(EhInputSection &sec, ArrayRef<RelTy> rels,
110 template <class ELFT, class RelTy>
111 CieRecord *addCie(EhSectionPiece &piece, ArrayRef<RelTy> rels);
113 template <class ELFT, class RelTy>
114 Defined *isFdeLive(EhSectionPiece &piece, ArrayRef<RelTy> rels);
H A DSyntheticSections.cpp353 template <class ELFT, class RelTy>
354 CieRecord *EhFrameSection::addCie(EhSectionPiece &cie, ArrayRef<RelTy> rels) { in addCie()
375 template <class ELFT, class RelTy>
376 Defined *EhFrameSection::isFdeLive(EhSectionPiece &fde, ArrayRef<RelTy> rels) { in isFdeLive()
388 const RelTy &rel = rels[firstRelI]; in isFdeLive()
403 template <class ELFT, class RelTy>
404 void EhFrameSection::addRecords(EhInputSection *sec, ArrayRef<RelTy> rels) { in addRecords()
452 template <class ELFT, class RelTy>
454 EhInputSection &sec, ArrayRef<RelTy> rels, DenseSet<size_t> &ciesWithLSDA, in iterateFDEWithLSDAAux()
H A DWriter.cpp667 template <class ELFT, class RelTy>
669 llvm::ArrayRef<RelTy> rels) { in markUsedLocalSymbolsImpl()
670 for (const RelTy &rel : rels) { in markUsedLocalSymbolsImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp1997 unsigned RelTy = R.getType(); in relocationNeedsGot() local
1999 return RelTy == ELF::R_AARCH64_ADR_GOT_PAGE || in relocationNeedsGot()
2000 RelTy == ELF::R_AARCH64_LD64_GOT_LO12_NC; in relocationNeedsGot()
2003 return RelTy == ELF::R_X86_64_GOTPCREL || in relocationNeedsGot()
2004 RelTy == ELF::R_X86_64_GOTPCRELX || in relocationNeedsGot()
2005 RelTy == ELF::R_X86_64_GOT64 || in relocationNeedsGot()
2006 RelTy == ELF::R_X86_64_REX_GOTPCRELX; in relocationNeedsGot()