Home
last modified time | relevance | path

Searched refs:mUnit (Results 1 – 7 of 7) sorted by relevance

/art/compiler/driver/
Dcompiler_driver-inl.h33 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 …]
Dcompiler_driver.h225 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 …]
Dcompiler_driver.cc1257 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/
Dmir_field_info.cc33 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 …]
Dmir_method_info.cc35 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()
Dmir_field_info.h136 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,
193 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,
Dmir_method_info.h100 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,