Home
last modified time | relevance | path

Searched refs:CASE_LOW (Results 1 – 25 of 36) sorted by relevance

12

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dstmt.cc919 minval = fold_convert (index_type, CASE_LOW (elt)); in expand_case()
924 maxval = fold_convert (index_type, CASE_LOW (elt)); in expand_case()
961 tree low = CASE_LOW (elt); in expand_case()
1090 tree maxval = CASE_LOW (dispatch_table.last ()); in expand_sjlj_dispatch_table()
1099 high = CASE_LOW (elt); in expand_sjlj_dispatch_table()
1100 case_list.safe_push (simple_case_node (CASE_LOW (elt), high, in expand_sjlj_dispatch_table()
Dgimple-range-edge.cc96 TYPE_PRECISION (TREE_TYPE (CASE_LOW (gimple_switch_label (sw, 1)))) != in get_edge_range()
140 tree low = CASE_LOW (gimple_switch_label (sw, x)); in calc_switch_ranges()
Dtree-switch-conversion.cc98 m_range_min = CASE_LOW (min_case); in collect()
102 m_range_max = CASE_LOW (max_case); in collect()
109 if (wi::to_wide (last) + 1 != wi::to_wide (CASE_LOW (elt))) in collect()
114 last = CASE_HIGH (elt) ? CASE_HIGH (elt) : CASE_LOW (elt); in collect()
168 && ! tree_int_cst_equal (CASE_LOW (elt), CASE_HIGH (elt))) in collect()
346 gcc_assert (CASE_LOW (default_case) == NULL_TREE in gather_default_values()
391 while (tree_int_cst_lt (pos, CASE_LOW (cs))) in build_constructors()
406 gcc_assert (tree_int_cst_equal (pos, CASE_LOW (cs))); in build_constructors()
412 high = CASE_LOW (cs); in build_constructors()
420 tree low = CASE_LOW (cs); in build_constructors()
[all …]
Dsancov.cc158 tree low_case = CASE_LOW (label); in instrument_switch()
195 tree low_case = CASE_LOW (label); in instrument_switch()
Dgimple.cc3128 if (!CASE_LOW (case1)) in compare_case_labels()
3130 else if (!CASE_LOW (case2)) in compare_case_labels()
3133 return tree_int_cst_compare (CASE_LOW (case1), CASE_LOW (case2)); in compare_case_labels()
3178 tree low = CASE_LOW (elt); in preprocess_case_label_vec_for_gimple()
3250 CASE_LOW (elt) = low; in preprocess_case_label_vec_for_gimple()
3284 && tree_int_cst_equal (CASE_LOW (labels[0]), in preprocess_case_label_vec_for_gimple()
3289 high = CASE_LOW (labels[len - 1]); in preprocess_case_label_vec_for_gimple()
3295 high = CASE_LOW (labels[i]); in preprocess_case_label_vec_for_gimple()
3298 low = CASE_LOW (labels[i - 1]); in preprocess_case_label_vec_for_gimple()
3304 - wi::to_wide (CASE_LOW (labels[i])), in preprocess_case_label_vec_for_gimple()
[all …]
Dtree-ssa-uncprop.cc190 || !CASE_LOW (label) in associate_equivalences_with_edges()
206 tree x = fold_convert (TREE_TYPE (cond), CASE_LOW (node)); in associate_equivalences_with_edges()
Dtree-vrp.cc2362 cmp = tree_int_cst_compare (CASE_LOW (t), val); in find_case_label_index()
2423 high = CASE_LOW (gimple_switch_label (stmt, i)); in find_case_label_range()
2428 low = CASE_LOW (gimple_switch_label (stmt, k)); in find_case_label_range()
2469 = CASE_HIGH (label) ? CASE_HIGH (label) : CASE_LOW (label); in find_case_label_range()
2470 int_range_max label_range (CASE_LOW (label), case_high); in find_case_label_range()
2493 case_high = CASE_LOW (max_label); in find_case_label_range()
2494 int_range_max label_range (CASE_LOW (min_label), case_high); in find_case_label_range()
2930 if (!CASE_LOW (ci1->expr)) in compare_case_labels()
2932 else if (!CASE_LOW (ci2->expr)) in compare_case_labels()
2935 return tree_int_cst_compare (CASE_LOW (ci1->expr), in compare_case_labels()
[all …]
Dvr-values.cc2557 case_low = CASE_LOW (gimple_switch_label (stmt, i)); in find_case_label_ranges()
3769 tree case_label_type = TREE_TYPE (CASE_LOW (min_label)); in simplify_switch_using_ranges()
3777 if (tree_int_cst_compare (CASE_LOW (min_label), vr_min) < 0 in simplify_switch_using_ranges()
3780 CASE_LOW (min_label) = vr_min; in simplify_switch_using_ranges()
3784 if (tree_int_cst_compare (CASE_LOW (max_label), vr_max) <= 0 in simplify_switch_using_ranges()
3797 if (tree_int_cst_compare (CASE_LOW (min_label), vr_min) == 0 in simplify_switch_using_ranges()
3800 CASE_LOW (min_label) in simplify_switch_using_ranges()
3805 if (tree_int_cst_compare (CASE_LOW (min_label), vr_min) < 0 in simplify_switch_using_ranges()
3815 if (tree_int_cst_compare (CASE_LOW (min_label), vr_min) < 0 in simplify_switch_using_ranges()
3823 if (tree_int_cst_compare (CASE_LOW (max_label), vr_max) <= 0 in simplify_switch_using_ranges()
[all …]
Dgimple-if-to-switch.cc284 return tree_int_cst_compare (CASE_LOW (l1), CASE_LOW (l2)); in label_cmp()
Dtree-dump.cc672 if (CASE_LOW (t)) in dequeue_and_dump()
674 dump_child ("low ", CASE_LOW (t)); in dequeue_and_dump()
Dipa-icf-gimple.cc862 tree low1 = CASE_LOW (label1); in compare_gimple_switch()
863 tree low2 = CASE_LOW (label2); in compare_gimple_switch()
Dtree-cfg.cc1761 : CASE_LOW (base_case); in group_case_labels_stmt()
1778 && wi::to_wide (CASE_LOW (merge_case)) == bhp1) in group_case_labels_stmt()
1782 ? CASE_HIGH (merge_case) : CASE_LOW (merge_case)); in group_case_labels_stmt()
2502 cmp = tree_int_cst_compare (CASE_LOW (t), val); in find_case_label_for_value()
4851 if (CASE_LOW (elt) != NULL_TREE in verify_gimple_switch()
4871 if (! CASE_LOW (elt)) in verify_gimple_switch()
4878 && ! tree_int_cst_lt (CASE_LOW (elt), CASE_HIGH (elt))) in verify_gimple_switch()
4887 elt_type = TREE_TYPE (CASE_LOW (elt)); in verify_gimple_switch()
4894 if (TREE_TYPE (CASE_LOW (elt)) != elt_type in verify_gimple_switch()
4904 if (! tree_int_cst_lt (prev_upper_bound, CASE_LOW (elt))) in verify_gimple_switch()
[all …]
Dgimple-predicate-analysis.cc2238 || !CASE_LOW (l) in init_from_control_deps()
2240 && !operand_equal_p (CASE_LOW (l), CASE_HIGH (l), 0))) in init_from_control_deps()
2248 one_pred.pred_rhs = CASE_LOW (l); in init_from_control_deps()
Dtree-ssa-dom.cc460 || !CASE_LOW (label) in record_edge_info()
475 CASE_LOW (label)); in record_edge_info()
Dtree-pretty-print.cc3291 if (CASE_LOW (node) && CASE_HIGH (node)) in dump_generic_node()
3294 dump_generic_node (pp, CASE_LOW (node), spc, flags, false); in dump_generic_node()
3298 else if (CASE_LOW (node)) in dump_generic_node()
3301 dump_generic_node (pp, CASE_LOW (node), spc, flags, false); in dump_generic_node()
Dtree-cfgcleanup.cc91 tree low = CASE_LOW (label); in convert_single_case_switch()
Dtree-ssa-forwprop.cc1130 min = CASE_LOW (gimple_switch_label (stmt, 1)); in simplify_gimple_switch()
1134 max = CASE_LOW (gimple_switch_label (stmt, n - 1)); in simplify_gimple_switch()
Dgimple.h4854 gcc_checking_assert (!CASE_LOW (label) && !CASE_HIGH (label));
4863 gcc_checking_assert (!CASE_LOW (label) && !CASE_HIGH (label));
Dtree-loop-distribution.cc1069 (switch_stmt, CASE_LOW (gimple_switch_label (switch_stmt, 1))); in generate_loops_for_partition()
Dtree-eh.cc1547 CASE_LOW (last_case) = NULL; in lower_try_finally_switch()
Dipa-fnsummary.cc1724 tree min = CASE_LOW (cl); in set_switch_stmt_execution_predicate()
Dtree.def981 Operand 0 is CASE_LOW. It may be NULL_TREE, in which case the label
Dtree.h1282 #define CASE_LOW(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 0) macro
/netbsd/src/external/gpl3/gcc/dist/gcc/doc/
Dgeneric.texi2104 @code{default} label. If @code{CASE_LOW} is @code{NULL_TREE}, then this is a
2106 this is an ordinary @code{case} label. In this case, @code{CASE_LOW} is
2107 an expression giving the value of the label. Both @code{CASE_LOW} and
2111 Otherwise, if both @code{CASE_LOW} and @code{CASE_HIGH} are defined, the
2117 The first value will be @code{CASE_LOW}, while the second will be
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dconstexpr.cc6138 if (!CASE_LOW (stmt)) in label_matches()
6151 if (tree_int_cst_le (CASE_LOW (stmt), *jump_target) in label_matches()
6155 else if (tree_int_cst_equal (*jump_target, CASE_LOW (stmt))) in label_matches()

12