/art/runtime/arch/x86/ |
D | context_x86.cc | 40 void X86Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument 45 frame_info.CoreSpillMask() & ~(static_cast<uint32_t>(-1) << kNumberOfCpuRegisters); in FillCalleeSaves() 46 DCHECK_EQ(1, POPCOUNT(frame_info.CoreSpillMask() & ~core_regs)); // Return address spill. in FillCalleeSaves() 48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 51 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) - 1); in FillCalleeSaves() 54 uint32_t fp_regs = frame_info.FpSpillMask(); in FillCalleeSaves() 59 CalleeSaveAddress(frame, spill_pos + 1, frame_info.FrameSizeInBytes())); in FillCalleeSaves() 61 CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes())); in FillCalleeSaves() 65 POPCOUNT(frame_info.CoreSpillMask()) - 1 + 2 * POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/runtime/arch/riscv64/ |
D | context_riscv64.cc | 49 void Riscv64Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument 51 DCHECK_NE(frame_info.CoreSpillMask() & ~(1u << RA), 0u); in FillCalleeSaves() 52 gprs_[RA] = CalleeSaveAddress(frame, 0, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 56 for (uint32_t core_reg : HighToLowBits(frame_info.CoreSpillMask() & ~(1u << RA))) { in FillCalleeSaves() 57 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 60 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves() 63 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { in FillCalleeSaves() 64 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 67 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/runtime/arch/x86_64/ |
D | context_x86_64.cc | 39 void X86_64Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument 44 frame_info.CoreSpillMask() & ~(static_cast<uint32_t>(-1) << kNumberOfCpuRegisters); in FillCalleeSaves() 45 DCHECK_EQ(1, POPCOUNT(frame_info.CoreSpillMask() & ~core_regs)); // Return address spill. in FillCalleeSaves() 47 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 50 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) - 1); in FillCalleeSaves() 53 uint32_t fp_regs = frame_info.FpSpillMask(); in FillCalleeSaves() 57 CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes())); in FillCalleeSaves() 61 POPCOUNT(frame_info.CoreSpillMask()) - 1 + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/runtime/arch/arm/ |
D | context_arm.cc | 41 void ArmContext::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument 45 uint32_t core_regs = frame_info.CoreSpillMask(); in FillCalleeSaves() 48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 51 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves() 54 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { in FillCalleeSaves() 55 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 58 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/runtime/arch/arm64/ |
D | context_arm64.cc | 50 void Arm64Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument 54 for (uint32_t core_reg : HighToLowBits(frame_info.CoreSpillMask())) { in FillCalleeSaves() 55 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 58 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves() 61 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { in FillCalleeSaves() 62 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 65 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints_test.cc | 60 QuickMethodFrameInfo frame_info = Runtime::Current()->GetRuntimeMethodFrameInfo(save_method); in CheckPCOffset() local 61 EXPECT_EQ(frame_info.GetReturnPcOffset(), pc_offset) in CheckPCOffset() 63 << " core spills=" << std::hex << frame_info.CoreSpillMask() in CheckPCOffset() 64 << " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa; in CheckPCOffset()
|
/art/runtime/ |
D | oat_quick_method_header.h | 155 QuickMethodFrameInfo frame_info = GetFrameInfo(); in GetShouldDeoptimizeFlagOffset() local 156 size_t frame_size = frame_info.FrameSizeInBytes(); in GetShouldDeoptimizeFlagOffset() 158 POPCOUNT(frame_info.CoreSpillMask()) * GetBytesPerGprSpillLocation(kRuntimeISA); in GetShouldDeoptimizeFlagOffset() 160 POPCOUNT(frame_info.FpSpillMask()) * GetBytesPerFprSpillLocation(kRuntimeISA); in GetShouldDeoptimizeFlagOffset()
|
D | stack.cc | 788 QuickMethodFrameInfo frame_info = GetCurrentQuickFrameInfo(); in GetShouldDeoptimizeFlagAddr() local 789 size_t frame_size = frame_info.FrameSizeInBytes(); in GetShouldDeoptimizeFlagAddr() 792 POPCOUNT(frame_info.CoreSpillMask()) * GetBytesPerGprSpillLocation(kRuntimeISA); in GetShouldDeoptimizeFlagAddr() 794 POPCOUNT(frame_info.FpSpillMask()) * GetBytesPerFprSpillLocation(kRuntimeISA); in GetShouldDeoptimizeFlagAddr() 911 QuickMethodFrameInfo frame_info = GetCurrentQuickFrameInfo(); in WalkStack() local 913 context_->FillCalleeSaves(reinterpret_cast<uint8_t*>(cur_quick_frame_), frame_info); in WalkStack() 916 size_t frame_size = frame_info.FrameSizeInBytes(); in WalkStack()
|
D | instrumentation.cc | 1595 QuickMethodFrameInfo frame_info = Runtime::Current()->GetRuntimeMethodFrameInfo(runtime_method); in ShouldDeoptimizeCaller() local 1596 return ShouldDeoptimizeCaller(self, sp, frame_info.FrameSizeInBytes()); in ShouldDeoptimizeCaller()
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 457 jvmtiFrameInfo* frame_info = new jvmtiFrameInfo[collected_frames]; in GetAllStackTraces() local 458 frame_infos.emplace_back(frame_info); in GetAllStackTraces() 465 frame_info, in GetAllStackTraces() 469 stack_info.frame_buffer = frame_info; in GetAllStackTraces() 488 jvmtiFrameInfo* frame_info = reinterpret_cast<jvmtiFrameInfo*>( in GetAllStackTraces() local 501 memcpy(frame_info, old_stack_info.frame_buffer, frames_size); in GetAllStackTraces() 502 new_stack_info.frame_buffer = frame_info; in GetAllStackTraces() 503 frame_info += old_stack_info.frame_count; in GetAllStackTraces() 620 jvmtiFrameInfo* frame_info = new jvmtiFrameInfo[collected_frames]; in GetThreadListStackTraces() local 621 frame_infos.emplace_back(frame_info); in GetThreadListStackTraces() [all …]
|
/art/compiler/ |
D | exception_test.cc | 186 QuickMethodFrameInfo frame_info = r->GetRuntimeMethodFrameInfo(save_method); in TEST_F() local 193 for (size_t i = 0; i < frame_info.FrameSizeInBytes() - 2 * sizeof(uintptr_t); in TEST_F()
|