Home
last modified time | relevance | path

Searched refs:getAddend (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELF_riscv.cpp282 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup()
295 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup()
308 E.getAddend()) in applyFixup()
317 E.getAddend()) in applyFixup()
326 E.getAddend()) in applyFixup()
335 E.getAddend()) in applyFixup()
343 E.getTarget().getAddress().getValue() - E.getAddend(); in applyFixup()
350 E.getTarget().getAddress().getValue() - E.getAddend(); in applyFixup()
357 E.getTarget().getAddress().getValue() - E.getAddend(); in applyFixup()
364 E.getTarget().getAddress().getValue() - E.getAddend(); in applyFixup()
[all …]
H A DJITLink.cpp139 if (E.getAddend() != 0) in printEdge()
140 OS << " + " << E.getAddend(); in printEdge()
292 if (E.getAddend() >= 0) in dump()
293 OS << formatv("+{0:x8}", E.getAddend()); in dump()
295 OS << formatv("-{0:x8}", -E.getAddend()); in dump()
H A DEHFrameSupportImpl.h57 EdgeTarget(const Edge &E) : Target(&E.getTarget()), Addend(E.getAddend()) {} in EdgeTarget()
H A Dx86_64.cpp116 E.setAddend(E.getAddend() - 4); in optimizeGOTAndStubAccesses()
H A DCOFF_x86_64.cpp145 E.setAddend(E.getAddend() - *ImageBase); in lowerCOFFRelocationEdges()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A Daarch64.h110 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
128 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
136 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
141 assert((E.getKind() != GOTPage21 || E.getAddend() == 0) && in applyFixup()
144 (E.getTarget().getAddress().getValue() + E.getAddend()) & in applyFixup()
164 (E.getTarget().getAddress() + E.getAddend()).getValue() & 0xfff; in applyFixup()
179 (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
193 assert(E.getAddend() == 0 && "LDRLiteral19 with non-zero addend"); in applyFixup()
214 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
216 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
[all …]
H A Dx86_64.h396 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
402 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
410 int64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
426 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
435 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
441 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
450 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
456 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
466 E.getTarget().getAddress() - GOTSymbol->getAddress() + E.getAddend(); in applyFixup()
H A DJITLink.h88 AddendT getAddend() const { return Addend; } in getAddend() function
/llvm-project-15.0.7/lld/ELF/
H A DRelocations.h195 static inline int64_t getAddend(const typename ELFT::Rel &rel) { in getAddend() function
199 static inline int64_t getAddend(const typename ELFT::Rela &rel) { in getAddend() function
H A DMarkLive.cpp76 static uint64_t getAddend(InputSectionBase &sec, in getAddend() function
83 static uint64_t getAddend(InputSectionBase &sec, in getAddend() function
104 offset += getAddend<ELFT>(sec, rel); in resolveReloc()
H A DDWARF.cpp129 d.p = getAddend<ELFT>(rel); in findAux()
H A DICF.cpp247 uint64_t addA = getAddend<ELFT>(ra[i]); in constantEq()
248 uint64_t addB = getAddend<ELFT>(rb[i]); in constantEq()
H A DInputSection.cpp357 p->r_addend = getAddend<ELFT>(rel); in copyRelocations()
398 int64_t addend = getAddend<ELFT>(rel); in copyRelocations()
843 int64_t addend = getAddend<ELFT>(rel); in relocateNonAlloc()
H A DRelocations.cpp506 addend = getAddend<ELFT>(rel); in computeAddend()
/llvm-project-15.0.7/llvm/lib/XRay/
H A DInstrumentationMap.cpp127 auto AddendOrErr = object::ELFRelocationRef(Reloc).getAddend(); in loadObj()
137 if (auto AddendOrErr = object::ELFRelocationRef(Reloc).getAddend()) in loadObj()
/llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/
H A DLLJITWithObjectLinkingLayerPlugin.cpp166 << ", addend = " << formatv("{0:x}", E.getAddend()) in printGraph()
/llvm-project-15.0.7/llvm/lib/Object/
H A DRelocationResolver.cpp34 Expected<int64_t> AddendOrErr = ELFRelocationRef(R).getAddend(); in getELFAddend()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp1583 static void getAddend(uint64_t &, const Elf_Rel_Impl<ELFT, false> &) {} in getAddend() function
1586 static void getAddend(uint64_t &ToSet, const Elf_Rel_Impl<ELFT, true> &Rela) { in getAddend() function
1595 getAddend(ToAdd.Addend, Rel); in initRelocations()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp740 if (auto AddendOrErr = i->getAddend()) in findOPDEntrySection()
1219 if (Expected<int64_t> AddendOrErr = ELFRelocationRef(*RelI).getAddend()) in processRelocationRef()
/llvm-project-15.0.7/lld/ELF/Arch/
H A DPPC64.cpp294 return {dyn_cast<Defined>(&sym), getAddend<ELFT>(relas[index])}; in getRelaTocSymAndAddend()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELFObjectFile.h213 Expected<int64_t> getAddend() const { in getAddend() function
/llvm-project-15.0.7/llvm/docs/
H A DJITLink.rst294 * ``Addend``, accessible via ``getAddend``, is a constant whose interpretation