Searched refs:TargetPtr (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 309 uint32_t *TargetPtr = in resolveAArch64Relocation() local 325 uint64_t *TargetPtr = in resolveAArch64Relocation() local 327 *TargetPtr = Value + Addend; in resolveAArch64Relocation() 334 *TargetPtr = static_cast<uint32_t>(Result & 0xffffffffU); in resolveAArch64Relocation() 348 *TargetPtr &= 0xfc000000U; in resolveAArch64Relocation() 350 *TargetPtr |= static_cast<uint32_t>(BranchImm & 0xffffffcU) >> 2; in resolveAArch64Relocation() 358 *TargetPtr &= 0xffe0001fU; in resolveAArch64Relocation() 360 *TargetPtr |= Result >> (48 - 5); in resolveAArch64Relocation() 362 assert((*TargetPtr >> 21 & 0x3) == 3 && "invalid shift for relocation"); in resolveAArch64Relocation() 370 *TargetPtr &= 0xffe0001fU; in resolveAArch64Relocation() [all …]
|
D | RuntimeDyldELF.h | 67 void applyMIPS64Relocation(uint8_t *TargetPtr, int64_t CalculatedValue,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldELFMips.cpp | 214 void RuntimeDyldELFMips::applyMIPSRelocation(uint8_t *TargetPtr, int64_t Value, in applyMIPSRelocation() argument 216 uint32_t Insn = readBytesUnaligned(TargetPtr, 4); in applyMIPSRelocation() 235 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation() 239 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation() 243 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation() 247 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation() 252 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation() 257 writeBytesUnaligned(Value & 0xffffffff, TargetPtr, 4); in applyMIPSRelocation() 261 writeBytesUnaligned(Value, TargetPtr, 8); in applyMIPSRelocation() 308 uint8_t *TargetPtr = Section.getAddressWithOffset(Offset); in resolveMIPSO32Relocation() local [all …]
|
D | RuntimeDyldELFMips.h | 60 void applyMIPSRelocation(uint8_t *TargetPtr, int64_t CalculatedValue,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 367 uint32_t *TargetPtr = in resolveAArch64Relocation() local 387 write(isBE, TargetPtr, static_cast<uint16_t>(Result & 0xffffU)); in resolveAArch64Relocation() 393 write(isBE, TargetPtr, static_cast<uint32_t>(Result & 0xffffffffU)); in resolveAArch64Relocation() 397 write(isBE, TargetPtr, Value + Addend); in resolveAArch64Relocation() 403 write(isBE, TargetPtr, static_cast<uint32_t>(Result & 0xffffffffU)); in resolveAArch64Relocation() 407 write(isBE, TargetPtr, Value + Addend - FinalAddress); in resolveAArch64Relocation() 417 or32le(TargetPtr, (BranchImm & 0x0FFFFFFC) >> 2); in resolveAArch64Relocation() 421 or32le(TargetPtr, ((Value + Addend) & 0xFFFF000000000000) >> 43); in resolveAArch64Relocation() 424 or32le(TargetPtr, ((Value + Addend) & 0xFFFF00000000) >> 27); in resolveAArch64Relocation() 427 or32le(TargetPtr, ((Value + Addend) & 0xFFFF0000) >> 11); in resolveAArch64Relocation() [all …]
|