Home
last modified time | relevance | path

Searched refs:FrameOffset (Results 1 – 25 of 26) sorted by relevance

12

/art/compiler/utils/x86/
Djni_macro_assembler_x86.h58 void Store(FrameOffset offs, ManagedRegister src, size_t size) override;
59 void StoreRef(FrameOffset dest, ManagedRegister src) override;
60 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override;
62 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm) override;
64 void StoreStackOffsetToThread(ThreadOffset32 thr_offs, FrameOffset fr_offs) override;
68 void StoreSpanning(FrameOffset dest, ManagedRegister src, FrameOffset in_off) override;
71 void Load(ManagedRegister dest, FrameOffset src, size_t size) override;
75 void LoadRef(ManagedRegister dest, FrameOffset src) override;
89 void CopyRawPtrFromThread(FrameOffset fr_offs, ThreadOffset32 thr_offs) override;
91 void CopyRawPtrToThread(ThreadOffset32 thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
[all …]
Djni_macro_assembler_x86.cc134 void X86JNIMacroAssembler::Store(FrameOffset offs, ManagedRegister msrc, size_t size) { in Store()
144 __ movl(Address(ESP, FrameOffset(offs.Int32Value()+4)), src.AsRegisterPairHigh()); in Store()
161 void X86JNIMacroAssembler::StoreRef(FrameOffset dest, ManagedRegister msrc) { in StoreRef()
167 void X86JNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr()
173 void X86JNIMacroAssembler::StoreImmediateToFrame(FrameOffset dest, uint32_t imm) { in StoreImmediateToFrame()
177 void X86JNIMacroAssembler::StoreStackOffsetToThread(ThreadOffset32 thr_offs, FrameOffset fr_offs) { in StoreStackOffsetToThread()
187 void X86JNIMacroAssembler::StoreSpanning(FrameOffset /*dst*/, in StoreSpanning() argument
189 FrameOffset /*in_off*/) { in StoreSpanning()
193 void X86JNIMacroAssembler::Load(ManagedRegister mdest, FrameOffset src, size_t size) { in Load()
203 __ movl(dest.AsRegisterPairHigh(), Address(ESP, FrameOffset(src.Int32Value()+4))); in Load()
[all …]
Dassembler_x86.h166 Address(Register base_in, FrameOffset disp) { in Address()
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.h59 void Store(FrameOffset offs, ManagedRegister src, size_t size) override;
60 void StoreRef(FrameOffset dest, ManagedRegister src) override;
61 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override;
63 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm) override;
65 void StoreStackOffsetToThread(ThreadOffset64 thr_offs, FrameOffset fr_offs) override;
69 void StoreSpanning(FrameOffset dest, ManagedRegister src, FrameOffset in_off) override;
72 void Load(ManagedRegister dest, FrameOffset src, size_t size) override;
76 void LoadRef(ManagedRegister dest, FrameOffset src) override;
92 void CopyRawPtrFromThread(FrameOffset fr_offs, ThreadOffset64 thr_offs) override;
94 void CopyRawPtrToThread(ThreadOffset64 thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
[all …]
Djni_macro_assembler_x86_64.cc154 void X86_64JNIMacroAssembler::Store(FrameOffset offs, ManagedRegister msrc, size_t size) { in Store()
169 __ movq(Address(CpuRegister(RSP), FrameOffset(offs.Int32Value()+4)), in Store()
187 void X86_64JNIMacroAssembler::StoreRef(FrameOffset dest, ManagedRegister msrc) { in StoreRef()
193 void X86_64JNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr()
199 void X86_64JNIMacroAssembler::StoreImmediateToFrame(FrameOffset dest, uint32_t imm) { in StoreImmediateToFrame()
204 FrameOffset fr_offs) { in StoreStackOffsetToThread()
214 void X86_64JNIMacroAssembler::StoreSpanning(FrameOffset /*dst*/, in StoreSpanning() argument
216 FrameOffset /*in_off*/) { in StoreSpanning()
220 void X86_64JNIMacroAssembler::Load(ManagedRegister mdest, FrameOffset src, size_t size) { in Load()
235 __ movq(dest.AsRegisterPairHigh(), Address(CpuRegister(RSP), FrameOffset(src.Int32Value()+4))); in Load()
[all …]
Dassembler_x86_64_test.cc2349 assembler->Store(FrameOffset(frame_size + 0u), ManagedFromCpu(x86_64::RAX), /* size= */ 8u); in buildframe_test_fn()
2350 assembler->Store(FrameOffset(frame_size + 8u), ManagedFromCpu(x86_64::RBX), /* size= */ 8u); in buildframe_test_fn()
2351 assembler->Store(FrameOffset(frame_size + 16u), ManagedFromFpu(x86_64::XMM1), /* size= */ 8u); in buildframe_test_fn()
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.h65 void Store(FrameOffset offs, ManagedRegister src, size_t size) override;
66 void StoreRef(FrameOffset dest, ManagedRegister src) override;
67 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override;
69 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm) override;
71 void StoreStackOffsetToThread(ThreadOffset32 thr_offs, FrameOffset fr_offs) override;
75 void StoreSpanning(FrameOffset dest, ManagedRegister src, FrameOffset in_off) override;
78 void Load(ManagedRegister dest, FrameOffset src, size_t size) override;
84 void LoadRef(ManagedRegister dest, FrameOffset src) override;
100 void CopyRawPtrFromThread(FrameOffset fr_offs, ThreadOffset32 thr_offs) override;
103 FrameOffset fr_offs,
[all …]
Djni_macro_assembler_arm_vixl.cc218 void ArmVIXLJNIMacroAssembler::Store(FrameOffset dest, ManagedRegister m_src, size_t size) { in Store()
242 void ArmVIXLJNIMacroAssembler::StoreRef(FrameOffset dest, ManagedRegister msrc) { in StoreRef()
249 void ArmVIXLJNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr()
256 void ArmVIXLJNIMacroAssembler::StoreSpanning(FrameOffset dest, in StoreSpanning()
258 FrameOffset in_off) { in StoreSpanning()
267 void ArmVIXLJNIMacroAssembler::CopyRef(FrameOffset dest, FrameOffset src) { in CopyRef()
274 void ArmVIXLJNIMacroAssembler::CopyRef(FrameOffset dest, in CopyRef()
303 FrameOffset src ATTRIBUTE_UNUSED) { in LoadRef()
313 void ArmVIXLJNIMacroAssembler::StoreImmediateToFrame(FrameOffset dest, uint32_t imm) { in StoreImmediateToFrame()
320 void ArmVIXLJNIMacroAssembler::Load(ManagedRegister m_dst, FrameOffset src, size_t size) { in Load()
[all …]
/art/compiler/utils/
Dassembler_thumb_test.cc125 mr_conv->ResetIterator(FrameOffset(frame_size)); in TEST_F()
136 __ Load(method_register, FrameOffset(32), 4); in TEST_F()
137 __ Load(method_register, FrameOffset(124), 4); in TEST_F()
138 __ Load(method_register, FrameOffset(132), 4); in TEST_F()
139 __ Load(method_register, FrameOffset(1020), 4); in TEST_F()
140 __ Load(method_register, FrameOffset(1024), 4); in TEST_F()
141 __ Load(scratch_register, FrameOffset(4092), 4); in TEST_F()
142 __ Load(scratch_register, FrameOffset(4096), 4); in TEST_F()
147 __ Store(FrameOffset(32), method_register, 4); in TEST_F()
148 __ Store(FrameOffset(124), method_register, 4); in TEST_F()
[all …]
Djni_macro_assembler.h53 ArgumentLocation(FrameOffset frame_offset, size_t size) in ArgumentLocation()
65 FrameOffset GetFrameOffset() const { in GetFrameOffset()
76 FrameOffset frame_offset_;
115 virtual void Store(FrameOffset offs, ManagedRegister src, size_t size) = 0;
116 virtual void StoreRef(FrameOffset dest, ManagedRegister src) = 0;
117 virtual void StoreRawPtr(FrameOffset dest, ManagedRegister src) = 0;
119 virtual void StoreImmediateToFrame(FrameOffset dest, uint32_t imm) = 0;
122 FrameOffset fr_offs) = 0;
126 virtual void StoreSpanning(FrameOffset dest,
128 FrameOffset in_off) = 0;
[all …]
/art/compiler/utils/arm64/
Djni_macro_assembler_arm64.h68 void Store(FrameOffset offs, ManagedRegister src, size_t size) override;
69 void StoreRef(FrameOffset dest, ManagedRegister src) override;
70 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override;
71 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm) override;
72 void StoreStackOffsetToThread(ThreadOffset64 thr_offs, FrameOffset fr_offs) override;
74 void StoreSpanning(FrameOffset dest, ManagedRegister src, FrameOffset in_off) override;
77 void Load(ManagedRegister dest, FrameOffset src, size_t size) override;
79 void LoadRef(ManagedRegister dest, FrameOffset src) override;
90 void CopyRawPtrFromThread(FrameOffset fr_offs, ThreadOffset64 thr_offs) override;
91 void CopyRawPtrToThread(ThreadOffset64 thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
[all …]
Djni_macro_assembler_arm64.cc58 void Arm64JNIMacroAssembler::GetCurrentThread(FrameOffset offset) { in GetCurrentThread()
134 void Arm64JNIMacroAssembler::Store(FrameOffset offs, ManagedRegister m_src, size_t size) { in Store()
152 void Arm64JNIMacroAssembler::StoreRef(FrameOffset offs, ManagedRegister m_src) { in StoreRef()
159 void Arm64JNIMacroAssembler::StoreRawPtr(FrameOffset offs, ManagedRegister m_src) { in StoreRawPtr()
165 void Arm64JNIMacroAssembler::StoreImmediateToFrame(FrameOffset offs, uint32_t imm) { in StoreImmediateToFrame()
172 void Arm64JNIMacroAssembler::StoreStackOffsetToThread(ThreadOffset64 tr_offs, FrameOffset fr_offs) { in StoreStackOffsetToThread()
186 void Arm64JNIMacroAssembler::StoreSpanning(FrameOffset dest_off ATTRIBUTE_UNUSED, in StoreSpanning()
188 FrameOffset in_off ATTRIBUTE_UNUSED) { in StoreSpanning()
279 void Arm64JNIMacroAssembler::Load(ManagedRegister m_dst, FrameOffset src, size_t size) { in Load()
289 void Arm64JNIMacroAssembler::LoadRef(ManagedRegister m_dst, FrameOffset offs) { in LoadRef()
[all …]
/art/compiler/jni/quick/
Dcalling_convention.h57 virtual void ResetIterator(FrameOffset displacement) { in ResetIterator()
66 FrameOffset GetDisplacement() const { in GetDisplacement()
211 FrameOffset displacement_;
244 FrameOffset MethodStackOffset() { in MethodStackOffset()
245 return FrameOffset(0u); in MethodStackOffset()
267 virtual FrameOffset CurrentParamStackOffset() = 0;
312 FrameOffset SavedLocalReferenceCookieOffset() const;
315 FrameOffset ReturnValueSaveLocation() const;
346 virtual FrameOffset CurrentParamStackOffset() = 0;
349 FrameOffset CurrentParamHandleScopeEntryOffset();
[all …]
Djni_compiler.cc235 mr_conv->ResetIterator(FrameOffset(current_frame_size)); in ArtJniCompileMethodInternal()
247 mr_conv->ResetIterator(FrameOffset(current_frame_size)); in ArtJniCompileMethodInternal()
248 main_jni_conv->ResetIterator(FrameOffset(0)); in ArtJniCompileMethodInternal()
261 FrameOffset handle_scope_offset = main_jni_conv->CurrentParamHandleScopeEntryOffset(); in ArtJniCompileMethodInternal()
281 FrameOffset handle_scope_offset = main_jni_conv->CurrentParamHandleScopeEntryOffset(); in ArtJniCompileMethodInternal()
297 FrameOffset in_off = mr_conv->CurrentParamStackOffset(); in ArtJniCompileMethodInternal()
347 main_jni_conv->ResetIterator(FrameOffset(main_out_arg_size)); in ArtJniCompileMethodInternal()
349 FrameOffset class_handle_scope_offset = main_jni_conv->CurrentParamHandleScopeEntryOffset(); in ArtJniCompileMethodInternal()
350 main_jni_conv->ResetIterator(FrameOffset(main_out_arg_size)); in ArtJniCompileMethodInternal()
353 FrameOffset out_off = main_jni_conv->CurrentParamStackOffset(); in ArtJniCompileMethodInternal()
[all …]
Dcalling_convention.cc175 FrameOffset JniCallingConvention::SavedLocalReferenceCookieOffset() const { in SavedLocalReferenceCookieOffset()
177 return FrameOffset(HandleReferencesOffset().Int32Value() + references_size); in SavedLocalReferenceCookieOffset()
180 FrameOffset JniCallingConvention::ReturnValueSaveLocation() const { in ReturnValueSaveLocation()
188 return FrameOffset(saved_local_reference_cookie_offset + segment_state_size); in ReturnValueSaveLocation()
193 return FrameOffset(displacement_.Int32Value() + static_cast<size_t>(frame_pointer_size_)); in ReturnValueSaveLocation()
290 FrameOffset JniCallingConvention::CurrentParamHandleScopeEntryOffset() { in CurrentParamHandleScopeEntryOffset()
295 return FrameOffset(result); in CurrentParamHandleScopeEntryOffset()
/art/runtime/
Doffsets.h50 class FrameOffset : public Offset {
52 constexpr explicit FrameOffset(size_t val) : Offset(val) {} in FrameOffset() function
53 bool operator>(FrameOffset other) const { return val_ > other.val_; }
54 bool operator<(FrameOffset other) const { return val_ < other.val_; }
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.h37 void ResetIterator(FrameOffset displacement) override;
44 FrameOffset CurrentParamStackOffset() override;
72 FrameOffset CurrentParamStackOffset() override;
Dcalling_convention_x86.cc113 void X86ManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator()
167 FrameOffset X86ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset()
168 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset()
282 FrameOffset X86JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset()
284 FrameOffset(displacement_.Int32Value() - OutFrameSize() + (itr_slots_ * kFramePointerSize)); in CurrentParamStackOffset()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.h39 void ResetIterator(FrameOffset displacement) override;
46 FrameOffset CurrentParamStackOffset() override;
76 FrameOffset CurrentParamStackOffset() override;
Dcalling_convention_arm.cc200 void ArmManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator()
281 FrameOffset ArmManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset()
282 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset()
511 FrameOffset ArmJniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset()
518 return FrameOffset(offset); in CurrentParamStackOffset()
/art/compiler/jni/quick/arm64/
Dcalling_convention_arm64.h41 FrameOffset CurrentParamStackOffset() override;
67 FrameOffset CurrentParamStackOffset() override;
Dcalling_convention_arm64.cc209 FrameOffset Arm64ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset()
210 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset()
345 FrameOffset Arm64JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset()
354 return FrameOffset(offset); in CurrentParamStackOffset()
/art/compiler/jni/quick/x86_64/
Dcalling_convention_x86_64.h41 FrameOffset CurrentParamStackOffset() override;
67 FrameOffset CurrentParamStackOffset() override;
Dcalling_convention_x86_64.cc155 FrameOffset X86_64ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset()
156 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset()
284 FrameOffset X86_64JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset()
295 return FrameOffset(offset); in CurrentParamStackOffset()
/art/compiler/jni/
Djni_cfi_test.cc87 mr_conv->ResetIterator(FrameOffset(frame_size)); in TestImplSized()

12