/art/compiler/utils/riscv64/ |
D | jni_macro_assembler_riscv64_test.cc | 203 __ Store(FrameOffset(0), AsManaged(A0), kWordSize); in TEST_F() 205 __ Store(FrameOffset(2048), AsManaged(S0), kDoubleWordSize); in TEST_F() 223 __ StoreRawPtr(FrameOffset(128), AsManaged(A7)); in TEST_F() 225 __ StoreRawPtr(FrameOffset(6 * KB), AsManaged(S11)); in TEST_F() 243 __ Load(AsManaged(A0), FrameOffset(0), kWordSize); in TEST_F() 245 __ Load(AsManaged(S0), FrameOffset(2048), kDoubleWordSize); in TEST_F() 275 __ LoadStackReference(AsManaged(T0), FrameOffset(0)); in TEST_F() 277 __ LoadStackReference(AsManaged(T1), FrameOffset(0x800)); in TEST_F() 287 __ CreateJObject(AsManaged(A0), FrameOffset(8), AsManaged(A0), /*null_allowed=*/ true); in TEST_F() 291 __ CreateJObject(AsManaged(A1), FrameOffset(12), AsManaged(A1), /*null_allowed=*/ false); in TEST_F() [all …]
|
D | jni_macro_assembler_riscv64.h | 62 void Store(FrameOffset offs, ManagedRegister src, size_t size) override; 64 void StoreRawPtr(FrameOffset offs, ManagedRegister src) override; 68 void Load(ManagedRegister dest, FrameOffset offs, size_t size) override; 74 void LoadStackReference(ManagedRegister dest, FrameOffset offs) override; 79 ArrayRef<FrameOffset> refs) override; 91 void GetCurrentThread(FrameOffset offset) override; 101 void VerifyObject(FrameOffset src, bool could_be_null) override; 147 FrameOffset spilled_reference_offset,
|
D | jni_macro_assembler_riscv64.cc | 158 void Riscv64JNIMacroAssembler::Store(FrameOffset offs, ManagedRegister m_src, size_t size) { in Store() 186 void Riscv64JNIMacroAssembler::StoreRawPtr(FrameOffset offs, ManagedRegister m_src) { in StoreRawPtr() 202 void Riscv64JNIMacroAssembler::Load(ManagedRegister m_dest, FrameOffset offs, size_t size) { in Load() 251 void Riscv64JNIMacroAssembler::LoadStackReference(ManagedRegister m_dest, FrameOffset offs) { in LoadStackReference() 263 ArrayRef<FrameOffset> refs) { in MoveArguments() 289 const FrameOffset ref = refs[i]; in MoveArguments() 339 const FrameOffset ref = refs[i]; in MoveArguments() 406 void Riscv64JNIMacroAssembler::GetCurrentThread(FrameOffset offset) { in GetCurrentThread() 431 void Riscv64JNIMacroAssembler::VerifyObject([[maybe_unused]] FrameOffset src, in VerifyObject() 622 FrameOffset spilled_reference_offset, in CreateJObject()
|
/art/compiler/utils/ |
D | assembler_thumb_test.cc | 128 mr_conv->ResetIterator(FrameOffset(frame_size)); in TEST_F() 139 __ Load(method_register, FrameOffset(32), 4); in TEST_F() 140 __ Load(method_register, FrameOffset(124), 4); in TEST_F() 141 __ Load(method_register, FrameOffset(132), 4); in TEST_F() 142 __ Load(method_register, FrameOffset(1020), 4); in TEST_F() 143 __ Load(method_register, FrameOffset(1024), 4); in TEST_F() 144 __ Load(scratch_register, FrameOffset(4092), 4); in TEST_F() 145 __ Load(scratch_register, FrameOffset(4096), 4); in TEST_F() 149 __ Store(FrameOffset(32), method_register, 4); in TEST_F() 150 __ 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_; 119 virtual void Store(FrameOffset offs, ManagedRegister src, size_t size) = 0; 121 virtual void StoreRawPtr(FrameOffset dest, ManagedRegister src) = 0; 130 virtual void Load(ManagedRegister dest, FrameOffset src, size_t size) = 0; 142 virtual void LoadStackReference(ManagedRegister dest, FrameOffset offs); 154 ArrayRef<FrameOffset> refs) = 0; 168 virtual void GetCurrentThread(FrameOffset dest_offset) = 0; 189 virtual void VerifyObject(FrameOffset src, bool could_be_null) = 0; [all …]
|
D | jni_macro_assembler.cc | 122 void JNIMacroAssembler<kPointerSize>::LoadStackReference(ManagedRegister dest, FrameOffset offs) { in LoadStackReference() 129 FrameOffset offs); 132 FrameOffset offs);
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.h | 61 void Store(FrameOffset offs, ManagedRegister src, size_t size) override; 63 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 68 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 76 ArrayRef<FrameOffset> refs) override; 90 void GetCurrentThread(FrameOffset dest_offset) override; 100 void VerifyObject(FrameOffset src, bool could_be_null) override; 145 void Copy(FrameOffset dest, FrameOffset src, size_t size); 152 FrameOffset spilled_reference_offset, 158 void CreateJObject(FrameOffset out_off, 159 FrameOffset spilled_reference_offset,
|
D | jni_macro_assembler_x86_64.cc | 162 void X86_64JNIMacroAssembler::Store(FrameOffset offs, ManagedRegister msrc, size_t size) { in Store() 198 void X86_64JNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() 215 void X86_64JNIMacroAssembler::Load(ManagedRegister mdest, FrameOffset src, size_t size) { in Load() 281 ArrayRef<FrameOffset> refs) { in MoveArguments() 307 const FrameOffset ref = refs[i]; in MoveArguments() 350 const FrameOffset ref = refs[i]; in MoveArguments() 410 void X86_64JNIMacroAssembler::Copy(FrameOffset dest, FrameOffset src, size_t size) { in Copy() 423 FrameOffset spilled_reference_offset, in CreateJObject() 451 void X86_64JNIMacroAssembler::CreateJObject(FrameOffset out_off, in CreateJObject() 452 FrameOffset spilled_reference_offset, in CreateJObject() [all …]
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.h | 60 void Store(FrameOffset offs, ManagedRegister src, size_t size) override; 62 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 67 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 75 ArrayRef<FrameOffset> refs) override; 89 void GetCurrentThread(FrameOffset dest_offset) override; 99 void VerifyObject(FrameOffset src, bool could_be_null) override; 144 void Copy(FrameOffset dest, FrameOffset src, size_t size); 151 FrameOffset spilled_reference_offset, 157 void CreateJObject(FrameOffset out_off, 158 FrameOffset spilled_reference_offset,
|
D | jni_macro_assembler_x86.cc | 133 void X86JNIMacroAssembler::Store(FrameOffset offs, ManagedRegister msrc, size_t size) { in Store() 151 __ movl(Address(base.AsCpuRegister(), FrameOffset(offs.Int32Value()+4)), in Store() 169 void X86JNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() 189 void X86JNIMacroAssembler::Load(ManagedRegister mdest, FrameOffset src, size_t size) { in Load() 208 Address(base.AsCpuRegister(), FrameOffset(offs.Int32Value()+4))); in Load() 255 ArrayRef<FrameOffset> refs) { in MoveArguments() 265 const FrameOffset ref = refs[i]; in MoveArguments() 298 const FrameOffset ref = refs[i]; in MoveArguments() 344 void X86JNIMacroAssembler::Copy(FrameOffset dest, FrameOffset src, size_t size) { in Copy() 350 __ movl(scratch, Address(ESP, FrameOffset(src.Int32Value() + 4))); in Copy() [all …]
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.h | 63 void Store(FrameOffset offs, ManagedRegister src, size_t size) override; 65 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 70 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 78 ArrayRef<FrameOffset> refs) override; 92 void GetCurrentThread(FrameOffset dest_offset) override; 110 void VerifyObject(FrameOffset src, bool could_be_null) override; 155 void Copy(FrameOffset dest, FrameOffset src, size_t size); 163 FrameOffset spilled_reference_offset,
|
/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.h | 69 void Store(FrameOffset offs, ManagedRegister src, size_t size) override; 71 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 75 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 82 ArrayRef<FrameOffset> refs) override; 94 void GetCurrentThread(FrameOffset dest_offset) override; 112 void VerifyObject(FrameOffset src, bool could_be_null) override; 177 void Copy(FrameOffset dest, FrameOffset src, size_t size); 184 FrameOffset spilled_reference_offset, 190 void CreateJObject(FrameOffset out_off, 191 FrameOffset spilled_reference_offset,
|
/art/runtime/ |
D | offsets.h | 70 class FrameOffset : public Offset { 72 constexpr explicit FrameOffset(size_t val) : Offset(val) {} in FrameOffset() function 73 bool operator>(FrameOffset other) const { return val_ > other.val_; } 74 bool operator<(FrameOffset other) const { return val_ < other.val_; }
|
/art/compiler/jni/quick/x86/ |
D | calling_convention_x86.h | 38 void ResetIterator(FrameOffset displacement) override; 46 FrameOffset CurrentParamStackOffset() override; 76 FrameOffset CurrentParamStackOffset() override;
|
D | calling_convention_x86.cc | 143 void X86ManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() 196 FrameOffset X86ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 197 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 304 FrameOffset X86JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 306 FrameOffset(displacement_.Int32Value() - OutFrameSize() + (itr_slots_ * kFramePointerSize)); in CurrentParamStackOffset()
|
/art/compiler/jni/quick/ |
D | calling_convention.h | 57 virtual void ResetIterator(FrameOffset displacement) { in ResetIterator() 66 FrameOffset GetDisplacement() const { in GetDisplacement() 214 FrameOffset displacement_; 245 FrameOffset MethodStackOffset() { in MethodStackOffset() 246 return FrameOffset(0u); in MethodStackOffset() 273 virtual FrameOffset CurrentParamStackOffset() = 0; 357 virtual FrameOffset CurrentParamStackOffset() = 0;
|
D | jni_compiler.cc | 197 constexpr FrameOffset kInvalidReferenceOffset = in ArtJniCompileMethodInternal() 201 ArenaVector<FrameOffset> refs(allocator->Adapter()); in ArtJniCompileMethodInternal() 203 mr_conv->ResetIterator(FrameOffset(current_frame_size)); in ArtJniCompileMethodInternal() 214 ArrayRef<FrameOffset>(refs)); in ArtJniCompileMethodInternal() 254 mr_conv->ResetIterator(FrameOffset(current_frame_size)); in ArtJniCompileMethodInternal() 326 mr_conv->ResetIterator(FrameOffset(current_frame_size)); in ArtJniCompileMethodInternal() 327 main_jni_conv->ResetIterator(FrameOffset(main_out_arg_size)); in ArtJniCompileMethodInternal() 338 FrameOffset method_offset(current_out_arg_size + mr_conv->MethodStackOffset().SizeValue()); in ArtJniCompileMethodInternal() 396 ArrayRef<FrameOffset>(refs)); in ArtJniCompileMethodInternal() 400 main_jni_conv->ResetIterator(FrameOffset(main_out_arg_size)); in ArtJniCompileMethodInternal() [all …]
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.h | 40 void ResetIterator(FrameOffset displacement) override; 48 FrameOffset CurrentParamStackOffset() override; 80 FrameOffset CurrentParamStackOffset() override;
|
D | calling_convention_arm.cc | 206 void ArmManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() 287 FrameOffset ArmManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 288 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 533 FrameOffset ArmJniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 540 return FrameOffset(offset); in CurrentParamStackOffset()
|
/art/compiler/jni/quick/arm64/ |
D | calling_convention_arm64.h | 44 FrameOffset CurrentParamStackOffset() override; 72 FrameOffset CurrentParamStackOffset() override;
|
D | calling_convention_arm64.cc | 213 FrameOffset Arm64ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 214 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 367 FrameOffset Arm64JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 376 return FrameOffset(offset); in CurrentParamStackOffset()
|
/art/compiler/jni/quick/x86_64/ |
D | calling_convention_x86_64.h | 44 FrameOffset CurrentParamStackOffset() override; 72 FrameOffset CurrentParamStackOffset() override;
|
D | calling_convention_x86_64.cc | 177 FrameOffset X86_64ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 178 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 299 FrameOffset X86_64JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 310 return FrameOffset(offset); in CurrentParamStackOffset()
|
/art/compiler/jni/quick/riscv64/ |
D | calling_convention_riscv64.h | 44 FrameOffset CurrentParamStackOffset() override; 73 FrameOffset CurrentParamStackOffset() override;
|
D | calling_convention_riscv64.cc | 189 FrameOffset Riscv64ManagedRuntimeCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 190 return FrameOffset(displacement_.Int32Value() + // displacement in CurrentParamStackOffset() 372 FrameOffset Riscv64JniCallingConvention::CurrentParamStackOffset() { in CurrentParamStackOffset() 382 return FrameOffset(offset); in CurrentParamStackOffset()
|