HomeSort by: relevance | last modified time | path
    Searched defs:switch_stmt (Results 1 - 24 of 24) sorted by relevancy

  /src/external/gpl3/gcc/dist/gcc/
sancov.cc 146 gswitch *switch_stmt = as_a<gswitch *> (stmt); local
147 tree index = gimple_switch_index (switch_stmt);
153 unsigned i, n = gimple_switch_num_labels (switch_stmt), num = 0;
156 tree label = gimple_switch_label (switch_stmt, i);
193 tree label = gimple_switch_label (switch_stmt, i);
tree-ssa-uncprop.cc 172 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
173 tree cond = gimple_switch_index (switch_stmt);
178 int i, n_labels = gimple_switch_num_labels (switch_stmt);
186 tree label = gimple_switch_label (switch_stmt, i);
tree-ssa-threadedge.cc 1443 gswitch *switch_stmt = dyn_cast <gswitch *> (stmt); local
1444 tree index = gimple_switch_index (switch_stmt);
1446 return find_case_label_range (switch_stmt, &r);
tree-loop-distribution.cc 1105 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
1107 (switch_stmt, CASE_LOW (gimple_switch_label (switch_stmt, 1)));
tree-ssa-dom.cc 520 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
521 tree index = gimple_switch_index (switch_stmt);
526 int n_labels = gimple_switch_num_labels (switch_stmt);
531 tree label = gimple_switch_label (switch_stmt, i);
tree-eh.cc 1373 gimple *switch_stmt; local
1556 switch_stmt = gimple_build_switch (finally_tmp, last_case,
1558 gimple_set_location (switch_stmt, finally_loc);
1560 /* Need to link SWITCH_STMT after running replace_goto_queue
1562 gimple_seq_add_stmt (&tf->top_p_seq, switch_stmt);
tree-inline.cc 4469 gswitch *switch_stmt = as_a <gswitch *> (stmt);
4476 cost = floor_log2 (gimple_switch_num_labels (switch_stmt)) * 2;
4478 cost = gimple_switch_num_labels (switch_stmt) * 2;
4468 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
tree-cfg.cc 1683 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
1684 size_t i, n = gimple_switch_num_labels (switch_stmt);
1689 tree case_label = gimple_switch_label (switch_stmt, i);
2529 /* Given SWITCH_STMT and an INTEGER_CST VAL for use as the index, determine
2532 If VAL is NULL_TREE, then the current value of SWITCH_STMT's index
2536 find_taken_edge_switch_expr (const gswitch *switch_stmt, tree val)
2542 if (gimple_switch_num_labels (switch_stmt) == 1)
2543 taken_case = gimple_switch_default_label (switch_stmt);
2547 val = gimple_switch_index (switch_stmt);
2551 taken_case = find_case_label_for_value (switch_stmt, val)
5958 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
6220 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
    [all...]
gimplify.cc 2951 gswitch *switch_stmt;
3018 switch_stmt = gimple_build_switch (SWITCH_COND (switch_expr),
3020 gimple_set_location (switch_stmt, EXPR_LOCATION (switch_expr));
3029 gimplify_seq_add_stmt (&bind_body, switch_stmt);
3037 gimplify_seq_add_stmt (pre_p, switch_stmt);
2948 gswitch *switch_stmt; local
  /src/external/gpl3/gcc.old/dist/gcc/
sancov.cc 146 gswitch *switch_stmt = as_a<gswitch *> (stmt); local
147 tree index = gimple_switch_index (switch_stmt);
153 unsigned i, n = gimple_switch_num_labels (switch_stmt), num = 0;
156 tree label = gimple_switch_label (switch_stmt, i);
193 tree label = gimple_switch_label (switch_stmt, i);
tree-ssa-uncprop.cc 172 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
173 tree cond = gimple_switch_index (switch_stmt);
178 int i, n_labels = gimple_switch_num_labels (switch_stmt);
186 tree label = gimple_switch_label (switch_stmt, i);
tree-ssa-threadedge.cc 1425 gswitch *switch_stmt = dyn_cast <gswitch *> (stmt); local
1426 tree index = gimple_switch_index (switch_stmt);
1428 return find_case_label_range (switch_stmt, &r);
tree-loop-distribution.cc 1067 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
1069 (switch_stmt, CASE_LOW (gimple_switch_label (switch_stmt, 1)));
tree-ssa-dom.cc 443 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
444 tree index = gimple_switch_index (switch_stmt);
449 int n_labels = gimple_switch_num_labels (switch_stmt);
456 tree label = gimple_switch_label (switch_stmt, i);
691 if (gswitch *switch_stmt = dyn_cast <gswitch *> (stmt))
693 tree op = gimple_switch_index (switch_stmt);
698 return find_case_label_range (switch_stmt, vr);
tree-eh.cc 1372 gimple *switch_stmt; local
1555 switch_stmt = gimple_build_switch (finally_tmp, last_case,
1557 gimple_set_location (switch_stmt, finally_loc);
1559 /* Need to link SWITCH_STMT after running replace_goto_queue
1561 gimple_seq_add_stmt (&tf->top_p_seq, switch_stmt);
tree-inline.cc 4439 gswitch *switch_stmt = as_a <gswitch *> (stmt);
4446 cost = floor_log2 (gimple_switch_num_labels (switch_stmt)) * 2;
4448 cost = gimple_switch_num_labels (switch_stmt) * 2;
4438 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
tree-cfg.cc 1601 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
1602 size_t i, n = gimple_switch_num_labels (switch_stmt);
1607 tree case_label = gimple_switch_label (switch_stmt, i);
2453 /* Given SWITCH_STMT and an INTEGER_CST VAL for use as the index, determine
2456 If VAL is NULL_TREE, then the current value of SWITCH_STMT's index
2460 find_taken_edge_switch_expr (const gswitch *switch_stmt, tree val)
2466 if (gimple_switch_num_labels (switch_stmt) == 1)
2467 taken_case = gimple_switch_default_label (switch_stmt);
2471 val = gimple_switch_index (switch_stmt);
2475 taken_case = find_case_label_for_value (switch_stmt, val)
5775 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
6036 gswitch *switch_stmt = as_a <gswitch *> (stmt); local
    [all...]
gimplify.cc 2701 gswitch *switch_stmt;
2768 switch_stmt = gimple_build_switch (SWITCH_COND (switch_expr),
2770 gimple_set_location (switch_stmt, EXPR_LOCATION (switch_expr));
2779 gimplify_seq_add_stmt (&bind_body, switch_stmt);
2787 gimplify_seq_add_stmt (pre_p, switch_stmt);
2698 gswitch *switch_stmt; local
  /src/external/gpl3/gcc/dist/gcc/jit/
jit-playback.cc 2350 tree switch_stmt = build2 (SWITCH_EXPR, t_type, t_expr, t_switch_body); local
2352 set_tree_location (switch_stmt, loc);
2353 add_stmt (switch_stmt);
  /src/external/gpl3/gcc.old/dist/gcc/jit/
jit-playback.cc 2178 tree switch_stmt = build2 (SWITCH_EXPR, t_type, t_expr, t_switch_body); local
2180 set_tree_location (switch_stmt, loc);
2181 add_stmt (switch_stmt);
  /src/external/gpl3/gcc/dist/gcc/c/
c-typeck.cc 11893 /* The SWITCH_STMT being built. */
11894 tree switch_stmt;
11931 SWITCH_STMT. SWITCH_LOC is the location of the `switch'.
11988 /* Add this new SWITCH_STMT to the stack. */
11990 cs->switch_stmt = build_stmt (switch_loc, SWITCH_STMT, exp,
12000 return add_stmt (cs->switch_stmt);
12036 EXPR_LOCATION (c_switch_stack->switch_stmt),
12041 SWITCH_STMT_COND (c_switch_stack->switch_stmt),
12057 SWITCH_STMT_BODY (cs->switch_stmt) = body
11858 tree switch_stmt; member in struct:c_switch
    [all...]
  /src/external/gpl3/gcc/dist/gcc/cp/
decl.cc 4121 /* The SWITCH_STMT being built. */
4122 tree switch_stmt;
4131 /* Remember whether a BREAK_STMT has been seen in this SWITCH_STMT. */
4134 where BREAK_STMT doesn't belong to the SWITCH_STMT. */
4147 SWITCH_STMT is the switch statement being parsed. */
4150 push_switch (tree switch_stmt)
4155 p->switch_stmt = switch_stmt;
4169 location_t switch_location = cp_expr_loc_or_input_loc (cs->switch_stmt);
4170 tree cond = SWITCH_STMT_COND (cs->switch_stmt);
4115 tree switch_stmt; member in struct:cp_switch
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/c/
c-typeck.cc 11051 /* The SWITCH_STMT being built. */
11052 tree switch_stmt;
11089 SWITCH_STMT. SWITCH_LOC is the location of the `switch'.
11146 /* Add this new SWITCH_STMT to the stack. */
11148 cs->switch_stmt = build_stmt (switch_loc, SWITCH_STMT, exp,
11158 return add_stmt (cs->switch_stmt);
11194 EXPR_LOCATION (c_switch_stack->switch_stmt),
11199 SWITCH_STMT_COND (c_switch_stack->switch_stmt),
11215 SWITCH_STMT_BODY (cs->switch_stmt) = body
11018 tree switch_stmt; member in struct:c_switch
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/cp/
decl.cc 3812 /* The SWITCH_STMT being built. */
3813 tree switch_stmt;
3822 /* Remember whether a BREAK_STMT has been seen in this SWITCH_STMT. */
3825 where BREAK_STMT doesn't belong to the SWITCH_STMT. */
3838 SWITCH_STMT is the switch statement being parsed. */
3841 push_switch (tree switch_stmt)
3846 p->switch_stmt = switch_stmt;
3860 location_t switch_location = cp_expr_loc_or_input_loc (cs->switch_stmt);
3861 tree cond = SWITCH_STMT_COND (cs->switch_stmt);
3806 tree switch_stmt; member in struct:cp_switch
    [all...]

Completed in 132 milliseconds