• Home
  • Raw
  • Download

Lines Matching refs:cur_arg

480   const char* cur_arg = argv[*argi];  in CanonicalizeFlag()  local
483 canonical_arg << cur_arg; in CanonicalizeFlag()
490 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") || in CanonicalizeFlag()
491 0 == strcmp(cur_arg, "--loop-fission") || in CanonicalizeFlag()
492 0 == strcmp(cur_arg, "--loop-fusion") || in CanonicalizeFlag()
493 0 == strcmp(cur_arg, "--loop-unroll-partial") || in CanonicalizeFlag()
494 0 == strcmp(cur_arg, "--loop-peeling-threshold")) { in CanonicalizeFlag()
519 const char* cur_arg = argv[argi]; in ParseFlags() local
520 if ('-' == cur_arg[0]) { in ParseFlags()
521 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
525 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags()
528 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags()
535 } else if ('\0' == cur_arg[1]) { in ParseFlags()
538 *in_file = cur_arg; in ParseFlags()
544 } else if (0 == strncmp(cur_arg, "-Oconfig=", sizeof("-Oconfig=") - 1)) { in ParseFlags()
546 ParseOconfigFlag(argv[0], cur_arg, optimizer, in_file, out_file); in ParseFlags()
550 } else if (0 == strcmp(cur_arg, "--skip-validation")) { in ParseFlags()
552 } else if (0 == strcmp(cur_arg, "--print-all")) { in ParseFlags()
554 } else if (0 == strcmp(cur_arg, "--time-report")) { in ParseFlags()
556 } else if (0 == strcmp(cur_arg, "--relax-struct-store")) { in ParseFlags()
558 } else if (0 == strncmp(cur_arg, "--max-id-bound=", in ParseFlags()
560 auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
575 } else if (0 == strncmp(cur_arg, in ParseFlags()
577 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
593 if (0 == strcmp(cur_arg, "--legalize-hlsl")) { in ParseFlags()
599 *in_file = cur_arg; in ParseFlags()