Lines Matching refs:TargetPtr
382 uint32_t *TargetPtr = in resolveAArch64Relocation() local
402 write(isBE, TargetPtr, static_cast<uint16_t>(Result & 0xffffU)); in resolveAArch64Relocation()
408 write(isBE, TargetPtr, static_cast<uint32_t>(Result & 0xffffffffU)); in resolveAArch64Relocation()
412 write(isBE, TargetPtr, Value + Addend); in resolveAArch64Relocation()
418 write(isBE, TargetPtr, static_cast<uint32_t>(Result)); in resolveAArch64Relocation()
425 write(isBE, TargetPtr, static_cast<uint32_t>(Result & 0xffffffffU)); in resolveAArch64Relocation()
429 write(isBE, TargetPtr, Value + Addend - FinalAddress); in resolveAArch64Relocation()
435 *TargetPtr &= 0xff00001fU; in resolveAArch64Relocation()
437 or32le(TargetPtr, (BranchImm & 0x001FFFFC) << 3); in resolveAArch64Relocation()
445 *TargetPtr &= 0xfff8001fU; in resolveAArch64Relocation()
447 or32le(TargetPtr, (BranchImm & 0x0FFFFFFC) << 3); in resolveAArch64Relocation()
458 or32le(TargetPtr, (BranchImm & 0x0FFFFFFC) >> 2); in resolveAArch64Relocation()
462 or32le(TargetPtr, ((Value + Addend) & 0xFFFF000000000000) >> 43); in resolveAArch64Relocation()
465 or32le(TargetPtr, ((Value + Addend) & 0xFFFF00000000) >> 27); in resolveAArch64Relocation()
468 or32le(TargetPtr, ((Value + Addend) & 0xFFFF0000) >> 11); in resolveAArch64Relocation()
471 or32le(TargetPtr, ((Value + Addend) & 0xFFFF) << 5); in resolveAArch64Relocation()
483 write32AArch64Addr(TargetPtr, Result >> 12); in resolveAArch64Relocation()
490 or32AArch64Imm(TargetPtr, Value + Addend); in resolveAArch64Relocation()
496 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 0, 11)); in resolveAArch64Relocation()
502 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 1, 11)); in resolveAArch64Relocation()
508 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 2, 11)); in resolveAArch64Relocation()
514 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 3, 11)); in resolveAArch64Relocation()
520 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 4, 11)); in resolveAArch64Relocation()
529 *TargetPtr &= 0xff00001fU; in resolveAArch64Relocation()
532 *TargetPtr |= ((Result & 0xffc) << (5 - 2)); in resolveAArch64Relocation()
542 *TargetPtr &= 0x9f00001fU; in resolveAArch64Relocation()
545 *TargetPtr |= ((Result & 0xffc) << (5 - 2)); in resolveAArch64Relocation()
546 *TargetPtr |= (Result & 0x3) << 29; in resolveAArch64Relocation()
556 uint32_t *TargetPtr = in resolveARMRelocation() local
576 support::ulittle32_t::ref{TargetPtr} = in resolveARMRelocation()
577 (support::ulittle32_t::ref{TargetPtr} & 0x80000000) | in resolveARMRelocation()
582 support::ulittle32_t::ref{TargetPtr} = Value; in resolveARMRelocation()
592 support::ulittle32_t::ref{TargetPtr} = in resolveARMRelocation()
593 (support::ulittle32_t::ref{TargetPtr} & ~0x000F0FFF) | (Value & 0xFFF) | in resolveARMRelocation()
602 assert((support::ulittle32_t::ref{TargetPtr} & 0xFFFFFF) == 0xFFFFFE); in resolveARMRelocation()
603 support::ulittle32_t::ref{TargetPtr} = in resolveARMRelocation()
604 (support::ulittle32_t::ref{TargetPtr} & 0xFF000000) | RelValue; in resolveARMRelocation()