Home
last modified time | relevance | path

Searched refs:compiler_options_ (Results 1 – 25 of 34) 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.cc878 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()
[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_->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 …]
Djit_compiler.h48 return *compiler_options_.get(); in GetCompilerOptions()
63 std::unique_ptr<CompilerOptions> compiler_options_;
/art/compiler/
Dcommon_compiler_test.cc141 compiler_options_->instruction_set_ = instruction_set_; in ApplyInstructionSet()
142 compiler_options_->instruction_set_features_ = in ApplyInstructionSet()
144 CHECK(compiler_options_->instruction_set_features_->Equals(instruction_set_features_.get())); in ApplyInstructionSet()
155 if (compiler_options_ != nullptr) { in OverrideInstructionSetFeatures()
163 compiler_options_.reset(new CompilerOptions); in SetUpRuntimeOptions()
164 verification_results_.reset(new VerificationResults(compiler_options_.get())); in SetUpRuntimeOptions()
179 compiler_options_.reset(); in TearDown()
195 Compiler::Create(*compiler_options_, &storage, compiler_kind_)); in CompileMethod()
199 compiler_options_->verification_results_ = verification_results_.get(); in CompileMethod()
218 compiler_options_->verification_results_ = nullptr; in CompileMethod()
[all …]
Dcompiler.h104 compiler_options_(compiler_options), in Compiler()
110 return compiler_options_; in GetCompilerOptions()
118 const CompilerOptions& compiler_options_;
Dcommon_compiler_test.h95 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.h213 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()
285 MultiOatRelativePatcher patcher(compiler_options_->GetInstructionSet(), in DoCompile()
286 compiler_options_->GetInstructionSetFeatures(), in DoCompile()
375 compiler_options_->SetInlineMaxCodeUnits(CompilerOptions::kDefaultInlineMaxCodeUnits); in Compile()
376 compiler_options_->SetMaxImageBlockSize(max_image_block_size); in Compile()
Dimage_writer.cc204 return compiler_options_.IsAppImage() in GetAppClassLoader()
211 if (compiler_options_.IsBootImage()) { in IsImageDexCache()
221 if (!ContainsElement(compiler_options_.GetDexFilesForOatFile(), dex_cache->GetDexFile())) { in IsImageDexCache()
241 target_ptr_size_ = InstructionSetPointerSize(compiler_options_.GetInstructionSet()); in PrepareImageAddressSpace()
253 if (compiler_options_.IsAppImage()) { in PrepareImageAddressSpace()
301 if (VLOG_IS_ON(compiler) && compiler_options_.IsAppImage()) { in PrepareImageAddressSpace()
328 DCHECK(compiler_options_.IsAppImage()); in CopyMetadata()
431 if (compiler_options_.IsAppImage()) { in Write()
465 if (image_fd == -1 && !compiler_options_.IsAppImage() && fchmod(image_file->Fd(), 0644) != 0) { in Write()
482 const uint32_t cur_size = std::min(size, compiler_options_.MaxImageBlockSize()); in Write()
[all …]
Doat_writer_test.cc91 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()
Doat_writer.h253 return compiler_options_; in GetCompilerOptions()
379 const CompilerOptions& compiler_options_; variable
Dimage_write_read_test.cc94 const HashSet<std::string>& image_classes = compiler_options_->GetImageClasses(); in TestWriteRead()
/art/compiler/optimizing/
Dlive_ranges_test.cc34 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()
Dprepare_for_register_allocation.h38 compiler_options_(compiler_options) {} in HGraphDelegateVisitor()
63 const CompilerOptions& compiler_options_; variable
Dregister_allocator_test.cc46 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 …]
Dloop_optimization_test.cc37 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
Dssa_liveness_analysis_test.cc35 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
Doptimizing_cfi_test.cc59 code_gen_ = CodeGenerator::Create(graph_, *compiler_options_); in SetUpFrame()
Dprepare_for_register_allocation.cc54 if (compiler_options_.GetImplicitNullChecks()) { in VisitNullCheck()
Dloop_optimization.h274 const CompilerOptions* compiler_options_; variable
/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.h118 return *compiler_options_; in GetCompilerOptions()
307 const CompilerOptions* const compiler_options_; variable

12