Searched refs:Addend (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h50 void write32BitOffset(uint8_t *Target, int64_t Addend, uint64_t Delta) { argument
51 uint64_t Result = Addend + Delta;
84 // the symbol resides (RE.Addend provides additional information about the
104 uint64_t Result = Value + RE.Addend;
121 write32BitOffset(Target, RE.Addend, Value - ImageBase);
127 writeBytesUnaligned(Value + RE.Addend, Target, 8);
132 assert(static_cast<int64_t>(RE.Addend) <= INT32_MAX && "Relocation overflow");
133 assert(static_cast<int64_t>(RE.Addend) >= INT32_MIN && "Relocation underflow");
134 writeBytesUnaligned(RE.Addend, Target, 4);
146 uint64_t Offset, uint64_t RelType, uint64_t Addend,
145 generateRelocationStub(unsigned SectionID, StringRef TargetName, uint64_t Offset, uint64_t RelType, uint64_t Addend, StubMap &Stubs) argument
211 uint64_t Addend = 0; variable
269 << TargetName << " Addend " << Addend << "\\n"); variable
[all...]
H A DRuntimeDyldCOFFAArch64.h101 uint64_t Offset, uint64_t RelType, uint64_t Addend,
109 OriginalRelValueRef.Addend = Addend;
128 const RelocationEntry RE(SectionID, Offset, RelType, Addend);
134 Addend = 0;
138 return std::make_tuple(Offset, RelType, Addend);
167 // Determine the Addend used to adjust the relocation value.
168 uint64_t Addend = 0; variable
196 Addend = read32le(Displacement);
200 Addend
100 generateRelocationStub(unsigned SectionID, StringRef TargetName, uint64_t Offset, uint64_t RelType, uint64_t Addend, StubMap &Stubs) argument
243 << TargetName << " Addend " << Addend << "\\n"); variable
[all...]
H A DRuntimeDyldELFMips.h32 uint32_t Value, uint32_t Type, int32_t Addend);
34 uint64_t Value, uint32_t Type, int64_t Addend,
37 uint64_t Value, uint32_t Type, int64_t Addend,
45 uint64_t Addend);
56 uint32_t Type, int64_t Addend,
H A DRuntimeDyldELFMips.cpp18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend);
20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
31 uint64_t Addend) {
35 Addend, RE.SymOffset, RE.SectionID);
110 int64_t Addend, uint64_t SymOffset, SID SectionID) {
117 << format("%x", Type) << " Addend: 0x"
118 << format("%llx", Addend)
132 return Value + Addend;
134 return ((Value + Addend) >>
29 evaluateRelocation(const RelocationEntry &RE, uint64_t Value, uint64_t Addend) argument
108 evaluateMIPS64Relocation( const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument
265 resolveMIPSN32Relocation( const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument
274 resolveMIPSN64Relocation( const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument
303 resolveMIPSO32Relocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend) argument
[all...]
H A DRuntimeDyldCOFFThumb.h82 // Determine the Addend used to adjust the relocation value.
83 uint64_t Addend = 0; variable
92 Addend = readBytesUnaligned(Displacement, 4);
104 << TargetName << " Addend " << Addend << "\n"); variable
141 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID,
148 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID,
161 RelocationEntry(SectionID, Offset, RelType, TargetOffset + Addend);
167 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID,
176 TargetOffset + Addend, tru
[all...]
H A DRuntimeDyldMachOAArch64.h38 int64_t Addend = 0; local
83 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress);
85 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress);
97 Addend = (*p & 0x03FFFFFF) << 2;
98 Addend = SignExtend64(Addend, 28);
110 Addend = ((*p & 0x60000000) >> 29) | ((*p & 0x01FFFFE0) >> 3) << 12;
111 Addend = SignExtend64(Addend, 33);
132 Addend
499 int64_t Addend = local
[all...]
H A DRuntimeDyldCOFFI386.h78 // Determine the Addend used to adjust the relocation value.
79 uint64_t Addend = 0; variable
89 Addend = readBytesUnaligned(Displacement, 4);
102 << TargetName << " Addend " << Addend << "\n"); variable
117 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID,
130 RelocationEntry(SectionID, Offset, RelType, TargetOffset + Addend);
156 RE.Addend);
170 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) -
186 Result = Result - Section.getLoadAddress() + RE.Addend
[all...]
H A DRuntimeDyldMachOX86_64.h51 RE.Addend = memcpyAddend(RE);
76 RE.Addend = Value.Offset;
109 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size);
116 Value = SectionABase - SectionBBase + RE.Addend;
134 Value.Offset -= RE.Addend;
153 MachO::X86_64_RELOC_UNSIGNED, RE.Addend, true, 2);
170 int64_t Addend = local
196 Addend += SecB.getAddress();
222 Addend -= SecA.getAddress();
225 RelocationEntry R(SectionID, Offset, MachO::X86_64_RELOC_SUBTRACTOR, (uint64_t)Addend,
[all...]
H A DRuntimeDyldMachOI386.h68 RE.Addend = memcpyAddend(RE);
83 // Value.Addend += RelocAddr + 4;
88 RE.Addend = Value.Offset;
111 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size);
119 Value = SectionABase - SectionBBase + RE.Addend;
161 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); local
195 Addend -= AddrA - AddrB;
198 << ", AddrB: " << AddrB << ", Addend: " << Addend
202 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAI
[all...]
H A DRuntimeDyldMachOARM.h162 RE.Addend = *AddendOrErr;
193 RE.Addend = Value.Offset;
220 Value += RE.Addend;
239 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size);
244 Value += RE.Addend;
264 Value = SectionABase - SectionBBase + RE.Addend;
408 int64_t Addend = FullImmVal - (AddrA - AddrB); local
414 << ", AddrB: " << AddrB << ", Addend: " << Addend
418 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAI
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp268 uint32_t Type, int64_t Addend,
278 Value + Addend;
279 LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
285 Value += Addend;
298 int64_t RealOffset = Value + Addend - FinalAddress;
306 int64_t RealOffset = Value + Addend - FinalAddress;
315 int64_t RealOffset = Value + Addend - FinalAddress;
332 int64_t GOTOffset = Value - GOTBase + Addend;
341 uint32_t Type, int32_t Addend) {
345 Value + Addend;
266 resolveX86_64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset) argument
339 resolveX86Relocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend) argument
367 resolveAArch64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument
494 resolveARMRelocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend) argument
646 int64_t Addend; local
718 resolvePPC32Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument
738 resolvePPC64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument
832 resolveSystemZRelocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument
886 resolveBPFRelocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument
941 resolveRelocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument
1121 int64_t Addend = 0; local
1287 uint32_t Addend = (Opcode & 0x03ffffff) << 2; local
1327 int64_t Addend = (Opcode & 0x0000ffff) << 16; local
1331 int64_t Addend = Value.Addend + SignExtend32<16>(Opcode & 0x0000ffff); local
[all...]
H A DRuntimeDyldELF.h29 uint64_t Value, uint32_t Type, int64_t Addend,
33 uint64_t Value, uint32_t Type, int64_t Addend,
37 uint32_t Value, uint32_t Type, int32_t Addend);
40 uint64_t Value, uint32_t Type, int64_t Addend);
49 uint32_t Value, uint32_t Type, int32_t Addend);
52 uint64_t Value, uint32_t Type, int64_t Addend);
55 uint64_t Value, uint32_t Type, int64_t Addend);
58 uint64_t Value, uint32_t Type, int64_t Addend);
61 uint64_t Value, uint32_t Type, int64_t Addend);
H A DRuntimeDyldImpl.h128 /// Addend - the relocation addend encoded in the instruction itself. Also
130 int64_t Addend; member in class:llvm::RelocationEntry
154 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
159 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
165 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
172 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel),
183 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel),
194 int64_t Addend = 0; member in class:llvm::RelocationValueRef
200 Addend == Other.Addend
[all...]
H A DRuntimeDyldMachO.cpp71 int64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); local
86 Addend -= SectionBaseAddr;
87 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size);
120 Value.Offset = SymInfo.getOffset() + RE.Addend;
123 Value.Offset = RE.Addend;
134 Value.Offset = RE.Addend - Addr;
157 << " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/Core/
H A DReference.h78 typedef int64_t Addend; typedef in class:lld::Reference
92 virtual Addend addend() const = 0;
95 virtual void setAddend(Addend) = 0;
H A DSimple.h119 Reference::Addend a)
133 Addend addend() const override { return _addend; }
134 void setAddend(Addend a) override { _addend = a; }
140 Addend _addend;
203 const Atom *target, Reference::Addend a) override {
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DWasmDump.cpp49 Fmt << (Rel.Addend < 0 ? "" : "+") << Rel.Addend;
H A DELFDump.cpp65 int64_t Addend = 0;
75 Addend = ERela->r_addend;
111 if (Addend != 0) {
112 Fmt << (Addend < 0
115 (Addend < 0 ? -(uint64_t)Addend : (uint64_t)Addend));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCELFObjectWriter.h35 uint64_t Addend; // The addend to use. member in struct:llvm::ELFRelocationEntry
40 uint64_t Addend, const MCSymbolELF *OriginalSymbol,
42 : Offset(Offset), Symbol(Symbol), Type(Type), Addend(Addend),
47 << ", Addend=" << Addend << ", OriginalSymbol=" << OriginalSymbol
39 ELFRelocationEntry(uint64_t Offset, const MCSymbolELF *Symbol, unsigned Type, uint64_t Addend, const MCSymbolELF *OriginalSymbol, uint64_t OriginalAddend) argument
/freebsd-13-stable/sys/dev/pms/RefTisa/sat/api/
H A Dtdsmapi.h85 sbit32 volatile *Addend
91 sbit32 volatile *Addend
119 sbit32 volatile *Addend
125 sbit32 volatile *Addend
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachO_x86_64.cpp162 uint64_t Addend; local
166 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress());
171 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress());
179 return PairRelocInfo(DeltaKind, TargetSymbol, Addend);
251 uint64_t Addend = 0; variable
262 Addend = *(const little32_t *)FixupContent;
269 Addend = *(const ulittle32_t *)FixupContent;
276 Addend = *(const ulittle64_t *)FixupContent;
284 Addend = TargetAddress - TargetSymbol->getAddress();
294 Addend
[all...]
H A DMachO_arm64.cpp160 uint64_t Addend; local
164 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress());
169 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress());
177 return PairRelocInfo(DeltaKind, TargetSymbol, Addend);
249 uint64_t Addend = 0; variable
252 // If this is an Addend relocation then process it and move to the
255 Addend = RI.r_symbolnum;
258 return make_error<JITLinkError>("Unpaired Addend reloc at " +
269 "Invalid relocation pair: Addend + " +
302 Addend
[all...]
H A DEHFrameSupportImpl.h64 EdgeTarget(const Edge &E) : Target(&E.getTarget()), Addend(E.getAddend()) {}
67 Edge::AddendT Addend = 0; member in struct:llvm::jitlink::EHFrameEdgeFixer::EdgeTarget
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_msvc.h23 extern "C" char _InterlockedExchange8(char volatile *Addend, char Value);
25 extern "C" short _InterlockedExchange16(short volatile *Addend, short Value);
27 extern "C" long _InterlockedExchange(long volatile *Addend, long Value);
29 extern "C" long _InterlockedExchangeAdd(long volatile *Addend, long Value);
50 extern "C" long long _InterlockedExchangeAdd64(long long volatile *Addend,
/freebsd-13-stable/sys/dev/pms/RefTisa/tisa/api/
H A Dostiapi.h173 sbit32 volatile *Addend
179 sbit32 volatile *Addend
209 sbit32 volatile *Addend
215 sbit32 volatile *Addend

Completed in 92 milliseconds

1234