Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lld/ELF/
H A DTarget.cpp131 bool TargetInfo::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
146 RelExpr TargetInfo::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
150 RelExpr TargetInfo::adjustGotPcExpr(RelType type, int64_t addend, in adjustGotPcExpr()
H A DTarget.h30 virtual RelExpr getRelExpr(RelType type, const Symbol &s,
65 virtual bool needsThunk(RelExpr expr, RelType relocType,
156 virtual RelExpr adjustTlsExpr(RelType type, RelExpr expr) const;
157 virtual RelExpr adjustGotPcExpr(RelType type, int64_t addend,
H A DRelocations.cpp143 template <RelExpr... Exprs> static bool oneof(RelExpr expr) { in oneof()
192 static bool needsPlt(RelExpr expr) { in needsPlt()
200 static bool needsGot(RelExpr expr) { in needsGot()
208 static bool isRelExpr(RelExpr expr) { in isRelExpr()
215 static RelExpr toPlt(RelExpr expr) { in toPlt()
228 static RelExpr fromPlt(RelExpr expr) { in fromPlt()
500 int64_t RelocationScanner::computeAddend(const RelTy &rel, RelExpr expr, in computeAddend()
867 Symbol &sym, int64_t addend, RelExpr expr, in addRelativeReloc()
1157 int64_t addend, RelExpr expr) { in handleMipsTlsRelocation()
1180 int64_t addend, RelExpr expr) { in handleTlsRelocation()
[all …]
H A DRelocations.h32 enum RelExpr { enum
110 RelExpr expr;
H A DSyntheticSections.h210 void addEntry(InputFile &file, Symbol &sym, int64_t addend, RelExpr expr);
448 RelExpr expr) in DynamicReloc()
493 RelExpr expr;
526 RelType addendRelType, RelExpr expr);
535 int64_t addend, RelExpr expr, RelType addendRelType);
H A DInputSection.h200 RelExpr Expr);
H A DInputSection.cpp616 const Symbol &sym, RelExpr expr) { in getRelocTargetVA()
848 RelExpr expr = target.getRelExpr(type, sym, bufLoc); in relocateNonAlloc()
H A DSyntheticSections.cpp735 RelExpr expr) { in addEntry()
1625 Symbol &sym, int64_t addend, RelType addendRelType, RelExpr expr) { in addRelativeReloc()
1651 int64_t addend, RelExpr expr, in addReloc()
/llvm-project-15.0.7/lld/ELF/Arch/
H A DPPC.cpp30 RelExpr getRelExpr(RelType type, const Symbol &s,
45 bool needsThunk(RelExpr expr, RelType relocType, const InputFile *file,
52 RelExpr adjustTlsExpr(RelType type, RelExpr expr) const override;
199 bool PPC::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
219 RelExpr PPC::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
380 RelExpr PPC::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
H A DMSP430.cpp35 RelExpr getRelExpr(RelType type, const Symbol &s,
47 RelExpr MSP430::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DAArch64.cpp33 RelExpr getRelExpr(RelType type, const Symbol &s,
41 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
49 RelExpr adjustTlsExpr(RelType type, RelExpr expr) const override;
80 RelExpr AArch64::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
162 RelExpr AArch64::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
255 bool AArch64::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
H A DX86.cpp26 RelExpr getRelExpr(RelType type, const Symbol &s,
39 RelExpr adjustTlsExpr(RelType type, RelExpr expr) const override;
78 RelExpr X86::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
163 RelExpr X86::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
H A DPPC64.cpp364 RelExpr getRelExpr(RelType type, const Symbol &s,
376 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
381 RelExpr adjustTlsExpr(RelType type, RelExpr expr) const override;
382 RelExpr adjustGotPcExpr(RelType type, int64_t addend,
944 RelExpr PPC64::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
1370 bool PPC64::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
1420 RelExpr PPC64::adjustTlsExpr(RelType type, RelExpr expr) const { in adjustTlsExpr()
1428 RelExpr PPC64::adjustGotPcExpr(RelType type, int64_t addend, in adjustGotPcExpr()
H A DAMDGPU.cpp34 RelExpr getRelExpr(RelType type, const Symbol &s,
157 RelExpr AMDGPU::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DSPARCV9.cpp25 RelExpr getRelExpr(RelType type, const Symbol &s,
48 RelExpr SPARCV9::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DAVR.cpp46 RelExpr getRelExpr(RelType type, const Symbol &s,
53 RelExpr AVR::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DHexagon.cpp29 RelExpr getRelExpr(RelType type, const Symbol &s,
90 RelExpr Hexagon::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DARM.cpp27 RelExpr getRelExpr(RelType type, const Symbol &s,
38 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
82 RelExpr ARM::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
294 bool ARM::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
H A DMips.cpp28 RelExpr getRelExpr(RelType type, const Symbol &s,
36 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
77 RelExpr MIPS<ELFT>::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
358 bool MIPS<ELFT>::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
H A DX86_64.cpp29 RelExpr getRelExpr(RelType type, const Symbol &s,
44 RelExpr adjustGotPcExpr(RelType type, int64_t addend,
318 RelExpr X86_64::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
803 RelExpr X86_64::adjustGotPcExpr(RelType type, int64_t addend, in adjustGotPcExpr()
H A DRISCV.cpp37 RelExpr getRelExpr(RelType type, const Symbol &s,
237 RelExpr RISCV::getRelExpr(const RelType type, const Symbol &s, in getRelExpr()