Searched refs:goto_label (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_continue_vs_break.c | 108 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 D | check_indenting.c | 169 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 D | check_unreachable.c | 168 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 D | smatch_flow.c | 926 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 D | parse.h | 102 struct symbol *goto_label; member
|
H A D | inline.c | 441 stmt->goto_label = copy_symbol(stmt->pos, stmt->goto_label); in copy_one_statement()
|
H A D | compile-i386.c | 2043 } 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 D | show-parse.c | 711 printf("\tgoto\t\t.L%p\n", stmt->goto_label); in show_statement()
|
H A D | linearize.c | 2372 if (stmt->goto_label) { in linearize_statement() 2373 add_goto(ep, get_bound_block(ep, stmt->goto_label)); in linearize_statement()
|
H A D | parse.c | 2452 stmt->goto_label = target; in parse_loop_iterator() 2476 stmt->goto_label = label_symbol(token); in parse_goto_statement()
|
H A D | evaluate.c | 3662 struct symbol *label = stmt->goto_label; in evaluate_goto_statement()
|