Home
last modified time | relevance | path

Searched refs:frame_info (Results 1 – 10 of 10) sorted by relevance

/art/runtime/arch/x86/
Dcontext_x86.cc38 void X86Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument
43 frame_info.CoreSpillMask() & ~(static_cast<uint32_t>(-1) << kNumberOfCpuRegisters); in FillCalleeSaves()
44 DCHECK_EQ(1, POPCOUNT(frame_info.CoreSpillMask() & ~core_regs)); // Return address spill. in FillCalleeSaves()
46 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
49 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) - 1); in FillCalleeSaves()
52 uint32_t fp_regs = frame_info.FpSpillMask(); in FillCalleeSaves()
57 CalleeSaveAddress(frame, spill_pos + 1, frame_info.FrameSizeInBytes())); in FillCalleeSaves()
59 CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes())); in FillCalleeSaves()
63 POPCOUNT(frame_info.CoreSpillMask()) - 1 + 2 * POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
/art/runtime/arch/mips/
Dcontext_mips.cc39 void MipsContext::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument
43 for (uint32_t core_reg : HighToLowBits(frame_info.CoreSpillMask())) { in FillCalleeSaves()
44 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
47 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves()
50 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { in FillCalleeSaves()
51 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
54 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc59 QuickMethodFrameInfo frame_info = Runtime::Current()->GetRuntimeMethodFrameInfo(save_method); in CheckFrameSize() local
60 EXPECT_EQ(frame_info.FrameSizeInBytes(), save_size) << "Expected and real size differs for " in CheckFrameSize()
61 << type << " core spills=" << std::hex << frame_info.CoreSpillMask() << " fp spills=" in CheckFrameSize()
62 << frame_info.FpSpillMask() << std::dec << " ISA " << isa; in CheckFrameSize()
68 QuickMethodFrameInfo frame_info = Runtime::Current()->GetRuntimeMethodFrameInfo(save_method); in CheckPCOffset() local
69 EXPECT_EQ(frame_info.GetReturnPcOffset(), pc_offset) in CheckPCOffset()
71 << " core spills=" << std::hex << frame_info.CoreSpillMask() in CheckPCOffset()
72 << " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa; in CheckPCOffset()
/art/runtime/arch/x86_64/
Dcontext_x86_64.cc38 void X86_64Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument
43 frame_info.CoreSpillMask() & ~(static_cast<uint32_t>(-1) << kNumberOfCpuRegisters); in FillCalleeSaves()
44 DCHECK_EQ(1, POPCOUNT(frame_info.CoreSpillMask() & ~core_regs)); // Return address spill. in FillCalleeSaves()
46 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
49 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) - 1); in FillCalleeSaves()
52 uint32_t fp_regs = frame_info.FpSpillMask(); in FillCalleeSaves()
56 CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes())); in FillCalleeSaves()
60 POPCOUNT(frame_info.CoreSpillMask()) - 1 + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
/art/runtime/arch/arm/
Dcontext_arm.cc40 void ArmContext::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument
44 uint32_t core_regs = frame_info.CoreSpillMask(); in FillCalleeSaves()
47 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
50 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves()
53 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { in FillCalleeSaves()
54 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
57 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
/art/runtime/arch/mips64/
Dcontext_mips64.cc39 void Mips64Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument
43 for (uint32_t core_reg : HighToLowBits(frame_info.CoreSpillMask())) { in FillCalleeSaves()
44 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
47 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves()
50 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { in FillCalleeSaves()
51 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
54 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
/art/runtime/arch/arm64/
Dcontext_arm64.cc42 void Arm64Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument
46 for (uint32_t core_reg : HighToLowBits(frame_info.CoreSpillMask())) { in FillCalleeSaves()
47 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
50 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves()
53 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { in FillCalleeSaves()
54 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
57 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
/art/runtime/arch/
Darch_test.cc52 QuickMethodFrameInfo frame_info = runtime->GetRuntimeMethodFrameInfo(save_method); in CheckFrameSize() local
53 EXPECT_EQ(frame_info.FrameSizeInBytes(), save_size) << "Expected and real size differs for " in CheckFrameSize()
54 << type << " core spills=" << std::hex << frame_info.CoreSpillMask() << " fp spills=" in CheckFrameSize()
55 << frame_info.FpSpillMask() << std::dec; in CheckFrameSize()
/art/compiler/
Dexception_test.cc173 QuickMethodFrameInfo frame_info = r->GetRuntimeMethodFrameInfo(save_method); in TEST_F() local
185 for (size_t i = 0; i < frame_info.FrameSizeInBytes() - 2 * sizeof(uintptr_t); in TEST_F()
/art/runtime/
Dstack.cc824 QuickMethodFrameInfo frame_info = GetCurrentQuickFrameInfo(); in WalkStack() local
826 context_->FillCalleeSaves(reinterpret_cast<uint8_t*>(cur_quick_frame_), frame_info); in WalkStack()
829 size_t frame_size = frame_info.FrameSizeInBytes(); in WalkStack()