Lines Matching refs:compiler_options_

878     return profile_compilation_info_->VerifyProfileData(compiler_options_->dex_files_for_oat_file_);  in VerifyProfileData()
882 compiler_options_->instruction_set_features_ = InstructionSetFeatures::FromVariant( in ParseInstructionSetVariant()
883 compiler_options_->instruction_set_, option, &parser_options->error_msg); in ParseInstructionSetVariant()
884 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetVariant()
890 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetFeatures()
891 compiler_options_->instruction_set_features_ = InstructionSetFeatures::FromVariant( in ParseInstructionSetFeatures()
892 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ParseInstructionSetFeatures()
893 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetFeatures()
898 compiler_options_->instruction_set_features_ = in ParseInstructionSetFeatures()
899 compiler_options_->instruction_set_features_->AddFeaturesFromString( in ParseInstructionSetFeatures()
901 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetFeatures()
907 compiler_options_->compiler_type_ = CompilerOptions::CompilerType::kAotCompiler; in ProcessOptions()
908 compiler_options_->compile_pic_ = true; // All AOT compilation is PIC. in ProcessOptions()
922 DCHECK(compiler_options_->image_type_ == CompilerOptions::ImageType::kNone); in ProcessOptions()
926 compiler_options_->image_type_ = boot_image_filename_.empty() in ProcessOptions()
931 if (compiler_options_->IsBootImage() || compiler_options_->IsBootImageExtension()) { in ProcessOptions()
934 compiler_options_->image_type_ = CompilerOptions::ImageType::kAppImage; in ProcessOptions()
1068 if (compiler_options_->instruction_set_features_ == nullptr) { in ProcessOptions()
1071 compiler_options_->instruction_set_features_ = InstructionSetFeatures::FromVariant( in ProcessOptions()
1072 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ProcessOptions()
1073 if (compiler_options_->instruction_set_features_ == nullptr) { in ProcessOptions()
1079 if (compiler_options_->instruction_set_ == kRuntimeISA) { in ProcessOptions()
1082 if (!compiler_options_->GetInstructionSetFeatures()->Equals(runtime_features.get())) { in ProcessOptions()
1084 << *compiler_options_->GetInstructionSetFeatures() in ProcessOptions()
1098 if (compiler_options_->inline_max_code_units_ == CompilerOptions::kUnsetInlineMaxCodeUnits) { in ProcessOptions()
1099 compiler_options_->inline_max_code_units_ = CompilerOptions::kDefaultInlineMaxCodeUnits; in ProcessOptions()
1104 switch (compiler_options_->GetInstructionSet()) { in ProcessOptions()
1110 compiler_options_->implicit_null_checks_ = true; in ProcessOptions()
1111 compiler_options_->implicit_so_checks_ = true; in ProcessOptions()
1134 compiler_options_->force_determinism_ = force_determinism_; in ProcessOptions()
1136 compiler_options_->check_linkage_conditions_ = check_linkage_conditions_; in ProcessOptions()
1137 compiler_options_->crash_on_linkage_violation_ = crash_on_linkage_violation_; in ProcessOptions()
1169 compiler_options_->passes_to_run_ = passes_to_run_.get(); in ProcessOptions()
1217 key_value_store_->Put(OatHeader::kDebuggableKey, compiler_options_->debuggable_); in InsertCompileOptions()
1219 compiler_options_->GetNativeDebuggable()); in InsertCompileOptions()
1221 CompilerFilter::NameOfFilter(compiler_options_->GetCompilerFilter())); in InsertCompileOptions()
1223 key_value_store_->Put(OatHeader::kRequiresImage, compiler_options_->IsGeneratingImage()); in InsertCompileOptions()
1297 compiler_options_.reset(new CompilerOptions()); in ParseArgs()
1358 AssignIfExists(args, M::TargetInstructionSet, &compiler_options_->instruction_set_); in ParseArgs()
1360 if (compiler_options_->instruction_set_ == InstructionSet::kArm) { in ParseArgs()
1361 compiler_options_->instruction_set_ = InstructionSet::kThumb2; in ParseArgs()
1437 DCHECK_EQ(compiler_options_->GetCompilerFilter(), CompilerFilter::kSpeed); in ParseArgs()
1439 compiler_options_->SetCompilerFilter(CompilerFilter::kSpeedProfile); in ParseArgs()
1442 if (!ReadCompilerOptions(args, compiler_options_.get(), &error_msg)) { in ParseArgs()
1663 compiler_options_->dex_files_for_oat_file_); in LoadClassProfileDescriptors()
1671 compiler_options_->image_classes_.swap(image_classes); in LoadClassProfileDescriptors()
1711 (input_vdex_file_ == nullptr) && !compiler_options_->AssumeDexFilesAreVerified(); in Setup()
1736 compiler_options_->dex_files_for_oat_file_ = MakeNonOwningPointerVector(opened_dex_files_); in Setup()
1737 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in Setup()
1743 CompilerFilter::Filter original_compiler_filter = compiler_options_->GetCompilerFilter(); in Setup()
1746 compiler_options_->image_type_ = CompilerOptions::ImageType::kNone; in Setup()
1750 if (!CompilerFilter::IsAsGoodAs(kLargeAppFilter, compiler_options_->GetCompilerFilter())) { in Setup()
1752 compiler_options_->SetCompilerFilter(kLargeAppFilter); in Setup()
1756 if (CompilerFilter::IsAnyCompilationEnabled(compiler_options_->GetCompilerFilter()) || in Setup()
1765 verification_results_.reset(new VerificationResults(compiler_options_.get())); in Setup()
2001 for (const DexFile* dex_file : compiler_options_->dex_files_for_oat_file_) { in CompileDexFilesIndividually()
2032 compiler_options_->dex_files_for_oat_file_.size() > 1 && in ShouldCompileDexFilesIndividually()
2033 !CompilerFilter::IsAotCompilationEnabled(compiler_options_->GetCompilerFilter())); in ShouldCompileDexFilesIndividually()
2038 for (const DexFile* dex_file : compiler_options_->GetDexFilesForOatFile()) { in GetCombinedChecksums()
2067 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in Compile()
2098 compiler_options_->no_inline_from_.swap(no_inline_from_dex_files); in Compile()
2101 compiler_options_->profile_compilation_info_ = profile_compilation_info_.get(); in Compile()
2103 driver_.reset(new CompilerDriver(compiler_options_.get(), in Compile()
2125 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in Compile()
2159 class_loader_context_->CreateClassLoader(compiler_options_->GetDexFilesForOatFile()); in CompileDexFiles()
2184 &compiler_options_->image_classes_, in CompileDexFiles()
2187 compiler_options_->verification_results_ = verification_results_.get(); in CompileDexFiles()
2277 image_writer_.reset(new linker::ImageWriter(*compiler_options_, in WriteOutputFiles()
2290 bool preload_dex_caches = !compiler_options_->AssumeDexFilesAreVerified(); in WriteOutputFiles()
2320 linker::MultiOatRelativePatcher patcher(compiler_options_->GetInstructionSet(), in WriteOutputFiles()
2321 compiler_options_->GetInstructionSetFeatures(), in WriteOutputFiles()
2509 if (compiler_options_->GetDumpTimings() || in DumpTiming()
2520 return compiler_options_->IsAppImage(); in IsAppImage()
2524 return compiler_options_->IsBootImage(); in IsBootImage()
2528 return compiler_options_->IsBootImageExtension(); in IsBootImageExtension()
2742 elf_writers_.emplace_back(linker::CreateElfWriterQuick(*compiler_options_, oat_file.get())); in CreateOatWriters()
2749 *compiler_options_, in CreateOatWriters()
2757 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in SaveDexInput()
2798 GetInstructionSetString(compiler_options_->GetInstructionSet()))); in PrepareRuntimeOptions()
2835 runtime_->SetInstructionSet(compiler_options_->GetInstructionSet()); in CreateRuntime()
2992 std::unique_ptr<CompilerOptions> compiler_options_; member in art::Dex2Oat