• Home
  • Raw
  • Download

Lines Matching refs:compiler_options_

736     return profile_compilation_info_->VerifyProfileData(compiler_options_->dex_files_for_oat_file_);  in VerifyProfileData()
740 compiler_options_->instruction_set_features_ = InstructionSetFeatures::FromVariant( in ParseInstructionSetVariant()
741 compiler_options_->instruction_set_, option, &parser_options->error_msg); in ParseInstructionSetVariant()
742 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetVariant()
748 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetFeatures()
749 compiler_options_->instruction_set_features_ = InstructionSetFeatures::FromVariant( in ParseInstructionSetFeatures()
750 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ParseInstructionSetFeatures()
751 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetFeatures()
756 compiler_options_->instruction_set_features_ = in ParseInstructionSetFeatures()
757 compiler_options_->instruction_set_features_->AddFeaturesFromString( in ParseInstructionSetFeatures()
759 if (compiler_options_->instruction_set_features_ == nullptr) { in ParseInstructionSetFeatures()
765 compiler_options_->compile_pic_ = true; // All AOT compilation is PIC. in ProcessOptions()
766 DCHECK(compiler_options_->image_type_ == CompilerOptions::ImageType::kNone); in ProcessOptions()
769 compiler_options_->image_type_ = CompilerOptions::ImageType::kApexBootImage; in ProcessOptions()
771 compiler_options_->image_type_ = CompilerOptions::ImageType::kBootImage; in ProcessOptions()
775 if (compiler_options_->IsBootImage()) { in ProcessOptions()
778 compiler_options_->image_type_ = CompilerOptions::ImageType::kAppImage; in ProcessOptions()
910 if (compiler_options_->instruction_set_features_ == nullptr) { in ProcessOptions()
913 compiler_options_->instruction_set_features_ = InstructionSetFeatures::FromVariant( in ProcessOptions()
914 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ProcessOptions()
915 if (compiler_options_->instruction_set_features_ == nullptr) { in ProcessOptions()
921 if (compiler_options_->instruction_set_ == kRuntimeISA) { in ProcessOptions()
924 if (!compiler_options_->GetInstructionSetFeatures()->Equals(runtime_features.get())) { in ProcessOptions()
926 << *compiler_options_->GetInstructionSetFeatures() in ProcessOptions()
932 if (compiler_options_->inline_max_code_units_ == CompilerOptions::kUnsetInlineMaxCodeUnits) { in ProcessOptions()
933 compiler_options_->inline_max_code_units_ = CompilerOptions::kDefaultInlineMaxCodeUnits; in ProcessOptions()
938 switch (compiler_options_->GetInstructionSet()) { in ProcessOptions()
946 compiler_options_->implicit_null_checks_ = true; in ProcessOptions()
947 compiler_options_->implicit_so_checks_ = true; in ProcessOptions()
977 compiler_options_->force_determinism_ = force_determinism_; in ProcessOptions()
987 compiler_options_->passes_to_run_ = passes_to_run_.get(); in ProcessOptions()
988 compiler_options_->compiling_with_core_image_ = in ProcessOptions()
1031 compiler_options_->debuggable_ ? OatHeader::kTrueValue : OatHeader::kFalseValue); in InsertCompileOptions()
1034 compiler_options_->GetNativeDebuggable() ? OatHeader::kTrueValue : OatHeader::kFalseValue); in InsertCompileOptions()
1036 CompilerFilter::NameOfFilter(compiler_options_->GetCompilerFilter())); in InsertCompileOptions()
1103 compiler_options_.reset(new CompilerOptions()); in ParseArgs()
1161 AssignIfExists(args, M::TargetInstructionSet, &compiler_options_->instruction_set_); in ParseArgs()
1163 if (compiler_options_->instruction_set_ == InstructionSet::kArm) { in ParseArgs()
1164 compiler_options_->instruction_set_ = InstructionSet::kThumb2; in ParseArgs()
1236 if (!ReadCompilerOptions(args, compiler_options_.get(), &error_msg)) { in ParseArgs()
1457 compiler_options_->dex_files_for_oat_file_); in LoadClassProfileDescriptors()
1467 compiler_options_->image_classes_.swap(image_classes); in LoadClassProfileDescriptors()
1514 if (CompilerFilter::DependsOnImageChecksum(compiler_options_->GetCompilerFilter())) { in Setup()
1605 compiler_options_->dex_files_for_oat_file_ = MakeNonOwningPointerVector(opened_dex_files_); in Setup()
1606 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in Setup()
1611 compiler_options_->image_type_ = CompilerOptions::ImageType::kNone; in Setup()
1615 if (!CompilerFilter::IsAsGoodAs(kLargeAppFilter, compiler_options_->GetCompilerFilter())) { in Setup()
1621 compiler_options_->SetCompilerFilter(kLargeAppFilter); in Setup()
1625 if (CompilerFilter::IsAnyCompilationEnabled(compiler_options_->GetCompilerFilter())) { in Setup()
1631 verification_results_.reset(new VerificationResults(compiler_options_.get())); in Setup()
1703 for (const DexFile* dex_file : compiler_options_->dex_files_for_oat_file_) { in CompileDexFilesIndividually()
1734 compiler_options_->dex_files_for_oat_file_.size() > 1 && in ShouldCompileDexFilesIndividually()
1735 !CompilerFilter::IsAotCompilationEnabled(compiler_options_->GetCompilerFilter()); in ShouldCompileDexFilesIndividually()
1761 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in Compile()
1792 compiler_options_->no_inline_from_.swap(no_inline_from_dex_files); in Compile()
1795 compiler_options_->profile_compilation_info_ = profile_compilation_info_.get(); in Compile()
1797 driver_.reset(new CompilerDriver(compiler_options_.get(), in Compile()
1816 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in Compile()
1851 class_loader_context_->CreateClassLoader(compiler_options_->dex_files_for_oat_file_); in CompileDexFiles()
1874 &compiler_options_->image_classes_, in CompileDexFiles()
1877 compiler_options_->verification_results_ = verification_results_.get(); in CompileDexFiles()
1978 image_writer_.reset(new linker::ImageWriter(*compiler_options_, in WriteOutputFiles()
2032 linker::MultiOatRelativePatcher patcher(compiler_options_->GetInstructionSet(), in WriteOutputFiles()
2033 compiler_options_->GetInstructionSetFeatures(), in WriteOutputFiles()
2221 if (compiler_options_->GetDumpTimings() || in DumpTiming()
2232 return compiler_options_->IsAppImage(); in IsAppImage()
2236 return compiler_options_->IsBootImage(); in IsBootImage()
2330 DCHECK(compiler_options_->image_classes_.empty()); in PrepareImageClasses()
2337 compiler_options_->image_classes_.swap(*image_classes); in PrepareImageClasses()
2437 elf_writers_.emplace_back(linker::CreateElfWriterQuick(*compiler_options_, oat_file.get())); in CreateOatWriters()
2444 *compiler_options_, in CreateOatWriters()
2452 const std::vector<const DexFile*>& dex_files = compiler_options_->dex_files_for_oat_file_; in SaveDexInput()
2493 GetInstructionSetString(compiler_options_->GetInstructionSet()))); in PrepareRuntimeOptions()
2511 if (compiler_options_->IsForceDeterminism()) { in PrepareRuntimeOptions()
2556 runtime_->SetInstructionSet(compiler_options_->GetInstructionSet()); in CreateRuntime()
2724 std::unique_ptr<CompilerOptions> compiler_options_; member in art::Dex2Oat