| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | sancov.c | 146 gswitch *switch_stmt = as_a<gswitch *> (stmt); in instrument_switch() local 147 tree index = gimple_switch_index (switch_stmt); in instrument_switch() 153 unsigned i, n = gimple_switch_num_labels (switch_stmt), num = 0; in instrument_switch() 156 tree label = gimple_switch_label (switch_stmt, i); in instrument_switch() 193 tree label = gimple_switch_label (switch_stmt, i); in instrument_switch()
|
| HD | tree-ssa-uncprop.c | 172 gswitch *switch_stmt = as_a <gswitch *> (stmt); in associate_equivalences_with_edges() local 173 tree cond = gimple_switch_index (switch_stmt); in associate_equivalences_with_edges() 178 int i, n_labels = gimple_switch_num_labels (switch_stmt); in associate_equivalences_with_edges() 186 tree label = gimple_switch_label (switch_stmt, i); in associate_equivalences_with_edges()
|
| HD | tree-ssa-dom.c | 443 gswitch *switch_stmt = as_a <gswitch *> (stmt); in record_edge_info() local 444 tree index = gimple_switch_index (switch_stmt); in record_edge_info() 449 int n_labels = gimple_switch_num_labels (switch_stmt); in record_edge_info() 456 tree label = gimple_switch_label (switch_stmt, i); in record_edge_info() 896 if (gswitch *switch_stmt = dyn_cast <gswitch *> (stmt)) in simplify_stmt_for_jump_threading() local 898 tree op = gimple_switch_index (switch_stmt); in simplify_stmt_for_jump_threading() 911 find_case_label_range (switch_stmt, vr->min, vr->max, &i, &j); in simplify_stmt_for_jump_threading() 915 tree label = gimple_switch_label (switch_stmt, i); in simplify_stmt_for_jump_threading() 925 return gimple_switch_label (switch_stmt, 0); in simplify_stmt_for_jump_threading() 931 unsigned n = gimple_switch_num_labels (switch_stmt); in simplify_stmt_for_jump_threading() [all …]
|
| HD | tree-cfg.c | 1643 gswitch *switch_stmt = as_a <gswitch *> (stmt); in cleanup_dead_labels() local 1644 size_t i, n = gimple_switch_num_labels (switch_stmt); in cleanup_dead_labels() 1649 tree case_label = gimple_switch_label (switch_stmt, i); in cleanup_dead_labels() 2437 find_taken_edge_switch_expr (const gswitch *switch_stmt, tree val) in find_taken_edge_switch_expr() argument 2443 if (gimple_switch_num_labels (switch_stmt) == 1) in find_taken_edge_switch_expr() 2444 taken_case = gimple_switch_default_label (switch_stmt); in find_taken_edge_switch_expr() 2448 val = gimple_switch_index (switch_stmt); in find_taken_edge_switch_expr() 2452 taken_case = find_case_label_for_value (switch_stmt, val); in find_taken_edge_switch_expr() 2456 e = find_edge (gimple_bb (switch_stmt), dest_bb); in find_taken_edge_switch_expr() 2467 find_case_label_for_value (const gswitch *switch_stmt, tree val) in find_case_label_for_value() argument [all …]
|
| HD | tree-vrp.c | 6643 if (gswitch *switch_stmt = dyn_cast <gswitch *> (stmt)) in simplify_stmt_for_jump_threading() local 6645 tree op = gimple_switch_index (switch_stmt); in simplify_stmt_for_jump_threading() 6661 find_case_label_range (switch_stmt, vr->min, vr->max, &i, &j); in simplify_stmt_for_jump_threading() 6666 tree label = gimple_switch_label (switch_stmt, i); in simplify_stmt_for_jump_threading() 6681 return gimple_switch_label (switch_stmt, 0); in simplify_stmt_for_jump_threading() 6686 unsigned n = gimple_switch_num_labels (switch_stmt); in simplify_stmt_for_jump_threading() 6687 tree min_label = gimple_switch_label (switch_stmt, 1); in simplify_stmt_for_jump_threading() 6688 tree max_label = gimple_switch_label (switch_stmt, n - 1); in simplify_stmt_for_jump_threading() 6697 return gimple_switch_label (switch_stmt, 0); in simplify_stmt_for_jump_threading()
|
| HD | tree-loop-distribution.c | 906 gswitch *switch_stmt = as_a <gswitch *> (stmt); in generate_loops_for_partition() local 908 (switch_stmt, CASE_LOW (gimple_switch_label (switch_stmt, 1))); in generate_loops_for_partition()
|
| HD | tree-eh.c | 1375 gimple *switch_stmt; in lower_try_finally_switch() local 1558 switch_stmt = gimple_build_switch (finally_tmp, last_case, in lower_try_finally_switch() 1560 gimple_set_location (switch_stmt, finally_loc); in lower_try_finally_switch() 1564 gimple_seq_add_stmt (&tf->top_p_seq, switch_stmt); in lower_try_finally_switch()
|
| HD | tree-inline.c | 4062 gswitch *switch_stmt = as_a <gswitch *> (stmt); in estimate_num_insns() local 4069 cost = floor_log2 (gimple_switch_num_labels (switch_stmt)) * 2; in estimate_num_insns() 4071 cost = gimple_switch_num_labels (switch_stmt) * 2; in estimate_num_insns()
|
| HD | gimplify.c | 2347 gswitch *switch_stmt; in gimplify_switch_expr() local 2414 switch_stmt = gimple_build_switch (SWITCH_COND (switch_expr), in gimplify_switch_expr() 2424 gimplify_seq_add_stmt (&bind_body, switch_stmt); in gimplify_switch_expr() 2432 gimplify_seq_add_stmt (pre_p, switch_stmt); in gimplify_switch_expr()
|
| HD | omp-low.c | 9316 gswitch *switch_stmt = as_a <gswitch *> (stmt); in diagnose_sb_2() local 9318 for (i = 0; i < gimple_switch_num_labels (switch_stmt); ++i) in diagnose_sb_2() 9320 tree lab = CASE_LABEL (gimple_switch_label (switch_stmt, i)); in diagnose_sb_2()
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | except.c | 1236 gimple switch_stmt; in sjlj_emit_dispatch_table() local 1282 switch_stmt = NULL; in sjlj_emit_dispatch_table() 1291 switch_stmt = gimple_build_switch_nlabels (num_dispatch, disp, NULL); in sjlj_emit_dispatch_table() 1310 gimple_switch_set_label (switch_stmt, disp_index, case_elt); in sjlj_emit_dispatch_table() 1342 expand_case (switch_stmt); in sjlj_emit_dispatch_table()
|
| HD | tree-cfg.c | 2012 gimple switch_stmt; in find_taken_edge_switch_expr() local 2015 switch_stmt = last_stmt (bb); in find_taken_edge_switch_expr() 2016 taken_case = find_case_label_for_value (switch_stmt, val); in find_taken_edge_switch_expr() 2030 find_case_label_for_value (gimple switch_stmt, tree val) in find_case_label_for_value() argument 2032 size_t low, high, n = gimple_switch_num_labels (switch_stmt); in find_case_label_for_value() 2033 tree default_case = gimple_switch_default_label (switch_stmt); in find_case_label_for_value() 2038 tree t = gimple_switch_label (switch_stmt, i); in find_case_label_for_value()
|
| HD | tree-eh.c | 1311 gimple switch_stmt; in lower_try_finally_switch() local 1498 switch_stmt = gimple_build_switch_vec (finally_tmp, last_case, in lower_try_finally_switch() 1500 gimple_set_location (switch_stmt, finally_loc); in lower_try_finally_switch() 1504 gimple_seq_add_stmt (&tf->top_p_seq, switch_stmt); in lower_try_finally_switch()
|
| /dragonfly/contrib/gcc-4.7/gcc/cp/ |
| HD | semantics.c | 1036 finish_switch_cond (tree cond, tree switch_stmt) in finish_switch_cond() argument 1063 finish_cond (&SWITCH_STMT_COND (switch_stmt), cond); in finish_switch_cond() 1064 SWITCH_STMT_TYPE (switch_stmt) = orig_type; in finish_switch_cond() 1065 add_stmt (switch_stmt); in finish_switch_cond() 1066 push_switch (switch_stmt); in finish_switch_cond() 1067 SWITCH_STMT_BODY (switch_stmt) = push_stmt_list (); in finish_switch_cond() 1074 finish_switch_stmt (tree switch_stmt) in finish_switch_stmt() argument 1078 SWITCH_STMT_BODY (switch_stmt) = in finish_switch_stmt() 1079 pop_stmt_list (SWITCH_STMT_BODY (switch_stmt)); in finish_switch_stmt() 1083 scope = SWITCH_STMT_SCOPE (switch_stmt); in finish_switch_stmt() [all …]
|
| HD | decl.c | 2962 tree switch_stmt; member 2983 push_switch (tree switch_stmt) in push_switch() argument 2988 p->switch_stmt = switch_stmt; in push_switch() 3000 switch_location = EXPR_LOC_OR_HERE (cs->switch_stmt); in pop_switch() 3003 SWITCH_STMT_TYPE (cs->switch_stmt), in pop_switch() 3004 SWITCH_STMT_COND (cs->switch_stmt)); in pop_switch() 3054 cond = SWITCH_STMT_COND (switch_stack->switch_stmt); in finish_case_label() 3061 type = SWITCH_STMT_TYPE (switch_stack->switch_stmt); in finish_case_label()
|
| HD | cp-tree.def | 325 DEFTREECODE (SWITCH_STMT, "switch_stmt", tcc_statement, 4)
|
| /dragonfly/contrib/gcc-8.0/gcc/cp/ |
| HD | semantics.c | 1164 finish_switch_cond (tree cond, tree switch_stmt) in finish_switch_cond() argument 1195 finish_cond (&SWITCH_STMT_COND (switch_stmt), cond); in finish_switch_cond() 1196 SWITCH_STMT_TYPE (switch_stmt) = orig_type; in finish_switch_cond() 1197 add_stmt (switch_stmt); in finish_switch_cond() 1198 push_switch (switch_stmt); in finish_switch_cond() 1199 SWITCH_STMT_BODY (switch_stmt) = push_stmt_list (); in finish_switch_cond() 1206 finish_switch_stmt (tree switch_stmt) in finish_switch_stmt() argument 1210 SWITCH_STMT_BODY (switch_stmt) = in finish_switch_stmt() 1211 pop_stmt_list (SWITCH_STMT_BODY (switch_stmt)); in finish_switch_stmt() 1214 scope = SWITCH_STMT_SCOPE (switch_stmt); in finish_switch_stmt() [all …]
|
| HD | decl.c | 3498 tree switch_stmt; member 3529 push_switch (tree switch_stmt) in push_switch() argument 3534 p->switch_stmt = switch_stmt; in push_switch() 3550 switch_location = EXPR_LOC_OR_LOC (cs->switch_stmt, input_location); in pop_switch() 3552 = (SWITCH_STMT_TYPE (cs->switch_stmt) in pop_switch() 3553 && TREE_CODE (SWITCH_STMT_TYPE (cs->switch_stmt)) == BOOLEAN_TYPE); in pop_switch() 3556 SWITCH_STMT_TYPE (cs->switch_stmt), in pop_switch() 3557 SWITCH_STMT_COND (cs->switch_stmt), in pop_switch() 3565 SWITCH_STMT_TYPE (cs->switch_stmt)))) in pop_switch() 3566 SWITCH_STMT_ALL_CASES_P (cs->switch_stmt) = 1; in pop_switch() [all …]
|
| HD | cp-tree.def | 325 DEFTREECODE (SWITCH_STMT, "switch_stmt", tcc_statement, 4)
|