/art/compiler/driver/ |
D | compiler_driver-inl.h | 34 inline mirror::DexCache* CompilerDriver::GetDexCache(const DexCompilationUnit* mUnit) { in GetDexCache() argument 35 return mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()); in GetDexCache() 39 const DexCompilationUnit* mUnit) { in GetClassLoader() argument 40 return soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()); in GetClassLoader() 45 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit) { in ResolveCompilingMethodsClass() argument 46 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveCompilingMethodsClass() 47 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveCompilingMethodsClass() 49 mUnit->GetDexFile()->GetMethodId(mUnit->GetDexMethodIndex()); in ResolveCompilingMethodsClass() 50 mirror::Class* referrer_class = mUnit->GetClassLinker()->ResolveType( in ResolveCompilingMethodsClass() 51 *mUnit->GetDexFile(), referrer_method_id.class_idx_, dex_cache, class_loader); in ResolveCompilingMethodsClass() [all …]
|
D | compiler_driver.h | 224 mirror::DexCache* GetDexCache(const DexCompilationUnit* mUnit) 227 mirror::ClassLoader* GetClassLoader(ScopedObjectAccess& soa, const DexCompilationUnit* mUnit) 233 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit) 240 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, 270 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, 289 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, 304 bool ComputeInstanceFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, bool is_put, 309 const DexCompilationUnit* mUnit, 317 bool ComputeStaticFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, bool is_put, 324 bool ComputeInvokeInfo(const DexCompilationUnit* mUnit, const uint32_t dex_pc, [all …]
|
D | compiler_driver.cc | 1064 const DexCompilationUnit* mUnit, in ComputeInstanceFieldInfo() argument 1074 hs.NewHandle(mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()))); in ComputeInstanceFieldInfo() 1076 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeInstanceFieldInfo() 1078 ResolveField(soa, dex_cache_handle, class_loader_handle, mUnit, field_idx, false))); in ComputeInstanceFieldInfo() 1080 ? ResolveCompilingMethodsClass(soa, dex_cache_handle, class_loader_handle, mUnit) : nullptr; in ComputeInstanceFieldInfo() 1094 bool CompilerDriver::ComputeInstanceFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, in ComputeInstanceFieldInfo() argument 1100 hs.NewHandle(ComputeInstanceFieldInfo(field_idx, mUnit, is_put, soa)); in ComputeInstanceFieldInfo() 1114 bool CompilerDriver::ComputeStaticFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, in ComputeStaticFieldInfo() argument 1126 hs.NewHandle(mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()))); in ComputeStaticFieldInfo() 1128 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeStaticFieldInfo() [all …]
|
/art/compiler/dex/ |
D | mir_field_info.cc | 32 const DexCompilationUnit* mUnit, in Resolve() argument 47 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 49 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve() 51 compiler_driver->ResolveCompilingMethodsClass(soa, dex_cache, class_loader, mUnit))); in Resolve() 58 compiler_driver->ResolveField(soa, dex_cache, class_loader, mUnit, field_idx, false); in Resolve() 76 const DexCompilationUnit* mUnit, in Resolve() argument 94 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 96 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve() 98 compiler_driver->ResolveCompilingMethodsClass(soa, dex_cache, class_loader, mUnit))); in Resolve() 105 compiler_driver->ResolveField(soa, dex_cache, class_loader, mUnit, field_idx, true); in Resolve()
|
D | mir_method_info.cc | 30 const DexCompilationUnit* mUnit, in Resolve() argument 49 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 51 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve() 53 compiler_driver->ResolveCompilingMethodsClass(soa, dex_cache, class_loader, mUnit))); in Resolve() 61 it->target_dex_file_ = mUnit->GetDexFile(); in Resolve() 66 compiler_driver->ResolveMethod(soa, dex_cache, class_loader, mUnit, it->MethodIndex(), in Resolve() 75 MethodReference target_method(mUnit->GetDexFile(), it->MethodIndex()); in Resolve() 77 soa, dex_cache, class_loader, mUnit, referrer_class.Get(), resolved_method, &invoke_type, in Resolve()
|
D | mir_field_info.h | 105 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit, 152 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,
|
D | mir_method_info.h | 97 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,
|