/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints_test.cc | 60 QuickMethodFrameInfo frame_info = Runtime::Current()->GetRuntimeMethodFrameInfo(save_method); variable 61 EXPECT_EQ(frame_info.FrameSizeInBytes(), save_size) << "Expected and real size differs for " 62 << type << " core spills=" << std::hex << frame_info.CoreSpillMask() << " fp spills=" 63 << frame_info.FpSpillMask() << std::dec << " ISA " << isa; 69 QuickMethodFrameInfo frame_info = Runtime::Current()->GetRuntimeMethodFrameInfo(save_method); variable 70 EXPECT_EQ(frame_info.GetReturnPcOffset(), pc_offset) 72 << " core spills=" << std::hex << frame_info.CoreSpillMask() 73 << " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa;
|
/art/runtime/arch/arm64/ |
H A D | context_arm64.cc | 43 void Arm64Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { argument 47 for (uint32_t core_reg : HighToLowBits(frame_info.CoreSpillMask())) { 48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 51 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); 54 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { 55 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 58 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask()));
|
/art/runtime/arch/mips/ |
H A D | context_mips.cc | 40 void MipsContext::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { argument 44 for (uint32_t core_reg : HighToLowBits(frame_info.CoreSpillMask())) { 53 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 57 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); 60 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { 61 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 64 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask()));
|
/art/runtime/arch/mips64/ |
H A D | context_mips64.cc | 40 void Mips64Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { argument 44 for (uint32_t core_reg : HighToLowBits(frame_info.CoreSpillMask())) { 45 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 48 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); 51 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { 52 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 55 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask()));
|
/art/runtime/arch/arm/ |
H A D | context_arm.cc | 41 void ArmContext::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { argument 45 uint32_t core_regs = frame_info.CoreSpillMask(); 48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 51 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); 54 for (uint32_t fp_reg : HighToLowBits(frame_info.FpSpillMask())) { 55 fprs_[fp_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 58 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask()));
|
/art/runtime/arch/x86/ |
H A D | context_x86.cc | 40 void X86Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { argument 45 frame_info.CoreSpillMask() & ~(static_cast<uint32_t>(-1) << kNumberOfCpuRegisters); 46 DCHECK_EQ(1, POPCOUNT(frame_info.CoreSpillMask() & ~core_regs)); // Return address spill. 48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 51 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) - 1); 54 uint32_t fp_regs = frame_info.FpSpillMask(); 59 CalleeSaveAddress(frame, spill_pos + 1, frame_info.FrameSizeInBytes())); 61 CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes())); 65 POPCOUNT(frame_info.CoreSpillMask()) - 1 + 2 * POPCOUNT(frame_info [all...] |
/art/runtime/arch/x86_64/ |
H A D | context_x86_64.cc | 39 void X86_64Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { argument 44 frame_info.CoreSpillMask() & ~(static_cast<uint32_t>(-1) << kNumberOfCpuRegisters); 45 DCHECK_EQ(1, POPCOUNT(frame_info.CoreSpillMask() & ~core_regs)); // Return address spill. 47 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); 50 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) - 1); 53 uint32_t fp_regs = frame_info.FpSpillMask(); 57 CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes())); 61 POPCOUNT(frame_info.CoreSpillMask()) - 1 + POPCOUNT(frame_info.FpSpillMask()));
|
/art/compiler/ |
H A D | exception_test.cc | 184 QuickMethodFrameInfo frame_info = r->GetRuntimeMethodFrameInfo(save_method); local 191 for (size_t i = 0; i < frame_info.FrameSizeInBytes() - 2 * sizeof(uintptr_t);
|
/art/runtime/arch/ |
H A D | arch_test.cc | 70 QuickMethodFrameInfo frame_info = runtime->GetRuntimeMethodFrameInfo(save_method); variable 71 EXPECT_EQ(frame_info.FrameSizeInBytes(), save_size) << "Expected and real size differs for " 72 << type << " core spills=" << std::hex << frame_info.CoreSpillMask() << " fp spills=" 73 << frame_info.FpSpillMask() << std::dec;
|
/art/runtime/ |
H A D | cha.cc | 229 QuickMethodFrameInfo frame_info = GetCurrentQuickFrameInfo(); local 230 size_t frame_size = frame_info.FrameSizeInBytes(); 232 size_t core_spill_size = POPCOUNT(frame_info.CoreSpillMask()) * 234 size_t fpu_spill_size = POPCOUNT(frame_info.FpSpillMask()) *
|
H A D | stack.cc | 859 QuickMethodFrameInfo frame_info = GetCurrentQuickFrameInfo(); local 861 context_->FillCalleeSaves(reinterpret_cast<uint8_t*>(cur_quick_frame_), frame_info); local 864 size_t frame_size = frame_info.FrameSizeInBytes();
|
/art/openjdkjvmti/ |
H A D | ti_stack.cc | 416 jvmtiFrameInfo* frame_info = new jvmtiFrameInfo[collected_frames]; local 417 frame_infos.emplace_back(frame_info); 424 frame_info, 428 stack_info.frame_buffer = frame_info; 447 jvmtiFrameInfo* frame_info = reinterpret_cast<jvmtiFrameInfo*>( local 460 memcpy(frame_info, old_stack_info.frame_buffer, frames_size); 461 new_stack_info.frame_buffer = frame_info; 462 frame_info += old_stack_info.frame_count; 578 jvmtiFrameInfo* frame_info = new jvmtiFrameInfo[collected_frames]; local 579 frame_infos.emplace_back(frame_info); 606 jvmtiFrameInfo* frame_info = reinterpret_cast<jvmtiFrameInfo*>( local [all...] |