Home
last modified time | relevance | path

Searched refs:compiler_options_ (Results 1 – 25 of 33) sorted by relevance

12

/aosp12/art/dex2oat/
H A Dcommon_compiler_driver_test.cc44 &compiler_options_->image_classes_, in CompileAll()
50 compiler_options_->verification_results_ = verification_results_.get(); in CompileAll()
52 compiler_options_->verification_results_ = nullptr; in CompileAll()
60 compiler_options_->dex_files_for_oat_file_ = dex_files; in SetDexFilesForOatFile()
87 compiler_options_->image_type_ = CompilerOptions::ImageType::kBootImage; in CreateCompilerDriver()
88 compiler_options_->compile_pic_ = false; // Non-PIC boot image is a test configuration. in CreateCompilerDriver()
89 compiler_options_->SetCompilerFilter(GetCompilerFilter()); in CreateCompilerDriver()
90 compiler_options_->image_classes_.swap(*GetImageClasses()); in CreateCompilerDriver()
91 compiler_options_->profile_compilation_info_ = GetProfileCompilationInfo(); in CreateCompilerDriver()
92 compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), in CreateCompilerDriver()
H A Ddex2oat.cc621 compiler_options_->instruction_set_features_ = in ParseInstructionSetFeatures()
654 if (compiler_options_->IsBootImage() || compiler_options_->IsBootImageExtension()) { in ProcessOptions()
828 switch (compiler_options_->GetInstructionSet()) { in ProcessOptions()
835 compiler_options_->implicit_so_checks_ = true; in ProcessOptions()
1021 compiler_options_.reset(new CompilerOptions()); in ParseArgs()
2303 if (compiler_options_->GetDumpTimings() || in DumpTiming()
2314 return compiler_options_->IsAppImage(); in IsAppImage()
2318 return compiler_options_->IsBootImage(); in IsBootImage()
2322 return compiler_options_->IsBootImageExtension(); in IsBootImageExtension()
2636 *compiler_options_, in CreateOatWriters()
[all …]
/aosp12/art/compiler/jit/
H A Djit_compiler.cc47 compiler_options_->SetInlineMaxCodeUnits(CompilerOptions::kDefaultInlineMaxCodeUnits); in ParseCompilerOptions()
51 if (!compiler_options_->ParseCompilerOptions(runtime->GetCompilerOptions(), in ParseCompilerOptions()
59 compiler_options_->compiler_type_ = runtime->IsZygote() in ParseCompilerOptions()
63 compiler_options_->SetNonPic(); in ParseCompilerOptions()
67 if (!compiler_options_->GetDebuggable()) { in ParseCompilerOptions()
68 compiler_options_->SetDebuggable(runtime->IsJavaDebuggable()); in ParseCompilerOptions()
71 const InstructionSet instruction_set = compiler_options_->GetInstructionSet(); in ParseCompilerOptions()
112 compiler_options_->instruction_set_features_ = std::move(instruction_set_features); in ParseCompilerOptions()
114 if (compiler_options_->GetGenerateDebugInfo()) { in ParseCompilerOptions()
155 compiler_options_.reset(new CompilerOptions()); in JitCompiler()
[all …]
H A Djit_compiler.h48 return *compiler_options_.get(); in GetCompilerOptions()
63 std::unique_ptr<CompilerOptions> compiler_options_;
/aosp12/art/compiler/
H A Dcommon_compiler_test.cc191 compiler_options_->instruction_set_ = instruction_set_; in ApplyInstructionSet()
192 compiler_options_->instruction_set_features_ = in ApplyInstructionSet()
194 CHECK(compiler_options_->instruction_set_features_->Equals(instruction_set_features_.get())); in ApplyInstructionSet()
205 if (compiler_options_ != nullptr) { in OverrideInstructionSetFeatures()
211 compiler_options_.reset(new CompilerOptions); in SetUpRuntimeOptionsImpl()
212 verification_results_.reset(new VerificationResults(compiler_options_.get())); in SetUpRuntimeOptionsImpl()
228 compiler_options_.reset(); in TearDown()
242 Compiler::Create(*compiler_options_, &storage, compiler_kind_)); in CompileMethod()
247 compiler_options_->verification_results_ = verification_results_.get(); in CompileMethod()
266 compiler_options_->verification_results_ = nullptr; in CompileMethod()
[all …]
H A Dcompiler.h104 compiler_options_(compiler_options), in Compiler()
110 return compiler_options_; in GetCompilerOptions()
118 const CompilerOptions& compiler_options_;
H A Dcommon_compiler_test.h98 std::unique_ptr<CompilerOptions> compiler_options_; variable
/aosp12/art/dex2oat/linker/
H A Delf_writer_quick.cc120 const CompilerOptions& compiler_options_; member in art::linker::ElfWriterQuick
149 compiler_options_(compiler_options), in ElfWriterQuick()
158 builder_(new ElfBuilder<ElfTypes>(compiler_options_.GetInstructionSet(), in ElfWriterQuick()
167 if (compiler_options_.GetGenerateBuildId()) { in Start()
247 if (compiler_options_.GetGenerateMiniDebugInfo()) { in PrepareDebugInfo()
252 compiler_options_.GetInstructionSetFeatures(), in PrepareDebugInfo()
266 if (compiler_options_.GetGenerateMiniDebugInfo()) { in WriteDebugInfo()
278 if (!debug_info.Empty() && compiler_options_.GetGenerateDebugInfo()) { in WriteDebugInfo()
293 if (compiler_options_.GetGenerateBuildId()) { in End()
H A Dimage_test.h213 std::unique_ptr<ImageWriter> writer(new ImageWriter(*compiler_options_, in DoCompile()
234 elf_writers.emplace_back(CreateElfWriterQuick(*compiler_options_, oat_file.GetFile())); in DoCompile()
236 oat_writers.emplace_back(new OatWriter(*compiler_options_, in DoCompile()
284 MultiOatRelativePatcher patcher(compiler_options_->GetInstructionSet(), in DoCompile()
285 compiler_options_->GetInstructionSetFeatures(), in DoCompile()
364 compiler_options_->SetInlineMaxCodeUnits(CompilerOptions::kDefaultInlineMaxCodeUnits); in Compile()
365 compiler_options_->SetMaxImageBlockSize(max_image_block_size); in Compile()
H A Dimage_writer.cc221 return compiler_options_.IsAppImage() in GetAppClassLoader()
228 if (compiler_options_.IsBootImage()) { in IsImageDexCache()
270 if (compiler_options_.IsAppImage()) { in PrepareImageAddressSpace()
310 DCHECK(compiler_options_.IsAppImage()); in CopyMetadata()
413 if (compiler_options_.IsAppImage()) { in Write()
931 DCHECK(compiler_options_.IsAppImage() || compiler_options_.IsBootImageExtension()); in PruneImageClassInternal()
1038 if (compiler_options_.IsAppImage()) { in KeepClass()
1324 if (!compiler_options_.IsAppImage()) { in CreateImageRoots()
1341 if (compiler_options_.IsAppImage()) { in RecordNativeRelocations()
2356 compiler_options_.IsBootImage() in CalculateNewObjectOffsets()
[all …]
H A Doat_writer_test.cc91 if (!compiler_options_->ParseCompilerOptions(compiler_options, in SetupCompiler()
109 OatWriter oat_writer(*compiler_options_, in WriteElf()
136 OatWriter oat_writer(*compiler_options_, in WriteElf()
158 OatWriter oat_writer(*compiler_options_, in WriteElf()
199 MultiOatRelativePatcher patcher(compiler_options_->GetInstructionSet(), in DoWriteElf()
200 compiler_options_->GetInstructionSetFeatures(), in DoWriteElf()
H A Doat_writer.h243 return compiler_options_; in GetCompilerOptions()
368 const CompilerOptions& compiler_options_; variable
H A Dimage_write_read_test.cc94 const HashSet<std::string>& image_classes = compiler_options_->GetImageClasses(); in TestWriteRead()
/aosp12/art/compiler/optimizing/
H A Dlive_ranges_test.cc34 std::unique_ptr<CompilerOptions> compiler_options_; member in art::LiveRangesTest
39 compiler_options_ = CommonCompilerTest::CreateCompilerOptions(kRuntimeISA, "default"); in BuildGraph()
44 PrepareForRegisterAllocation(graph, *compiler_options_).Run(); in BuildGraph()
67 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
111 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
158 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
233 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
308 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
382 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
H A Dregister_allocator_test.cc78 std::unique_ptr<CompilerOptions> compiler_options_; member in art::RegisterAllocatorTest
92 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in Check()
107 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
331 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in Loop3()
364 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
415 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in DeadPhi()
439 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
565 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
581 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
817 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in ExpectedExactInRegisterAndSameOutputHint()
[all …]
H A Dprepare_for_register_allocation.h38 compiler_options_(compiler_options) {}
63 const CompilerOptions& compiler_options_; variable
H A Dloop_optimization_test.cc37 compiler_options_ = CommonCompilerTest::CreateCompilerOptions(kRuntimeISA, "default"); in SetUp()
38 DCHECK(compiler_options_ != nullptr); in SetUp()
39 codegen_ = CodeGenerator::Create(graph_, *compiler_options_); in SetUp()
47 compiler_options_.reset(); in TearDown()
122 std::unique_ptr<CompilerOptions> compiler_options_; member in art::LoopOptimizationTest
H A Dssa_liveness_analysis_test.cc35 compiler_options_ = CommonCompilerTest::CreateCompilerOptions(kRuntimeISA, "default"); in SetUp()
36 codegen_ = CodeGenerator::Create(graph_, *compiler_options_); in SetUp()
54 std::unique_ptr<CompilerOptions> compiler_options_; member in art::SsaLivenessAnalysisTest
H A Doptimizing_cfi_test.cc59 code_gen_ = CodeGenerator::Create(graph_, *compiler_options_); in SetUpFrame()
H A Dloop_optimization.h277 const CompilerOptions* compiler_options_; variable
/aosp12/art/compiler/dex/
H A Dverification_results.cc34 : compiler_options_(compiler_options), in VerificationResults()
130 if (!compiler_options_->IsAotCompilationEnabled()) { in IsCandidateForCompilation()
134 if ((compiler_options_->GetCompilerFilter() != CompilerFilter::kEverything) && in IsCandidateForCompilation()
H A Dverification_results.h71 const CompilerOptions* const compiler_options_; variable
/aosp12/art/dex2oat/driver/
H A Dcompiler_driver.h116 return *compiler_options_; in GetCompilerOptions()
300 const CompilerOptions* const compiler_options_; variable
H A Dcompiler_driver.cc259 : compiler_options_(compiler_options), in CompilerDriver()
268 DCHECK(compiler_options_ != nullptr); in CompilerDriver()
270 compiled_method_storage_.SetDedupeEnabled(compiler_options_->DeduplicateCode()); in CompilerDriver()
783 if (compiler_options_->IsAnyCompilationEnabled()) { in PreCompile()
797 if (compiler_options_->AssumeClassesAreVerified()) { in PreCompile()
800 } else if (compiler_options_->IsVerificationEnabled()) { in PreCompile()
830 if (compiler_options_->AssumeClassesAreVerified() || in PreCompile()
831 compiler_options_->IsVerificationEnabled()) { in PreCompile()
864 if (!CompilerFilter::DependsOnProfile(compiler_options_->GetCompilerFilter())) { in ShouldCompileBasedOnProfile()
/aosp12/art/runtime/
H A Druntime.h205 return compiler_options_; in GetCompilerOptions()
209 compiler_options_.push_back(option); in AddCompilerOption()
1131 std::vector<std::string> compiler_options_; variable

12