Lines Matching refs:driver

47 #include "driver/compiler_options.h"
497 Thread* self, const CompilerDriver& driver, Handle<mirror::ClassLoader> class_loader,
501 if (runtime->UseJitCompilation() || driver.GetCompilerOptions().VerifyAtRuntime()) {
534 const CompilerDriver& driver,
542 return GetDexToDexCompilationLevel(self, driver, class_loader, dex_file, class_def);
561 CompilerDriver* driver,
572 REQUIRES(!driver->compiled_methods_lock_) {
573 DCHECK(driver != nullptr);
578 if (driver->GetCurrentDexToDexMethods() != nullptr) {
582 if (driver->GetCurrentDexToDexMethods()->IsBitSet(method_idx)) {
584 driver->GetVerificationResults()->GetVerifiedMethod(method_ref);
588 driver,
602 if (!driver->GetCompilerOptions().IsJniCompilationEnabled() &&
603 InstructionSetHasGenericJniStub(driver->GetInstructionSet())) {
606 compiled_method = driver->GetCompiler()->JniCompile(access_flags, method_idx, dex_file);
613 driver->GetVerificationResults()->GetVerifiedMethod(method_ref);
616 driver->GetVerificationResults()
625 driver->IsMethodToCompile(method_ref) &&
626 driver->ShouldCompileBasedOnProfile(method_ref);
630 compiled_method = driver->GetCompiler()->Compile(code_item, access_flags, invoke_type,
638 driver->MarkForDexToDexCompilation(self, method_ref);
643 if (duration_ns > MsToNs(driver->GetCompiler()->GetMaximumCompilationTimeBeforeWarning())) {
657 bool compile_pic = driver->GetCompilerOptions().GetCompilePic(); // Off by default
661 driver->AddCompiledMethod(method_ref, compiled_method, non_relative_linker_patch_count);
784 static void ResolveConstStrings(CompilerDriver* driver,
800 driver->CanAssumeStringIsPresentInDexCache(dex_file, string_index);
805 driver->CanAssumeStringIsPresentInDexCache(dex_file, string_index);
817 static void ResolveConstStrings(CompilerDriver* driver,
842 bool compilation_enabled = driver->IsClassToCompile(
861 ResolveConstStrings(driver, *dex_file, it.GetMethodCodeItem());
875 ResolveConstStrings(driver, *dex_file, it.GetMethodCodeItem());
2645 CompilerDriver* const driver = manager_->GetCompiler();
2649 GetDexToDexCompilationLevel(soa.Self(), *driver, jclass_loader, dex_file, class_def);
2660 bool compilation_enabled = driver->IsClassToCompile(
2674 CompileMethod(soa.Self(), driver, it.GetMethodCodeItem(), it.GetMethodAccessFlags(),
2691 CompileMethod(soa.Self(), driver, it.GetMethodCodeItem(), it.GetMethodAccessFlags(),
2892 new ThreadPool("Compiler driver thread pool", parallel_count));
2893 single_thread_pool_.reset(new ThreadPool("Single-threaded Compiler driver thread pool", 0));