/art/compiler/utils/ |
D | jni_macro_assembler.cc | 104 template <PointerSize kPointerSize> 105 void JNIMacroAssembler<kPointerSize>::LoadGcRootWithoutReadBarrier(ManagedRegister dest, in LoadGcRootWithoutReadBarrier() 121 template <PointerSize kPointerSize> 122 void JNIMacroAssembler<kPointerSize>::LoadStackReference(ManagedRegister dest, FrameOffset offs) { in LoadStackReference() 134 template <PointerSize kPointerSize> 135 void JNIMacroAssembler<kPointerSize>::LoadLocalReferenceTableStates( in LoadLocalReferenceTableStates() 140 const MemberOffset previous_state_offset = JNIEnvExt::LrtPreviousStateOffset(kPointerSize); in LoadLocalReferenceTableStates() 141 const MemberOffset current_state_offset = JNIEnvExt::LrtSegmentStateOffset(kPointerSize); in LoadLocalReferenceTableStates() 158 template <PointerSize kPointerSize> 159 void JNIMacroAssembler<kPointerSize>::StoreLocalReferenceTableStates( in StoreLocalReferenceTableStates() [all …]
|
D | jni_macro_assembler.h | 80 template <PointerSize kPointerSize> 83 static std::unique_ptr<JNIMacroAssembler<kPointerSize>> Create( 127 virtual void StoreStackPointerToThread(ThreadOffset<kPointerSize> thr_offs, bool tag_sp) = 0; 132 virtual void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset<kPointerSize> offs) = 0; 196 virtual void CallFromThread(ThreadOffset<kPointerSize> offset) = 0; 278 template <typename T, PointerSize kPointerSize> 279 class JNIMacroAssemblerFwd : public JNIMacroAssembler<kPointerSize> {
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 54 template <PointerSize kPointerSize> 55 static void SetNativeParameter(JNIMacroAssembler<kPointerSize>* jni_asm, 59 template <PointerSize kPointerSize> 60 static void CallDecodeReferenceResult(JNIMacroAssembler<kPointerSize>* jni_asm, 65 template <PointerSize kPointerSize> 66 static std::unique_ptr<JNIMacroAssembler<kPointerSize>> GetMacroAssembler( in GetMacroAssembler() 68 return JNIMacroAssembler<kPointerSize>::Create(allocator, isa, features); in GetMacroAssembler() 77 template <PointerSize kPointerSize> 82 constexpr size_t kRawPointerSize = static_cast<size_t>(kPointerSize); in ArtJniCompileMethodInternal() 162 std::unique_ptr<JNIMacroAssembler<kPointerSize>> jni_asm = in ArtJniCompileMethodInternal() [all …]
|
/art/runtime/mirror/ |
D | method.cc | 28 template <PointerSize kPointerSize> 33 ret->InitializeFromArtMethod<kPointerSize>(method); in CreateFromArtMethod() 43 template <PointerSize kPointerSize> 49 ret->InitializeFromArtMethod<kPointerSize>(method); in CreateFromArtMethod()
|
D | executable.cc | 25 template <PointerSize kPointerSize> 29 auto* interface_method = method->GetInterfaceMethodIfProxy(kPointerSize); in InitializeFromArtMethod()
|
D | method.h | 36 template <PointerSize kPointerSize> 49 template <PointerSize kPointerSize>
|
D | array-inl.h | 233 template<typename T, PointerSize kPointerSize, VerifyObjectFlags kVerifyFlags> 235 if (kPointerSize == PointerSize::k64) { in GetElementPtrSize() 240 return GetElementPtrSizeUnchecked<T, kPointerSize, kVerifyFlags>(idx); in GetElementPtrSize() 243 template<typename T, PointerSize kPointerSize, VerifyObjectFlags kVerifyFlags> 251 if (kPointerSize == PointerSize::k64) { in GetElementPtrSizeUnchecked()
|
D | executable.h | 59 template <PointerSize kPointerSize>
|
D | class.cc | 1865 template <PointerSize kPointerSize> 1890 for (auto& m : h_klass->GetDeclaredVirtualMethods(kPointerSize)) { in GetDeclaredMethodInternal() 1894 ArtMethod* np_method = m.GetInterfaceMethodIfProxy(kPointerSize); in GetDeclaredMethodInternal() 1908 return Method::CreateFromArtMethod<kPointerSize>(self, &m); in GetDeclaredMethodInternal() 1923 for (auto& m : h_klass->GetDirectMethods(kPointerSize)) { in GetDeclaredMethodInternal() 1928 ArtMethod* np_method = m.GetInterfaceMethodIfProxy(kPointerSize); in GetDeclaredMethodInternal() 1945 return Method::CreateFromArtMethod<kPointerSize>(self, &m); in GetDeclaredMethodInternal() 1955 ? Method::CreateFromArtMethod<kPointerSize>(self, result) in GetDeclaredMethodInternal() 1974 template <PointerSize kPointerSize> 1980 ArtMethod* result = klass->GetDeclaredConstructor(self, hs.NewHandle(args), kPointerSize); in GetDeclaredConstructorInternal() [all …]
|
D | class.h | 768 template <PointerSize kPointerSize> 777 template <PointerSize kPointerSize>
|
/art/runtime/ |
D | nterp_helpers.cc | 89 static constexpr size_t kPointerSize = static_cast<size_t>(kRuntimePointerSize); variable 198 kPointerSize + // method in NterpGetReferenceArray() 199 RoundUp(out_regs * kVRegSize, kPointerSize) + // out arguments and pointer alignment in NterpGetReferenceArray() 200 kPointerSize + // saved dex pc in NterpGetReferenceArray() 201 kPointerSize; // previous frame. in NterpGetReferenceArray() 207 kPointerSize + // method in NterpGetDexPC() 208 RoundUp(out_regs * kVRegSize, kPointerSize); // out arguments and pointer alignment in NterpGetDexPC()
|
D | class_linker.cc | 1970 template <PointerSize kPointerSize> 1978 CHECK_EQ(kPointerSize, space->GetImageHeader().GetPointerSize()); in CheckObjects() 1998 for (ArtMethod& m : klass->GetMethods(kPointerSize)) { in CheckObjects() 2007 ImTable* imt = klass->GetImt(kPointerSize); in CheckObjects() 2009 ic.CheckArtMethod(imt->Get(i, kPointerSize), /*expected_class=*/ nullptr); in CheckObjects() 2014 ic.CheckArtMethod(klass->GetEmbeddedVTableEntry(i, kPointerSize), in CheckObjects() 2070 auto* method = arr->GetElementPtrSize<ArtMethod*>(j, kPointerSize); in CheckArtMethodPointerArray() 7209 template <PointerSize kPointerSize> 7227 ArtMethod* m1 = vtable->GetElementPtrSize<ArtMethod*, kPointerSize>(i); in CheckVTableHasNoDuplicates() 7228 ArtMethod* m2 = vtable->GetElementPtrSize<ArtMethod*, kPointerSize>(j); in CheckVTableHasNoDuplicates() [all …]
|
D | art_method-inl.h | 638 template<PointerSize kPointerSize, typename RootVisitorType> 645 static constexpr size_t kMethodSize = ArtMethod::Size(kPointerSize); 646 ArtMethod* first_method = &array->At(0, kMethodSize, ArtMethod::Alignment(kPointerSize));
|
D | reflection.cc | 697 template <PointerSize kPointerSize> 740 m = receiver->GetClass()->FindVirtualMethodForVirtualOrInterface(m, kPointerSize); in InvokeMethod() 747 auto* np_method = m->GetInterfaceMethodIfProxy(kPointerSize); in InvokeMethod()
|
D | art_method.h | 117 template<PointerSize kPointerSize, typename RootVisitorType>
|
D | class_linker.h | 998 template <PointerSize kPointerSize>
|
/art/compiler/jni/ |
D | jni_cfi_test.cc | 53 template <PointerSize kPointerSize> 81 std::unique_ptr<JNIMacroAssembler<kPointerSize>> jni_asm( in TestImplSized() 82 JNIMacroAssembler<kPointerSize>::Create(&allocator, isa)); in TestImplSized()
|
/art/runtime/gc/space/ |
D | image_space.cc | 266 template <PointerSize kPointerSize, typename HeapVisitor, typename NativeVisitor> 321 klass->GetFirstReferenceStaticFieldOffset<kVerifyNone>(kPointerSize); in VisitClass() 331 klass->FixupNativePointers<kVerifyNone>(klass.Ptr(), kPointerSize, *this); in VisitClass() 347 pointer_array->ElementAddress<kVerifyNone>(i, kPointerSize)); in VisitPointerArray() 385 DCHECK_ALIGNED(array, static_cast<size_t>(kPointerSize)); in VisitNativeDexCacheArray() 386 uint32_t size = (kPointerSize == PointerSize::k32) in VisitNativeDexCacheArray() 390 PatchNativePointer(array->GetPtrEntryPtrSize(i, kPointerSize)); in VisitNativeDexCacheArray() 451 if (kPointerSize == PointerSize::k64) { in PatchNativePointer() 1245 template <PointerSize kPointerSize> 1298 PatchObjectVisitor<kPointerSize, ForwardObject, ForwardCode> patch_object_visitor( in RelocateInPlace() [all …]
|
D | image_space.h | 521 template <PointerSize kPointerSize, typename PatchObjectVisitor, typename PatchCodeVisitor> 523 template <PointerSize kPointerSize, typename HeapVisitor, typename NativeVisitor>
|