Lines Matching refs:Base
53 template <class Base>
54 inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string* error_msg) {
55 if (map.Exists(Base::CompilerFilter)) {
56 options->SetCompilerFilter(*map.Get(Base::CompilerFilter));
58 map.AssignIfExists(Base::CompileArtTest, &options->compile_art_test_);
59 map.AssignIfExists(Base::HugeMethodMaxThreshold, &options->huge_method_threshold_);
60 map.AssignIfExists(Base::LargeMethodMaxThreshold, &options->large_method_threshold_);
61 map.AssignIfExists(Base::NumDexMethodsThreshold, &options->num_dex_methods_threshold_);
62 map.AssignIfExists(Base::InlineMaxCodeUnitsThreshold, &options->inline_max_code_units_);
63 map.AssignIfExists(Base::GenerateDebugInfo, &options->generate_debug_info_);
64 map.AssignIfExists(Base::GenerateMiniDebugInfo, &options->generate_mini_debug_info_);
65 map.AssignIfExists(Base::GenerateBuildID, &options->generate_build_id_);
66 if (map.Exists(Base::Debuggable)) {
69 if (map.Exists(Base::Baseline)) {
72 map.AssignIfExists(Base::TopKProfileThreshold, &options->top_k_profile_threshold_);
73 map.AssignIfExists(Base::AbortOnHardVerifierFailure, &options->abort_on_hard_verifier_failure_);
74 map.AssignIfExists(Base::AbortOnSoftVerifierFailure, &options->abort_on_soft_verifier_failure_);
75 if (map.Exists(Base::DumpInitFailures)) {
76 if (!options->ParseDumpInitFailures(*map.Get(Base::DumpInitFailures), error_msg)) {
80 map.AssignIfExists(Base::DumpCFG, &options->dump_cfg_file_name_);
81 if (map.Exists(Base::DumpCFGAppend)) {
84 if (map.Exists(Base::RegisterAllocationStrategy)) {
85 if (!options->ParseRegisterAllocationStrategy(*map.Get(Base::DumpInitFailures), error_msg)) {
89 map.AssignIfExists(Base::VerboseMethods, &options->verbose_methods_);
90 options->deduplicate_code_ = map.GetOrDefault(Base::DeduplicateCode);
91 if (map.Exists(Base::CountHotnessInCompiledCode)) {
94 map.AssignIfExists(Base::ResolveStartupConstStrings, &options->resolve_startup_const_strings_);
95 map.AssignIfExists(Base::InitializeAppImageClasses, &options->initialize_app_image_classes_);
96 if (map.Exists(Base::CheckProfiledMethods)) {
97 options->check_profiled_methods_ = *map.Get(Base::CheckProfiledMethods);
99 map.AssignIfExists(Base::MaxImageBlockSize, &options->max_image_block_size_);
101 if (map.Exists(Base::DumpTimings)) {
105 if (map.Exists(Base::DumpPassTimings)) {
109 if (map.Exists(Base::DumpStats)) {