/art/compiler/jni/ |
D | jni_cfi_test.cc | 78 const int frame_size(jni_conv->FrameSize()); in TestImplSized() local 85 jni_asm->BuildFrame(frame_size, mr_conv->MethodRegister(), in TestImplSized() 89 jni_asm->RemoveFrame(frame_size, callee_save_regs, /* may_suspend= */ true); in TestImplSized() 94 ASSERT_EQ(jni_asm->cfi().GetCurrentCFAOffset(), frame_size); in TestImplSized()
|
/art/runtime/mirror/ |
D | emulated_stack_frame.cc | 43 size_t frame_size = 0; in CalculateFrameAndReferencesSize() local 51 frame_size += 8; in CalculateFrameAndReferencesSize() 53 frame_size += 4; in CalculateFrameAndReferencesSize() 61 frame_size += 8; in CalculateFrameAndReferencesSize() 63 frame_size += 4; in CalculateFrameAndReferencesSize() 66 (*frame_size_out) = frame_size; in CalculateFrameAndReferencesSize() 167 size_t frame_size = 0; in CreateFromShadowFrameAndArgs() local 170 CalculateFrameAndReferencesSize(to_types.Get(), r_type.Get(), &frame_size, &refs_size); in CreateFromShadowFrameAndArgs() 182 Handle<ByteArray> stack_frame(hs.NewHandle(ByteArray::Alloc(self, frame_size))); in CreateFromShadowFrameAndArgs()
|
/art/compiler/jni/quick/ |
D | jni_compiler.h | 35 uint32_t frame_size, in JniCompiledMethod() argument 41 frame_size_(frame_size), in JniCompiledMethod()
|
/art/runtime/arch/ |
D | context.h | 41 static uintptr_t* CalleeSaveAddress(uint8_t* frame, int num, size_t frame_size) { in CalleeSaveAddress() argument 43 uint8_t* save_addr = frame + frame_size - ((num + 1) * sizeof(void*)); in CalleeSaveAddress()
|
/art/runtime/ |
D | nterp_helpers.cc | 100 size_t frame_size = in NterpGetFrameSize() local 107 return RoundUp(frame_size, kStackAlignment); in NterpGetFrameSize()
|
D | stack.cc | 761 size_t frame_size = GetCurrentQuickFrameInfo().FrameSizeInBytes(); in SanityCheckFrame() local 762 CHECK_NE(frame_size, 0u); in SanityCheckFrame() 770 CHECK_LE(frame_size, kMaxExpectedFrameSize) << method->PrettyMethod(); in SanityCheckFrame() 772 CHECK_LT(return_pc_offset, frame_size); in SanityCheckFrame() 923 size_t frame_size = frame_info.FrameSizeInBytes(); in WalkStack() local 958 uint8_t* next_frame = reinterpret_cast<uint8_t*>(cur_quick_frame_) + frame_size; in WalkStack() 962 LOG(INFO) << ArtMethod::PrettyMethod(method) << "@" << method << " size=" << frame_size in WalkStack()
|
D | cha.cc | 230 size_t frame_size = frame_info.FrameSizeInBytes(); in SetShouldDeoptimizeFlag() local 236 size_t offset = frame_size - core_spill_size - fpu_spill_size - kShouldDeoptimizeFlagSize; in SetShouldDeoptimizeFlag()
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.cc | 47 void X86JNIMacroAssembler::BuildFrame(size_t frame_size, in BuildFrame() argument 53 if (frame_size == kFramePointerSize) { in BuildFrame() 58 CHECK_ALIGNED(frame_size, kNativeStackAlignment); in BuildFrame() 60 CHECK_ALIGNED(frame_size, kStackAlignment); in BuildFrame() 72 int32_t adjust = frame_size - gpr_count * kFramePointerSize - in BuildFrame() 83 DCHECK_EQ(static_cast<size_t>(cfi().GetCurrentCFAOffset()), frame_size); in BuildFrame() 87 int offset = frame_size + spill.getSpillOffset(); in BuildFrame() 92 __ movsd(Address(ESP, frame_size + spill.getSpillOffset()), spill.AsX86().AsXmmRegister()); in BuildFrame() 95 __ movss(Address(ESP, frame_size + spill.getSpillOffset()), spill.AsX86().AsXmmRegister()); in BuildFrame() 101 void X86JNIMacroAssembler::RemoveFrame(size_t frame_size, in RemoveFrame() argument [all …]
|
D | jni_macro_assembler_x86.h | 45 void BuildFrame(size_t frame_size, 51 void RemoveFrame(size_t frame_size,
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.cc | 41 void X86_64JNIMacroAssembler::BuildFrame(size_t frame_size, in BuildFrame() argument 49 CHECK_ALIGNED(frame_size, kNativeStackAlignment); in BuildFrame() 51 CHECK_ALIGNED(frame_size, kStackAlignment); in BuildFrame() 64 int64_t rest_of_frame = static_cast<int64_t>(frame_size) in BuildFrame() 93 __ movq(Address(CpuRegister(RSP), frame_size + spill.getSpillOffset()), in BuildFrame() 97 __ movl(Address(CpuRegister(RSP), frame_size + spill.getSpillOffset()), in BuildFrame() 102 __ movsd(Address(CpuRegister(RSP), frame_size + spill.getSpillOffset()), in BuildFrame() 106 __ movss(Address(CpuRegister(RSP), frame_size + spill.getSpillOffset()), in BuildFrame() 113 void X86_64JNIMacroAssembler::RemoveFrame(size_t frame_size, in RemoveFrame() argument 116 CHECK_ALIGNED(frame_size, kNativeStackAlignment); in RemoveFrame() [all …]
|
D | jni_macro_assembler_x86_64.h | 46 void BuildFrame(size_t frame_size, 52 void RemoveFrame(size_t frame_size,
|
D | assembler_x86_64_test.cc | 2348 size_t frame_size = 10 * kStackAlignment; in buildframe_test_fn() local 2349 assembler->BuildFrame(frame_size, method_reg, spill_regs, entry_spills); in buildframe_test_fn() 2357 ssize_t displacement = static_cast<ssize_t>(frame_size) - (spill_regs.size() * 8 + 8); in buildframe_test_fn() 2362 str << "movq %rax, " << frame_size + 0 << "(%rsp)\n"; in buildframe_test_fn() 2363 str << "movq %rbx, " << frame_size + 8 << "(%rsp)\n"; in buildframe_test_fn() 2364 str << "movsd %xmm1, " << frame_size + 16 << "(%rsp)\n"; in buildframe_test_fn() 2384 size_t frame_size = 10 * kStackAlignment; in removeframe_test_fn() local 2385 assembler->RemoveFrame(frame_size, spill_regs, /* may_suspend= */ true); in removeframe_test_fn() 2390 ssize_t displacement = static_cast<ssize_t>(frame_size) - spill_regs.size() * 8 - 8; in removeframe_test_fn()
|
/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.cc | 703 void Arm64JNIMacroAssembler::BuildFrame(size_t frame_size, in BuildFrame() argument 723 DCHECK_ALIGNED(frame_size, kStackAlignment); in BuildFrame() 725 DCHECK_GE(frame_size, in BuildFrame() 727 IncreaseFrameSize(frame_size); in BuildFrame() 730 asm_.SpillRegisters(core_reg_list, frame_size - core_reg_size); in BuildFrame() 731 asm_.SpillRegisters(fp_reg_list, frame_size - core_reg_size - fp_reg_size); in BuildFrame() 740 int32_t offset = frame_size + static_cast<size_t>(kArm64PointerSize); in BuildFrame() 762 void Arm64JNIMacroAssembler::RemoveFrame(size_t frame_size, in RemoveFrame() argument 782 DCHECK_GE(frame_size, core_reg_size + fp_reg_size); in RemoveFrame() 783 DCHECK_ALIGNED(frame_size, kAapcs64StackAlignment); in RemoveFrame() [all …]
|
D | jni_macro_assembler_arm64.h | 55 void BuildFrame(size_t frame_size, 61 void RemoveFrame(size_t frame_size,
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 77 void ArmVIXLJNIMacroAssembler::BuildFrame(size_t frame_size, in BuildFrame() argument 84 CHECK_ALIGNED_PARAM(frame_size, kAapcsStackAlignment); in BuildFrame() 86 CHECK_ALIGNED_PARAM(frame_size, kStackAlignment); in BuildFrame() 118 CHECK_GE(frame_size, (pushed_values + (method_reg.IsRegister() ? 1u : 0u)) * kFramePointerSize); in BuildFrame() 119 IncreaseFrameSize(frame_size - pushed_values * kFramePointerSize); // handles CFI as well. in BuildFrame() 128 int32_t offset = frame_size + kFramePointerSize; in BuildFrame() 147 void ArmVIXLJNIMacroAssembler::RemoveFrame(size_t frame_size, in RemoveFrame() argument 150 CHECK_ALIGNED(frame_size, kAapcsStackAlignment); in RemoveFrame() 166 CHECK_GE(frame_size, pop_values * kFramePointerSize); in RemoveFrame() 167 DecreaseFrameSize(frame_size - (pop_values * kFramePointerSize)); // handles CFI as well. in RemoveFrame() [all …]
|
D | jni_macro_assembler_arm_vixl.h | 52 void BuildFrame(size_t frame_size, 58 void RemoveFrame(size_t frame_size,
|
/art/compiler/optimizing/ |
D | optimizing_cfi_test.cc | 62 const int frame_size = 64; in SetUpFrame() local 85 code_gen_->SetFrameSize(frame_size); in SetUpFrame()
|
/art/compiler/utils/ |
D | assembler_thumb_test.cc | 223 const int frame_size(jni_conv->FrameSize()); in TEST_F() local 229 __ BuildFrame(frame_size, mr_conv->MethodRegister(), callee_save_regs, mr_conv->EntrySpills()); in TEST_F() 287 __ RemoveFrame(frame_size, callee_save_regs, /* may_suspend= */ true); in TEST_F()
|
D | jni_macro_assembler.h | 64 virtual void BuildFrame(size_t frame_size, 74 virtual void RemoveFrame(size_t frame_size,
|
/art/runtime/jit/ |
D | jit.h | 214 size_t frame_size; member 224 return MemberOffset(OFFSETOF_MEMBER(OsrData, frame_size)); in FrameSizeOffset()
|
D | jit.cc | 504 size_t frame_size = osr_method->GetFrameSizeInBytes(); in PrepareForOsr() local 510 osr_data = reinterpret_cast<OsrData*>(malloc(sizeof(OsrData) + frame_size)); in PrepareForOsr() 514 memset(osr_data, 0, sizeof(OsrData) + frame_size); in PrepareForOsr() 515 osr_data->frame_size = frame_size; in PrepareForOsr() 540 DCHECK_LT(slot_offset, static_cast<int32_t>(frame_size)); in PrepareForOsr() 599 osr_data->frame_size, in MaybeDoOnStackReplacement()
|
/art/runtime/interpreter/ |
D | shadow_frame.h | 91 size_t frame_size = ShadowFrame::ComputeSize(num_vregs); \ 92 void* alloca_mem = alloca(frame_size); \
|
D | interpreter_common.cc | 59 bool CheckStackOverflow(Thread* self, size_t frame_size) in CheckStackOverflow() argument 63 if (UNLIKELY(__builtin_frame_address(0) < stack_end + frame_size)) { in CheckStackOverflow()
|
D | interpreter_common.h | 136 NO_INLINE bool CheckStackOverflow(Thread* self, size_t frame_size)
|
/art/oatdump/ |
D | oatdump.cc | 1388 size_t frame_size, in GetVRegOffsetFromQuickCode() argument 1398 DCHECK_ALIGNED(frame_size, kStackAlignment); in GetVRegOffsetFromQuickCode() 1419 int locals_start = frame_size - spill_size - num_regs * sizeof(uint32_t); in GetVRegOffsetFromQuickCode() 1423 return frame_size + ((reg - num_regs) * sizeof(uint32_t)) in GetVRegOffsetFromQuickCode()
|