Home
last modified time | relevance | path

Searched refs:ThreadOffset (Results 1 – 20 of 20) sorted by relevance

/art/compiler/utils/
Dassembler.cc165 void Assembler::StoreImmediateToThread32(ThreadOffset<4> dest ATTRIBUTE_UNUSED, in StoreImmediateToThread32()
171 void Assembler::StoreImmediateToThread64(ThreadOffset<8> dest ATTRIBUTE_UNUSED, in StoreImmediateToThread64()
177 void Assembler::StoreStackOffsetToThread32(ThreadOffset<4> thr_offs ATTRIBUTE_UNUSED, in StoreStackOffsetToThread32()
183 void Assembler::StoreStackOffsetToThread64(ThreadOffset<8> thr_offs ATTRIBUTE_UNUSED, in StoreStackOffsetToThread64()
189 void Assembler::StoreStackPointerToThread32(ThreadOffset<4> thr_offs ATTRIBUTE_UNUSED) { in StoreStackPointerToThread32()
193 void Assembler::StoreStackPointerToThread64(ThreadOffset<8> thr_offs ATTRIBUTE_UNUSED) { in StoreStackPointerToThread64()
198 ThreadOffset<4> src ATTRIBUTE_UNUSED, in LoadFromThread32()
204 ThreadOffset<8> src ATTRIBUTE_UNUSED, in LoadFromThread64()
210 ThreadOffset<4> offs ATTRIBUTE_UNUSED) { in LoadRawPtrFromThread32()
215 ThreadOffset<8> offs ATTRIBUTE_UNUSED) { in LoadRawPtrFromThread64()
[all …]
Dassembler.h395 virtual void StoreImmediateToThread32(ThreadOffset<4> dest, uint32_t imm,
397 virtual void StoreImmediateToThread64(ThreadOffset<8> dest, uint32_t imm,
400 virtual void StoreStackOffsetToThread32(ThreadOffset<4> thr_offs,
403 virtual void StoreStackOffsetToThread64(ThreadOffset<8> thr_offs,
407 virtual void StoreStackPointerToThread32(ThreadOffset<4> thr_offs);
408 virtual void StoreStackPointerToThread64(ThreadOffset<8> thr_offs);
416 virtual void LoadFromThread32(ManagedRegister dest, ThreadOffset<4> src, size_t size);
417 virtual void LoadFromThread64(ManagedRegister dest, ThreadOffset<8> src, size_t size);
426 virtual void LoadRawPtrFromThread32(ManagedRegister dest, ThreadOffset<4> offs);
427 virtual void LoadRawPtrFromThread64(ManagedRegister dest, ThreadOffset<8> offs);
[all …]
/art/compiler/trampolines/
Dtrampoline_compiler.h30 ThreadOffset<4> entry_point_offset);
33 ThreadOffset<8> entry_point_offset);
Dtrampoline_compiler.cc53 ArenaAllocator* arena, EntryPointCallingConvention abi, ThreadOffset<4> offset) { in CreateTrampoline()
83 ArenaAllocator* arena, EntryPointCallingConvention abi, ThreadOffset<8> offset) { in CreateTrampoline()
122 ArenaAllocator* arena, EntryPointCallingConvention abi, ThreadOffset<4> offset) { in CreateTrampoline()
154 ArenaAllocator* arena, EntryPointCallingConvention abi, ThreadOffset<8> offset) { in CreateTrampoline()
186 ThreadOffset<4> offset) { in CreateTrampoline()
207 ThreadOffset<8> offset) { in CreateTrampoline()
227 ThreadOffset<8> offset) { in CreateTrampoline64()
253 ThreadOffset<4> offset) { in CreateTrampoline32()
/art/runtime/
Dthread.h534 static ThreadOffset<pointer_size> ThinLockIdOffset() { in ThinLockIdOffset()
535 return ThreadOffset<pointer_size>( in ThinLockIdOffset()
541 static ThreadOffset<pointer_size> ThreadFlagsOffset() { in ThreadFlagsOffset()
542 return ThreadOffset<pointer_size>( in ThreadFlagsOffset()
548 static ThreadOffset<pointer_size> IsGcMarkingOffset() { in IsGcMarkingOffset()
549 return ThreadOffset<pointer_size>( in IsGcMarkingOffset()
559 static ThreadOffset<pointer_size> ThreadOffsetFromTlsPtr(size_t tls_ptr_offset) { in ThreadOffsetFromTlsPtr()
574 return ThreadOffset<pointer_size>(base + ((tls_ptr_offset * scale) / shrink)); in ThreadOffsetFromTlsPtr()
589 static ThreadOffset<pointer_size> QuickEntryPointOffset(size_t quick_entrypoint_offset) { in QuickEntryPointOffset()
595 static ThreadOffset<pointer_size> JniEntryPointOffset(size_t jni_entrypoint_offset) { in JniEntryPointOffset()
[all …]
Doffsets.h55 class ThreadOffset : public Offset {
57 explicit ThreadOffset(size_t val) : Offset(val) {} in ThreadOffset() function
/art/compiler/utils/arm64/
Dassembler_arm64.h128 void StoreImmediateToThread64(ThreadOffset<8> dest, uint32_t imm, ManagedRegister scratch)
130 void StoreStackOffsetToThread64(ThreadOffset<8> thr_offs, FrameOffset fr_offs,
132 void StoreStackPointerToThread64(ThreadOffset<8> thr_offs) OVERRIDE;
138 void LoadFromThread64(ManagedRegister dest, ThreadOffset<8> src, size_t size) OVERRIDE;
143 void LoadRawPtrFromThread64(ManagedRegister dest, ThreadOffset<8> offs) OVERRIDE;
147 void CopyRawPtrFromThread64(FrameOffset fr_offs, ThreadOffset<8> thr_offs,
149 void CopyRawPtrToThread64(ThreadOffset<8> thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
198 void CallFromThread64(ThreadOffset<8> offset, ManagedRegister scratch) OVERRIDE;
Dassembler_arm64.cc167 void Arm64Assembler::StoreImmediateToThread64(ThreadOffset<8> offs, uint32_t imm, in StoreImmediateToThread64()
175 void Arm64Assembler::StoreStackOffsetToThread64(ThreadOffset<8> tr_offs, in StoreStackOffsetToThread64()
184 void Arm64Assembler::StoreStackPointerToThread64(ThreadOffset<8> tr_offs) { in StoreStackPointerToThread64()
288 void Arm64Assembler::LoadFromThread64(ManagedRegister m_dst, ThreadOffset<8> src, size_t size) { in LoadFromThread64()
321 void Arm64Assembler::LoadRawPtrFromThread64(ManagedRegister m_dst, ThreadOffset<8> offs) { in LoadRawPtrFromThread64()
358 ThreadOffset<8> tr_offs, in CopyRawPtrFromThread64()
366 void Arm64Assembler::CopyRawPtrToThread64(ThreadOffset<8> tr_offs, in CopyRawPtrToThread64()
545 void Arm64Assembler::CallFromThread64(ThreadOffset<8> /*offset*/, ManagedRegister /*scratch*/) { in CallFromThread64()
/art/compiler/jni/quick/
Djni_compiler.cc204 ThreadOffset<4> read_barrier32 = QUICK_ENTRYPOINT_OFFSET(4, pReadBarrierJni); in ArtJniCompileMethodInternal()
205 ThreadOffset<8> read_barrier64 = QUICK_ENTRYPOINT_OFFSET(8, pReadBarrierJni); in ArtJniCompileMethodInternal()
248ThreadOffset<4> jni_start32 = is_synchronized ? QUICK_ENTRYPOINT_OFFSET(4, pJniMethodStartSynchron… in ArtJniCompileMethodInternal()
250ThreadOffset<8> jni_start64 = is_synchronized ? QUICK_ENTRYPOINT_OFFSET(8, pJniMethodStartSynchron… in ArtJniCompileMethodInternal()
409 ThreadOffset<4> jni_end32(-1); in ArtJniCompileMethodInternal()
410 ThreadOffset<8> jni_end64(-1); in ArtJniCompileMethodInternal()
461 … __ CallFromThread64(ThreadOffset<8>(jni_end64), end_jni_conv->InterproceduralScratchRegister()); in ArtJniCompileMethodInternal()
463 … __ CallFromThread32(ThreadOffset<4>(jni_end32), end_jni_conv->InterproceduralScratchRegister()); in ArtJniCompileMethodInternal()
/art/runtime/entrypoints/quick/
Dquick_entrypoints_enum.h40 static ThreadOffset<pointer_size> GetThreadOffset(QuickEntrypointEnum trampoline) { in GetThreadOffset()
/art/compiler/utils/x86/
Dassembler_x86.h198 static Address Absolute(ThreadOffset<4> addr) { in Absolute()
653 void StoreImmediateToThread32(ThreadOffset<4> dest, uint32_t imm, ManagedRegister scratch)
656 void StoreStackOffsetToThread32(ThreadOffset<4> thr_offs, FrameOffset fr_offs,
659 void StoreStackPointerToThread32(ThreadOffset<4> thr_offs) OVERRIDE;
667 void LoadFromThread32(ManagedRegister dest, ThreadOffset<4> src, size_t size) OVERRIDE;
676 void LoadRawPtrFromThread32(ManagedRegister dest, ThreadOffset<4> offs) OVERRIDE;
681 void CopyRawPtrFromThread32(FrameOffset fr_offs, ThreadOffset<4> thr_offs,
684 void CopyRawPtrToThread32(ThreadOffset<4> thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
741 void CallFromThread32(ThreadOffset<4> offset, ManagedRegister scratch) OVERRIDE;
Dassembler_x86.cc2045 void X86Assembler::StoreImmediateToThread32(ThreadOffset<4> dest, uint32_t imm, in StoreImmediateToThread32()
2050 void X86Assembler::StoreStackOffsetToThread32(ThreadOffset<4> thr_offs, in StoreStackOffsetToThread32()
2059 void X86Assembler::StoreStackPointerToThread32(ThreadOffset<4> thr_offs) { in StoreStackPointerToThread32()
2095 void X86Assembler::LoadFromThread32(ManagedRegister mdest, ThreadOffset<4> src, size_t size) { in LoadFromThread32()
2105 fs()->movl(dest.AsRegisterPairHigh(), Address::Absolute(ThreadOffset<4>(src.Int32Value()+4))); in LoadFromThread32()
2146 ThreadOffset<4> offs) { in LoadRawPtrFromThread32()
2209 ThreadOffset<4> thr_offs, in CopyRawPtrFromThread32()
2217 void X86Assembler::CopyRawPtrToThread32(ThreadOffset<4> thr_offs, in CopyRawPtrToThread32()
2365 void X86Assembler::CallFromThread32(ThreadOffset<4> offset, ManagedRegister /*mscratch*/) { in CallFromThread32()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h261 static Address Absolute(ThreadOffset<8> addr, bool no_rip = false) {
724 void StoreImmediateToThread64(ThreadOffset<8> dest, uint32_t imm, ManagedRegister scratch)
727 void StoreStackOffsetToThread64(ThreadOffset<8> thr_offs, FrameOffset fr_offs,
730 void StoreStackPointerToThread64(ThreadOffset<8> thr_offs) OVERRIDE;
738 void LoadFromThread64(ManagedRegister dest, ThreadOffset<8> src, size_t size) OVERRIDE;
747 void LoadRawPtrFromThread64(ManagedRegister dest, ThreadOffset<8> offs) OVERRIDE;
752 void CopyRawPtrFromThread64(FrameOffset fr_offs, ThreadOffset<8> thr_offs,
755 void CopyRawPtrToThread64(ThreadOffset<8> thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
813 void CallFromThread64(ThreadOffset<8> offset, ManagedRegister scratch) OVERRIDE;
Dassembler_x86_64.cc2796 void X86_64Assembler::StoreImmediateToThread64(ThreadOffset<8> dest, uint32_t imm, in StoreImmediateToThread64()
2801 void X86_64Assembler::StoreStackOffsetToThread64(ThreadOffset<8> thr_offs, in StoreStackOffsetToThread64()
2810 void X86_64Assembler::StoreStackPointerToThread64(ThreadOffset<8> thr_offs) { in StoreStackPointerToThread64()
2851 void X86_64Assembler::LoadFromThread64(ManagedRegister mdest, ThreadOffset<8> src, size_t size) { in LoadFromThread64()
2900 void X86_64Assembler::LoadRawPtrFromThread64(ManagedRegister mdest, ThreadOffset<8> offs) { in LoadRawPtrFromThread64()
2962 ThreadOffset<8> thr_offs, in CopyRawPtrFromThread64()
2970 void X86_64Assembler::CopyRawPtrToThread64(ThreadOffset<8> thr_offs, in CopyRawPtrToThread64()
3123 void X86_64Assembler::CallFromThread64(ThreadOffset<8> offset, ManagedRegister /*mscratch*/) { in CallFromThread64()
/art/compiler/utils/arm/
Dassembler_arm.cc570 void ArmAssembler::StoreImmediateToThread32(ThreadOffset<4> dest, uint32_t imm, in StoreImmediateToThread32()
602 void ArmAssembler::LoadFromThread32(ManagedRegister m_dst, ThreadOffset<4> src, size_t size) { in LoadFromThread32()
606 void ArmAssembler::LoadRawPtrFromThread32(ManagedRegister m_dst, ThreadOffset<4> offs) { in LoadRawPtrFromThread32()
613 ThreadOffset<4> thr_offs, in CopyRawPtrFromThread32()
623 void ArmAssembler::CopyRawPtrToThread32(ThreadOffset<4> thr_offs, in CopyRawPtrToThread32()
634 void ArmAssembler::StoreStackOffsetToThread32(ThreadOffset<4> thr_offs, in StoreStackOffsetToThread32()
644 void ArmAssembler::StoreStackPointerToThread32(ThreadOffset<4> thr_offs) { in StoreStackPointerToThread32()
833 void ArmAssembler::CallFromThread32(ThreadOffset<4> /*offset*/, ManagedRegister /*scratch*/) { in CallFromThread32()
Dassembler_arm.h928 void StoreImmediateToThread32(ThreadOffset<4> dest, uint32_t imm, ManagedRegister scratch)
931 void StoreStackOffsetToThread32(ThreadOffset<4> thr_offs, FrameOffset fr_offs,
934 void StoreStackPointerToThread32(ThreadOffset<4> thr_offs) OVERRIDE;
942 void LoadFromThread32(ManagedRegister dest, ThreadOffset<4> src, size_t size) OVERRIDE;
951 void LoadRawPtrFromThread32(ManagedRegister dest, ThreadOffset<4> offs) OVERRIDE;
956 void CopyRawPtrFromThread32(FrameOffset fr_offs, ThreadOffset<4> thr_offs,
959 void CopyRawPtrToThread32(ThreadOffset<4> thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
1014 void CallFromThread32(ThreadOffset<4> offset, ManagedRegister scratch) OVERRIDE;
/art/compiler/utils/mips/
Dassembler_mips.h434 void StoreImmediateToThread32(ThreadOffset<kMipsWordSize> dest,
438 void StoreStackOffsetToThread32(ThreadOffset<kMipsWordSize> thr_offs,
442 void StoreStackPointerToThread32(ThreadOffset<kMipsWordSize> thr_offs) OVERRIDE;
453 ThreadOffset<kMipsWordSize> src,
465 void LoadRawPtrFromThread32(ManagedRegister mdest, ThreadOffset<kMipsWordSize> offs) OVERRIDE;
471 ThreadOffset<kMipsWordSize> thr_offs,
474 void CopyRawPtrToThread32(ThreadOffset<kMipsWordSize> thr_offs,
553 void CallFromThread32(ThreadOffset<kMipsWordSize> offset, ManagedRegister mscratch) OVERRIDE;
Dassembler_mips.cc2573 void MipsAssembler::StoreImmediateToThread32(ThreadOffset<kMipsWordSize> dest, uint32_t imm, in StoreImmediateToThread32()
2582 void MipsAssembler::StoreStackOffsetToThread32(ThreadOffset<kMipsWordSize> thr_offs, in StoreStackOffsetToThread32()
2592 void MipsAssembler::StoreStackPointerToThread32(ThreadOffset<kMipsWordSize> thr_offs) { in StoreStackPointerToThread32()
2610 ThreadOffset<kMipsWordSize> src, size_t size) { in LoadFromThread32()
2639 ThreadOffset<kMipsWordSize> offs) { in LoadRawPtrFromThread32()
2694 ThreadOffset<kMipsWordSize> thr_offs, in CopyRawPtrFromThread32()
2704 void MipsAssembler::CopyRawPtrToThread32(ThreadOffset<kMipsWordSize> thr_offs, in CopyRawPtrToThread32()
2878 void MipsAssembler::CallFromThread32(ThreadOffset<kMipsWordSize> offset ATTRIBUTE_UNUSED, in CallFromThread32()
/art/compiler/utils/mips64/
Dassembler_mips64.h386 void StoreStackOffsetToThread64(ThreadOffset<kMips64DoublewordSize> thr_offs, FrameOffset fr_offs,
389 void StoreStackPointerToThread64(ThreadOffset<kMips64DoublewordSize> thr_offs) OVERRIDE;
398 ThreadOffset<kMips64DoublewordSize> src,
409 ThreadOffset<kMips64DoublewordSize> offs) OVERRIDE;
414 void CopyRawPtrFromThread64(FrameOffset fr_offs, ThreadOffset<kMips64DoublewordSize> thr_offs,
417 void CopyRawPtrToThread64(ThreadOffset<kMips64DoublewordSize> thr_offs, FrameOffset fr_offs,
474 void CallFromThread64(ThreadOffset<kMips64DoublewordSize> offset,
Dassembler_mips64.cc2112 void Mips64Assembler::StoreStackOffsetToThread64(ThreadOffset<kMips64DoublewordSize> thr_offs, in StoreStackOffsetToThread64()
2121 void Mips64Assembler::StoreStackPointerToThread64(ThreadOffset<kMips64DoublewordSize> thr_offs) { in StoreStackPointerToThread64()
2139 ThreadOffset<kMips64DoublewordSize> src, in LoadFromThread64()
2174 ThreadOffset<kMips64DoublewordSize> offs) { in LoadRawPtrFromThread64()
2219 ThreadOffset<kMips64DoublewordSize> thr_offs, in CopyRawPtrFromThread64()
2227 void Mips64Assembler::CopyRawPtrToThread64(ThreadOffset<kMips64DoublewordSize> thr_offs, in CopyRawPtrToThread64()
2431 void Mips64Assembler::CallFromThread64(ThreadOffset<kMips64DoublewordSize> offset ATTRIBUTE_UNUSED, in CallFromThread64()