/art/runtime/arch/x86_64/ |
D | jni_frame_x86_64.h | 31 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k64); variable 58 static_assert(kFramePointerSize == kMmxSpillSize); in GetNativeOutArgsSize() 59 return (num_stack_fp_args + num_stack_non_fp_args) * kFramePointerSize; in GetNativeOutArgsSize() 81 size += kFramePointerSize; in GetCriticalNativeStubFrameSize()
|
/art/compiler/jni/quick/x86/ |
D | calling_convention_x86.cc | 198 kFramePointerSize + // Method* in CurrentParamStackOffset() 199 (itr_slots_ * kFramePointerSize)); // offset into in args in CurrentParamStackOffset() 235 const size_t pc_return_addr_size = kFramePointerSize; in FrameSize() 236 const size_t callee_save_area_size = CalleeSaveRegisters().size() * kFramePointerSize; in FrameSize() 257 size += kFramePointerSize; in OutFrameSize() 265 if (return_type_ok && size == kFramePointerSize) { in OutFrameSize() 267 static_assert(kFramePointerSize < kNativeStackAlignment); in OutFrameSize() 271 return kFramePointerSize; in OutFrameSize() 306 FrameOffset(displacement_.Int32Value() - OutFrameSize() + (itr_slots_ * kFramePointerSize)); in CurrentParamStackOffset() 331 return OutFrameSize() == kFramePointerSize; in UseTailCall()
|
/art/runtime/arch/arm/ |
D | jni_frame_arm.h | 31 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k32); variable 55 return kFramePointerSize * stack_args; in GetCriticalNativeCallArgsSize() 68 size += kFramePointerSize; // We need to spill LR with the args. in GetCriticalNativeStubFrameSize()
|
/art/runtime/arch/x86/ |
D | jni_frame_x86.h | 31 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k32); variable 65 size += kFramePointerSize; in GetCriticalNativeStubFrameSize()
|
/art/runtime/arch/arm64/ |
D | jni_frame_arm64.h | 31 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k64); variable 75 size += kFramePointerSize; // We need to spill LR with the args. in GetCriticalNativeStubFrameSize()
|
/art/runtime/arch/riscv64/ |
D | jni_frame_riscv64.h | 31 constexpr size_t kFramePointerSize = static_cast<size_t>(PointerSize::k64); variable 78 size += kFramePointerSize; // We need to spill RA with the args. in GetCriticalNativeStubFrameSize()
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.cc | 289 kFramePointerSize + // Method* in CurrentParamStackOffset() 290 (itr_slots_ * kFramePointerSize)); // offset into in args in CurrentParamStackOffset() 436 const size_t callee_save_area_size = CalleeSaveRegisters().size() * kFramePointerSize; in FrameSize() 451 size_t size = stack_args * kFramePointerSize + padding_; in OutFrameSize() 461 size += kFramePointerSize; // We need to spill LR with the args. in OutFrameSize() 538 + ((itr_slots_ - kJniArgumentRegisterCount) * kFramePointerSize); in CurrentParamStackOffset()
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.cc | 39 constexpr size_t kFramePointerSize = 4; variable 51 if (frame_size == kFramePointerSize) { in BuildFrame() 65 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame() 70 int32_t adjust = frame_size - gpr_count * kFramePointerSize - in BuildFrame() 71 kFramePointerSize /*return address*/ - in BuildFrame() 72 (method_reg.IsRegister() ? kFramePointerSize /*method*/ : 0u); in BuildFrame() 79 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame() 90 int adjust = frame_size - spill_regs.size() * kFramePointerSize - kFramePointerSize; in RemoveFrame() 98 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()
|
/art/compiler/jni/quick/riscv64/ |
D | calling_convention_riscv64.cc | 191 kFramePointerSize + // Method ref in CurrentParamStackOffset() 227 size_t method_ptr_size = static_cast<size_t>(kFramePointerSize); in FrameSize() 228 size_t callee_save_area_size = CalleeSaveRegisters().size() * kFramePointerSize; in FrameSize() 255 size += kFramePointerSize; // We need to spill RA with the args. in OutFrameSize() 380 size_t offset = displacement_.Int32Value() - OutFrameSize() + (args_on_stack * kFramePointerSize); in CurrentParamStackOffset()
|
/art/compiler/jni/quick/arm64/ |
D | calling_convention_arm64.cc | 215 kFramePointerSize + // Method ref in CurrentParamStackOffset() 279 size_t method_ptr_size = static_cast<size_t>(kFramePointerSize); in FrameSize() 280 size_t callee_save_area_size = CalleeSaveRegisters().size() * kFramePointerSize; in FrameSize() 305 size += kFramePointerSize; // We need to spill LR with the args. in OutFrameSize() 374 size_t offset = displacement_.Int32Value() - OutFrameSize() + (args_on_stack * kFramePointerSize); in CurrentParamStackOffset()
|
/art/compiler/jni/quick/x86_64/ |
D | calling_convention_x86_64.cc | 216 const size_t pc_return_addr_size = kFramePointerSize; in FrameSize() 217 const size_t callee_save_area_size = CalleeSaveRegisters().size() * kFramePointerSize; in FrameSize() 245 size += kFramePointerSize; in OutFrameSize() 308 size_t offset = displacement_.Int32Value() - OutFrameSize() + (args_on_stack * kFramePointerSize); in CurrentParamStackOffset()
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.cc | 36 constexpr size_t kFramePointerSize = 8; variable 64 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame() 70 - (gpr_count * kFramePointerSize) in BuildFrame() 71 - kFramePointerSize /*return address*/; in BuildFrame() 88 static_assert(static_cast<size_t>(kX86_64PointerSize) == kFramePointerSize, in BuildFrame() 104 - (spill_regs.size() * kFramePointerSize) in RemoveFrame() 105 - kFramePointerSize; in RemoveFrame() 117 frame_size - (gpr_count * kFramePointerSize) - kFramePointerSize); in RemoveFrame() 126 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame()
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 80 static constexpr size_t kFramePointerSize = static_cast<size_t>(kArmPointerSize); variable 105 frame_size == 2 * kFramePointerSize && in BuildFrame() 111 cfi().AdjustCFAOffset(2 * kFramePointerSize); in BuildFrame() 112 cfi().RelOffset(DWARFReg(lr), kFramePointerSize); in BuildFrame() 115 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame() 116 cfi().RelOffsetForMany(DWARFReg(r0), 0, core_spill_mask, kFramePointerSize); in BuildFrame() 125 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame() 126 cfi().RelOffsetForMany(DWARFReg(s0), 0, fp_spill_mask, kFramePointerSize); in BuildFrame() 132 CHECK_GE(frame_size, (pushed_values + (method_reg.IsRegister() ? 1u : 0u)) * kFramePointerSize); in BuildFrame() 133 IncreaseFrameSize(frame_size - pushed_values * kFramePointerSize); // handles CFI as well. in BuildFrame() [all …]
|
/art/compiler/optimizing/ |
D | code_generator_arm_vixl.cc | 2682 stack_offset_ = RoundUp(stack_offset_, 2 * kFramePointerSize); in GetNextLocation() 2697 stack_offset_ += 2 * kFramePointerSize; in GetNextLocation() 2700 stack_offset_ += kFramePointerSize; in GetNextLocation()
|
D | code_generator_x86.cc | 1586 stack_offset_ += 2 * kFramePointerSize; in GetNextLocation() 1589 stack_offset_ += kFramePointerSize; in GetNextLocation()
|
D | code_generator_arm64.cc | 944 stack_offset_ += kFramePointerSize; in GetNextLocation()
|
D | code_generator_riscv64.cc | 237 stack_offset_ += kFramePointerSize; in GetNextLocation()
|
D | code_generator_x86_64.cc | 3054 stack_offset_ += kFramePointerSize; in GetNextLocation()
|