Home
last modified time | relevance | path

Searched refs:RelExpr (Results 1 – 21 of 21) sorted by relevance

/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DTarget.cpp140 bool TargetInfo::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
155 RelExpr TargetInfo::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
159 RelExpr TargetInfo::adjustGotPcExpr(RelType type, int64_t addend, in adjustGotPcExpr()
H A DTarget.h29 virtual RelExpr getRelExpr(RelType type, const Symbol &s,
64 virtual bool needsThunk(RelExpr expr, RelType relocType,
152 virtual RelExpr adjustTlsExpr(RelType type, RelExpr expr) const;
153 virtual RelExpr adjustGotPcExpr(RelType type, int64_t addend,
H A DRelocations.cpp134 template <RelExpr... Exprs> struct RelExprMaskBuilder {
139 template <RelExpr Head, RelExpr... Tail>
153 template <RelExpr... Exprs> bool oneof(RelExpr expr) { in oneof()
376 static bool needsPlt(RelExpr expr) { in needsPlt()
383 static bool needsGot(RelExpr expr) { in needsGot()
391 static bool isRelExpr(RelExpr expr) { in isRelExpr()
465 static RelExpr toPlt(RelExpr expr) { in toPlt()
478 static RelExpr fromPlt(RelExpr expr) { in fromPlt()
673 InputSectionBase &sec, RelExpr expr, in computeAddend()
1091 RelExpr expr = sym.isTls() ? R_TPREL : R_ABS; in addGotEntry()
[all …]
H A DRelocations.h32 enum RelExpr { enum
107 RelExpr expr;
H A DSyntheticSections.h213 void addEntry(InputFile &file, Symbol &sym, int64_t addend, RelExpr expr);
451 RelExpr expr) in DynamicReloc()
488 RelExpr expr;
533 RelType addendRelType, RelExpr expr);
542 int64_t addend, RelExpr expr, RelType addendRelType);
H A DInputSection.h212 RelExpr Expr);
H A DInputSection.cpp680 const Symbol &sym, RelExpr expr) { in getRelocTargetVA()
904 RelExpr expr = target->getRelExpr(type, sym, bufLoc); in relocateNonAlloc()
1035 RelExpr expr = rel.expr; in relocateAlloc()
H A DSyntheticSections.cpp716 RelExpr expr) { in addEntry()
1618 Symbol &sym, int64_t addend, RelType addendRelType, RelExpr expr) { in addRelativeReloc()
1644 int64_t addend, RelExpr expr, in addReloc()
/freebsd-13.1/contrib/llvm-project/lld/ELF/Arch/
H A DPPC.cpp27 RelExpr getRelExpr(RelType type, const Symbol &s,
42 bool needsThunk(RelExpr expr, RelType relocType, const InputFile *file,
49 RelExpr adjustTlsExpr(RelType type, RelExpr expr) const override;
198 bool PPC::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
218 RelExpr PPC::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
379 RelExpr PPC::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
H A DAArch64.cpp34 RelExpr getRelExpr(RelType type, const Symbol &s,
42 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
50 RelExpr adjustTlsExpr(RelType type, RelExpr expr) const override;
83 RelExpr AArch64::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
165 RelExpr AArch64::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
258 bool AArch64::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
H A DMSP430.cpp36 RelExpr getRelExpr(RelType type, const Symbol &s,
48 RelExpr MSP430::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DX86.cpp27 RelExpr getRelExpr(RelType type, const Symbol &s,
40 RelExpr adjustTlsExpr(RelType type, RelExpr expr) const override;
77 RelExpr X86::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
163 RelExpr X86::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
H A DPPC64.cpp369 RelExpr getRelExpr(RelType type, const Symbol &s,
381 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
386 RelExpr adjustTlsExpr(RelType type, RelExpr expr) const override;
387 RelExpr adjustGotPcExpr(RelType type, int64_t addend,
951 RelExpr PPC64::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
1377 bool PPC64::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
1426 RelExpr PPC64::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
1434 RelExpr PPC64::adjustGotPcExpr(RelType type, int64_t addend, in adjustGotPcExpr()
H A DAMDGPU.cpp34 RelExpr getRelExpr(RelType type, const Symbol &s,
153 RelExpr AMDGPU::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DSPARCV9.cpp26 RelExpr getRelExpr(RelType type, const Symbol &s,
50 RelExpr SPARCV9::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DAVR.cpp47 RelExpr getRelExpr(RelType type, const Symbol &s,
56 RelExpr AVR::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DARM.cpp29 RelExpr getRelExpr(RelType type, const Symbol &s,
40 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
86 RelExpr ARM::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
280 bool ARM::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
H A DHexagon.cpp30 RelExpr getRelExpr(RelType type, const Symbol &s,
91 RelExpr Hexagon::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DX86_64.cpp30 RelExpr getRelExpr(RelType type, const Symbol &s,
45 RelExpr adjustGotPcExpr(RelType type, int64_t addend,
314 RelExpr X86_64::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
789 RelExpr X86_64::adjustGotPcExpr(RelType type, int64_t addend, in adjustGotPcExpr()
H A DMips.cpp29 RelExpr getRelExpr(RelType type, const Symbol &s,
37 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
80 RelExpr MIPS<ELFT>::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
360 bool MIPS<ELFT>::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
H A DRISCV.cpp35 RelExpr getRelExpr(RelType type, const Symbol &s,
222 RelExpr RISCV::getRelExpr(const RelType type, const Symbol &s, in getRelExpr()