Lines Matching refs:option

110 void CompilerOptions::ParseHugeMethodMax(const StringPiece& option, UsageFn Usage) {  in ParseHugeMethodMax()  argument
111 ParseUintOption(option, "--huge-method-max", &huge_method_threshold_, Usage); in ParseHugeMethodMax()
114 void CompilerOptions::ParseLargeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseLargeMethodMax() argument
115 ParseUintOption(option, "--large-method-max", &large_method_threshold_, Usage); in ParseLargeMethodMax()
118 void CompilerOptions::ParseSmallMethodMax(const StringPiece& option, UsageFn Usage) { in ParseSmallMethodMax() argument
119 ParseUintOption(option, "--small-method-max", &small_method_threshold_, Usage); in ParseSmallMethodMax()
122 void CompilerOptions::ParseTinyMethodMax(const StringPiece& option, UsageFn Usage) { in ParseTinyMethodMax() argument
123 ParseUintOption(option, "--tiny-method-max", &tiny_method_threshold_, Usage); in ParseTinyMethodMax()
126 void CompilerOptions::ParseNumDexMethods(const StringPiece& option, UsageFn Usage) { in ParseNumDexMethods() argument
127 ParseUintOption(option, "--num-dex-methods", &num_dex_methods_threshold_, Usage); in ParseNumDexMethods()
130 void CompilerOptions::ParseInlineMaxCodeUnits(const StringPiece& option, UsageFn Usage) { in ParseInlineMaxCodeUnits() argument
131 ParseUintOption(option, "--inline-max-code-units", &inline_max_code_units_, Usage); in ParseInlineMaxCodeUnits()
134 void CompilerOptions::ParseDumpInitFailures(const StringPiece& option, in ParseDumpInitFailures() argument
136 DCHECK(option.starts_with("--dump-init-failures=")); in ParseDumpInitFailures()
137 std::string file_name = option.substr(strlen("--dump-init-failures=")).data(); in ParseDumpInitFailures()
148 void CompilerOptions::ParseRegisterAllocationStrategy(const StringPiece& option, in ParseRegisterAllocationStrategy() argument
150 DCHECK(option.starts_with("--register-allocation-strategy=")); in ParseRegisterAllocationStrategy()
151 StringPiece choice = option.substr(strlen("--register-allocation-strategy=")).data(); in ParseRegisterAllocationStrategy()
161 bool CompilerOptions::ParseCompilerOption(const StringPiece& option, UsageFn Usage) { in ParseCompilerOption() argument
162 if (option.starts_with("--compiler-filter=")) { in ParseCompilerOption()
163 const char* compiler_filter_string = option.substr(strlen("--compiler-filter=")).data(); in ParseCompilerOption()
167 } else if (option == "--compile-pic") { in ParseCompilerOption()
169 } else if (option.starts_with("--huge-method-max=")) { in ParseCompilerOption()
170 ParseHugeMethodMax(option, Usage); in ParseCompilerOption()
171 } else if (option.starts_with("--large-method-max=")) { in ParseCompilerOption()
172 ParseLargeMethodMax(option, Usage); in ParseCompilerOption()
173 } else if (option.starts_with("--small-method-max=")) { in ParseCompilerOption()
174 ParseSmallMethodMax(option, Usage); in ParseCompilerOption()
175 } else if (option.starts_with("--tiny-method-max=")) { in ParseCompilerOption()
176 ParseTinyMethodMax(option, Usage); in ParseCompilerOption()
177 } else if (option.starts_with("--num-dex-methods=")) { in ParseCompilerOption()
178 ParseNumDexMethods(option, Usage); in ParseCompilerOption()
179 } else if (option.starts_with("--inline-max-code-units=")) { in ParseCompilerOption()
180 ParseInlineMaxCodeUnits(option, Usage); in ParseCompilerOption()
181 } else if (option == "--generate-debug-info" || option == "-g") { in ParseCompilerOption()
183 } else if (option == "--no-generate-debug-info") { in ParseCompilerOption()
185 } else if (option == "--generate-mini-debug-info") { in ParseCompilerOption()
187 } else if (option == "--no-generate-mini-debug-info") { in ParseCompilerOption()
189 } else if (option == "--generate-build-id") { in ParseCompilerOption()
191 } else if (option == "--no-generate-build-id") { in ParseCompilerOption()
193 } else if (option == "--debuggable") { in ParseCompilerOption()
195 } else if (option.starts_with("--top-k-profile-threshold=")) { in ParseCompilerOption()
196 ParseDouble(option.data(), '=', 0.0, 100.0, &top_k_profile_threshold_, Usage); in ParseCompilerOption()
197 } else if (option == "--abort-on-hard-verifier-error") { in ParseCompilerOption()
199 } else if (option.starts_with("--dump-init-failures=")) { in ParseCompilerOption()
200 ParseDumpInitFailures(option, Usage); in ParseCompilerOption()
201 } else if (option.starts_with("--dump-cfg=")) { in ParseCompilerOption()
202 dump_cfg_file_name_ = option.substr(strlen("--dump-cfg=")).data(); in ParseCompilerOption()
203 } else if (option.starts_with("--dump-cfg-append")) { in ParseCompilerOption()
205 } else if (option.starts_with("--register-allocation-strategy=")) { in ParseCompilerOption()
206 ParseRegisterAllocationStrategy(option, Usage); in ParseCompilerOption()