Home
last modified time | relevance | path

Searched refs:compiler_options_ (Results 1 – 25 of 37) sorted by relevance

12

/art/dex2oat/
Dcommon_compiler_driver_test.cc44 &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()
88 compiler_options_->image_type_ = CompilerOptions::ImageType::kBootImage; in CreateCompilerDriver()
89 compiler_options_->compile_pic_ = false; // Non-PIC boot image is a test configuration. in CreateCompilerDriver()
90 compiler_options_->SetCompilerFilter(GetCompilerFilter()); in CreateCompilerDriver()
91 compiler_options_->image_classes_.swap(*GetImageClasses()); in CreateCompilerDriver()
92 compiler_options_->profile_compilation_info_ = GetProfileCompilationInfo(); in CreateCompilerDriver()
93 compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), in CreateCompilerDriver()
Ddex2oat.cc736 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()
[all …]
/art/compiler/jit/
Djit_compiler.cc47 compiler_options_->SetInlineMaxCodeUnits(CompilerOptions::kDefaultInlineMaxCodeUnits); in ParseCompilerOptions()
51 if (!compiler_options_->ParseCompilerOptions(runtime->GetCompilerOptions(), in ParseCompilerOptions()
59 compiler_options_->SetNonPic(); in ParseCompilerOptions()
63 if (!compiler_options_->GetDebuggable()) { in ParseCompilerOptions()
64 compiler_options_->SetDebuggable(runtime->IsJavaDebuggable()); in ParseCompilerOptions()
67 const InstructionSet instruction_set = compiler_options_->GetInstructionSet(); in ParseCompilerOptions()
108 compiler_options_->instruction_set_features_ = std::move(instruction_set_features); in ParseCompilerOptions()
109 compiler_options_->compiling_with_core_image_ = in ParseCompilerOptions()
112 if (compiler_options_->GetGenerateDebugInfo()) { in ParseCompilerOptions()
172 compiler_options_.reset(new CompilerOptions()); in JitCompiler()
[all …]
Djit_compiler.h44 return *compiler_options_.get(); in GetCompilerOptions()
50 std::unique_ptr<CompilerOptions> compiler_options_;
/art/compiler/
Dcommon_compiler_test.cc128 compiler_options_->instruction_set_ = instruction_set_; in ApplyInstructionSet()
129 compiler_options_->instruction_set_features_ = in ApplyInstructionSet()
131 CHECK(compiler_options_->instruction_set_features_->Equals(instruction_set_features_.get())); in ApplyInstructionSet()
142 if (compiler_options_ != nullptr) { in OverrideInstructionSetFeatures()
150 compiler_options_.reset(new CompilerOptions); in SetUpRuntimeOptions()
151 verification_results_.reset(new VerificationResults(compiler_options_.get())); in SetUpRuntimeOptions()
166 compiler_options_.reset(); in TearDown()
182 Compiler::Create(*compiler_options_, &storage, compiler_kind_)); in CompileMethod()
186 compiler_options_->verification_results_ = verification_results_.get(); in CompileMethod()
205 compiler_options_->verification_results_ = nullptr; in CompileMethod()
[all …]
Dcompiler.h103 compiler_options_(compiler_options), in Compiler()
109 return compiler_options_; in GetCompilerOptions()
117 const CompilerOptions& compiler_options_;
Dcommon_compiler_test.h92 std::unique_ptr<CompilerOptions> compiler_options_; variable
/art/dex2oat/linker/
Delf_writer_quick.cc122 const CompilerOptions& compiler_options_; member in art::linker::ElfWriterQuick
151 compiler_options_(compiler_options), in ElfWriterQuick()
160 builder_(new ElfBuilder<ElfTypes>(compiler_options_.GetInstructionSet(), in ElfWriterQuick()
169 if (compiler_options_.GetGenerateBuildId()) { in Start()
249 if (compiler_options_.GetGenerateMiniDebugInfo()) { in PrepareDebugInfo()
254 compiler_options_.GetInstructionSetFeatures(), in PrepareDebugInfo()
268 if (compiler_options_.GetGenerateMiniDebugInfo()) { in WriteDebugInfo()
276 if (!debug_info.Empty() && compiler_options_.GetGenerateDebugInfo()) { in WriteDebugInfo()
291 if (compiler_options_.GetGenerateBuildId()) { in End()
Dimage_test.h214 std::unique_ptr<ImageWriter> writer(new ImageWriter(*compiler_options_, in DoCompile()
235 elf_writers.emplace_back(CreateElfWriterQuick(*compiler_options_, oat_file.GetFile())); in DoCompile()
237 oat_writers.emplace_back(new OatWriter(*compiler_options_, in DoCompile()
287 MultiOatRelativePatcher patcher(compiler_options_->GetInstructionSet(), in DoCompile()
288 compiler_options_->GetInstructionSetFeatures(), in DoCompile()
378 compiler_options_->SetInlineMaxCodeUnits(CompilerOptions::kDefaultInlineMaxCodeUnits); in Compile()
379 compiler_options_->SetMaxImageBlockSize(max_image_block_size); in Compile()
470 const HashSet<std::string>& image_classes = compiler_options_->GetImageClasses(); in TestWriteRead()
Dimage_writer.cc153 return compiler_options_.IsAppImage() in GetAppClassLoader()
160 if (compiler_options_.IsBootImage()) { in IsImageObject()
171 !ContainsElement(compiler_options_.GetDexFilesForOatFile(), in IsImageObject()
181 if (compiler_options_.IsBootImage()) { in IsInBootImage()
198 if (compiler_options_.IsBootImage()) { in IsInBootOatFile()
225 target_ptr_size_ = InstructionSetPointerSize(compiler_options_.GetInstructionSet()); in PrepareImageAddressSpace()
237 if (compiler_options_.IsAppImage()) { in PrepareImageAddressSpace()
272 if (ClassLinker::kAppImageMayContainStrings && compiler_options_.IsAppImage()) { in PrepareImageAddressSpace()
294 if (VLOG_IS_ON(compiler) && compiler_options_.IsAppImage()) { in PrepareImageAddressSpace()
314 if (ClassLinker::kAppImageMayContainStrings && compiler_options_.IsAppImage()) { in PrepareImageAddressSpace()
[all …]
Doat_writer_test.cc90 if (!compiler_options_->ParseCompilerOptions(compiler_options, in SetupCompiler()
108 OatWriter oat_writer(*compiler_options_, in WriteElf()
135 OatWriter oat_writer(*compiler_options_, in WriteElf()
156 OatWriter oat_writer(*compiler_options_, in WriteElf()
199 MultiOatRelativePatcher patcher(compiler_options_->GetInstructionSet(), in DoWriteElf()
200 compiler_options_->GetInstructionSetFeatures(), in DoWriteElf()
Doat_writer.h256 return compiler_options_; in GetCompilerOptions()
382 const CompilerOptions& compiler_options_; variable
/art/compiler/optimizing/
Dlive_ranges_test.cc41 PrepareForRegisterAllocation(graph, *compiler_options_).Run(); in BuildGraph()
64 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
108 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
155 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
230 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
305 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
379 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F()
Dprepare_for_register_allocation.h38 compiler_options_(compiler_options) {} in HGraphDelegateVisitor()
63 const CompilerOptions& compiler_options_; variable
Dregister_allocator_test.cc90 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in Check()
105 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
329 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in Loop3()
362 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
413 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in DeadPhi()
437 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
563 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
579 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
597 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
615 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
[all …]
Dcodegen_test.cc93 RunCode(target_config, *compiler_options_, graph, [](HGraph*) {}, has_result, expected); in TestCode()
105 RunCode(target_config, *compiler_options_, graph, [](HGraph*) {}, has_result, expected); in TestCodeLong()
456 PrepareForRegisterAllocation(graph, *compiler_options_).Run(); in TEST_F()
466 RunCode(target_config, *compiler_options_, graph, hook_before_codegen, true, 0); in TEST_F()
513 RunCode(target_config, *compiler_options_, graph, hook_before_codegen, true, lhs[i] < rhs[i]); in TEST_F()
581 RunCode(target_config, *compiler_options_, graph, hook_before_codegen, true, lhs[i] < rhs[i]); in TEST_F()
691 RunCode(target_config, *compiler_options_, graph, [](HGraph*) {}, true, expected_result); in TestComparison()
724 arm::CodeGeneratorARMVIXL codegen(graph, *compiler_options_); in TEST_F()
747 arm64::CodeGeneratorARM64 codegen(graph, *compiler_options_); in TEST_F()
796 arm64::CodeGeneratorARM64 codegen(graph, *compiler_options_); in TEST_F()
[all …]
Dliveness_test.cc50 PrepareForRegisterAllocation(graph, *compiler_options_).Run(); in TestCode()
51 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TestCode()
Dlinearize_test.cc44 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TestCode()
Doptimizing_cfi_test.cc61 code_gen_ = CodeGenerator::Create(graph_, *compiler_options_); in SetUpFrame()
/art/compiler/dex/
Dverification_results.cc34 : compiler_options_(compiler_options), in VerificationResults()
138 if (!compiler_options_->IsAotCompilationEnabled()) { in IsCandidateForCompilation()
142 if ((compiler_options_->GetCompilerFilter() != CompilerFilter::kEverything) && in IsCandidateForCompilation()
Dverification_results.h71 const CompilerOptions* const compiler_options_; variable
/art/dex2oat/dex/
Ddex_to_dex_decompiler_test.cc42 compiler_options_->image_type_ = CompilerOptions::ImageType::kNone; in CompileAll()
43 compiler_options_->SetCompilerFilter(CompilerFilter::kQuicken); in CompileAll()
/art/dex2oat/driver/
Dcompiler_driver.h116 return *compiler_options_; in GetCompilerOptions()
304 const CompilerOptions* const compiler_options_; variable
Dcompiler_driver.cc259 : compiler_options_(compiler_options), in CompilerDriver()
269 DCHECK(compiler_options_ != nullptr); in CompilerDriver()
271 compiled_method_storage_.SetDedupeEnabled(compiler_options_->DeduplicateCode()); in CompilerDriver()
865 if (compiler_options_->IsAnyCompilationEnabled()) { in PreCompile()
879 if (compiler_options_->AssumeClassesAreVerified()) { in PreCompile()
884 if (!compiler_options_->IsVerificationEnabled()) { in PreCompile()
913 if (compiler_options_->IsAnyCompilationEnabled()) { in PreCompile()
937 if (compiler_options_->IsApexBootImage() && in ShouldCompileBasedOnProfile()
943 if (!CompilerFilter::DependsOnProfile(compiler_options_->GetCompilerFilter())) { in ShouldCompileBasedOnProfile()
1376 if (!compiler_options_->IsVerificationEnabled()) { in IsSafeCast()
/art/runtime/
Druntime.h182 return compiler_options_; in GetCompilerOptions()
186 compiler_options_.push_back(option); in AddCompilerOption()
955 std::vector<std::string> compiler_options_; variable

12