Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dparse.h85 struct expression *switch_expression; member
H A Dsmatch_flow.c806 __split_expr(stmt->switch_expression); in split_known_switch()
807 sval = sval_cast(get_type(stmt->switch_expression), sval); in split_known_switch()
809 push_expression(&switch_expr_stack, stmt->switch_expression); in split_known_switch()
1151 expr_set_parent_stmt(stmt->switch_expression, stmt); in __split_stmt()
1153 if (get_value(stmt->switch_expression, &sval)) { in __split_stmt()
1157 __split_expr(stmt->switch_expression); in __split_stmt()
1158 push_expression(&switch_expr_stack, stmt->switch_expression); in __split_stmt()
H A Dast-inspect.c71 ast_append_child(node, "switch_expression:", stmt->switch_expression, inspect_expression); in inspect_statement()
H A Dinline.c407 struct expression *expr = copy_expression(stmt->switch_expression); in copy_one_statement()
414 stmt->switch_expression = expr; in copy_one_statement()
H A Ddissect.c510 do_expression(U_R_VAL, stmt->switch_expression); in do_statement()
H A Dcompile-i386.c1714 struct storage *val = x86_expression(stmt->switch_expression); in emit_switch_statement()
1719 emit_move(val, REG_EAX, stmt->switch_expression->ctype, "begin case"); in emit_switch_statement()
H A Dshow-parse.c524 int val = show_expression(stmt->switch_expression); in show_switch_statement()
H A Dexpand.c1239 expand_expression(stmt->switch_expression); in expand_statement()
H A Dlinearize.c2201 struct expression *expr = stmt->switch_expression; in linearize_switch()
H A Dparse.c2462 token = parens_expression(token->next, &stmt->switch_expression, "after 'switch'"); in parse_switch_statement()
H A Devaluate.c3644 struct expression *sel = stmt->switch_expression; in evaluate_switch_statement()