Home
last modified time | relevance | path

Searched refs:goto_label (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_continue_vs_break.c108 if (!stmt->goto_label || stmt->goto_label->type != SYM_NODE) in match_continue()
110 if (strcmp(stmt->goto_label->ident->name, "continue") != 0) in match_continue()
H A Dcheck_indenting.c169 if (stmt->type == STMT_GOTO && stmt->goto_label && in match_stmt()
170 stmt->goto_label->type == SYM_NODE && in match_stmt()
171 strcmp(stmt->goto_label->ident->name, "break") == 0) { in match_stmt()
H A Dcheck_unreachable.c168 if (stmt->goto_label && stmt->goto_label->type == SYM_NODE && in unreachable_stmt()
169 strcmp(stmt->goto_label->ident->name, "break") == 0) in unreachable_stmt()
H A Dsmatch_flow.c926 if (!goto_stmt->goto_label || in handle_backward_goto()
927 goto_stmt->goto_label->type != SYM_LABEL || in handle_backward_goto()
928 !goto_stmt->goto_label->ident) in handle_backward_goto()
930 goto_name = goto_stmt->goto_label->ident->name; in handle_backward_goto()
1181 if (stmt->goto_label && stmt->goto_label->type == SYM_NODE) { in __split_stmt()
1182 if (!strcmp(stmt->goto_label->ident->name, "break")) { in __split_stmt()
1184 } else if (!strcmp(stmt->goto_label->ident->name, in __split_stmt()
1188 } else if (stmt->goto_label && in __split_stmt()
1189 stmt->goto_label->type == SYM_LABEL && in __split_stmt()
1190 stmt->goto_label->ident) { in __split_stmt()
[all …]
H A Dparse.h102 struct symbol *goto_label; member
H A Dinline.c441 stmt->goto_label = copy_symbol(stmt->pos, stmt->goto_label); in copy_one_statement()
H A Dcompile-i386.c2043 } else if (!strcmp("break", show_ident(stmt->goto_label->ident))) { in x86_statement()
2048 } else if (!strcmp("continue", show_ident(stmt->goto_label->ident))) { in x86_statement()
2054 struct storage *labelsym = new_labelsym(stmt->goto_label); in x86_statement()
H A Dshow-parse.c711 printf("\tgoto\t\t.L%p\n", stmt->goto_label); in show_statement()
H A Dlinearize.c2372 if (stmt->goto_label) { in linearize_statement()
2373 add_goto(ep, get_bound_block(ep, stmt->goto_label)); in linearize_statement()
H A Dparse.c2452 stmt->goto_label = target; in parse_loop_iterator()
2476 stmt->goto_label = label_symbol(token); in parse_goto_statement()
H A Devaluate.c3662 struct symbol *label = stmt->goto_label; in evaluate_goto_statement()