Home
last modified time | relevance | path

Searched refs:compiler_driver (Results 1 – 25 of 30) sorted by relevance

12

/art/compiler/dex/
Dmir_field_info.cc31 void MirIFieldLoweringInfo::Resolve(CompilerDriver* compiler_driver, 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()
62 compiler_driver->GetResolvedFieldDexFileLocation(resolved_field, in Resolve()
64 bool is_volatile = compiler_driver->IsFieldVolatile(resolved_field); in Resolve()
66 std::pair<bool, bool> fast_path = compiler_driver->IsFastInstanceField( in Resolve()
75 void MirSFieldLoweringInfo::Resolve(CompilerDriver* compiler_driver, in Resolve() argument
94 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve()
[all …]
Dmir_method_info.cc29 void MirMethodLoweringInfo::Resolve(CompilerDriver* compiler_driver, 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()
66 compiler_driver->ResolveMethod(soa, dex_cache, class_loader, mUnit, it->MethodIndex(), in Resolve()
71 compiler_driver->GetResolvedMethodDexFileLocation(resolved_method, in Resolve()
73 it->vtable_idx_ = compiler_driver->GetResolvedMethodVTableIndex(resolved_method, invoke_type); in Resolve()
76 int fast_path_flags = compiler_driver->IsFastInvoke( in Resolve()
80 compiler_driver->NeedsClassInitialization(referrer_class.Get(), resolved_method); in Resolve()
Dcompiler_ir.h52 CompilerDriver* compiler_driver; member
70 return compiler_driver->GetInstructionSetFeatures(); in GetInstructionSetFeatures()
Dmir_analysis.cc970 if (cu_->compiler_driver->GetCompilerOptions().IsSmallMethod(GetNumDalvikInsns()) && in ComputeSkipCompilation()
996 if (cu_->compiler_driver->GetCompilerOptions().IsSmallMethod(GetNumDalvikInsns()) && in ComputeSkipCompilation()
1010 const CompilerOptions& compiler_options = cu_->compiler_driver->GetCompilerOptions(); in SkipCompilation()
1081 if (cu_->compiler_driver->GetMethodInlinerMap() != nullptr && in SkipCompilation()
1082 cu_->compiler_driver->GetMethodInlinerMap()->GetMethodInliner(cu_->dex_file) in SkipCompilation()
1168 MirIFieldLoweringInfo::Resolve(cu_->compiler_driver, GetCurrentDexCompilationUnit(), in DoCacheFieldLoweringInfo()
1180 MirSFieldLoweringInfo::Resolve(cu_->compiler_driver, GetCurrentDexCompilationUnit(), in DoCacheFieldLoweringInfo()
1295 MirMethodLoweringInfo::Resolve(cu_->compiler_driver, GetCurrentDexCompilationUnit(), in DoCacheMethodLoweringInfo()
1300 return cu_->compiler_driver->SkipCompilation(methodname); in SkipCompilationByName()
Dmir_field_info.h105 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,
152 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,
Dfrontend.cc480 : compiler_driver(nullptr), in CompilationUnit()
514 if (compiler_driver->GetDumpPasses()) { in StartTimingSplit()
520 if (compiler_driver->GetDumpPasses()) { in NewTimingSplit()
527 if (compiler_driver->GetDumpPasses()) { in EndTiming()
650 cu.compiler_driver = &driver; in CompileMethod()
742 if (cu.compiler_driver->ProfilePresent() in CompileMethod()
Dmir_method_info.h97 static void Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit,
Dmir_optimization.cc1209 MirIFieldLoweringInfo::Resolve(cu_->compiler_driver, &inlined_unit, &inlined_field_info, 1u); in ComputeInlineIFieldLoweringInfo()
1224 if (cu_->compiler_driver->GetMethodInlinerMap() == nullptr) { in InlineSpecialMethodsGate()
1265 DCHECK(cu_->compiler_driver->GetMethodInlinerMap() != nullptr); in InlineSpecialMethods()
1267 if (cu_->compiler_driver->GetMethodInlinerMap()->GetMethodInliner(target.dex_file) in InlineSpecialMethods()
/art/compiler/
Dcompiled_method.cc22 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, in CompiledCode() argument
24 : compiler_driver_(compiler_driver), instruction_set_(instruction_set), in CompiledCode()
29 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, in CompiledCode() argument
31 : compiler_driver_(compiler_driver), instruction_set_(instruction_set), in CompiledCode()
Dcompiled_method.h38 CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set,
42 CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set,
Dimage_writer.h40 explicit ImageWriter(const CompilerDriver& compiler_driver) in ImageWriter() argument
41 : compiler_driver_(compiler_driver), oat_file_(NULL), image_end_(0), image_begin_(NULL), in ImageWriter()
Doat_writer.cc449 const CompilerDriver* compiler_driver = writer_->compiler_driver_; in VisitMethod() local
451 CompiledClass* compiled_class = compiler_driver->GetCompiledClass(class_ref); in VisitMethod()
455 } else if (compiler_driver->GetVerificationResults()->IsClassRejected(class_ref)) { in VisitMethod()
DAndroid.mk76 driver/compiler_driver.cc \
/art/compiler/dex/quick/
Dgen_common.cc160 if (!cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in GenNullCheck()
175 if (cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in MarkPossibleNullPointerException()
185 if (cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in MarkPossibleNullPointerExceptionAfter()
194 if (cu_->compiler_driver->GetCompilerOptions().GetImplicitStackOverflowChecks()) { in MarkPossibleStackOverflowException()
200 if (cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in ForceImplicitNullCheck()
353 CompilerDriver* driver = cu_->compiler_driver; in GenNewArray()
354 if (cu_->compiler_driver->CanAccessTypeWithoutChecks(cu_->method_idx, *dex_file, type_idx)) { in GenNewArray()
393 if (cu_->compiler_driver->CanAccessTypeWithoutChecks(cu_->method_idx, *cu_->dex_file, in GenFilledNewArray()
530 cu_->compiler_driver->ProcessedStaticField(field_info.FastPut(), field_info.IsReferrersClass()); in GenSput()
619 cu_->compiler_driver->ProcessedStaticField(field_info.FastGet(), field_info.IsReferrersClass()); in GenSget()
[all …]
Dcodegen_util.cc467 cu_->compiler_driver->AddCodePatch(cu_->dex_file, in InstallLiteralPools()
485 cu_->compiler_driver->AddMethodPatch(cu_->dex_file, in InstallLiteralPools()
502 cu_->compiler_driver->AddClassPatch(cu_->dex_file, in InstallLiteralPools()
1018 DCHECK(cu_->compiler_driver->GetMethodInlinerMap() != nullptr); in Materialize()
1019 bool special_worked = cu_->compiler_driver->GetMethodInlinerMap()->GetMethodInliner(cu_->dex_file) in Materialize()
1082 new CompiledMethod(cu_->compiler_driver, cu_->instruction_set, code_buffer_, frame_size_, in GetCompiledMethod()
Dgen_invoke.cc858 if (!cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in GenDalvikArgsNoRange()
1096 if (!cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in GenDalvikArgsRange()
1160 if (!cu_->compiler_driver->CanEmbedTypeInCode(*ref_dex_file, type_idx, &unused_type_initialized, in GenInlinedReferenceGetReferent()
1708 DCHECK(cu_->compiler_driver->GetMethodInlinerMap() != nullptr); in GenInvoke()
1709 if (cu_->compiler_driver->GetMethodInlinerMap()->GetMethodInliner(cu_->dex_file) in GenInvoke()
1751 cu_->compiler_driver->ProcessedInvoke(method_info.GetInvokeType(), method_info.StatsFlags()); in GenInvokeNoInline()
Dmir_to_lir.cc437 cu_->compiler_driver->RequiresConstructorBarrier(Thread::Current(), cu_->dex_file, in CompileDalvikInstruction()
702 is_safe = cu_->compiler_driver->IsSafeCast(unit, mir->offset); in CompileDalvikInstruction()
/art/compiler/driver/
Ddex_compilation_unit.cc35 verified_method_(cu_->compiler_driver->GetVerifiedMethod(cu->dex_file, cu->method_idx)) { in DexCompilationUnit()
/art/compiler/dex/quick/arm64/
Dcall_arm64.cc203 if (!cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in GenMonitorEnter()
251 if (!cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in GenMonitorExit()
339 !cu_->compiler_driver->GetCompilerOptions().GetImplicitStackOverflowChecks(); in GenEntrySequence()
/art/compiler/dex/quick/x86/
Dcall_x86.cc227 cu_->compiler_driver->GetCompilerOptions().GetImplicitStackOverflowChecks()) { in GenEntrySequence()
263 if (!cu_->compiler_driver->GetCompilerOptions().GetImplicitStackOverflowChecks()) { in GenEntrySequence()
Dutility_x86.cc1061 DCHECK(cu_->compiler_driver->GetMethodInlinerMap() != nullptr); in AnalyzeInvokeStatic()
1063 cu_->compiler_driver->GetMethodInlinerMap()->GetMethodInliner(cu_->dex_file); in AnalyzeInvokeStatic()
Dtarget_x86.cc1064 cu_->compiler_driver->AddMethodPatch(cu_->dex_file, cu_->class_def_idx, in InstallLiteralPools()
1079 cu_->compiler_driver->AddClassPatch(cu_->dex_file, cu_->class_def_idx, in InstallLiteralPools()
1093 cu_->compiler_driver->AddRelativeCodePatch(cu_->dex_file, cu_->class_def_idx, in InstallLiteralPools()
2812 if (!cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in GenDalvikArgsRange()
/art/compiler/dex/quick/arm/
Dcall_arm.cc191 if (!cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in GenMonitorEnter()
262 if (!cu_->compiler_driver->GetCompilerOptions().GetImplicitNullChecks()) { in GenMonitorExit()
362 !cu_->compiler_driver->GetCompilerOptions().GetImplicitStackOverflowChecks(); in GenEntrySequence()
Dutility_arm.cc974 !cu_->compiler_driver->GetInstructionSetFeatures().HasLpae())) { in LoadBaseDisp()
1098 !cu_->compiler_driver->GetInstructionSetFeatures().HasLpae())) { in StoreBaseDisp()
/art/dex2oat/
Ddex2oat.cc328 bool PatchOatCode(const CompilerDriver* compiler_driver, File* oat_file, in PatchOatCode() argument
340 return ElfPatcher::Patch(compiler_driver, elf_file.get(), oat_location, error_msg); in PatchOatCode()

12