/art/dex2oat/ |
D | common_compiler_driver_test.cc | 44 &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()
|
D | dex2oat.cc | 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() [all …]
|
/art/compiler/jit/ |
D | jit_compiler.cc | 47 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 …]
|
D | jit_compiler.h | 48 return *compiler_options_.get(); in GetCompilerOptions() 63 std::unique_ptr<CompilerOptions> compiler_options_;
|
/art/compiler/ |
D | common_compiler_test.cc | 141 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 …]
|
D | compiler.h | 104 compiler_options_(compiler_options), in Compiler() 110 return compiler_options_; in GetCompilerOptions() 118 const CompilerOptions& compiler_options_;
|
D | common_compiler_test.h | 95 std::unique_ptr<CompilerOptions> compiler_options_; variable
|
/art/dex2oat/linker/ |
D | elf_writer_quick.cc | 122 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()
|
D | image_test.h | 213 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()
|
D | image_writer.cc | 204 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 …]
|
D | oat_writer_test.cc | 91 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()
|
D | oat_writer.h | 253 return compiler_options_; in GetCompilerOptions() 379 const CompilerOptions& compiler_options_; variable
|
D | image_write_read_test.cc | 94 const HashSet<std::string>& image_classes = compiler_options_->GetImageClasses(); in TestWriteRead()
|
/art/compiler/optimizing/ |
D | live_ranges_test.cc | 34 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()
|
D | prepare_for_register_allocation.h | 38 compiler_options_(compiler_options) {} in HGraphDelegateVisitor() 63 const CompilerOptions& compiler_options_; variable
|
D | register_allocator_test.cc | 46 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 …]
|
D | loop_optimization_test.cc | 37 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
|
D | ssa_liveness_analysis_test.cc | 35 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
|
D | optimizing_cfi_test.cc | 59 code_gen_ = CodeGenerator::Create(graph_, *compiler_options_); in SetUpFrame()
|
D | prepare_for_register_allocation.cc | 54 if (compiler_options_.GetImplicitNullChecks()) { in VisitNullCheck()
|
D | loop_optimization.h | 274 const CompilerOptions* compiler_options_; variable
|
/art/compiler/dex/ |
D | verification_results.cc | 34 : compiler_options_(compiler_options), in VerificationResults() 138 if (!compiler_options_->IsAotCompilationEnabled()) { in IsCandidateForCompilation() 142 if ((compiler_options_->GetCompilerFilter() != CompilerFilter::kEverything) && in IsCandidateForCompilation()
|
D | verification_results.h | 71 const CompilerOptions* const compiler_options_; variable
|
/art/dex2oat/dex/ |
D | dex_to_dex_decompiler_test.cc | 42 compiler_options_->image_type_ = CompilerOptions::ImageType::kNone; in CompileAll() 43 compiler_options_->SetCompilerFilter(CompilerFilter::kQuicken); in CompileAll()
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 118 return *compiler_options_; in GetCompilerOptions() 307 const CompilerOptions* const compiler_options_; variable
|