Home
last modified time | relevance | path

Searched refs:compiler_driver_ (Results 1 – 25 of 29) sorted by relevance

12

/art/compiler/dex/
Dquick_compiler_callbacks.h62 compiler_driver_ = compiler_driver; in SetDoesClassUnloading()
63 DCHECK(!does_class_unloading || compiler_driver_ != nullptr); in SetDoesClassUnloading()
69 CompilerDriver* compiler_driver_ = nullptr; variable
Dquick_compiler_callbacks.cc43 DCHECK(compiler_driver_ != nullptr); in CanAssumeVerified()
47 return compiler_driver_->CanAssumeVerified(ref); in CanAssumeVerified()
Ddex_to_dex_decompiler_test.cc48 compiler_driver_->SetDexFilesForOatFile(GetDexFiles(class_loader)); in CompileAll()
49 compiler_driver_->CompileAll(class_loader, GetDexFiles(class_loader), &timings); in CompileAll()
98 compiler_driver_->GetCompiledMethod(MethodReference(updated_dex_file, method_idx)); in RunTest()
110 compiler_driver_->GetCompiledMethod(MethodReference(updated_dex_file, method_idx)); in RunTest()
/art/compiler/optimizing/
Dinstruction_simplifier.h48 compiler_driver_(compiler_driver) {} in HOptimization()
56 CompilerDriver* compiler_driver_; variable
Dsharpening.h43 compiler_driver_(compiler_driver), in HSharpening()
67 CompilerDriver* compiler_driver_; variable
Dbuilder.h54 compiler_driver_(driver), in HGraphBuilder()
85 compiler_driver_(nullptr), in graph_()
123 CompilerDriver* const compiler_driver_; variable
Dbuilder.cc41 if (compiler_driver_ == nullptr) { in SkipCompilation()
46 const CompilerOptions& compiler_options = compiler_driver_->GetCompilerOptions(); in SkipCompilation()
Dsharpening.cc47 compiler_driver_); in Run()
259 if (compiler_driver_->GetSupportBootImageFixup()) { in ProcessLoadString()
260 DCHECK(ContainsElement(compiler_driver_->GetDexFilesForOatFile(), &dex_file)); in ProcessLoadString()
Dinliner.h53 compiler_driver_(compiler_driver), in HOptimization()
282 CompilerDriver* const compiler_driver_; variable
Dinliner.cc604 const ProfileCompilationInfo* pci = compiler_driver_->GetProfileCompilationInfo(); in GetInlineCacheAOT()
657 for (const DexFile* dex_file : compiler_driver_->GetDexFilesForOatFile()) { in ExtractClassesFromOfflineProfile()
875 load_class, codegen_, compiler_driver_, caller_compilation_unit_); in AddTypeGuard()
1319 if (!compiler_driver_->MayInline(method->GetDexFile(), in TryBuildAndInline()
1345 size_t inline_max_code_units = compiler_driver_->GetCompilerOptions().GetInlineMaxCodeUnits(); in TryBuildAndInline()
1371 !compiler_driver_->IsMethodVerifiedWithoutFailures( in TryBuildAndInline()
1647 compiler_driver_->GetInstructionSet(), in TryBuildAndInlineHelper()
1672 compiler_driver_, in TryBuildAndInlineHelper()
1687 compiler_driver_->GetInstructionSet())) { in TryBuildAndInlineHelper()
1888 HSharpening sharpening(callee_graph, codegen_, dex_compilation_unit, compiler_driver_, handles_); in RunOptimizations()
[all …]
Dinstruction_builder.h67 compiler_driver_(driver), in HInstructionBuilder()
341 CompilerDriver* const compiler_driver_; variable
Dloop_optimization.h182 const CompilerDriver* compiler_driver_; variable
Dinstruction_builder.cc277 const bool native_debuggable = compiler_driver_ != nullptr && in Build()
278 compiler_driver_->GetCompilerOptions().GetNativeDebuggable(); in Build()
665 if (RequiresConstructorBarrier(dex_compilation_unit_, compiler_driver_)) { in BuildReturn()
676 DCHECK(!RequiresConstructorBarrier(dex_compilation_unit_, compiler_driver_)); in BuildReturn()
1057 compiler_driver_->CanAssumeClassIsLoaded(cls.Get())) { in IsInitialized()
1346 return GetClassFrom(compiler_driver_, *outer_compilation_unit_); in GetOutermostCompilingClass()
1350 return GetClassFrom(compiler_driver_, *dex_compilation_unit_); in GetCompilingClass()
1358 Handle<mirror::Class> cls(hs.NewHandle(compiler_driver_->ResolveClass( in IsOutermostCompilingClass()
1714 Handle<mirror::Class> klass = handles_->NewHandle(compiler_driver_->ResolveClass( in BuildLoadClass()
1760 compiler_driver_, in BuildLoadClass()
[all …]
/art/compiler/jit/
Djit_compiler.cc140 compiler_driver_.reset(new CompilerDriver( in JitCompiler()
156 compiler_driver_->SetDedupeEnabled(false); in JitCompiler()
157 compiler_driver_->SetSupportBootImageFixup(false); in JitCompiler()
159 size_t thread_count = compiler_driver_->GetThreadCount(); in JitCompiler()
187 success = compiler_driver_->GetCompiler()->JitCompile( in CompileMethod()
Djit_compiler.h46 return compiler_driver_.get(); in GetCompilerDriver()
52 std::unique_ptr<CompilerDriver> compiler_driver_; variable
/art/compiler/
Dcommon_compiler_test.cc53 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, in MakeExecutable()
187 compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), in CreateCompilerDriver()
202 compiler_driver_->SetSupportBootImageFixup(false); in CreateCompilerDriver()
225 DCHECK(compiler_driver_.get() != nullptr); in GetInstructionSet()
226 return compiler_driver_->GetInstructionSet(); in GetInstructionSet()
231 compiler_driver_.reset(); in TearDown()
257 compiler_driver_->CompileOne(Thread::Current(), method, &timings); in CompileMethod()
Dcompiled_method.cc27 : compiler_driver_(compiler_driver), in CompiledCode()
29 quick_code_(compiler_driver_->GetCompiledMethodStorage()->DeduplicateCode(quick_code)) { in CompiledCode()
33 compiler_driver_->GetCompiledMethodStorage()->ReleaseCode(quick_code_); in ~CompiledCode()
Doat_test.cc69 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, in CheckMethod()
111 compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), in SetupCompiler()
187 compiler_driver_->GetInstructionSet(), in DoWriteElf()
188 compiler_driver_->GetInstructionSetFeatures(), in DoWriteElf()
189 &compiler_driver_->GetCompilerOptions(), in DoWriteElf()
197 compiler_driver_->GetInstructionSet(), in DoWriteElf()
198 compiler_driver_->GetInstructionSetFeatures(), in DoWriteElf()
215 linker::MultiOatRelativePatcher patcher(compiler_driver_->GetInstructionSet(), in DoWriteElf()
217 oat_writer.Initialize(compiler_driver_.get(), nullptr, dex_files); in DoWriteElf()
402 compiler_driver_->SetDexFilesForOatFile(class_linker->GetBootClassPath()); in TEST_F()
[all …]
Doat_writer.h180 compiler_driver_ = compiler; in Initialize()
243 return compiler_driver_; in GetCompilerDriver()
358 const CompilerDriver* compiler_driver_; variable
Dcommon_compiler_test.h108 std::unique_ptr<CompilerDriver> compiler_driver_; variable
Doat_writer.cc321 compiler_driver_(nullptr), in OatWriter()
609 InstructionSet instruction_set = compiler_driver_->GetInstructionSet(); in PrepareLayout()
751 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod( in VisitMethod()
818 writer_->compiler_driver_->GetCompiledMethod(MethodReference(dex_file_, method_idx)); in VisitMethod()
829 bool found = writer_->compiler_driver_->GetCompiledClass(class_ref, &status); in EndClass()
831 VerificationResults* results = writer_->compiler_driver_->GetVerificationResults(); in EndClass()
868 writer_->compiler_driver_->GetNonRelativeLinkerPatchCount()); in InitCodeMethodVisitor()
975 const CompilerOptions& compiler_options = writer_->compiler_driver_->GetCompilerOptions(); in VisitMethod()
1133 pointer_size_(GetInstructionSetPointerSize(writer_->compiler_driver_->GetInstructionSet())), in InitImageMethodVisitor()
1279 pointer_size_(GetInstructionSetPointerSize(writer_->compiler_driver_->GetInstructionSet())), in WriteCodeMethodVisitor()
[all …]
Dimage_test.h378 helper.Compile(compiler_driver_.get(), storage_mode); in Compile()
414 ASSERT_TRUE(compiler_driver_->GetImageClasses() != nullptr); in TestWriteRead()
415 std::unordered_set<std::string> image_classes(*compiler_driver_->GetImageClasses()); in TestWriteRead()
418 compiler_driver_.reset(); in TestWriteRead()
Dcompiled_method.h83 return compiler_driver_; in GetCompilerDriver()
87 CompilerDriver* const compiler_driver_;
Dverifier_deps_test.cc83 compiler_driver_->InitializeThreadPools(); in SetupCompilerDriver()
96 compiler_driver_->Verify(class_loader_, dex_files_, &timings); in VerifyWithCompilerDriver()
101 &compiler_driver_->GetVerificationResults()->atomic_verified_methods_; in VerifyWithCompilerDriver()
129 compiler_driver_->GetVerificationResults()->AddDexFile(dex_file); in LoadDexFile()
131 compiler_driver_->SetDexFilesForOatFile(dex_files_); in LoadDexFile()
/art/compiler/driver/
Dcompiler_driver_test.cc47 compiler_driver_->SetDexFilesForOatFile(dex_files_);; in CompileAll()
48 compiler_driver_->CompileAll(class_loader, dex_files_, &timings); in CompileAll()
348 bool found = compiler_driver_->GetCompiledClass( in CheckVerifiedClass()
387 compiler_driver_->SetDexFilesForOatFile(dex_files); in TEST_F()
388 callbacks_->SetDoesClassUnloading(true, compiler_driver_.get()); in TEST_F()
400 compiler_driver_->RecordClassStatus(ref, expected_status); in TEST_F()
402 ASSERT_TRUE(compiler_driver_->GetCompiledClass(ref, &status)); in TEST_F()

12