Home
last modified time | relevance | path

Searched refs:kFramePointerSize (Results 1 – 11 of 11) sorted by relevance

/art/runtime/arch/x86/
Djni_frame_x86.h30 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k32); variable
53 size += kFramePointerSize; in GetCriticalNativeOutArgsSize()
57 if (return_type_ok && size == kFramePointerSize) { in GetCriticalNativeOutArgsSize()
58 return kFramePointerSize; in GetCriticalNativeOutArgsSize()
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.cc163 kFramePointerSize + // Method* in CurrentParamStackOffset()
164 (itr_slots_ * kFramePointerSize)); // offset into in args in CurrentParamStackOffset()
242 const size_t pc_return_addr_size = kFramePointerSize; in FrameSize()
243 const size_t callee_save_area_size = CalleeSaveRegisters().size() * kFramePointerSize; in FrameSize()
247 total_size += kFramePointerSize; in FrameSize()
263 size_t size = all_args * kFramePointerSize; in OutArgSize()
272 size += kFramePointerSize; in OutArgSize()
280 if (return_type_ok && size == kFramePointerSize) { in OutArgSize()
282 static_assert(kFramePointerSize < kNativeStackAlignment); in OutArgSize()
283 DCHECK_EQ(kFramePointerSize, GetCriticalNativeOutArgsSize(GetShorty(), NumArgs() + 1u)); in OutArgSize()
[all …]
/art/runtime/arch/x86_64/
Djni_frame_x86_64.h30 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k64); variable
69 static_assert(kFramePointerSize == kMmxSpillSize); in GetCriticalNativeOutArgsSize()
70 size_t size = (num_stack_fp_args + num_stack_non_fp_args) * kFramePointerSize; in GetCriticalNativeOutArgsSize()
76 size += kFramePointerSize; in GetCriticalNativeOutArgsSize()
/art/runtime/arch/arm/
Djni_frame_arm.h30 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k32); variable
57 size_t size = kFramePointerSize * stack_args; in GetCriticalNativeOutArgsSize()
63 size += kFramePointerSize; // We need to spill LR with the args. in GetCriticalNativeOutArgsSize()
/art/runtime/arch/arm64/
Djni_frame_arm64.h30 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k64); variable
70 size += kFramePointerSize; // We need to spill LR with the args. in GetCriticalNativeOutArgsSize()
/art/compiler/jni/quick/x86_64/
Dcalling_convention_x86_64.cc218 const size_t pc_return_addr_size = kFramePointerSize; in FrameSize()
219 const size_t callee_save_area_size = CalleeSaveRegisters().size() * kFramePointerSize; in FrameSize()
223 total_size += kFramePointerSize; in FrameSize()
248 static_assert(kFramePointerSize == kMmxSpillSize); in OutArgSize()
249 size_t size = (num_stack_fp_args + num_stack_non_fp_args) * kFramePointerSize; in OutArgSize()
261 size += kFramePointerSize; in OutArgSize()
324 size_t offset = displacement_.Int32Value() - OutArgSize() + (args_on_stack * kFramePointerSize); in CurrentParamStackOffset()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.cc223 kFramePointerSize + // Method* in CurrentParamStackOffset()
224 (itr_slots_ * kFramePointerSize)); // offset into in args in CurrentParamStackOffset()
412 const size_t callee_save_area_size = CalleeSaveRegisters().size() * kFramePointerSize; in FrameSize()
417 total_size += kFramePointerSize; in FrameSize()
436 size_t size = stack_args * kFramePointerSize + padding_; in OutArgSize()
446 size += kFramePointerSize; // We need to spill LR with the args. in OutArgSize()
523 + ((itr_slots_ - kJniArgumentRegisterCount) * kFramePointerSize); in CurrentParamStackOffset()
/art/compiler/jni/quick/arm64/
Dcalling_convention_arm64.cc202 kFramePointerSize + // Method ref in CurrentParamStackOffset()
290 size_t method_ptr_size = static_cast<size_t>(kFramePointerSize); in FrameSize()
291 size_t callee_save_area_size = CalleeSaveRegisters().size() * kFramePointerSize; in FrameSize()
320 size_t size = (num_stack_fp_args + num_stack_non_fp_args) * kFramePointerSize; in OutArgSize()
329 size += kFramePointerSize; // We need to spill LR with the args. in OutArgSize()
397 size_t offset = displacement_.Int32Value() - OutArgSize() + (args_on_stack * kFramePointerSize); in CurrentParamStackOffset()
/art/compiler/utils/x86/
Djni_macro_assembler_x86.cc40 constexpr size_t kFramePointerSize = 4; variable
53 if (frame_size == kFramePointerSize) { in BuildFrame()
67 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
72 int32_t adjust = frame_size - gpr_count * kFramePointerSize - in BuildFrame()
73 kFramePointerSize /*return address*/ - in BuildFrame()
74 (method_reg.IsRegister() ? kFramePointerSize /*method*/ : 0u); in BuildFrame()
81 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
107 int adjust = frame_size - spill_regs.size() * kFramePointerSize - kFramePointerSize; in RemoveFrame()
115 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc75 static constexpr size_t kFramePointerSize = static_cast<size_t>(kArmPointerSize); variable
101 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame()
102 cfi().RelOffsetForMany(DWARFReg(r0), 0, core_spill_mask, kFramePointerSize); in BuildFrame()
111 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame()
112 cfi().RelOffsetForMany(DWARFReg(s0), 0, fp_spill_mask, kFramePointerSize); 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()
166 CHECK_GE(frame_size, pop_values * kFramePointerSize); in RemoveFrame()
167 DecreaseFrameSize(frame_size - (pop_values * kFramePointerSize)); // handles CFI as well. in RemoveFrame()
[all …]
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.cc34 constexpr size_t kFramePointerSize = 8; variable
59 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame()
65 - (gpr_count * kFramePointerSize) in BuildFrame()
66 - kFramePointerSize /*return address*/; in BuildFrame()
83 static_assert(static_cast<size_t>(kX86_64PointerSize) == kFramePointerSize, in BuildFrame()
121 - (spill_regs.size() * kFramePointerSize) in RemoveFrame()
122 - kFramePointerSize; in RemoveFrame()
134 frame_size - (gpr_count * kFramePointerSize) - kFramePointerSize); in RemoveFrame()
143 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()