Lines Matching refs:TargetPtr

408   uint32_t *TargetPtr =  in resolveAArch64Relocation()  local
430 write(isBE, TargetPtr, static_cast<uint16_t>(Result & 0xffffU)); in resolveAArch64Relocation()
436 write(isBE, TargetPtr, static_cast<uint32_t>(Result & 0xffffffffU)); in resolveAArch64Relocation()
440 write(isBE, TargetPtr, Value + Addend); in resolveAArch64Relocation()
446 write(isBE, TargetPtr, static_cast<uint32_t>(Result)); in resolveAArch64Relocation()
453 write(isBE, TargetPtr, static_cast<uint16_t>(Result & 0xffffU)); in resolveAArch64Relocation()
460 write(isBE, TargetPtr, static_cast<uint32_t>(Result & 0xffffffffU)); in resolveAArch64Relocation()
464 write(isBE, TargetPtr, Value + Addend - FinalAddress); in resolveAArch64Relocation()
470 *TargetPtr &= 0xff00001fU; in resolveAArch64Relocation()
472 or32le(TargetPtr, (BranchImm & 0x001FFFFC) << 3); in resolveAArch64Relocation()
480 *TargetPtr &= 0xfff8001fU; in resolveAArch64Relocation()
482 or32le(TargetPtr, (BranchImm & 0x0000FFFC) << 3); in resolveAArch64Relocation()
493 or32le(TargetPtr, (BranchImm & 0x0FFFFFFC) >> 2); in resolveAArch64Relocation()
497 or32le(TargetPtr, ((Value + Addend) & 0xFFFF000000000000) >> 43); in resolveAArch64Relocation()
500 or32le(TargetPtr, ((Value + Addend) & 0xFFFF00000000) >> 27); in resolveAArch64Relocation()
503 or32le(TargetPtr, ((Value + Addend) & 0xFFFF0000) >> 11); in resolveAArch64Relocation()
506 or32le(TargetPtr, ((Value + Addend) & 0xFFFF) << 5); in resolveAArch64Relocation()
518 write32AArch64Addr(TargetPtr, Result >> 12); in resolveAArch64Relocation()
525 or32AArch64Imm(TargetPtr, Value + Addend); in resolveAArch64Relocation()
531 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 0, 11)); in resolveAArch64Relocation()
537 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 1, 11)); in resolveAArch64Relocation()
543 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 2, 11)); in resolveAArch64Relocation()
549 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 3, 11)); in resolveAArch64Relocation()
555 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 4, 11)); in resolveAArch64Relocation()
564 *TargetPtr &= 0xff00001fU; in resolveAArch64Relocation()
567 *TargetPtr |= ((Result & 0xffc) << (5 - 2)); in resolveAArch64Relocation()
577 *TargetPtr &= 0x9f00001fU; in resolveAArch64Relocation()
580 *TargetPtr |= ((Result & 0xffc) << (5 - 2)); in resolveAArch64Relocation()
581 *TargetPtr |= (Result & 0x3) << 29; in resolveAArch64Relocation()
591 uint32_t *TargetPtr = in resolveARMRelocation() local
611 support::ulittle32_t::ref{TargetPtr} = in resolveARMRelocation()
612 (support::ulittle32_t::ref{TargetPtr} & 0x80000000) | in resolveARMRelocation()
617 support::ulittle32_t::ref{TargetPtr} = Value; in resolveARMRelocation()
627 support::ulittle32_t::ref{TargetPtr} = in resolveARMRelocation()
628 (support::ulittle32_t::ref{TargetPtr} & ~0x000F0FFF) | (Value & 0xFFF) | in resolveARMRelocation()
637 assert((support::ulittle32_t::ref{TargetPtr} & 0xFFFFFF) == 0xFFFFFE); in resolveARMRelocation()
638 support::ulittle32_t::ref{TargetPtr} = in resolveARMRelocation()
639 (support::ulittle32_t::ref{TargetPtr} & 0xFF000000) | RelValue; in resolveARMRelocation()