Lines Matching defs:cur_arg
666 const char* cur_arg = argv[*argi];
669 canonical_arg << cur_arg;
676 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") ||
677 0 == strcmp(cur_arg, "--loop-fission") ||
678 0 == strcmp(cur_arg, "--loop-fusion") ||
679 0 == strcmp(cur_arg, "--loop-unroll-partial") ||
680 0 == strcmp(cur_arg, "--loop-peeling-threshold")) {
705 const char* cur_arg = argv[argi];
706 if ('-' == cur_arg[0]) {
707 if (0 == strcmp(cur_arg, "--version")) {
711 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) {
714 } else if (0 == strcmp(cur_arg, "-o")) {
721 } else if ('\0' == cur_arg[1]) {
724 *in_file = cur_arg;
730 } else if (0 == strncmp(cur_arg, "-Oconfig=", sizeof("-Oconfig=") - 1)) {
732 ParseOconfigFlag(argv[0], cur_arg, optimizer, in_file, out_file,
737 } else if (0 == strcmp(cur_arg, "--skip-validation")) {
739 } else if (0 == strcmp(cur_arg, "--print-all")) {
741 } else if (0 == strcmp(cur_arg, "--preserve-bindings")) {
743 } else if (0 == strcmp(cur_arg, "--preserve-spec-constants")) {
745 } else if (0 == strcmp(cur_arg, "--time-report")) {
747 } else if (0 == strcmp(cur_arg, "--relax-struct-store")) {
749 } else if (0 == strncmp(cur_arg, "--max-id-bound=",
751 auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg);
766 } else if (0 == strncmp(cur_arg,
768 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg);
777 } else if (0 == strcmp(cur_arg, "--validate-after-all")) {
779 } else if (0 == strcmp(cur_arg, "--before-hlsl-legalization")) {
781 } else if (0 == strcmp(cur_arg, "--relax-logical-pointer")) {
783 } else if (0 == strcmp(cur_arg, "--relax-block-layout")) {
785 } else if (0 == strcmp(cur_arg, "--scalar-block-layout")) {
787 } else if (0 == strcmp(cur_arg, "--workgroup-scalar-block-layout")) {
789 } else if (0 == strcmp(cur_arg, "--skip-block-layout")) {
791 } else if (0 == strcmp(cur_arg, "--relax-struct-store")) {
800 if (0 == strcmp(cur_arg, "--legalize-hlsl")) {
806 *in_file = cur_arg;