Lines Matching defs:Addend

261                                              uint32_t Type, int64_t Addend,
270 Value += Addend;
279 Value += Addend;
290 Value + Addend;
291 LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
297 Value += Addend;
310 int64_t RealOffset = Value + Addend - FinalAddress;
318 int64_t RealOffset = Value + Addend - FinalAddress;
327 int64_t RealOffset = Value + Addend - FinalAddress;
344 int64_t GOTOffset = Value - GOTBase + Addend;
360 Value + Addend;
367 int64_t RealValue = Value + Addend;
379 uint32_t Type, int32_t Addend) {
383 Value + Addend;
392 uint32_t RealOffset = Value + Addend - FinalAddress;
407 uint32_t Type, int64_t Addend) {
418 << format("%x", Type) << " Addend: 0x"
419 << format("%llx", Addend) << "\n");
428 uint64_t Result = Value + Addend;
435 uint64_t Result = Value + Addend;
442 write(isBE, TargetPtr, Value + Addend);
445 uint64_t Result = Value + Addend - FinalAddress;
452 uint64_t Result = Value + Addend - FinalAddress;
459 uint64_t Result = Value + Addend - FinalAddress;
466 write(isBE, TargetPtr, Value + Addend - FinalAddress);
469 uint64_t BranchImm = Value + Addend - FinalAddress;
478 uint64_t BranchImm = Value + Addend - FinalAddress;
493 uint64_t BranchImm = Value + Addend - FinalAddress;
501 or32le(TargetPtr, ((Value + Addend) & 0xFFFF000000000000) >> 43);
504 or32le(TargetPtr, ((Value + Addend) & 0xFFFF00000000) >> 27);
507 or32le(TargetPtr, ((Value + Addend) & 0xFFFF0000) >> 11);
510 or32le(TargetPtr, ((Value + Addend) & 0xFFFF) << 5);
515 ((Value + Addend) & ~0xfffULL) - (FinalAddress & ~0xfffULL);
529 or32AArch64Imm(TargetPtr, Value + Addend);
535 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 0, 11));
541 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 1, 11));
547 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 2, 11));
553 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 3, 11));
559 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 4, 11));
563 uint64_t Result = Value + Addend - FinalAddress;
576 uint64_t Result = Value + Addend - FinalAddress;
593 uint32_t Type, int32_t Addend) {
598 Value += Addend;
605 << " Addend: " << format("%x", Addend) << "\n");
699 Rel.Addend = 0x8000;
743 int64_t Addend;
745 Addend = *AddendOrErr;
761 if (Rel.Addend != (int64_t)TargetSymbolOffset)
777 Rel.Addend = (intptr_t)Addend;
817 uint32_t Type, int64_t Addend) {
824 writeInt16BE(LocalAddress, applyPPClo(Value + Addend));
827 writeInt16BE(LocalAddress, applyPPChi(Value + Addend));
830 writeInt16BE(LocalAddress, applyPPCha(Value + Addend));
837 uint32_t Type, int64_t Addend) {
844 writeInt16BE(LocalAddress, applyPPClo(Value + Addend));
847 writeInt16BE(LocalAddress, applyPPClo(Value + Addend) & ~3);
850 writeInt16BE(LocalAddress, applyPPClo(Value + Addend));
853 writeInt16BE(LocalAddress, applyPPClo(Value + Addend) & ~3);
857 writeInt16BE(LocalAddress, applyPPChi(Value + Addend));
861 writeInt16BE(LocalAddress, applyPPCha(Value + Addend));
864 writeInt16BE(LocalAddress, applyPPChigher(Value + Addend));
867 writeInt16BE(LocalAddress, applyPPChighera(Value + Addend));
870 writeInt16BE(LocalAddress, applyPPChighest(Value + Addend));
873 writeInt16BE(LocalAddress, applyPPChighesta(Value + Addend));
876 assert(((Value + Addend) & 3) == 0);
879 writeInt16BE(LocalAddress + 2, (aalk & 3) | ((Value + Addend) & 0xfffc));
883 uint64_t Delta = Value - FinalAddress + Addend;
888 uint64_t Delta = Value - FinalAddress + Addend;
893 uint64_t Delta = Value - FinalAddress + Addend;
897 int64_t Result = static_cast<int64_t>(Value + Addend);
904 int64_t delta = static_cast<int64_t>(Value - FinalAddress + Addend);
913 int64_t delta = static_cast<int64_t>(Value - FinalAddress + Addend);
920 uint64_t Delta = Value - FinalAddress + Addend;
924 writeInt64BE(LocalAddress, Value + Addend);
931 uint32_t Type, int64_t Addend) {
939 int64_t Delta = (Value + Addend) - Section.getLoadAddressWithOffset(Offset);
946 int64_t Delta = (Value + Addend) - Section.getLoadAddressWithOffset(Offset);
952 int64_t Delta = (Value + Addend) - Section.getLoadAddressWithOffset(Offset);
958 int64_t Delta = (Value + Addend) - Section.getLoadAddressWithOffset(Offset);
964 int64_t Delta = (Value + Addend) - Section.getLoadAddressWithOffset(Offset);
969 *LocalAddress = (uint8_t)(Value + Addend);
972 writeInt16BE(LocalAddress, Value + Addend);
975 writeInt32BE(LocalAddress, Value + Addend);
978 writeInt64BE(LocalAddress, Value + Addend);
985 uint32_t Type, int64_t Addend) {
998 write(isBE, Section.getAddressWithOffset(Offset), Value + Addend);
999 LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
1004 Value += Addend;
1031 // the symbol resides (RE.Addend provides additional information about the
1037 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
1043 uint32_t Type, int64_t Addend,
1047 resolveX86_64Relocation(Section, Offset, Value, Type, Addend, SymOffset);
1051 (uint32_t)(Addend & 0xffffffffL));
1055 resolveAArch64Relocation(Section, Offset, Value, Type, Addend);
1062 (uint32_t)(Addend & 0xffffffffL));
1066 resolvePPC32Relocation(Section, Offset, Value, Type, Addend);
1070 resolvePPC64Relocation(Section, Offset, Value, Type, Addend);
1073 resolveSystemZRelocation(Section, Offset, Value, Type, Addend);
1077 resolveBPFRelocation(Section, Offset, Value, Type, Addend);
1089 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset);
1159 if (!isInt<28>(TargetOffset + Value.Addend - SourceOffset))
1162 RelocationEntry RE(SectionID, SourceOffset, RelI->getType(), Value.Addend);
1195 ELF::R_AARCH64_MOVW_UABS_G3, Value.Addend);
1198 ELF::R_AARCH64_MOVW_UABS_G2_NC, Value.Addend);
1201 ELF::R_AARCH64_MOVW_UABS_G1_NC, Value.Addend);
1204 ELF::R_AARCH64_MOVW_UABS_G0_NC, Value.Addend);
1230 int64_t Addend = 0;
1232 Addend = *AddendOrErr;
1245 LLVM_DEBUG(dbgs() << "\t\tRelType: " << RelType << " Addend: " << Addend
1268 Value.Addend = SymInfo.getOffset() + Addend;
1292 Value.Addend = Addend;
1300 Value.Addend = Addend;
1329 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend,
1334 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend,
1360 ELF::R_ARM_ABS32, Value.Addend);
1377 Value.Addend += *Placeholder;
1380 Value.Addend += (int16_t)((*Placeholder & 0xFFF) | (((*Placeholder >> 16) & 0xF) << 12));
1396 uint32_t Addend = (Opcode & 0x03ffffff) << 2;
1398 Value.Addend += Addend;
1418 ELF::R_MIPS_HI16, Value.Addend);
1421 ELF::R_MIPS_LO16, Value.Addend);
1436 int64_t Addend = (Opcode & 0x0000ffff) << 16;
1437 RelocationEntry RE(SectionID, Offset, RelType, Addend);
1440 int64_t Addend = Value.Addend + SignExtend32<16>(Opcode & 0x0000ffff);
1447 Reloc.Addend += Addend;
1456 RelocationEntry RE(SectionID, Offset, RelType, Addend);
1463 Value.Addend += Opcode;
1465 Value.Addend += SignExtend32<18>((Opcode & 0x0000ffff) << 2);
1467 Value.Addend += SignExtend32<21>((Opcode & 0x0007ffff) << 2);
1469 Value.Addend += SignExtend32<23>((Opcode & 0x001fffff) << 2);
1471 Value.Addend += SignExtend32<28>((Opcode & 0x03ffffff) << 2);
1476 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend);
1514 ELF::R_MIPS_HI16, Value.Addend);
1517 ELF::R_MIPS_LO16, Value.Addend);
1530 ELF::R_MIPS_HIGHEST, Value.Addend);
1533 ELF::R_MIPS_HIGHER, Value.Addend);
1536 ELF::R_MIPS_HI16, Value.Addend);
1539 ELF::R_MIPS_LO16, Value.Addend);
1585 Value.Addend += ELF::decodePPC64LocalEntryOffset(SymOther);
1589 Sections[Value.SectionID].getAddressWithOffset(Value.Addend);
1596 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend);
1619 ELF::R_PPC64_ADDR64, Value.Addend);
1630 ELF::R_PPC64_ADDR16_HIGHEST, Value.Addend);
1632 ELF::R_PPC64_ADDR16_HIGHER, Value.Addend);
1634 ELF::R_PPC64_ADDR16_HI, Value.Addend);
1636 ELF::R_PPC64_ADDR16_LO, Value.Addend);
1695 Value.Addend -= TOCValue.Addend;
1696 resolveRelocation(Sections[SectionID], Offset, Value.Addend, RelType, 0);
1709 Value.Addend += Addend;
1712 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend);
1761 Addend);
1763 resolveRelocation(Section, Offset, StubAddress, RelType, Addend);
1823 Addend);
1825 Value.Addend += support::ulittle32_t::ref(
1833 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend,
1861 resolveGOTOffsetRelocation(SectionID, Offset, Addend, ELF::R_X86_64_PC32);
1864 resolveGOTOffsetRelocation(SectionID, Offset, Addend, ELF::R_X86_64_PC64);
1870 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset));
1873 Value.Addend += support::ulittle64_t::ref(computePlaceholderAddress(SectionID, Offset));
1876 processX86_64GOTTPOFFRelocation(SectionID, Offset, Value, Addend);
1882 processX86_64TLSRelocation(SectionID, Offset, RelType, Value, Addend,
1889 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset));
1899 int64_t Addend) {
1988 ELF::R_X86_64_TPOFF32, Value.Addend - Addend);
2004 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend,
2017 RelocationValueRef Value, int64_t Addend,
2129 ELF::R_X86_64_TPOFF32, Value.Addend - Addend);