Home
last modified time | relevance | path

Searched refs:gprs_ (Results 1 – 9 of 9) sorted by relevance

/art/runtime/arch/arm64/
Dcontext_arm64.cc38 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
40 gprs_[SP] = &sp_; in Reset()
41 gprs_[kPC] = &pc_; in Reset()
42 gprs_[X0] = &arg0_; in Reset()
54 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
68 DCHECK_LT(reg, arraysize(gprs_)); in SetGPR()
71 DCHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
72 *gprs_[reg] = value; in SetGPR()
84 gprs_[X0] = const_cast<uint64_t*>(&gZero); in SmashCallerSaves()
85 gprs_[X1] = nullptr; in SmashCallerSaves()
[all …]
Dcontext_arm64.h58 DCHECK_LT(reg, arraysize(gprs_)); in IsAccessibleGPR()
59 return gprs_[reg] != nullptr; in IsAccessibleGPR()
63 DCHECK_LT(reg, arraysize(gprs_)); in GetGPRAddress()
64 return gprs_[reg]; in GetGPRAddress()
71 return *gprs_[reg]; in GetGPR()
97 uintptr_t* gprs_[kNumberOfXRegisters + 1];
/art/runtime/arch/x86_64/
Dcontext_x86_64.cc29 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
31 gprs_[RSP] = &rsp_; in Reset()
32 gprs_[RDI] = &arg0_; in Reset()
47 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
66 gprs_[RAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
67 gprs_[RDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
68 gprs_[RCX] = nullptr; in SmashCallerSaves()
69 gprs_[RSI] = nullptr; in SmashCallerSaves()
70 gprs_[RDI] = nullptr; in SmashCallerSaves()
71 gprs_[R8] = nullptr; in SmashCallerSaves()
[all …]
Dcontext_x86_64.h58 return gprs_[reg] != nullptr; in IsAccessibleGPR()
63 return gprs_[reg]; in GetGPRAddress()
69 return *gprs_[reg]; in GetGPR()
92 uintptr_t* gprs_[kNumberOfCpuRegisters];
/art/runtime/arch/arm/
Dcontext_arm.cc30 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
32 gprs_[SP] = &sp_; in Reset()
33 gprs_[PC] = &pc_; in Reset()
34 gprs_[R0] = &arg0_; in Reset()
48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
64 DCHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
65 *gprs_[reg] = value; in SetGPR()
77 gprs_[R0] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
78 gprs_[R1] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
79 gprs_[R2] = nullptr; in SmashCallerSaves()
[all …]
Dcontext_arm.h59 return gprs_[reg] != nullptr; in IsAccessibleGPR()
64 return gprs_[reg]; in GetGPRAddress()
70 return *gprs_[reg]; in GetGPR()
93 uintptr_t* gprs_[kNumberOfCoreRegisters];
Dquick_entrypoints_arm.S478 mov sp, r0 @ Make SP point to gprs_.
480 ldm sp, {r0-r11} @ load r0-r11 from gprs_.
481 ldr r12, [sp, #60] @ Load the value of PC (r15) from gprs_ (60 = 4 * 15) into IP (r12).
482 ldr lr, [sp, #56] @ Load LR from gprs_, 56 = 4 * 14.
483 ldr sp, [sp, #52] @ Load SP from gprs_ 52 = 4 * 13.
484 @ Do not access gprs_ from now, they are below SP.
/art/runtime/arch/x86/
Dcontext_x86.cc30 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
32 gprs_[ESP] = &esp_; in Reset()
33 gprs_[EAX] = &arg0_; in Reset()
48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
70 gprs_[EAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
71 gprs_[EDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
72 gprs_[ECX] = nullptr; in SmashCallerSaves()
73 gprs_[EBX] = nullptr; in SmashCallerSaves()
80 CHECK_NE(gprs_[reg], &gZero); in SetGPR()
81 *gprs_[reg] = value; in SetGPR()
[all …]
Dcontext_x86.h58 return gprs_[reg] != nullptr; in IsAccessibleGPR()
63 return gprs_[reg]; in GetGPRAddress()
69 return *gprs_[reg]; in GetGPR()
105 uintptr_t* gprs_[kNumberOfCpuRegisters]; variable