/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.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, ManagedRegister scratch) override; 66 FrameOffset fr_offs, 71 void StoreSpanning(FrameOffset dest, ManagedRegister src, FrameOffset in_off, 75 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 79 void LoadRef(ManagedRegister dest, FrameOffset src) override; 91 void CopyRawPtrFromThread(FrameOffset fr_offs, 95 void CopyRawPtrToThread(ThreadOffset32 thr_offs, FrameOffset fr_offs, ManagedRegister scratch) [all …]
|
D | jni_macro_assembler_x86.cc | 123 void X86JNIMacroAssembler::Store(FrameOffset offs, ManagedRegister msrc, size_t size) { in Store() 133 __ movl(Address(ESP, FrameOffset(offs.Int32Value()+4)), src.AsRegisterPairHigh()); in Store() 150 void X86JNIMacroAssembler::StoreRef(FrameOffset dest, ManagedRegister msrc) { in StoreRef() 156 void X86JNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() 162 void X86JNIMacroAssembler::StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister) { in StoreImmediateToFrame() 167 FrameOffset fr_offs, in StoreStackOffsetToThread() 179 void X86JNIMacroAssembler::StoreSpanning(FrameOffset /*dst*/, in StoreSpanning() argument 181 FrameOffset /*in_off*/, in StoreSpanning() 186 void X86JNIMacroAssembler::Load(ManagedRegister mdest, FrameOffset src, size_t size) { in Load() 196 __ movl(dest.AsRegisterPairHigh(), Address(ESP, FrameOffset(src.Int32Value()+4))); in Load() [all …]
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.h | 60 void Store(FrameOffset offs, ManagedRegister src, size_t size) override; 61 void StoreRef(FrameOffset dest, ManagedRegister src) override; 62 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 64 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) override; 67 FrameOffset fr_offs, 72 void StoreSpanning(FrameOffset dest, 74 FrameOffset in_off, 78 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 82 void LoadRef(ManagedRegister dest, FrameOffset src) override; 96 void CopyRawPtrFromThread(FrameOffset fr_offs, [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, in StoreImmediateToFrame() 206 FrameOffset fr_offs, in StoreStackOffsetToThread() 218 void X86_64JNIMacroAssembler::StoreSpanning(FrameOffset /*dst*/, in StoreSpanning() argument 220 FrameOffset /*in_off*/, in StoreSpanning() 225 void X86_64JNIMacroAssembler::Load(ManagedRegister mdest, FrameOffset src, size_t size) { in Load() 240 __ movq(dest.AsRegisterPairHigh(), Address(CpuRegister(RSP), FrameOffset(src.Int32Value()+4))); in Load() [all …]
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.h | 66 void Store(FrameOffset offs, ManagedRegister src, size_t size) override; 67 void StoreRef(FrameOffset dest, ManagedRegister src) override; 68 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 70 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) override; 73 FrameOffset fr_offs, 78 void StoreSpanning(FrameOffset dest, 80 FrameOffset in_off, 84 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 90 void LoadRef(ManagedRegister dest, FrameOffset src) override; 104 void CopyRawPtrFromThread(FrameOffset fr_offs, [all …]
|
D | jni_macro_assembler_arm_vixl.cc | 226 void ArmVIXLJNIMacroAssembler::Store(FrameOffset dest, ManagedRegister m_src, size_t size) { in Store() 249 void ArmVIXLJNIMacroAssembler::StoreRef(FrameOffset dest, ManagedRegister msrc) { in StoreRef() 256 void ArmVIXLJNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() 263 void ArmVIXLJNIMacroAssembler::StoreSpanning(FrameOffset dest, in StoreSpanning() 265 FrameOffset in_off, in StoreSpanning() 276 void ArmVIXLJNIMacroAssembler::CopyRef(FrameOffset dest, in CopyRef() 277 FrameOffset src, in CopyRef() 302 FrameOffset src ATTRIBUTE_UNUSED) { in LoadRef() 312 void ArmVIXLJNIMacroAssembler::StoreImmediateToFrame(FrameOffset dest, in StoreImmediateToFrame() 322 void ArmVIXLJNIMacroAssembler::Load(ManagedRegister m_dst, FrameOffset src, size_t size) { in Load() [all …]
|
/art/compiler/utils/ |
D | jni_macro_assembler.h | 82 virtual void Store(FrameOffset offs, ManagedRegister src, size_t size) = 0; 83 virtual void StoreRef(FrameOffset dest, ManagedRegister src) = 0; 84 virtual void StoreRawPtr(FrameOffset dest, ManagedRegister src) = 0; 86 virtual void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) = 0; 89 FrameOffset fr_offs, 94 virtual void StoreSpanning(FrameOffset dest, 96 FrameOffset in_off, 100 virtual void Load(ManagedRegister dest, FrameOffset src, size_t size) = 0; 106 virtual void LoadRef(ManagedRegister dest, FrameOffset src) = 0; 120 virtual void CopyRawPtrFromThread(FrameOffset fr_offs, [all …]
|
D | assembler_thumb_test.cc | 234 __ Load(method_register, FrameOffset(32), 4); in TEST_F() 235 __ Load(method_register, FrameOffset(124), 4); in TEST_F() 236 __ Load(method_register, FrameOffset(132), 4); in TEST_F() 237 __ Load(method_register, FrameOffset(1020), 4); in TEST_F() 238 __ Load(method_register, FrameOffset(1024), 4); in TEST_F() 239 __ Load(scratch_register, FrameOffset(4092), 4); in TEST_F() 240 __ Load(scratch_register, FrameOffset(4096), 4); in TEST_F() 245 __ Store(FrameOffset(32), method_register, 4); in TEST_F() 246 __ Store(FrameOffset(124), method_register, 4); in TEST_F() 247 __ Store(FrameOffset(132), method_register, 4); in TEST_F() [all …]
|
/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.h | 69 void Store(FrameOffset offs, ManagedRegister src, size_t size) override; 70 void StoreRef(FrameOffset dest, ManagedRegister src) override; 71 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 72 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) override; 74 FrameOffset fr_offs, 77 void StoreSpanning(FrameOffset dest, 79 FrameOffset in_off, 83 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 85 void LoadRef(ManagedRegister dest, FrameOffset src) override; 95 void CopyRawPtrFromThread(FrameOffset fr_offs, [all …]
|
D | jni_macro_assembler_arm64.cc | 54 void Arm64JNIMacroAssembler::GetCurrentThread(FrameOffset offset, ManagedRegister /* scratch */) { in GetCurrentThread() 126 void Arm64JNIMacroAssembler::Store(FrameOffset offs, ManagedRegister m_src, size_t size) { in Store() 144 void Arm64JNIMacroAssembler::StoreRef(FrameOffset offs, ManagedRegister m_src) { in StoreRef() 151 void Arm64JNIMacroAssembler::StoreRawPtr(FrameOffset offs, ManagedRegister m_src) { in StoreRawPtr() 157 void Arm64JNIMacroAssembler::StoreImmediateToFrame(FrameOffset offs, in StoreImmediateToFrame() 168 FrameOffset fr_offs, in StoreStackOffsetToThread() 183 void Arm64JNIMacroAssembler::StoreSpanning(FrameOffset dest_off, in StoreSpanning() 185 FrameOffset in_off, in StoreSpanning() 281 void Arm64JNIMacroAssembler::Load(ManagedRegister m_dst, FrameOffset src, size_t size) { in Load() 291 void Arm64JNIMacroAssembler::LoadRef(ManagedRegister m_dst, FrameOffset offs) { in LoadRef() [all …]
|
/art/compiler/jni/quick/ |
D | calling_convention.h | 55 FrameOffset MethodStackOffset() { in MethodStackOffset() 64 void ResetIterator(FrameOffset displacement) { in ResetIterator() 210 FrameOffset displacement_; 258 virtual FrameOffset CurrentParamStackOffset() = 0; 306 FrameOffset SavedLocalReferenceCookieOffset() const; 309 FrameOffset ReturnValueSaveLocation() const; 340 virtual FrameOffset CurrentParamStackOffset() = 0; 343 FrameOffset CurrentParamHandleScopeEntryOffset(); 346 FrameOffset HandleScopeOffset() const { in HandleScopeOffset() 347 return FrameOffset(this->displacement_.Int32Value() + static_cast<size_t>(frame_pointer_size_)); in HandleScopeOffset() [all …]
|
D | jni_compiler.cc | 233 mr_conv->ResetIterator(FrameOffset(frame_size)); in ArtJniCompileMethodInternal() 234 main_jni_conv->ResetIterator(FrameOffset(0)); in ArtJniCompileMethodInternal() 250 FrameOffset handle_scope_offset = main_jni_conv->CurrentParamHandleScopeEntryOffset(); in ArtJniCompileMethodInternal() 273 FrameOffset handle_scope_offset = main_jni_conv->CurrentParamHandleScopeEntryOffset(); in ArtJniCompileMethodInternal() 287 FrameOffset in_off = mr_conv->CurrentParamStackOffset(); in ArtJniCompileMethodInternal() 340 main_jni_conv->ResetIterator(FrameOffset(main_out_arg_size)); in ArtJniCompileMethodInternal() 342 FrameOffset class_handle_scope_offset = main_jni_conv->CurrentParamHandleScopeEntryOffset(); in ArtJniCompileMethodInternal() 343 main_jni_conv->ResetIterator(FrameOffset(main_out_arg_size)); in ArtJniCompileMethodInternal() 346 FrameOffset out_off = main_jni_conv->CurrentParamStackOffset(); in ArtJniCompileMethodInternal() 367 main_jni_conv->ResetIterator(FrameOffset(main_out_arg_size)); // Reset. in ArtJniCompileMethodInternal() [all …]
|
D | calling_convention.cc | 207 FrameOffset JniCallingConvention::SavedLocalReferenceCookieOffset() const { in SavedLocalReferenceCookieOffset() 209 return FrameOffset(HandleReferencesOffset().Int32Value() + references_size); in SavedLocalReferenceCookieOffset() 212 FrameOffset JniCallingConvention::ReturnValueSaveLocation() const { in ReturnValueSaveLocation() 220 return FrameOffset(saved_local_reference_cookie_offset + segment_state_size); in ReturnValueSaveLocation() 225 return FrameOffset(displacement_.Int32Value() + static_cast<size_t>(frame_pointer_size_)); in ReturnValueSaveLocation() 322 FrameOffset JniCallingConvention::CurrentParamHandleScopeEntryOffset() { in CurrentParamHandleScopeEntryOffset() 327 return FrameOffset(result); in CurrentParamHandleScopeEntryOffset()
|
/art/runtime/ |
D | offsets.h | 47 class FrameOffset : public Offset { 49 constexpr explicit FrameOffset(size_t val) : Offset(val) {} in FrameOffset() function 50 bool operator>(FrameOffset other) const { return val_ > other.val_; } 51 bool operator<(FrameOffset other) const { return val_ < other.val_; }
|
/art/compiler/jni/quick/mips64/ |
D | calling_convention_mips64.cc | 116 FrameOffset Mips64ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 118 FrameOffset result = in CurrentParamStackOffset() 119 FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 133 ResetIterator(FrameOffset(0)); in EntrySpills() 231 FrameOffset Mips64JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 236 return FrameOffset(offset); in CurrentParamStackOffset()
|
D | calling_convention_mips64.h | 46 FrameOffset CurrentParamStackOffset() override; 76 FrameOffset CurrentParamStackOffset() override;
|
/art/compiler/jni/quick/x86/ |
D | calling_convention_x86.cc | 146 FrameOffset X86ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 147 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 156 ResetIterator(FrameOffset(0)); in EntrySpills() 264 FrameOffset X86JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 265 return FrameOffset(displacement_.Int32Value() - OutArgSize() + (itr_slots_ * kFramePointerSize)); in CurrentParamStackOffset()
|
D | calling_convention_x86.h | 45 FrameOffset CurrentParamStackOffset() override; 77 FrameOffset CurrentParamStackOffset() override;
|
/art/compiler/jni/quick/mips/ |
D | calling_convention_mips.cc | 131 FrameOffset MipsManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 133 FrameOffset result = in CurrentParamStackOffset() 134 FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 147 for (ResetIterator(FrameOffset(0)); HasNext(); Next()) { in EntrySpills() 442 FrameOffset MipsJniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 446 return FrameOffset(offset); in CurrentParamStackOffset()
|
/art/compiler/jni/quick/arm64/ |
D | calling_convention_arm64.cc | 188 FrameOffset Arm64ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 190 FrameOffset result = in CurrentParamStackOffset() 191 FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 206 ResetIterator(FrameOffset(0)); in EntrySpills() 340 FrameOffset Arm64JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 349 return FrameOffset(offset); in CurrentParamStackOffset()
|
D | calling_convention_arm64.h | 44 FrameOffset CurrentParamStackOffset() override; 74 FrameOffset CurrentParamStackOffset() override;
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.cc | 180 FrameOffset ArmManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 182 FrameOffset result = in CurrentParamStackOffset() 183 FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 197 ResetIterator(FrameOffset(0)); in EntrySpills() 444 FrameOffset ArmJniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 451 return FrameOffset(offset); in CurrentParamStackOffset()
|
D | calling_convention_arm.h | 44 FrameOffset CurrentParamStackOffset() override; 75 FrameOffset CurrentParamStackOffset() override;
|
/art/compiler/jni/quick/x86_64/ |
D | calling_convention_x86_64.cc | 151 FrameOffset X86_64ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 152 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 161 ResetIterator(FrameOffset(0)); in EntrySpills() 260 FrameOffset X86_64JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 271 return FrameOffset(offset); in CurrentParamStackOffset()
|
D | calling_convention_x86_64.h | 42 FrameOffset CurrentParamStackOffset() override; 70 FrameOffset CurrentParamStackOffset() override;
|