/art/dex2oat/ |
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()
|
D | dex2oat.cc | 601 return profile_compilation_info_->VerifyProfileData(compiler_options_->dex_files_for_oat_file_); in VerifyProfileData() 605 compiler_options_->instruction_set_features_ = InstructionSetFeatures::FromVariant( in ParseInstructionSetVariant() 606 compiler_options_->instruction_set_, option, &parser_options->error_msg); in ParseInstructionSetVariant() 607 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetVariant() 613 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetFeatures() 614 compiler_options_->instruction_set_features_ = InstructionSetFeatures::FromVariant( in ParseInstructionSetFeatures() 615 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ParseInstructionSetFeatures() 616 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetFeatures() 621 compiler_options_->instruction_set_features_ = in ParseInstructionSetFeatures() 622 compiler_options_->instruction_set_features_->AddFeaturesFromString( in ParseInstructionSetFeatures() [all …]
|
/art/compiler/jit/ |
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 …]
|
D | jit_compiler.h | 48 return *compiler_options_.get(); in GetCompilerOptions() 63 std::unique_ptr<CompilerOptions> compiler_options_;
|
/art/compiler/ |
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 …]
|
D | compiler.h | 104 compiler_options_(compiler_options), in Compiler() 110 return compiler_options_; in GetCompilerOptions() 118 const CompilerOptions& compiler_options_;
|
D | common_compiler_test.h | 98 std::unique_ptr<CompilerOptions> compiler_options_; variable
|
/art/dex2oat/linker/ |
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()
|
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()
|
D | image_writer.cc | 221 return compiler_options_.IsAppImage() in GetAppClassLoader() 228 if (compiler_options_.IsBootImage()) { in IsImageDexCache() 238 if (!ContainsElement(compiler_options_.GetDexFilesForOatFile(), dex_cache->GetDexFile())) { in IsImageDexCache() 258 target_ptr_size_ = InstructionSetPointerSize(compiler_options_.GetInstructionSet()); in PrepareImageAddressSpace() 270 if (compiler_options_.IsAppImage()) { in PrepareImageAddressSpace() 310 DCHECK(compiler_options_.IsAppImage()); in CopyMetadata() 413 if (compiler_options_.IsAppImage()) { in Write() 447 if (image_fd == -1 && !compiler_options_.IsAppImage() && fchmod(image_file->Fd(), 0644) != 0) { in Write() 464 const uint32_t cur_size = std::min(size, compiler_options_.MaxImageBlockSize()); in Write() 931 DCHECK(compiler_options_.IsAppImage() || compiler_options_.IsBootImageExtension()); in PruneImageClassInternal() [all …]
|
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()
|
D | oat_writer.h | 243 return compiler_options_; in GetCompilerOptions() 368 const CompilerOptions& compiler_options_; variable
|
D | image_write_read_test.cc | 94 const HashSet<std::string>& image_classes = compiler_options_->GetImageClasses(); in TestWriteRead()
|
/art/compiler/optimizing/ |
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()
|
D | prepare_for_register_allocation.h | 38 compiler_options_(compiler_options) {} in HGraphDelegateVisitor() 63 const CompilerOptions& compiler_options_; variable
|
D | register_allocator_test.cc | 46 compiler_options_ = CommonCompilerTest::CreateCompilerOptions(InstructionSet::kX86, "default"); in SetUp() 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() [all …]
|
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
|
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
|
D | optimizing_cfi_test.cc | 59 code_gen_ = CodeGenerator::Create(graph_, *compiler_options_); in SetUpFrame()
|
D | loop_optimization.h | 277 const CompilerOptions* compiler_options_; variable
|
D | prepare_for_register_allocation.cc | 54 if (compiler_options_.GetImplicitNullChecks()) { in VisitNullCheck()
|
/art/compiler/dex/ |
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()
|
D | verification_results.h | 71 const CompilerOptions* const compiler_options_; variable
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 116 return *compiler_options_; in GetCompilerOptions() 300 const CompilerOptions* const compiler_options_; variable
|
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()
|