Home
last modified time | relevance | path

Searched refs:Offset (Results 1 – 21 of 21) sorted by relevance

/art/runtime/
Doffsets.h26 class Offset {
28 explicit Offset(size_t val) : val_(val) {} in Offset() function
42 std::ostream& operator<<(std::ostream& os, const Offset& offs);
45 class FrameOffset : public Offset {
47 explicit FrameOffset(size_t val) : Offset(val) {} in FrameOffset()
54 class ThreadOffset : public Offset {
56 explicit ThreadOffset(size_t val) : Offset(val) {} in ThreadOffset()
60 class MemberOffset : public Offset {
62 explicit MemberOffset(size_t val) : Offset(val) {} in MemberOffset()
Djni_internal.h154 static Offset SegmentStateOffset();
156 static Offset LocalRefCookieOffset() { in LocalRefCookieOffset()
157 return Offset(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie)); in LocalRefCookieOffset()
160 static Offset SelfOffset() { in SelfOffset()
161 return Offset(OFFSETOF_MEMBER(JNIEnvExt, self)); in SelfOffset()
Doffsets.cc23 std::ostream& operator<<(std::ostream& os, const Offset& offs) { in operator <<()
Dindirect_reference_table.h346 static Offset SegmentStateOffset() { in SegmentStateOffset()
347 return Offset(OFFSETOF_MEMBER(IndirectReferenceTable, segment_state_)); in SegmentStateOffset()
Djni_internal.cc3007 Offset JNIEnvExt::SegmentStateOffset() { in SegmentStateOffset()
3008 return Offset(OFFSETOF_MEMBER(JNIEnvExt, locals) + in SegmentStateOffset()
/art/compiler/utils/arm64/
Dassembler_arm64.h131 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) OVERRIDE;
142 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch,
144 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, ManagedRegister scratch,
146 void Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset, ManagedRegister scratch,
148 void Copy(ManagedRegister dest, Offset dest_offset, ManagedRegister src, Offset src_offset,
150 void Copy(FrameOffset dest, Offset dest_offset, FrameOffset src, Offset src_offset,
185 void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) OVERRIDE;
186 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) OVERRIDE;
190 void JumpTo(ManagedRegister m_base, Offset offs, ManagedRegister m_scratch);
Dassembler_arm64.cc302 void Arm64Assembler::LoadRawPtr(ManagedRegister m_dst, ManagedRegister m_base, Offset offs) { in LoadRawPtr()
392 void Arm64Assembler::Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, in Copy()
411 void Arm64Assembler::Copy(ManagedRegister m_dest_base, Offset dest_offs, FrameOffset src, in Copy()
430 void Arm64Assembler::Copy(FrameOffset /*dst*/, FrameOffset /*src_base*/, Offset /*src_offset*/, in Copy() argument
435 void Arm64Assembler::Copy(ManagedRegister m_dest, Offset dest_offset, in Copy()
436 ManagedRegister m_src, Offset src_offset, in Copy()
465 void Arm64Assembler::Copy(FrameOffset /*dst*/, Offset /*dest_offset*/, in Copy() argument
466 FrameOffset /*src*/, Offset /*src_offset*/, in Copy()
508 void Arm64Assembler::Call(ManagedRegister m_base, Offset offs, ManagedRegister m_scratch) { in Call()
517 void Arm64Assembler::JumpTo(ManagedRegister m_base, Offset offs, ManagedRegister m_scratch) { in JumpTo()
[all …]
/art/compiler/utils/
Dassembler.h417 virtual void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) = 0;
440 virtual void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset,
443 virtual void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src,
446 virtual void Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset,
449 virtual void Copy(ManagedRegister dest, Offset dest_offset,
450 ManagedRegister src, Offset src_offset,
453 virtual void Copy(FrameOffset dest, Offset dest_offset, FrameOffset src, Offset src_offset,
491 virtual void Call(ManagedRegister base, Offset offset,
493 virtual void Call(FrameOffset base, Offset offset,
Dassembler_thumb_test.cc485 __ ldr(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
492 __ ldrb(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
499 __ ldrh(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
506 __ ldrsb(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
513 __ ldrsh(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
532 __ str(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
539 __ strb(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
546 __ strh(R3, Address(R4, 24, Address::Mode::Offset)); in TEST()
564 __ ldr(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
571 __ ldrb(R3, Address(R4, -24, Address::Mode::Offset)); in TEST()
[all …]
/art/compiler/utils/mips/
Dassembler_mips.h197 void LoadRawPtr(ManagedRegister mdest, ManagedRegister base, Offset offs) OVERRIDE;
214 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister mscratch,
217 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src,
220 void Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset, ManagedRegister mscratch,
223 void Copy(ManagedRegister dest, Offset dest_offset, ManagedRegister src, Offset src_offset,
226 void Copy(FrameOffset dest, Offset dest_offset, FrameOffset src, Offset src_offset,
262 void Call(ManagedRegister base, Offset offset, ManagedRegister mscratch) OVERRIDE;
263 void Call(FrameOffset base, Offset offset, ManagedRegister mscratch) OVERRIDE;
Dassembler_mips.cc695 Offset offs) { in LoadRawPtr()
791 void MipsAssembler::Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, in Copy()
799 void MipsAssembler::Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, in Copy()
807 void MipsAssembler::Copy(FrameOffset /*dest*/, FrameOffset /*src_base*/, Offset /*src_offset*/, in Copy() argument
812 void MipsAssembler::Copy(ManagedRegister dest, Offset dest_offset, in Copy()
813 ManagedRegister src, Offset src_offset, in Copy()
821 void MipsAssembler::Copy(FrameOffset /*dest*/, Offset /*dest_offset*/, FrameOffset /*src*/, Offset in Copy() argument
905 void MipsAssembler::Call(ManagedRegister mbase, Offset offset, ManagedRegister mscratch) { in Call()
916 void MipsAssembler::Call(FrameOffset base, Offset offset, ManagedRegister mscratch) { in Call()
/art/compiler/trampolines/
Dtrampoline_compiler.cc65 __ JumpTo(Arm64ManagedRegister::FromCoreRegister(X0), Offset(offset.Int32Value()), in CreateTrampoline()
72 Offset(JNIEnvExt::SelfOffset().Int32Value())); in CreateTrampoline()
74 __ JumpTo(Arm64ManagedRegister::FromCoreRegister(IP1), Offset(offset.Int32Value()), in CreateTrampoline()
80 __ JumpTo(Arm64ManagedRegister::FromCoreRegister(TR), Offset(offset.Int32Value()), in CreateTrampoline()
/art/compiler/utils/arm/
Dassembler_arm.cc227 am_ != Mode::Offset)) { in encodingThumb()
247 CHECK_EQ(am_, Offset); in encodingThumb()
303 CHECK((am_ == Offset) || (am_ == NegOffset)); in vencoding()
305 if (am_ == Offset) { in vencoding()
521 Offset offs) { in LoadRawPtr()
665 void ArmAssembler::Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, in Copy()
673 void ArmAssembler::Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, in Copy()
681 void ArmAssembler::Copy(FrameOffset /*dst*/, FrameOffset /*src_base*/, Offset /*src_offset*/, in Copy() argument
686 void ArmAssembler::Copy(ManagedRegister dest, Offset dest_offset, in Copy()
687 ManagedRegister src, Offset src_offset, in Copy()
[all …]
Dassembler_arm.h189 Offset = (8|4|0) << 21, // offset (w/o writeback to base) enumerator
197 Address(Register rn, int32_t offset = 0, Mode am = Offset) : rn_(rn), rm_(R0), in rn_()
202 Address(Register rn, Register rm, Mode am = Offset) : rn_(rn), rm_(rm), offset_(0), in rn_()
207 Address(Register rn, Register rm, Shift shift, uint32_t count, Mode am = Offset) :
216 am_(Offset), is_immed_offset_(false), shift_(LSL) { in Address()
653 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) OVERRIDE;
670 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch,
673 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, ManagedRegister scratch,
676 void Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset, ManagedRegister scratch,
679 void Copy(ManagedRegister dest, Offset dest_offset, ManagedRegister src, Offset src_offset,
[all …]
Dassembler_thumb2.cc356 Address::Mode strmode = am == IA ? Address::PreIndex : Address::Offset; in stm()
1263 if (is_signed || ad.GetOffset() < 0 || ad.GetMode() != Address::Offset) { in EmitLoadStore()
/art/compiler/utils/x86/
Dassembler_x86.h142 Address(Register base, Offset disp) { in Address()
501 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) OVERRIDE;
518 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch,
521 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, ManagedRegister scratch,
524 void Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset, ManagedRegister scratch,
527 void Copy(ManagedRegister dest, Offset dest_offset, ManagedRegister src, Offset src_offset,
530 void Copy(FrameOffset dest, Offset dest_offset, FrameOffset src, Offset src_offset,
566 void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) OVERRIDE;
567 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) OVERRIDE;
Dassembler_x86.cc1591 Offset offs) { in LoadRawPtr()
1693 void X86Assembler::Copy(FrameOffset /*dst*/, ManagedRegister /*src_base*/, Offset /*src_offset*/, in Copy() argument
1698 void X86Assembler::Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, in Copy()
1706 void X86Assembler::Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset, in Copy()
1715 void X86Assembler::Copy(ManagedRegister dest, Offset dest_offset, in Copy()
1716 ManagedRegister src, Offset src_offset, in Copy()
1724 void X86Assembler::Copy(FrameOffset dest, Offset dest_offset, FrameOffset src, Offset src_offset, in Copy()
1806 void X86Assembler::Call(ManagedRegister mbase, Offset offset, ManagedRegister) { in Call()
1813 void X86Assembler::Call(FrameOffset base, Offset offset, ManagedRegister mscratch) { in Call()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h170 Address(CpuRegister base, Offset disp) { in Address()
543 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) OVERRIDE;
560 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch,
563 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, ManagedRegister scratch,
566 void Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset, ManagedRegister scratch,
569 void Copy(ManagedRegister dest, Offset dest_offset, ManagedRegister src, Offset src_offset,
572 void Copy(FrameOffset dest, Offset dest_offset, FrameOffset src, Offset src_offset,
609 void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) OVERRIDE;
610 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) OVERRIDE;
Dassembler_x86_64.cc1951 Offset offs) { in LoadRawPtr()
2052 void X86_64Assembler::Copy(FrameOffset /*dst*/, ManagedRegister /*src_base*/, Offset /*src_offset*/, in Copy() argument
2057 void X86_64Assembler::Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, in Copy()
2065 void X86_64Assembler::Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset, in Copy()
2074 void X86_64Assembler::Copy(ManagedRegister dest, Offset dest_offset, in Copy()
2075 ManagedRegister src, Offset src_offset, in Copy()
2083 void X86_64Assembler::Copy(FrameOffset dest, Offset dest_offset, FrameOffset src, Offset src_offset, in Copy()
2171 void X86_64Assembler::Call(ManagedRegister mbase, Offset offset, ManagedRegister) { in Call()
2178 void X86_64Assembler::Call(FrameOffset base, Offset offset, ManagedRegister mscratch) { in Call()
/art/compiler/jni/quick/
Djni_compiler.cc96 const Offset functions(OFFSETOF_MEMBER(JNIEnvExt, functions)); in ArtJniCompileMethodInternal()
97 const Offset monitor_enter(OFFSETOF_MEMBER(JNINativeInterface, MonitorEnter)); in ArtJniCompileMethodInternal()
98 const Offset monitor_exit(OFFSETOF_MEMBER(JNINativeInterface, MonitorExit)); in ArtJniCompileMethodInternal()
219 __ Call(main_jni_conv->CurrentParamRegister(), Offset(jni_start64), in ArtJniCompileMethodInternal()
222 __ Call(main_jni_conv->CurrentParamRegister(), Offset(jni_start32), in ArtJniCompileMethodInternal()
396 __ Call(end_jni_conv->CurrentParamRegister(), Offset(jni_end64), in ArtJniCompileMethodInternal()
399 __ Call(end_jni_conv->CurrentParamRegister(), Offset(jni_end32), in ArtJniCompileMethodInternal()
/art/compiler/
Doat_writer.cc837 oat_header_->Set ## fn_name ## Offset(adjusted_offset); \ in InitOatCode()