/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 228 uint32_t Type, int64_t Addend, in resolveX86_64Relocation() argument 236 Value + Addend; in resolveX86_64Relocation() 237 DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at " in resolveX86_64Relocation() 243 Value += Addend; in resolveX86_64Relocation() 256 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 264 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 273 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 283 uint32_t Type, int32_t Addend) { in resolveX86Relocation() argument 287 Value + Addend; in resolveX86Relocation() 293 uint32_t RealOffset = Value + Addend - FinalAddress; in resolveX86Relocation() [all …]
|
D | RuntimeDyldELF.h | 30 uint64_t Value, uint32_t Type, int64_t Addend, 34 uint64_t Value, uint32_t Type, int64_t Addend, 38 uint32_t Value, uint32_t Type, int32_t Addend); 41 uint64_t Value, uint32_t Type, int64_t Addend); 44 uint32_t Value, uint32_t Type, int32_t Addend); 47 uint32_t Value, uint32_t Type, int32_t Addend); 50 uint64_t Value, uint32_t Type, int64_t Addend); 53 uint64_t Value, uint32_t Type, int64_t Addend); 56 uint64_t Value, uint32_t Type, int64_t Addend); 59 uint64_t Value, uint32_t Type, int64_t Addend, [all …]
|
D | RuntimeDyldImpl.h | 132 int64_t Addend; variable 153 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 158 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 163 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 170 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry() 181 int64_t Addend; variable 183 RelocationValueRef() : SectionID(0), Offset(0), Addend(0), in RelocationValueRef() 188 Addend == Other.Addend && SymbolName == Other.SymbolName; 195 if (Addend != Other.Addend) 196 return Addend < Other.Addend;
|
D | RuntimeDyldMachO.cpp | 70 int64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processScatteredVANILLA() local 85 Addend -= SectionBaseAddr; in processScatteredVANILLA() 86 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA() 118 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef() 121 Value.Offset = RE.Addend; in getRelocationValueRef() 132 Value.Offset = RE.Addend - Addr; in getRelocationValueRef() 155 << " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend in dumpRelocationToResolve()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOAArch64.h | 39 int64_t Addend = 0; in decodeAddend() local 64 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress); in decodeAddend() 66 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress); in decodeAddend() 76 Addend = (*p & 0x03FFFFFF) << 2; in decodeAddend() 77 Addend = SignExtend64(Addend, 28); in decodeAddend() 89 Addend = ((*p & 0x60000000) >> 29) | ((*p & 0x01FFFFE0) >> 3) << 12; in decodeAddend() 90 Addend = SignExtend64(Addend, 33); in decodeAddend() 110 Addend = (*p & 0x003FFC00) >> 10; in decodeAddend() 125 Addend <<= ImplicitShift; in decodeAddend() 129 return Addend; in decodeAddend() [all …]
|
D | RuntimeDyldCOFFThumb.h | 61 uint64_t Addend = 0; in processRelocationRef() local 70 Addend = readBytesUnaligned(Displacement, 4); in processRelocationRef() 82 << " Addend " << Addend << "\n"); in processRelocationRef() 103 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 116 getSymbolOffset(*Symbol) + Addend); in processRelocationRef() 122 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 132 getSymbolOffset(*Symbol) + Addend, true, 0); in processRelocationRef() 156 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() 172 Sections[0].getLoadAddress() + RE.Addend; in resolveRelocation() 197 assert(static_cast<int32_t>(RE.Addend) <= INT32_MAX && in resolveRelocation() [all …]
|
D | RuntimeDyldCOFFI386.h | 62 uint64_t Addend = 0; in processRelocationRef() local 72 Addend = readBytesUnaligned(Displacement, 4); in processRelocationRef() 85 << " Addend " << Addend << "\n"); in processRelocationRef() 106 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 119 getSymbolOffset(*Symbol) + Addend); in processRelocationRef() 146 RE.Addend); in resolveRelocation() 162 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) - in resolveRelocation() 180 Result = Result - Section.getLoadAddress() + RE.Addend - 4 - RE.Offset; in resolveRelocation() 205 assert(static_cast<int32_t>(RE.Addend) <= INT32_MAX && in resolveRelocation() 207 assert(static_cast<int32_t>(RE.Addend) >= INT32_MIN && in resolveRelocation() [all …]
|
D | RuntimeDyldCOFFX86_64.h | 80 uint64_t Result = Value + RE.Addend; in resolveRelocation() 99 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation() 130 uint64_t Addend = 0; in processRelocationRef() local 144 Addend = readBytesUnaligned(Displacement, 4); in processRelocationRef() 150 Addend = readBytesUnaligned(Displacement, 8); in processRelocationRef() 165 << " Addend " << Addend << "\n"); in processRelocationRef() 168 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef() 179 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef()
|
D | RuntimeDyldMachOX86_64.h | 52 RE.Addend = memcpyAddend(RE); in processRelocationRef() 77 RE.Addend = Value.Offset; in processRelocationRef() 110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 117 Value = SectionABase - SectionBBase + RE.Addend; in resolveRelocation() 135 Value.Offset -= RE.Addend; in processGOTRelocation() 154 MachO::X86_64_RELOC_UNSIGNED, RE.Addend, true, 2); in processGOTRelocation() 171 int64_t Addend = in processSubtractRelocation() local 197 Addend += SecB.getAddress(); in processSubtractRelocation() 223 Addend -= SecA.getAddress(); in processSubtractRelocation() 226 RelocationEntry R(SectionID, Offset, MachO::X86_64_RELOC_SUBTRACTOR, (uint64_t)Addend, in processSubtractRelocation()
|
D | RuntimeDyldMachOI386.h | 69 RE.Addend = memcpyAddend(RE); in processRelocationRef() 89 RE.Addend = Value.Offset; in processRelocationRef() 112 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 120 Value = SectionABase - SectionBBase + RE.Addend; in resolveRelocation() 159 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processSECTDIFFRelocation() local 193 Addend -= AddrA - AddrB; in processSECTDIFFRelocation() 196 << ", Addend: " << Addend << ", SectionA ID: " << SectionAID in processSECTDIFFRelocation() 200 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processSECTDIFFRelocation()
|
D | RuntimeDyldMachOARM.h | 92 RE.Addend = decodeAddend(RE); in processRelocationRef() 105 RE.Addend = Value.Offset; in processRelocationRef() 133 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 138 Value += RE.Addend; in resolveRelocation() 158 Value = SectionABase - SectionBBase + RE.Addend; in resolveRelocation() 276 int64_t Addend = FullImmVal - (AddrA - AddrB); in processHALFSECTDIFFRelocation() local 282 << ", Addend: " << Addend << ", SectionA ID: " << SectionAID in processHALFSECTDIFFRelocation() 286 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processHALFSECTDIFFRelocation()
|
/external/llvm/include/llvm/Object/ |
D | RelocVisitor.h | 284 int64_t Addend = getELFAddend(R); in visitELF_X86_64_64() local 285 return RelocToApply(Value + Addend, 8); in visitELF_X86_64_64() 288 int64_t Addend = getELFAddend(R); in visitELF_X86_64_PC32() local 290 return RelocToApply(Value + Addend - Address, 4); in visitELF_X86_64_PC32() 293 int64_t Addend = getELFAddend(R); in visitELF_X86_64_32() local 294 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32() 298 int64_t Addend = getELFAddend(R); in visitELF_X86_64_32S() local 299 int32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32S() 305 int64_t Addend = getELFAddend(R); in visitELF_PPC64_ADDR32() local 306 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_PPC64_ADDR32() [all …]
|
/external/llvm/test/Object/ |
D | relocation-executable.test | 12 // CHECK-NEXT: Addend: 0x0 20 // CHECK-NEXT: Addend: 0x0 26 // CHECK-NEXT: Addend: 0x0 35 // DYN-NEXT: Addend: 0x0 41 // DYN-NEXT: Addend: 0x0 47 // DYN-NEXT: Addend: 0x0 59 // DYN2-NEXT: Addend: 0x0
|
D | dyn-rel-relocation.test | 35 // CHECK-NEXT: Addend: 0x0 41 // CHECK-NEXT: Addend: 0x0 47 // CHECK-NEXT: Addend: 0x0 57 // CHECK-NEXT: Addend: 0x0 63 // CHECK-NEXT: Addend: 0x0 69 // CHECK-NEXT: Addend: 0x0
|
/external/llvm/include/llvm/MC/ |
D | MCELFObjectWriter.h | 35 uint64_t Addend; // The addend to use. member 40 uint64_t Addend, const MCSymbolELF *OriginalSymbol, in ELFRelocationEntry() 42 : Offset(Offset), Symbol(Symbol), Type(Type), Addend(Addend), in ELFRelocationEntry() 47 << ", Addend=" << Addend << ", OriginalSymbol=" << OriginalSymbol in print()
|
/external/llvm/test/tools/sanstats/ |
D | elf.test | 86 Addend: 55 93 Addend: 59 103 Addend: 64 107 Addend: 16 111 Addend: 67 115 Addend: 32 119 Addend: 70 163 Addend: 16 167 Addend: 32
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | os.h | 228 #define InterlockedExchangeAdd(Addend, Value) __sync_fetch_and_add(Addend, Value) argument 232 #define InterlockedAdd(Addend, Value) __sync_add_and_fetch(Addend, Value) argument 233 #define InterlockedAdd64(Addend, Value) __sync_add_and_fetch(Addend, Value) argument
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | ELFObjectWriter.h | 97 uint64_t Addend) in ELFRelocationEntry() 99 Symbol(Sym), r_addend(Addend) {} in ELFRelocationEntry() 349 int64_t Addend) = 0; 365 int64_t Addend); 392 int64_t Addend); 411 int64_t Addend); 427 int64_t Addend); 442 int64_t Addend);
|
D | MCExpr.cpp | 295 int64_t &Addend) { in AttemptToFoldSymbolOffsetDifference() argument 312 Addend += (AD.getOffset() - BD.getOffset()); in AttemptToFoldSymbolOffsetDifference() 317 Addend |= 1; in AttemptToFoldSymbolOffsetDifference() 335 Addend += (Layout->getSymbolOffset(&Asm->getSymbolData(A->getSymbol())) - in AttemptToFoldSymbolOffsetDifference() 338 Addend += (Addrs->lookup(&SecA) - Addrs->lookup(&SecB)); in AttemptToFoldSymbolOffsetDifference()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_msvc.h | 25 char volatile *Addend, char Value); // NOLINT 28 short volatile *Addend, short Value); // NOLINT 31 long volatile *Addend, long Value); // NOLINT 34 long volatile * Addend, long Value); // NOLINT 61 long long volatile * Addend, long long Value); // NOLINT
|
/external/swiftshader/third_party/subzero/src/ |
D | IceFixups.h | 67 void set_addend(RelocOffsetT Addend) { addend_ = Addend; } in set_addend() argument
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCCodeEmitter.cpp | 37 : MCT(aMCT), MCII(aMII), Addend(new unsigned(0)), in HexagonMCCodeEmitter() 74 *Addend = 0; in encodeInstruction() 85 *Addend += HEXAGON_INSTR_SIZE; in encodeInstruction() 470 DEBUG(dbgs() << "Addend: " << *Addend << "\n"); in getExprOpValue() 779 (*Addend > 0 && isPCRel(FixupKind)) in getExprOpValue() 781 MCConstantExpr::create(*Addend, MCT), MCT) in getExprOpValue() 784 MCFixup fixup = MCFixup::create(*Addend, FixupExpression, in getExprOpValue()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldImpl.h | 107 int64_t Addend; // Addend encoded in the instruction itself, if any. member 111 : Target(t), Offset(offset), Data(data), Addend(addend), in RelocationEntry()
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 635 unsigned Addend; in getNeonEnum() local 637 case 8: Addend = 0; break; in getNeonEnum() 638 case 16: Addend = 1; break; in getNeonEnum() 639 case 32: Addend = 2; break; in getNeonEnum() 640 case 64: Addend = 3; break; in getNeonEnum() 641 case 128: Addend = 4; break; in getNeonEnum() 645 unsigned Base = (unsigned)NeonTypeFlags::Int8 + Addend; in getNeonEnum() 648 if (Addend >= 2) in getNeonEnum() 649 --Addend; in getNeonEnum() 650 Base = (unsigned)NeonTypeFlags::Poly8 + Addend; in getNeonEnum() [all …]
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 451 const MCSymbolRefExpr *&B, int64_t &Addend) { in AttemptToFoldSymbolOffsetDifference() argument 466 Addend += (SA.getOffset() - SB.getOffset()); in AttemptToFoldSymbolOffsetDifference() 471 Addend |= 1; in AttemptToFoldSymbolOffsetDifference() 489 Addend += Layout->getSymbolOffset(A->getSymbol()) - in AttemptToFoldSymbolOffsetDifference() 492 Addend += (Addrs->lookup(&SecA) - Addrs->lookup(&SecB)); in AttemptToFoldSymbolOffsetDifference() 497 Addend |= 1; in AttemptToFoldSymbolOffsetDifference()
|