HomeSort by: relevance | last modified time | path
    Searched refs:switch_stmt (Results 1 - 25 of 41) sorted by relevancy

1 2

  /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-cfg.h 100 extern tree find_case_label_for_value (const gswitch *switch_stmt, tree val);
101 extern edge find_taken_edge_switch_expr (const gswitch *switch_stmt, tree val);
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-vrp.cc 883 /* Given a SWITCH_STMT, return the case label that encompasses the
888 find_case_label_range (gswitch *switch_stmt, const irange *range_of_op)
895 tree op = gimple_switch_index (switch_stmt);
899 find_case_label_range (switch_stmt, tmin, tmax, &i, &j);
904 tree label = gimple_switch_label (switch_stmt, i);
919 return gimple_switch_label (switch_stmt, 0);
927 unsigned n = gimple_switch_num_labels (switch_stmt);
928 tree min_label = gimple_switch_label (switch_stmt, 1);
929 tree max_label = gimple_switch_label (switch_stmt, n - 1);
940 return gimple_switch_label (switch_stmt, 0)
    [all...]
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...]
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-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);
  /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-cfg.h 99 extern tree find_case_label_for_value (const gswitch *switch_stmt, tree val);
100 extern edge find_taken_edge_switch_expr (const gswitch *switch_stmt, tree val);
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-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-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...]
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-vrp.cc 2445 /* Given a SWITCH_STMT, return the case label that encompasses the
2450 find_case_label_range (gswitch *switch_stmt, const irange *range_of_op)
2458 tree op = gimple_switch_index (switch_stmt);
2462 find_case_label_range (switch_stmt, tmin, tmax, &i, &j);
2467 tree label = gimple_switch_label (switch_stmt, i);
2480 return gimple_switch_label (switch_stmt, 0);
2488 unsigned n = gimple_switch_num_labels (switch_stmt);
2489 tree min_label = gimple_switch_label (switch_stmt, 1);
2490 tree max_label = gimple_switch_label (switch_stmt, n - 1);
2499 return gimple_switch_label (switch_stmt, 0)
    [all...]
  /src/external/gpl3/gcc/dist/gcc/analyzer/
constraint-manager.h 181 const gswitch *switch_stmt);
200 const gswitch *switch_stmt);
203 make_case_label_ranges (const gswitch *switch_stmt,
infinite-recursion.cc 279 else if (const gswitch *switch_stmt
283 gimple_switch_index (switch_stmt)))
constraint-manager.cc 941 /* Get the bounded_ranges instance for EDGE of SWITCH_STMT,
947 const gswitch *switch_stmt)
955 = create_ranges_for_switch (*edge, switch_stmt);
960 /* Get the bounded_ranges instance for EDGE of SWITCH_STMT,
967 const gswitch *switch_stmt)
971 (gimple_switch_num_labels (switch_stmt));
977 = make_case_label_ranges (switch_stmt, case_label);
989 SWITCH_STMT. */
993 make_case_label_ranges (const gswitch *switch_stmt,
1013 (gimple_switch_num_labels (switch_stmt));
    [all...]
region-model.cc 5540 if (const gswitch *switch_stmt = dyn_cast <const gswitch *> (last_stmt))
5544 return apply_constraints_for_gswitch (*switch_sedge, switch_stmt,
5692 /* Return true iff SWITCH_STMT has a non-default label that contains
5696 has_nondefault_case_for_value_p (const gswitch *switch_stmt, tree int_cst)
5699 gcc_assert (CASE_LOW (gimple_switch_label (switch_stmt, 0)) == NULL);
5701 unsigned max_idx = gimple_switch_num_labels (switch_stmt) - 1;
5709 tree label = gimple_switch_label (switch_stmt, case_idx);
5734 /* Return true iff SWITCH_STMT (which must be on an enum value)
5738 has_nondefault_cases_for_all_enum_values_p (const gswitch *switch_stmt,
5741 gcc_assert (switch_stmt);
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/analyzer/
constraint-manager.h 173 const gswitch *switch_stmt);
192 const gswitch *switch_stmt);
195 make_case_label_ranges (const gswitch *switch_stmt,
constraint-manager.cc 936 /* Get the bounded_ranges instance for EDGE of SWITCH_STMT,
942 const gswitch *switch_stmt)
950 = create_ranges_for_switch (*edge, switch_stmt);
955 /* Get the bounded_ranges instance for EDGE of SWITCH_STMT,
962 const gswitch *switch_stmt)
966 (gimple_switch_num_labels (switch_stmt));
972 = make_case_label_ranges (switch_stmt, case_label);
984 SWITCH_STMT. */
988 make_case_label_ranges (const gswitch *switch_stmt,
1008 (gimple_switch_num_labels (switch_stmt));
    [all...]
  /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/cp/
semantics.cc 1770 /* Begin a switch-statement. Returns a new SWITCH_STMT if
1779 r = build_stmt (input_location, SWITCH_STMT, NULL_TREE, NULL_TREE, NULL_TREE, scope);
1789 finish_switch_cond (tree cond, tree switch_stmt)
1822 finish_cond (&SWITCH_STMT_COND (switch_stmt), cond);
1823 SWITCH_STMT_TYPE (switch_stmt) = orig_type;
1824 add_stmt (switch_stmt);
1825 push_switch (switch_stmt);
1826 SWITCH_STMT_BODY (switch_stmt) = push_stmt_list ();
1830 SWITCH_STMT. The COND to switch on is indicated. */
1833 finish_switch_stmt (tree switch_stmt)
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/cp/
semantics.cc 1496 /* Begin a switch-statement. Returns a new SWITCH_STMT if
1505 r = build_stmt (input_location, SWITCH_STMT, NULL_TREE, NULL_TREE, NULL_TREE, scope);
1515 finish_switch_cond (tree cond, tree switch_stmt)
1548 finish_cond (&SWITCH_STMT_COND (switch_stmt), cond);
1549 SWITCH_STMT_TYPE (switch_stmt) = orig_type;
1550 add_stmt (switch_stmt);
1551 push_switch (switch_stmt);
1552 SWITCH_STMT_BODY (switch_stmt) = push_stmt_list ();
1556 SWITCH_STMT. The COND to switch on is indicated. */
1559 finish_switch_stmt (tree switch_stmt)
    [all...]

Completed in 138 milliseconds

1 2