/aosp12/art/dex2oat/ |
H A D | common_compiler_driver_test.cc | 44 &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 D | dex2oat.cc | 621 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 D | jit_compiler.cc | 47 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 D | jit_compiler.h | 48 return *compiler_options_.get(); in GetCompilerOptions() 63 std::unique_ptr<CompilerOptions> compiler_options_;
|
/aosp12/art/compiler/ |
H A D | common_compiler_test.cc | 191 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 D | compiler.h | 104 compiler_options_(compiler_options), in Compiler() 110 return compiler_options_; in GetCompilerOptions() 118 const CompilerOptions& compiler_options_;
|
H A D | common_compiler_test.h | 98 std::unique_ptr<CompilerOptions> compiler_options_; variable
|
/aosp12/art/dex2oat/linker/ |
H A D | elf_writer_quick.cc | 120 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 D | image_test.h | 213 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 D | image_writer.cc | 221 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 D | oat_writer_test.cc | 91 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 D | oat_writer.h | 243 return compiler_options_; in GetCompilerOptions() 368 const CompilerOptions& compiler_options_; variable
|
H A D | image_write_read_test.cc | 94 const HashSet<std::string>& image_classes = compiler_options_->GetImageClasses(); in TestWriteRead()
|
/aosp12/art/compiler/optimizing/ |
H A D | live_ranges_test.cc | 34 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 D | register_allocator_test.cc | 78 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 D | prepare_for_register_allocation.h | 38 compiler_options_(compiler_options) {} 63 const CompilerOptions& compiler_options_; variable
|
H A D | loop_optimization_test.cc | 37 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 D | ssa_liveness_analysis_test.cc | 35 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 D | optimizing_cfi_test.cc | 59 code_gen_ = CodeGenerator::Create(graph_, *compiler_options_); in SetUpFrame()
|
H A D | loop_optimization.h | 277 const CompilerOptions* compiler_options_; variable
|
/aosp12/art/compiler/dex/ |
H A D | verification_results.cc | 34 : compiler_options_(compiler_options), in VerificationResults() 130 if (!compiler_options_->IsAotCompilationEnabled()) { in IsCandidateForCompilation() 134 if ((compiler_options_->GetCompilerFilter() != CompilerFilter::kEverything) && in IsCandidateForCompilation()
|
H A D | verification_results.h | 71 const CompilerOptions* const compiler_options_; variable
|
/aosp12/art/dex2oat/driver/ |
H A D | compiler_driver.h | 116 return *compiler_options_; in GetCompilerOptions() 300 const CompilerOptions* const compiler_options_; variable
|
H A D | compiler_driver.cc | 259 : 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 D | runtime.h | 205 return compiler_options_; in GetCompilerOptions() 209 compiler_options_.push_back(option); in AddCompilerOption() 1131 std::vector<std::string> compiler_options_; variable
|