Lines Matching refs:compiler_options_

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()
624 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetFeatures()
630 compiler_options_->compiler_type_ = CompilerOptions::CompilerType::kAotCompiler; in ProcessOptions()
631 compiler_options_->compile_pic_ = true; // All AOT compilation is PIC. in ProcessOptions()
645 DCHECK(compiler_options_->image_type_ == CompilerOptions::ImageType::kNone); in ProcessOptions()
649 compiler_options_->image_type_ = boot_image_filename_.empty() in ProcessOptions()
654 if (compiler_options_->IsBootImage() || compiler_options_->IsBootImageExtension()) { in ProcessOptions()
657 compiler_options_->image_type_ = CompilerOptions::ImageType::kAppImage; in ProcessOptions()
792 if (compiler_options_->instruction_set_features_ == nullptr) { in ProcessOptions()
795 compiler_options_->instruction_set_features_ = InstructionSetFeatures::FromVariant( in ProcessOptions()
796 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ProcessOptions()
797 if (compiler_options_->instruction_set_features_ == nullptr) { in ProcessOptions()
803 if (compiler_options_->instruction_set_ == kRuntimeISA) { in ProcessOptions()
806 if (!compiler_options_->GetInstructionSetFeatures()->Equals(runtime_features.get())) { in ProcessOptions()
808 << *compiler_options_->GetInstructionSetFeatures() in ProcessOptions()
822 if (compiler_options_->inline_max_code_units_ == CompilerOptions::kUnsetInlineMaxCodeUnits) { in ProcessOptions()
823 compiler_options_->inline_max_code_units_ = CompilerOptions::kDefaultInlineMaxCodeUnits; in ProcessOptions()
828 switch (compiler_options_->GetInstructionSet()) { in ProcessOptions()
834 compiler_options_->implicit_null_checks_ = true; in ProcessOptions()
835 compiler_options_->implicit_so_checks_ = true; in ProcessOptions()
858 compiler_options_->force_determinism_ = force_determinism_; in ProcessOptions()
860 compiler_options_->check_linkage_conditions_ = check_linkage_conditions_; in ProcessOptions()
861 compiler_options_->crash_on_linkage_violation_ = crash_on_linkage_violation_; in ProcessOptions()
893 compiler_options_->passes_to_run_ = passes_to_run_.get(); in ProcessOptions()
941 key_value_store_->Put(OatHeader::kDebuggableKey, compiler_options_->debuggable_); in InsertCompileOptions()
943 compiler_options_->GetNativeDebuggable()); in InsertCompileOptions()
945 CompilerFilter::NameOfFilter(compiler_options_->GetCompilerFilter())); in InsertCompileOptions()
947 key_value_store_->Put(OatHeader::kRequiresImage, compiler_options_->IsGeneratingImage()); in InsertCompileOptions()
1021 compiler_options_.reset(new CompilerOptions()); in ParseArgs()
1085 AssignIfExists(args, M::TargetInstructionSet, &compiler_options_->instruction_set_); in ParseArgs()
1087 if (compiler_options_->instruction_set_ == InstructionSet::kArm) { in ParseArgs()
1088 compiler_options_->instruction_set_ = InstructionSet::kThumb2; in ParseArgs()
1164 DCHECK_EQ(compiler_options_->GetCompilerFilter(), CompilerFilter::kSpeed); in ParseArgs()
1166 compiler_options_->SetCompilerFilter(CompilerFilter::kSpeedProfile); in ParseArgs()
1169 if (!ReadCompilerOptions(args, compiler_options_.get(), &error_msg)) { in ParseArgs()
1401 compiler_options_->dex_files_for_oat_file_); in LoadClassProfileDescriptors()
1409 compiler_options_->image_classes_.swap(image_classes); in LoadClassProfileDescriptors()
1449 (input_vdex_file_ == nullptr) && !compiler_options_->AssumeDexFilesAreVerified(); in Setup()
1474 compiler_options_->dex_files_for_oat_file_ = MakeNonOwningPointerVector(opened_dex_files_); in Setup()
1475 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in Setup()
1485 CompilerFilter::Filter original_compiler_filter = compiler_options_->GetCompilerFilter(); in Setup()
1488 compiler_options_->image_type_ = CompilerOptions::ImageType::kNone; in Setup()
1492 if (!CompilerFilter::IsAsGoodAs(kLargeAppFilter, compiler_options_->GetCompilerFilter())) { in Setup()
1494 compiler_options_->SetCompilerFilter(kLargeAppFilter); in Setup()
1498 if (CompilerFilter::IsAnyCompilationEnabled(compiler_options_->GetCompilerFilter()) || in Setup()
1507 verification_results_.reset(new VerificationResults(compiler_options_.get())); in Setup()
1756 != compiler_options_->dex_files_for_oat_file_.size()) { in ValidateInputVdexChecksums()
1759 << " dex_source_num=" << compiler_options_->dex_files_for_oat_file_.size(); in ValidateInputVdexChecksums()
1763 for (size_t i = 0; i < compiler_options_->dex_files_for_oat_file_.size(); i++) { in ValidateInputVdexChecksums()
1765 compiler_options_->dex_files_for_oat_file_[i]->GetLocationChecksum(); in ValidateInputVdexChecksums()
1787 for (const DexFile* dex_file : compiler_options_->dex_files_for_oat_file_) { in CompileDexFilesIndividually()
1818 compiler_options_->dex_files_for_oat_file_.size() > 1 && in ShouldCompileDexFilesIndividually()
1819 !CompilerFilter::IsAotCompilationEnabled(compiler_options_->GetCompilerFilter())); in ShouldCompileDexFilesIndividually()
1824 for (const DexFile* dex_file : compiler_options_->GetDexFilesForOatFile()) { in GetCombinedChecksums()
1858 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in Compile()
1889 compiler_options_->no_inline_from_.swap(no_inline_from_dex_files); in Compile()
1892 compiler_options_->profile_compilation_info_ = profile_compilation_info_.get(); in Compile()
1894 driver_.reset(new CompilerDriver(compiler_options_.get(), in Compile()
1916 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in Compile()
1938 class_loader_context_->CreateClassLoader(compiler_options_->GetDexFilesForOatFile()); in CompileDexFiles()
1978 &compiler_options_->image_classes_, in CompileDexFiles()
1981 compiler_options_->verification_results_ = verification_results_.get(); in CompileDexFiles()
2071 image_writer_.reset(new linker::ImageWriter(*compiler_options_, in WriteOutputFiles()
2110 linker::MultiOatRelativePatcher patcher(compiler_options_->GetInstructionSet(), in WriteOutputFiles()
2111 compiler_options_->GetInstructionSetFeatures(), in WriteOutputFiles()
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()
2404 compiler_options_->GetCompilerFilter() == CompilerFilter::kSpeedProfile) { in UpdateCompilerOptionsBasedOnProfile()
2408 compiler_options_->SetCompilerFilter(CompilerFilter::kVerify); in UpdateCompilerOptionsBasedOnProfile()
2632 elf_writers_.emplace_back(linker::CreateElfWriterQuick(*compiler_options_, oat_file.get())); in CreateOatWriters()
2636 *compiler_options_, in CreateOatWriters()
2644 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in SaveDexInput()
2685 GetInstructionSetString(compiler_options_->GetInstructionSet()))); in PrepareRuntimeOptions()
2722 runtime_->SetInstructionSet(compiler_options_->GetInstructionSet()); in CreateRuntime()
2879 std::unique_ptr<CompilerOptions> compiler_options_; member in art::Dex2Oat