/art/compiler/driver/ |
D | compiler_options.cc | 105 void CompilerOptions::ParseHugeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseHugeMethodMax() argument 106 ParseUintOption(option, "--huge-method-max", &huge_method_threshold_, Usage); in ParseHugeMethodMax() 109 void CompilerOptions::ParseLargeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseLargeMethodMax() argument 110 ParseUintOption(option, "--large-method-max", &large_method_threshold_, Usage); in ParseLargeMethodMax() 113 void CompilerOptions::ParseSmallMethodMax(const StringPiece& option, UsageFn Usage) { in ParseSmallMethodMax() argument 114 ParseUintOption(option, "--small-method-max", &small_method_threshold_, Usage); in ParseSmallMethodMax() 117 void CompilerOptions::ParseTinyMethodMax(const StringPiece& option, UsageFn Usage) { in ParseTinyMethodMax() argument 118 ParseUintOption(option, "--tiny-method-max", &tiny_method_threshold_, Usage); in ParseTinyMethodMax() 121 void CompilerOptions::ParseNumDexMethods(const StringPiece& option, UsageFn Usage) { in ParseNumDexMethods() argument 122 ParseUintOption(option, "--num-dex-methods", &num_dex_methods_threshold_, Usage); in ParseNumDexMethods() [all …]
|
D | compiler_options.h | 234 bool ParseCompilerOption(const StringPiece& option, UsageFn Usage); 249 void ParseDumpInitFailures(const StringPiece& option, UsageFn Usage); 250 void ParseDumpCfgPasses(const StringPiece& option, UsageFn Usage); 251 void ParseInlineMaxCodeUnits(const StringPiece& option, UsageFn Usage); 252 void ParseInlineDepthLimit(const StringPiece& option, UsageFn Usage); 253 void ParseNumDexMethods(const StringPiece& option, UsageFn Usage); 254 void ParseTinyMethodMax(const StringPiece& option, UsageFn Usage); 255 void ParseSmallMethodMax(const StringPiece& option, UsageFn Usage); 256 void ParseLargeMethodMax(const StringPiece& option, UsageFn Usage); 257 void ParseHugeMethodMax(const StringPiece& option, UsageFn Usage);
|
/art/test/119-noimage-patchoat/ |
D | run | 34 ${RUN} ${flags} ${BPATH} --runtime-option -Xnoimage-dex2oat --runtime-option -Xpatchoat:${false_bin} 38 ${RUN} ${flags} ${BPATH} --runtime-option -Xnoimage-dex2oat --runtime-option -Xpatchoat:${false_bin… 42 ${RUN} ${flags} ${BPATH} --runtime-option -Ximage-dex2oat
|
/art/runtime/ |
D | compiler_filter.cc | 155 bool CompilerFilter::ParseCompilerFilter(const char* option, Filter* filter) { in ParseCompilerFilter() argument 158 if (strcmp(option, "verify-none") == 0) { in ParseCompilerFilter() 160 } else if (strcmp(option, "interpret-only") == 0) { in ParseCompilerFilter() 162 } else if (strcmp(option, "verify-profile") == 0) { in ParseCompilerFilter() 164 } else if (strcmp(option, "verify-at-runtime") == 0) { in ParseCompilerFilter() 166 } else if (strcmp(option, "space") == 0) { in ParseCompilerFilter() 168 } else if (strcmp(option, "space-profile") == 0) { in ParseCompilerFilter() 170 } else if (strcmp(option, "balanced") == 0) { in ParseCompilerFilter() 172 } else if (strcmp(option, "speed") == 0) { in ParseCompilerFilter() 174 } else if (strcmp(option, "speed-profile") == 0) { in ParseCompilerFilter() [all …]
|
/art/test/118-noimage-dex2oat/ |
D | run | 50 ${RUN} ${flags} ${bpath_arg} --runtime-option -Xnoimage-dex2oat --runtime-option -Xnodex2oat 54 ${RUN} ${flags} ${bpath_arg} --runtime-option -Xnoimage-dex2oat --runtime-option -Xnodex2oat --runt… 58 ${RUN} ${flags} ${bpath_arg} --runtime-option -Ximage-dex2oat
|
/art/test/595-profile-saving/ |
D | run | 24 -Xcompiler-option --compiler-filter=interpret-only \ 25 --runtime-option -XOatFileManagerCompilerFilter:interpret-only \ 26 --runtime-option -Xjitsaveprofilinginfo \ 27 --runtime-option -Xusejit:false \
|
/art/profman/ |
D | profman.cc | 141 const StringPiece option(argv[i]); in ParseArgs() local 146 if (option == "--dump-only") { in ParseArgs() 148 } else if (option.starts_with("--dump-output-to-fd=")) { in ParseArgs() 149 ParseUintOption(option, "--dump-output-to-fd", &dump_output_to_fd_, Usage); in ParseArgs() 150 } else if (option.starts_with("--profile-file=")) { in ParseArgs() 151 profile_files_.push_back(option.substr(strlen("--profile-file=")).ToString()); in ParseArgs() 152 } else if (option.starts_with("--profile-file-fd=")) { in ParseArgs() 153 ParseFdForCollection(option, "--profile-file-fd", &profile_files_fd_); in ParseArgs() 154 } else if (option.starts_with("--reference-profile-file=")) { in ParseArgs() 155 reference_profile_file_ = option.substr(strlen("--reference-profile-file=")).ToString(); in ParseArgs() [all …]
|
/art/dex2oat/ |
D | dex2oat.cc | 577 void ParseZipFd(const StringPiece& option) { in ParseZipFd() argument 578 ParseUintOption(option, "--zip-fd", &zip_fd_, Usage); in ParseZipFd() 581 void ParseOatFd(const StringPiece& option) { in ParseOatFd() argument 582 ParseUintOption(option, "--oat-fd", &oat_fd_, Usage); in ParseOatFd() 585 void ParseFdForCollection(const StringPiece& option, in ParseFdForCollection() argument 589 ParseUintOption(option, arg_name, &fd, Usage); in ParseFdForCollection() 593 void ParseJ(const StringPiece& option) { in ParseJ() argument 594 ParseUintOption(option, "-j", &thread_count_, Usage, /* is_long_option */ false); in ParseJ() 597 void ParseBase(const StringPiece& option) { in ParseBase() argument 598 DCHECK(option.starts_with("--base=")); in ParseBase() [all …]
|
/art/cmdline/ |
D | cmdline_types.h | 444 static gc::CollectorType ParseCollectorType(const std::string& option) { 445 if (option == "MS" || option == "nonconcurrent") { 447 } else if (option == "CMS" || option == "concurrent") { 449 } else if (option == "SS") { 451 } else if (option == "GSS") { 453 } else if (option == "CC") { 455 } else if (option == "MC") { 481 Result Parse(const std::string& option) { // -Xgc: already stripped 485 Split(option, ',', &gc_options); 766 Result ParseAndAppend(const std::string& option, TestProfilerOptions& existing) { [all …]
|
D | cmdline.h | 141 const StringPiece option(argv[i]); in Parse() 142 if (option.starts_with("--boot-image=")) { in Parse() 143 boot_image_location_ = option.substr(strlen("--boot-image=")).data(); in Parse() 144 } else if (option.starts_with("--instruction-set=")) { in Parse() 145 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in Parse() 152 } else if (option.starts_with("--output=")) { in Parse() 153 output_name_ = option.substr(strlen("--output=")).ToString(); in Parse() 163 ParseStatus parse_status = ParseCustom(option, &error_msg); in Parse() 166 fprintf(stderr, "Unknown argument %s\n", option.data()); in Parse() 283 virtual ParseStatus ParseCustom(const StringPiece& option ATTRIBUTE_UNUSED, in ParseCustom()
|
/art/compiler/jit/ |
D | jit_compiler.cc | 118 for (const StringPiece option : Runtime::Current()->GetCompilerOptions()) { in JitCompiler() local 119 VLOG(compiler) << "JIT compiler option " << option; in JitCompiler() 121 if (option.starts_with("--instruction-set-variant=")) { in JitCompiler() 122 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in JitCompiler() 127 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; in JitCompiler() 129 } else if (option.starts_with("--instruction-set-features=")) { in JitCompiler() 130 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in JitCompiler() 136 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; in JitCompiler() 142 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; in JitCompiler()
|
/art/test/577-profile-foreign-dex/ |
D | run | 18 --runtime-option -Xjitsaveprofilinginfo \ 19 --runtime-option -Xusejit:true \
|
/art/test/134-nodex2oat-nofallback/ |
D | run | 20 ${RUN} ${flags} --runtime-option -Xnodex2oat --runtime-option -Xno-dex-file-fallback
|
/art/test/304-method-tracing/ |
D | run | 18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
|
/art/test/116-nodex2oat/ |
D | run | 29 ${RUN} ${flags} --runtime-option -Xnodex2oat 33 ${RUN} ${flags} --runtime-option -Xdex2oat
|
/art/test/117-nopatchoat/ |
D | run | 39 ${RUN} ${flags} --runtime-option -Xnodex2oat 43 ${RUN} ${flags} --runtime-option -Xdex2oat
|
/art/test/137-cfi/ |
D | run | 19 ${RUN} "$@" -Xcompiler-option --generate-debug-info \ 25 ${RUN} "$@" -Xcompiler-option --generate-mini-debug-info --args --test-remote
|
/art/test/115-native-bridge/ |
D | run | 31 exec ${RUN} --runtime-option -Xforce-nb-testing --runtime-option -XX:NativeBridge=libnativebridgete…
|
/art/patchoat/ |
D | patchoat.cc | 1257 const StringPiece option(argv[i]); in patchoat() local 1262 if (option.starts_with("--instruction-set=")) { in patchoat() 1264 const char* isa_str = option.substr(strlen("--instruction-set=")).data(); in patchoat() 1269 } else if (option.starts_with("--input-oat-location=")) { in patchoat() 1274 input_oat_location = option.substr(strlen("--input-oat-location=")).data(); in patchoat() 1275 } else if (option.starts_with("--input-oat-file=")) { in patchoat() 1280 input_oat_filename = option.substr(strlen("--input-oat-file=")).data(); in patchoat() 1281 } else if (option.starts_with("--input-oat-fd=")) { in patchoat() 1286 const char* oat_fd_str = option.substr(strlen("--input-oat-fd=")).data(); in patchoat() 1293 } else if (option.starts_with("--input-image-location=")) { in patchoat() [all …]
|
/art/test/597-deopt-new-string/ |
D | run | 18 exec ${RUN} -Xcompiler-option --debuggable "${@}"
|
/art/test/570-checker-osr/ |
D | run | 18 exec ${RUN} "$@" --runtime-option -Xjitinitialsize:32M
|
/art/test/138-duplicate-classes-check2/ |
D | run | 19 exec ${RUN} --runtime-option -Xno-dex-file-fallback "${@}"
|
/art/test/etc/ |
D | run-test-jar | 92 option="$1" 93 FLAGS="${FLAGS} -Xcompiler-option $option" 94 COMPILE_FLAGS="${COMPILE_FLAGS} $option" 98 option="$1" 99 FLAGS="${FLAGS} $option"
|
/art/test/569-checker-pattern-replacement/ |
D | run | 18 -Xcompiler-option --no-inline-from=core-oj,569-checker-pattern-replacement.jar:classes2.dex
|
/art/test/551-checker-shifter-operand/ |
D | build | 67 option="$1" 69 if [ "x$option" != "x--no-optimize" ]; then 70 DX_FLAGS="${DX_FLAGS} $option"
|