Home
last modified time | relevance | path

Searched refs:switch_expr (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-branch-inst-handler.cc174 tree switch_expr = build2 (SWITCH_EXPR, TREE_TYPE (select), select, in operator ()() local
180 append_to_statement_list (default_case, &SWITCH_BODY (switch_expr)); in operator ()()
184 append_to_statement_list (default_jump, &SWITCH_BODY (switch_expr)); in operator ()()
192 append_to_statement_list (case_label, &SWITCH_BODY (switch_expr)); in operator ()()
196 append_to_statement_list (jump, &SWITCH_BODY (switch_expr)); in operator ()()
198 m_parent.m_cf->append_statement (switch_expr); in operator ()()
/netbsd-src/usr.bin/xlint/lint1/
H A Dfunc.c400 check_case_label_bitand(const tnode_t *case_expr, const tnode_t *switch_expr) in check_case_label_bitand() argument
402 if (switch_expr->tn_op != BITAND || in check_case_label_bitand()
403 switch_expr->u.ops.right->tn_op != CON) in check_case_label_bitand()
408 uint64_t mask = (uint64_t)switch_expr->u.ops.right->u.value.u.integer; in check_case_label_bitand()
H A Dcgram.y456 /* No type for switch_expr. */
2195 | switch_expr statement {
2199 | switch_expr error {
2217 switch_expr: /* see C99 6.8.4 */
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-typeck.c10832 tree switch_expr; member
10925 cs->switch_expr = build2 (SWITCH_EXPR, orig_type, exp, NULL_TREE); in c_start_case()
10926 SET_EXPR_LOCATION (cs->switch_expr, switch_loc); in c_start_case()
10934 return add_stmt (cs->switch_expr); in c_start_case()
10970 EXPR_LOCATION (c_switch_stack->switch_expr), in do_case()
10975 SWITCH_COND (c_switch_stack->switch_expr), in do_case()
10991 SWITCH_BODY (cs->switch_expr) = body; in c_finish_case()
10994 switch_location = EXPR_LOCATION (cs->switch_expr); in c_finish_case()
10996 type ? type : TREE_TYPE (cs->switch_expr), in c_finish_case()
10997 SWITCH_COND (cs->switch_expr), cs->bool_cond_p); in c_finish_case()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-eh.cc712 gswitch *switch_expr) in verify_norecord_switch_expr() argument
720 n = gimple_switch_num_labels (switch_expr); in verify_norecord_switch_expr()
725 tree lab = CASE_LABEL (gimple_switch_label (switch_expr, i)); in verify_norecord_switch_expr()
731 #define verify_norecord_switch_expr(state, switch_expr) argument
H A Dgimplify.cc2680 tree switch_expr = *expr_p; in gimplify_switch_expr() local
2683 tree index_type = TREE_TYPE (switch_expr); in gimplify_switch_expr()
2685 index_type = TREE_TYPE (SWITCH_COND (switch_expr)); in gimplify_switch_expr()
2687 ret = gimplify_expr (&SWITCH_COND (switch_expr), pre_p, NULL, is_gimple_val, in gimplify_switch_expr()
2692 if (SWITCH_BODY (switch_expr)) in gimplify_switch_expr()
2707 tree_code body_type = TREE_CODE (SWITCH_BODY (switch_expr)); in gimplify_switch_expr()
2716 gimplify_stmt (&SWITCH_BODY (switch_expr), &switch_body_seq); in gimplify_switch_expr()
2765 switch_stmt = gimple_build_switch (SWITCH_COND (switch_expr), in gimplify_switch_expr()
2767 gimple_set_location (switch_stmt, EXPR_LOCATION (switch_expr)); in gimplify_switch_expr()
2779 gimple_set_location (bind, EXPR_LOCATION (switch_expr)); in gimplify_switch_expr()
H A Dtree.def977 DEFTREECODE (SWITCH_EXPR, "switch_expr", tcc_statement, 2)
H A DChangeLog.tree-ssa6455 with lowered switch_expr.
6457 for lowered switch_expr.
13555 switch_expr with ENABLE_CHECKING block.
H A DChangeLog-200525815 switch_expr.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-eh.c712 gswitch *switch_expr) in verify_norecord_switch_expr() argument
720 n = gimple_switch_num_labels (switch_expr); in verify_norecord_switch_expr()
725 tree lab = CASE_LABEL (gimple_switch_label (switch_expr, i)); in verify_norecord_switch_expr()
731 #define verify_norecord_switch_expr(state, switch_expr) argument
H A Dgimplify.c2458 tree switch_expr = *expr_p; in gimplify_switch_expr() local
2461 tree index_type = TREE_TYPE (switch_expr); in gimplify_switch_expr()
2463 index_type = TREE_TYPE (SWITCH_COND (switch_expr)); in gimplify_switch_expr()
2465 ret = gimplify_expr (&SWITCH_COND (switch_expr), pre_p, NULL, is_gimple_val, in gimplify_switch_expr()
2470 if (SWITCH_BODY (switch_expr)) in gimplify_switch_expr()
2485 tree_code body_type = TREE_CODE (SWITCH_BODY (switch_expr)); in gimplify_switch_expr()
2494 gimplify_stmt (&SWITCH_BODY (switch_expr), &switch_body_seq); in gimplify_switch_expr()
2543 switch_stmt = gimple_build_switch (SWITCH_COND (switch_expr), in gimplify_switch_expr()
2556 gimple_set_location (bind, EXPR_LOCATION (switch_expr)); in gimplify_switch_expr()
H A Dtree.def965 DEFTREECODE (SWITCH_EXPR, "switch_expr", tcc_statement, 2)
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A DChangeLog1229 (struct c_switch): Rename switch_expr field to switch_stmt.