• Home
  • Raw
  • Download

Lines Matching refs:option

58 void CompilerOptions::ParseHugeMethodMax(const StringPiece& option, UsageFn Usage) {  in ParseHugeMethodMax()  argument
59 ParseUintOption(option, "--huge-method-max", &huge_method_threshold_, Usage); in ParseHugeMethodMax()
62 void CompilerOptions::ParseLargeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseLargeMethodMax() argument
63 ParseUintOption(option, "--large-method-max", &large_method_threshold_, Usage); in ParseLargeMethodMax()
66 void CompilerOptions::ParseSmallMethodMax(const StringPiece& option, UsageFn Usage) { in ParseSmallMethodMax() argument
67 ParseUintOption(option, "--small-method-max", &small_method_threshold_, Usage); in ParseSmallMethodMax()
70 void CompilerOptions::ParseTinyMethodMax(const StringPiece& option, UsageFn Usage) { in ParseTinyMethodMax() argument
71 ParseUintOption(option, "--tiny-method-max", &tiny_method_threshold_, Usage); in ParseTinyMethodMax()
74 void CompilerOptions::ParseNumDexMethods(const StringPiece& option, UsageFn Usage) { in ParseNumDexMethods() argument
75 ParseUintOption(option, "--num-dex-methods", &num_dex_methods_threshold_, Usage); in ParseNumDexMethods()
78 void CompilerOptions::ParseInlineMaxCodeUnits(const StringPiece& option, UsageFn Usage) { in ParseInlineMaxCodeUnits() argument
79 ParseUintOption(option, "--inline-max-code-units", &inline_max_code_units_, Usage); in ParseInlineMaxCodeUnits()
82 void CompilerOptions::ParseDumpInitFailures(const StringPiece& option, in ParseDumpInitFailures() argument
84 DCHECK(option.starts_with("--dump-init-failures=")); in ParseDumpInitFailures()
85 std::string file_name = option.substr(strlen("--dump-init-failures=")).data(); in ParseDumpInitFailures()
96 void CompilerOptions::ParseRegisterAllocationStrategy(const StringPiece& option, in ParseRegisterAllocationStrategy() argument
98 DCHECK(option.starts_with("--register-allocation-strategy=")); in ParseRegisterAllocationStrategy()
99 StringPiece choice = option.substr(strlen("--register-allocation-strategy=")).data(); in ParseRegisterAllocationStrategy()
109 bool CompilerOptions::ParseCompilerOption(const StringPiece& option, UsageFn Usage) { in ParseCompilerOption() argument
110 if (option.starts_with("--compiler-filter=")) { in ParseCompilerOption()
111 const char* compiler_filter_string = option.substr(strlen("--compiler-filter=")).data(); in ParseCompilerOption()
115 } else if (option == "--compile-pic") { in ParseCompilerOption()
117 } else if (option.starts_with("--huge-method-max=")) { in ParseCompilerOption()
118 ParseHugeMethodMax(option, Usage); in ParseCompilerOption()
119 } else if (option.starts_with("--large-method-max=")) { in ParseCompilerOption()
120 ParseLargeMethodMax(option, Usage); in ParseCompilerOption()
121 } else if (option.starts_with("--small-method-max=")) { in ParseCompilerOption()
122 ParseSmallMethodMax(option, Usage); in ParseCompilerOption()
123 } else if (option.starts_with("--tiny-method-max=")) { in ParseCompilerOption()
124 ParseTinyMethodMax(option, Usage); in ParseCompilerOption()
125 } else if (option.starts_with("--num-dex-methods=")) { in ParseCompilerOption()
126 ParseNumDexMethods(option, Usage); in ParseCompilerOption()
127 } else if (option.starts_with("--inline-max-code-units=")) { in ParseCompilerOption()
128 ParseInlineMaxCodeUnits(option, Usage); in ParseCompilerOption()
129 } else if (option == "--generate-debug-info" || option == "-g") { in ParseCompilerOption()
131 } else if (option == "--no-generate-debug-info") { in ParseCompilerOption()
133 } else if (option == "--generate-mini-debug-info") { in ParseCompilerOption()
135 } else if (option == "--no-generate-mini-debug-info") { in ParseCompilerOption()
137 } else if (option == "--generate-build-id") { in ParseCompilerOption()
139 } else if (option == "--no-generate-build-id") { in ParseCompilerOption()
141 } else if (option == "--debuggable") { in ParseCompilerOption()
143 } else if (option.starts_with("--top-k-profile-threshold=")) { in ParseCompilerOption()
144 ParseDouble(option.data(), '=', 0.0, 100.0, &top_k_profile_threshold_, Usage); in ParseCompilerOption()
145 } else if (option == "--abort-on-hard-verifier-error") { in ParseCompilerOption()
147 } else if (option.starts_with("--dump-init-failures=")) { in ParseCompilerOption()
148 ParseDumpInitFailures(option, Usage); in ParseCompilerOption()
149 } else if (option.starts_with("--dump-cfg=")) { in ParseCompilerOption()
150 dump_cfg_file_name_ = option.substr(strlen("--dump-cfg=")).data(); in ParseCompilerOption()
151 } else if (option == "--dump-cfg-append") { in ParseCompilerOption()
153 } else if (option.starts_with("--register-allocation-strategy=")) { in ParseCompilerOption()
154 ParseRegisterAllocationStrategy(option, Usage); in ParseCompilerOption()
155 } else if (option.starts_with("--verbose-methods=")) { in ParseCompilerOption()
159 Split(option.substr(strlen("--verbose-methods=")).ToString(), ',', &verbose_methods_); in ParseCompilerOption()