/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.h | 58 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 …]
|
D | jni_macro_assembler_x86.cc | 134 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 …]
|
D | assembler_x86.h | 166 Address(Register base_in, FrameOffset disp) { in Address()
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.h | 59 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 …]
|
D | jni_macro_assembler_x86_64.cc | 154 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 …]
|
D | assembler_x86_64_test.cc | 2349 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/ |
D | jni_macro_assembler_arm_vixl.h | 65 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 …]
|
D | jni_macro_assembler_arm_vixl.cc | 218 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/ |
D | assembler_thumb_test.cc | 125 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 …]
|
D | jni_macro_assembler.h | 53 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/ |
D | jni_macro_assembler_arm64.h | 68 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 …]
|
D | jni_macro_assembler_arm64.cc | 58 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/ |
D | calling_convention.h | 57 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 …]
|
D | jni_compiler.cc | 235 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 …]
|
D | calling_convention.cc | 175 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/ |
D | offsets.h | 50 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/ |
D | calling_convention_x86.h | 37 void ResetIterator(FrameOffset displacement) override; 44 FrameOffset CurrentParamStackOffset() override; 72 FrameOffset CurrentParamStackOffset() override;
|
D | calling_convention_x86.cc | 113 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/ |
D | calling_convention_arm.h | 39 void ResetIterator(FrameOffset displacement) override; 46 FrameOffset CurrentParamStackOffset() override; 76 FrameOffset CurrentParamStackOffset() override;
|
D | calling_convention_arm.cc | 200 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/ |
D | calling_convention_arm64.h | 41 FrameOffset CurrentParamStackOffset() override; 67 FrameOffset CurrentParamStackOffset() override;
|
D | calling_convention_arm64.cc | 209 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/ |
D | calling_convention_x86_64.h | 41 FrameOffset CurrentParamStackOffset() override; 67 FrameOffset CurrentParamStackOffset() override;
|
D | calling_convention_x86_64.cc | 155 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/ |
D | jni_cfi_test.cc | 87 mr_conv->ResetIterator(FrameOffset(frame_size)); in TestImplSized()
|