Lines Matching refs:options

35 inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string* error_msg) {  in ReadCompilerOptions()  argument
44 options->SetCompilerFilter(compiler_filter); in ReadCompilerOptions()
46 map.AssignIfExists(Base::HugeMethodMaxThreshold, &options->huge_method_threshold_); in ReadCompilerOptions()
47 map.AssignIfExists(Base::LargeMethodMaxThreshold, &options->large_method_threshold_); in ReadCompilerOptions()
48 map.AssignIfExists(Base::NumDexMethodsThreshold, &options->num_dex_methods_threshold_); in ReadCompilerOptions()
49 map.AssignIfExists(Base::InlineMaxCodeUnitsThreshold, &options->inline_max_code_units_); in ReadCompilerOptions()
50 map.AssignIfExists(Base::GenerateDebugInfo, &options->generate_debug_info_); in ReadCompilerOptions()
51 map.AssignIfExists(Base::GenerateMiniDebugInfo, &options->generate_mini_debug_info_); in ReadCompilerOptions()
52 map.AssignIfExists(Base::GenerateBuildID, &options->generate_build_id_); in ReadCompilerOptions()
54 options->debuggable_ = true; in ReadCompilerOptions()
57 options->baseline_ = true; in ReadCompilerOptions()
59 map.AssignIfExists(Base::TopKProfileThreshold, &options->top_k_profile_threshold_); in ReadCompilerOptions()
60 map.AssignIfExists(Base::AbortOnHardVerifierFailure, &options->abort_on_hard_verifier_failure_); in ReadCompilerOptions()
61 map.AssignIfExists(Base::AbortOnSoftVerifierFailure, &options->abort_on_soft_verifier_failure_); in ReadCompilerOptions()
63 if (!options->ParseDumpInitFailures(*map.Get(Base::DumpInitFailures), error_msg)) { in ReadCompilerOptions()
67 map.AssignIfExists(Base::DumpCFG, &options->dump_cfg_file_name_); in ReadCompilerOptions()
69 options->dump_cfg_append_ = true; in ReadCompilerOptions()
72 if (!options->ParseRegisterAllocationStrategy(*map.Get(Base::DumpInitFailures), error_msg)) { in ReadCompilerOptions()
76 map.AssignIfExists(Base::VerboseMethods, &options->verbose_methods_); in ReadCompilerOptions()
77 options->deduplicate_code_ = map.GetOrDefault(Base::DeduplicateCode); in ReadCompilerOptions()
79 options->count_hotness_in_compiled_code_ = true; in ReadCompilerOptions()
81 map.AssignIfExists(Base::ResolveStartupConstStrings, &options->resolve_startup_const_strings_); in ReadCompilerOptions()
82 map.AssignIfExists(Base::InitializeAppImageClasses, &options->initialize_app_image_classes_); in ReadCompilerOptions()
84 options->check_profiled_methods_ = *map.Get(Base::CheckProfiledMethods); in ReadCompilerOptions()
86 map.AssignIfExists(Base::MaxImageBlockSize, &options->max_image_block_size_); in ReadCompilerOptions()
89 options->dump_timings_ = true; in ReadCompilerOptions()
93 options->dump_pass_timings_ = true; in ReadCompilerOptions()
97 options->dump_stats_ = true; in ReadCompilerOptions()