/art/compiler/driver/ |
D | compiler_driver-inl.h | 33 inline mirror::DexCache* CompilerDriver::GetDexCache(const DexCompilationUnit* mUnit) { in GetDexCache() argument 34 return mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()); in GetDexCache() 38 const DexCompilationUnit* mUnit) { in GetClassLoader() argument 39 return soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()); in GetClassLoader() 45 const DexCompilationUnit* mUnit) { in ResolveClass() argument 46 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveClass() 47 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveClass() 48 mirror::Class* cls = mUnit->GetClassLinker()->ResolveType( in ResolveClass() 49 *mUnit->GetDexFile(), cls_index, dex_cache, class_loader); in ResolveClass() 60 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit) { in ResolveCompilingMethodsClass() argument [all …]
|
D | compiler_driver.h | 225 mirror::DexCache* GetDexCache(const DexCompilationUnit* mUnit) 228 mirror::ClassLoader* GetClassLoader(ScopedObjectAccess& soa, const DexCompilationUnit* mUnit) 234 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit) 240 const DexCompilationUnit* mUnit) 247 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, 308 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, 327 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, 347 void ComputeFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, 355 bool ComputeInstanceFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, bool is_put, 360 const DexCompilationUnit* mUnit, [all …]
|
D | compiler_driver.cc | 1257 const DexCompilationUnit* mUnit, bool is_put, in ComputeInstanceFieldInfo() argument 1266 hs.NewHandle(mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()))); in ComputeInstanceFieldInfo() 1268 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeInstanceFieldInfo() 1270 ResolveField(soa, dex_cache_handle, class_loader_handle, mUnit, field_idx, false); in ComputeInstanceFieldInfo() 1272 ? ResolveCompilingMethodsClass(soa, dex_cache_handle, class_loader_handle, mUnit) : nullptr; in ComputeInstanceFieldInfo() 1285 bool CompilerDriver::ComputeInstanceFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, in ComputeInstanceFieldInfo() argument 1289 ArtField* resolved_field = ComputeInstanceFieldInfo(field_idx, mUnit, is_put, soa); in ComputeInstanceFieldInfo() 1303 bool CompilerDriver::ComputeStaticFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, in ComputeStaticFieldInfo() argument 1316 hs.NewHandle(mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()))); in ComputeStaticFieldInfo() 1318 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()))); in ComputeStaticFieldInfo() [all …]
|
/art/compiler/dex/ |
D | mir_field_info.cc | 33 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() 54 const VerifiedMethod* const verified_method = mUnit->GetVerifiedMethod(); in Resolve() 62 resolved_field = compiler_driver->ResolveField(soa, dex_cache, class_loader, mUnit, in Resolve() 96 const DexCompilationUnit* mUnit, in Resolve() argument 114 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 116 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve() 118 compiler_driver->ResolveCompilingMethodsClass(soa, dex_cache, class_loader, mUnit))); in Resolve() [all …]
|
D | mir_method_info.cc | 35 const DexCompilationUnit* mUnit, in Resolve() argument 58 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 60 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve() 62 compiler_driver->ResolveCompilingMethodsClass(soa, dex_cache, class_loader, mUnit))); in Resolve() 67 const DexFile* const dex_file = mUnit->GetDexFile(); in Resolve() 69 const VerifiedMethod* const verified_method = mUnit->GetVerifiedMethod(); in Resolve() 98 resolved_method = compiler_driver->ResolveMethod(soa, dex_cache, class_loader, mUnit, in Resolve() 111 mUnit->GetCompilationUnit(), mUnit->GetClassLoader(), mUnit->GetClassLinker(), in Resolve() 153 soa, current_dex_cache, class_loader, mUnit, referrer_class.Get(), resolved_method, in Resolve()
|
D | mir_field_info.h | 136 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit, 193 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,
|
D | mir_method_info.h | 100 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,
|