/art/compiler/jni/quick/ |
D | jni_compiler.cc | 47 size_t frame_size, size_t out_arg_size); 101 const size_t frame_size(main_jni_conv->FrameSize()); in ArtJniCompileMethodInternal() local 103 __ BuildFrame(frame_size, mr_conv->MethodRegister(), callee_save_regs, mr_conv->EntrySpills()); in ArtJniCompileMethodInternal() 106 mr_conv->ResetIterator(FrameOffset(frame_size)); in ArtJniCompileMethodInternal() 134 CHECK_LT(handle_scope_offset.Uint32Value(), frame_size); in ArtJniCompileMethodInternal() 151 CHECK_LT(handle_scope_offset.Uint32Value(), frame_size); in ArtJniCompileMethodInternal() 246 mr_conv->ResetIterator(FrameOffset(frame_size + main_out_arg_size)); in ArtJniCompileMethodInternal() 257 mr_conv->ResetIterator(FrameOffset(frame_size + main_out_arg_size)); in ArtJniCompileMethodInternal() 268 CopyParameter(jni_asm.get(), mr_conv.get(), main_jni_conv.get(), frame_size, main_out_arg_size); in ArtJniCompileMethodInternal() 272 mr_conv->ResetIterator(FrameOffset(frame_size + main_out_arg_size)); in ArtJniCompileMethodInternal() [all …]
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64_test.cc | 256 size_t frame_size = 10 * kStackAlignment; in buildframe_test_fn() local 265 ssize_t displacement = static_cast<ssize_t>(frame_size) - (spill_regs.size() * 8 + 8); in buildframe_test_fn() 270 str << "movq %rax, " << frame_size + 0 << "(%rsp)\n"; in buildframe_test_fn() 271 str << "movq %rbx, " << frame_size + 8 << "(%rsp)\n"; in buildframe_test_fn() 272 str << "movsd %xmm1, " << frame_size + 16 << "(%rsp)\n"; in buildframe_test_fn() 289 size_t frame_size = 10 * kStackAlignment; in removeframe_test_fn() local 295 ssize_t displacement = static_cast<ssize_t>(frame_size) - spill_regs.size() * 8 - 8; in removeframe_test_fn()
|
D | assembler_x86_64.cc | 1719 void X86_64Assembler::BuildFrame(size_t frame_size, ManagedRegister method_reg, in BuildFrame() argument 1722 CHECK_ALIGNED(frame_size, kStackAlignment); in BuildFrame() 1732 int64_t rest_of_frame = static_cast<int64_t>(frame_size) in BuildFrame() 1754 movq(Address(CpuRegister(RSP), frame_size + spill.getSpillOffset()), in BuildFrame() 1758 …movl(Address(CpuRegister(RSP), frame_size + spill.getSpillOffset()), spill.AsX86_64().AsCpuRegiste… in BuildFrame() 1762 …movsd(Address(CpuRegister(RSP), frame_size + spill.getSpillOffset()), spill.AsX86_64().AsXmmRegist… in BuildFrame() 1765 …movss(Address(CpuRegister(RSP), frame_size + spill.getSpillOffset()), spill.AsX86_64().AsXmmRegist… in BuildFrame() 1771 void X86_64Assembler::RemoveFrame(size_t frame_size, in RemoveFrame() argument 1773 CHECK_ALIGNED(frame_size, kStackAlignment); in RemoveFrame() 1776 …int64_t offset = static_cast<int64_t>(frame_size) - (spill_regs.size() * kFramePointerSize) - 2 * … in RemoveFrame() [all …]
|
D | assembler_x86_64.h | 505 void BuildFrame(size_t frame_size, ManagedRegister method_reg, 510 void RemoveFrame(size_t frame_size, const std::vector<ManagedRegister>& callee_save_regs)
|
/art/runtime/ |
D | stack.h | 541 uintptr_t* CalleeSaveAddress(int num, size_t frame_size) const in CalleeSaveAddress() argument 546 reinterpret_cast<byte*>(cur_quick_frame_) + frame_size - ((num + 1) * kPointerSize); in CalleeSaveAddress() 614 uint32_t core_spills, uint32_t fp_spills, size_t frame_size, in GetVRegAddr() argument 616 int offset = GetVRegOffset(code_item, core_spills, fp_spills, frame_size, vreg, kRuntimeISA); in GetVRegAddr() 673 size_t frame_size, int reg, InstructionSet isa) { in GetVRegOffset() argument 674 DCHECK_EQ(frame_size & (kStackAlignment - 1), 0U); in GetVRegOffset() 681 int locals_start = frame_size - spill_size - num_regs * sizeof(uint32_t); in GetVRegOffset() 701 return frame_size + ((reg - num_regs) * sizeof(uint32_t)) + in GetVRegOffset()
|
D | stack.cc | 506 size_t frame_size = method->GetFrameSizeInBytes(); in SanityCheckFrame() local 507 CHECK_NE(frame_size, 0u); in SanityCheckFrame() 516 CHECK_LE(frame_size, kMaxExpectedFrameSize); in SanityCheckFrame() 518 CHECK_LT(return_pc_offset, frame_size); in SanityCheckFrame() 549 size_t frame_size = method->GetFrameSizeInBytes(); in WalkStack() local 551 size_t return_pc_offset = method->GetReturnPcOffsetInBytes(frame_size); in WalkStack() 582 byte* next_frame = reinterpret_cast<byte*>(cur_quick_frame_) + frame_size; in WalkStack()
|
D | elf_file.cc | 1495 static DebugInfoIterator* Create(DebugInfoHeader* header, size_t frame_size, in Create() argument 1497 std::unique_ptr<DebugInfoIterator> iter(new DebugInfoIterator(header, frame_size, abbrev)); in Create() 1544 DebugInfoIterator(DebugInfoHeader* header, size_t frame_size, DebugAbbrev* abbrev) in DebugInfoIterator() argument 1546 last_entry_(reinterpret_cast<byte*>(header) + frame_size), in DebugInfoIterator()
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 639 void Arm64Assembler::BuildFrame(size_t frame_size, ManagedRegister method_reg, in BuildFrame() argument 642 CHECK_ALIGNED(frame_size, kStackAlignment); in BuildFrame() 650 CHECK_GT(frame_size, kJniRefSpillRegsSize * kFramePointerSize); in BuildFrame() 651 IncreaseFrameSize(frame_size); in BuildFrame() 657 size_t reg_offset = frame_size; in BuildFrame() 690 int32_t offset = frame_size + sizeof(StackReference<mirror::ArtMethod>); in BuildFrame() 713 void Arm64Assembler::RemoveFrame(size_t frame_size, const std::vector<ManagedRegister>& callee_save… in RemoveFrame() argument 714 CHECK_ALIGNED(frame_size, kStackAlignment); in RemoveFrame() 718 CHECK_GT(frame_size, kJniRefSpillRegsSize * kFramePointerSize); in RemoveFrame() 728 size_t reg_offset = frame_size; in RemoveFrame() [all …]
|
D | assembler_arm64.h | 102 void BuildFrame(size_t frame_size, ManagedRegister method_reg, 107 void RemoveFrame(size_t frame_size, const std::vector<ManagedRegister>& callee_save_regs)
|
/art/compiler/utils/arm/ |
D | assembler_arm.cc | 395 void ArmAssembler::BuildFrame(size_t frame_size, ManagedRegister method_reg, in BuildFrame() argument 398 CHECK_ALIGNED(frame_size, kStackAlignment); in BuildFrame() 412 CHECK_GT(frame_size, pushed_values * kFramePointerSize); // Must at least have space for Method*. in BuildFrame() 413 size_t adjust = frame_size - (pushed_values * kFramePointerSize); in BuildFrame() 422 StoreToOffset(kStoreWord, reg, SP, frame_size + kFramePointerSize + (i * kFramePointerSize)); in BuildFrame() 426 void ArmAssembler::RemoveFrame(size_t frame_size, in RemoveFrame() argument 428 CHECK_ALIGNED(frame_size, kStackAlignment); in RemoveFrame() 439 CHECK_GT(frame_size, pop_values * kFramePointerSize); in RemoveFrame() 440 size_t adjust = frame_size - (pop_values * kFramePointerSize); in RemoveFrame()
|
D | assembler_arm.h | 615 void BuildFrame(size_t frame_size, ManagedRegister method_reg, 620 void RemoveFrame(size_t frame_size, const std::vector<ManagedRegister>& callee_save_regs)
|
/art/compiler/dex/quick/arm64/ |
D | int_arm64.cc | 1453 uint32_t fp_reg_mask, int frame_size) { in SpillRegsPreSub() argument 1454 m2l->OpRegRegImm(kOpSub, rs_sp, rs_sp, frame_size); in SpillRegsPreSub() 1461 int spill_offset = frame_size - (core_count + fp_count) * kArm64PointerSize; in SpillRegsPreSub() 1467 int spill_offset = frame_size - (core_count * kArm64PointerSize); in SpillRegsPreSub() 1471 return frame_size; in SpillRegsPreSub() 1475 uint32_t fp_reg_mask, int frame_size) { in SpillRegsPreIndexed() argument 1590 int frame_size) { in SpillRegs() argument 1597 if ((RoundUp(frame_size, 8) / 8 <= 63)) { in SpillRegs() 1598 return SpillRegsPreSub(this, base, core_reg_mask, fp_reg_mask, frame_size); in SpillRegs() 1600 return SpillRegsPreIndexed(this, base, core_reg_mask, fp_reg_mask, frame_size); in SpillRegs() [all …]
|
D | codegen_arm64.h | 357 int SpillRegs(RegStorage base, uint32_t core_reg_mask, uint32_t fp_reg_mask, int frame_size); 360 void UnspillRegs(RegStorage base, uint32_t core_reg_mask, uint32_t fp_reg_mask, int frame_size);
|
/art/compiler/utils/mips/ |
D | assembler_mips.cc | 541 void MipsAssembler::BuildFrame(size_t frame_size, ManagedRegister method_reg, in BuildFrame() argument 544 CHECK_ALIGNED(frame_size, kStackAlignment); in BuildFrame() 547 IncreaseFrameSize(frame_size); in BuildFrame() 550 int stack_offset = frame_size - kFramePointerSize; in BuildFrame() 564 StoreToOffset(kStoreWord, reg, SP, frame_size + kFramePointerSize + (i * kFramePointerSize)); in BuildFrame() 568 void MipsAssembler::RemoveFrame(size_t frame_size, in RemoveFrame() argument 570 CHECK_ALIGNED(frame_size, kStackAlignment); in RemoveFrame() 573 int stack_offset = frame_size - (callee_save_regs.size() * kFramePointerSize) - kFramePointerSize; in RemoveFrame() 582 DecreaseFrameSize(frame_size); in RemoveFrame()
|
D | assembler_mips.h | 159 void BuildFrame(size_t frame_size, ManagedRegister method_reg, 164 void RemoveFrame(size_t frame_size, const std::vector<ManagedRegister>& callee_save_regs)
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 251 constexpr size_t frame_size = GetCalleeSaveFrameSize(kRuntimeISA, Runtime::kRefsOnly); in artSet64InstanceFromCode() local 254 reinterpret_cast<uint8_t*>(sp) + frame_size)->AsMirrorPtr(); in artSet64InstanceFromCode()
|
/art/compiler/utils/ |
D | assembler.h | 371 virtual void BuildFrame(size_t frame_size, ManagedRegister method_reg, 376 virtual void RemoveFrame(size_t frame_size,
|
/art/compiler/utils/x86/ |
D | assembler_x86.cc | 1412 void X86Assembler::BuildFrame(size_t frame_size, ManagedRegister method_reg, in BuildFrame() argument 1415 CHECK_ALIGNED(frame_size, kStackAlignment); in BuildFrame() 1420 addl(ESP, Immediate(-frame_size + (spill_regs.size() * kFramePointerSize) + in BuildFrame() 1425 movl(Address(ESP, frame_size + sizeof(StackReference<mirror::ArtMethod>) + in BuildFrame() 1431 void X86Assembler::RemoveFrame(size_t frame_size, in RemoveFrame() argument 1433 CHECK_ALIGNED(frame_size, kStackAlignment); in RemoveFrame() 1434 addl(ESP, Immediate(frame_size - (spill_regs.size() * kFramePointerSize) - in RemoveFrame()
|
D | assembler_x86.h | 463 void BuildFrame(size_t frame_size, ManagedRegister method_reg, 468 void RemoveFrame(size_t frame_size, const std::vector<ManagedRegister>& callee_save_regs)
|
/art/runtime/mirror/ |
D | art_method-inl.h | 394 size_t frame_size = RoundUp(callee_info.FrameSizeInBytes() + scope_size in GetQuickFrameInfo() local 399 return QuickMethodFrameInfo(frame_size, callee_info.CoreSpillMask(), callee_info.FpSpillMask()); in GetQuickFrameInfo()
|