Lines Matching refs:TargetPtr

408   uint32_t *TargetPtr =  in resolveAArch64Relocation()  local
431 write(isBE, TargetPtr, static_cast<uint16_t>(Result & 0xffffU)); in resolveAArch64Relocation()
438 write(isBE, TargetPtr, static_cast<uint32_t>(Result & 0xffffffffU)); in resolveAArch64Relocation()
442 write(isBE, TargetPtr, Value + Addend); in resolveAArch64Relocation()
448 write(isBE, TargetPtr, static_cast<uint32_t>(Result)); in resolveAArch64Relocation()
455 write(isBE, TargetPtr, static_cast<uint16_t>(Result & 0xffffU)); in resolveAArch64Relocation()
462 write(isBE, TargetPtr, static_cast<uint32_t>(Result & 0xffffffffU)); in resolveAArch64Relocation()
466 write(isBE, TargetPtr, Value + Addend - FinalAddress); in resolveAArch64Relocation()
472 *TargetPtr &= 0xff00001fU; in resolveAArch64Relocation()
474 or32le(TargetPtr, (BranchImm & 0x001FFFFC) << 3); in resolveAArch64Relocation()
482 uint32_t RawInstr = *(support::little32_t *)TargetPtr; in resolveAArch64Relocation()
483 *(support::little32_t *)TargetPtr = RawInstr & 0xfff8001fU; in resolveAArch64Relocation()
486 or32le(TargetPtr, (BranchImm & 0x0000FFFC) << 3); in resolveAArch64Relocation()
497 or32le(TargetPtr, (BranchImm & 0x0FFFFFFC) >> 2); in resolveAArch64Relocation()
501 or32le(TargetPtr, ((Value + Addend) & 0xFFFF000000000000) >> 43); in resolveAArch64Relocation()
504 or32le(TargetPtr, ((Value + Addend) & 0xFFFF00000000) >> 27); in resolveAArch64Relocation()
507 or32le(TargetPtr, ((Value + Addend) & 0xFFFF0000) >> 11); in resolveAArch64Relocation()
510 or32le(TargetPtr, ((Value + Addend) & 0xFFFF) << 5); in resolveAArch64Relocation()
522 write32AArch64Addr(TargetPtr, Result >> 12); in resolveAArch64Relocation()
529 or32AArch64Imm(TargetPtr, Value + Addend); in resolveAArch64Relocation()
535 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 0, 11)); in resolveAArch64Relocation()
541 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 1, 11)); in resolveAArch64Relocation()
547 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 2, 11)); in resolveAArch64Relocation()
553 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 3, 11)); in resolveAArch64Relocation()
559 or32AArch64Imm(TargetPtr, getBits(Value + Addend, 4, 11)); in resolveAArch64Relocation()
568 *TargetPtr &= 0xff00001fU; in resolveAArch64Relocation()
571 *TargetPtr |= ((Result & 0xffc) << (5 - 2)); in resolveAArch64Relocation()
581 *TargetPtr &= 0x9f00001fU; in resolveAArch64Relocation()
584 *TargetPtr |= ((Result & 0xffc) << (5 - 2)); in resolveAArch64Relocation()
585 *TargetPtr |= (Result & 0x3) << 29; in resolveAArch64Relocation()
595 uint32_t *TargetPtr = in resolveARMRelocation() local
615 support::ulittle32_t::ref{TargetPtr} = in resolveARMRelocation()
616 (support::ulittle32_t::ref{TargetPtr} & 0x80000000) | in resolveARMRelocation()
621 support::ulittle32_t::ref{TargetPtr} = Value; in resolveARMRelocation()
631 support::ulittle32_t::ref{TargetPtr} = in resolveARMRelocation()
632 (support::ulittle32_t::ref{TargetPtr} & ~0x000F0FFF) | (Value & 0xFFF) | in resolveARMRelocation()
641 assert((support::ulittle32_t::ref{TargetPtr} & 0xFFFFFF) == 0xFFFFFE); in resolveARMRelocation()
642 support::ulittle32_t::ref{TargetPtr} = in resolveARMRelocation()
643 (support::ulittle32_t::ref{TargetPtr} & 0xFF000000) | RelValue; in resolveARMRelocation()