Home
last modified time | relevance | path

Searched refs:kPointerSize (Results 1 – 14 of 14) sorted by relevance

/art/runtime/
Dnterp_helpers.cc86 static constexpr size_t kPointerSize = static_cast<size_t>(kRuntimePointerSize); variable
94 return (POPCOUNT(core_spills) + POPCOUNT(fp_spills)) * kPointerSize; in NterpGetFrameEntrySize()
104 static_assert(IsAligned<kPointerSize>(kStackAlignment)); in NterpGetFrameSize()
105 static_assert(IsAligned<kPointerSize>(NterpGetFrameEntrySize())); in NterpGetFrameSize()
106 static_assert(IsAligned<kPointerSize>(kVRegSize * 2)); in NterpGetFrameSize()
110 kPointerSize + // previous frame in NterpGetFrameSize()
111 kPointerSize + // saved dex pc in NterpGetFrameSize()
113 kPointerSize; // method in NterpGetFrameSize()
137 kPointerSize + // method in NterpGetReferenceArray()
138 RoundUp(out_regs * kVRegSize, kPointerSize) + // out arguments and pointer alignment in NterpGetReferenceArray()
[all …]
Dclass_linker.cc7473 template <PointerSize kPointerSize>
7491 ArtMethod* m1 = vtable->GetElementPtrSize<ArtMethod*, kPointerSize>(i); in CheckVTableHasNoDuplicates()
7492 ArtMethod* m2 = vtable->GetElementPtrSize<ArtMethod*, kPointerSize>(j); in CheckVTableHasNoDuplicates()
7510 ArtMethod* vtable_entry = vtable->GetElementPtrSize<ArtMethod*, kPointerSize>(start); in CheckVTableHasNoDuplicates()
7523 vtable->GetElementPtrSize<ArtMethod*, kPointerSize>(start)-> in CheckVTableHasNoDuplicates()
7524 GetInterfaceMethodIfProxy(kPointerSize)->GetDexFile(); in CheckVTableHasNoDuplicates()
7542 ArtMethod* vtable_entry = vtable->GetElementPtrSizeUnchecked<ArtMethod*, kPointerSize>(i); in CheckVTableHasNoDuplicates()
7547 ArtMethod* m = vtable_entry->GetInterfaceMethodIfProxy(kPointerSize); in CheckVTableHasNoDuplicates()
7603 ArtMethod* vtable_entry = vtable->GetElementPtrSizeUnchecked<ArtMethod*, kPointerSize>(i); in CheckVTableHasNoDuplicates()
7610 ArtMethod* m = vtable_entry->GetInterfaceMethodIfProxy(kPointerSize); in CheckVTableHasNoDuplicates()
/art/compiler/jni/quick/
Djni_compiler.cc53 template <PointerSize kPointerSize>
54 static void CopyParameter(JNIMacroAssembler<kPointerSize>* jni_asm,
57 template <PointerSize kPointerSize>
58 static void SetNativeParameter(JNIMacroAssembler<kPointerSize>* jni_asm,
62 template <PointerSize kPointerSize>
63 static std::unique_ptr<JNIMacroAssembler<kPointerSize>> GetMacroAssembler( in GetMacroAssembler()
65 return JNIMacroAssembler<kPointerSize>::Create(allocator, isa, features); in GetMacroAssembler()
73 template <PointerSize kPointerSize>
74 static ThreadOffset<kPointerSize> GetJniEntrypointThreadOffset(JniEntrypoint which, in GetJniEntrypointThreadOffset()
79 ThreadOffset<kPointerSize> jni_start = in GetJniEntrypointThreadOffset()
[all …]
/art/runtime/mirror/
Dmethod.cc28 template <PointerSize kPointerSize>
33 ret->InitializeFromArtMethod<kPointerSize>(method); in CreateFromArtMethod()
43 template <PointerSize kPointerSize>
49 ret->InitializeFromArtMethod<kPointerSize>(method); in CreateFromArtMethod()
Dexecutable.cc25 template <PointerSize kPointerSize>
29 auto* interface_method = method->GetInterfaceMethodIfProxy(kPointerSize); in InitializeFromArtMethod()
Dmethod.h33 template <PointerSize kPointerSize>
44 template <PointerSize kPointerSize>
Darray-inl.h229 template<typename T, PointerSize kPointerSize, VerifyObjectFlags kVerifyFlags>
231 if (kPointerSize == PointerSize::k64) { in GetElementPtrSize()
236 return GetElementPtrSizeUnchecked<T, kPointerSize, kVerifyFlags>(idx); in GetElementPtrSize()
239 template<typename T, PointerSize kPointerSize, VerifyObjectFlags kVerifyFlags>
244 if (kPointerSize == PointerSize::k64) { in GetElementPtrSizeUnchecked()
Dexecutable.h56 template <PointerSize kPointerSize>
Dclass.cc1450 template <PointerSize kPointerSize>
1475 for (auto& m : h_klass->GetDeclaredVirtualMethods(kPointerSize)) { in GetDeclaredMethodInternal()
1479 auto* np_method = m.GetInterfaceMethodIfProxy(kPointerSize); in GetDeclaredMethodInternal()
1491 return Method::CreateFromArtMethod<kPointerSize>(self, &m); in GetDeclaredMethodInternal()
1506 for (auto& m : h_klass->GetDirectMethods(kPointerSize)) { in GetDeclaredMethodInternal()
1511 auto* np_method = m.GetInterfaceMethodIfProxy(kPointerSize); in GetDeclaredMethodInternal()
1530 return Method::CreateFromArtMethod<kPointerSize>(self, &m); in GetDeclaredMethodInternal()
1540 ? Method::CreateFromArtMethod<kPointerSize>(self, result) in GetDeclaredMethodInternal()
1559 template <PointerSize kPointerSize>
1565 ArtMethod* result = klass->GetDeclaredConstructor(self, hs.NewHandle(args), kPointerSize); in GetDeclaredConstructorInternal()
[all …]
Dclass.h754 template <PointerSize kPointerSize>
763 template <PointerSize kPointerSize>
/art/compiler/utils/
Djni_macro_assembler.h80 template <PointerSize kPointerSize>
83 static std::unique_ptr<JNIMacroAssembler<kPointerSize>> Create(
121 virtual void StoreStackOffsetToThread(ThreadOffset<kPointerSize> thr_offs,
124 virtual void StoreStackPointerToThread(ThreadOffset<kPointerSize> thr_offs) = 0;
134 ThreadOffset<kPointerSize> src,
146 virtual void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset<kPointerSize> offs) = 0;
153 virtual void CopyRawPtrFromThread(FrameOffset fr_offs, ThreadOffset<kPointerSize> thr_offs) = 0;
155 virtual void CopyRawPtrToThread(ThreadOffset<kPointerSize> thr_offs,
240 virtual void CallFromThread(ThreadOffset<kPointerSize> offset) = 0;
296 template <typename T, PointerSize kPointerSize>
[all …]
/art/compiler/jni/
Djni_cfi_test.cc55 template <PointerSize kPointerSize>
82 std::unique_ptr<JNIMacroAssembler<kPointerSize>> jni_asm( in TestImplSized()
83 JNIMacroAssembler<kPointerSize>::Create(&allocator, isa)); in TestImplSized()
/art/runtime/gc/space/
Dimage_space.h331 template <PointerSize kPointerSize, typename PatchObjectVisitor, typename PatchCodeVisitor>
333 template <PointerSize kPointerSize, typename HeapVisitor, typename NativeVisitor>
Dimage_space.cc417 template <PointerSize kPointerSize, typename HeapVisitor, typename NativeVisitor>
472 klass->GetFirstReferenceStaticFieldOffset<kVerifyNone>(kPointerSize); in VisitClass()
482 klass->FixupNativePointers<kVerifyNone>(klass.Ptr(), kPointerSize, *this); in VisitClass()
498 pointer_array->ElementAddress<kVerifyNone>(i, kPointerSize)); in VisitPointerArray()
573 if (kPointerSize == PointerSize::k64) { in PatchNativePointer()
621 mirror::DexCache::GetNativePairPtrSize(array, index, kPointerSize); in FixupDexCacheArrayEntry()
624 mirror::DexCache::SetNativePairPtrSize(array, index, pair, kPointerSize); in FixupDexCacheArrayEntry()
1384 template <PointerSize kPointerSize>
1434 PatchObjectVisitor<kPointerSize, ForwardObject, ForwardCode> patch_object_visitor( in RelocateInPlace()
1535 ImtConflictTable* table = method.GetImtConflictTable(kPointerSize); in RelocateInPlace()
[all …]