Home
last modified time | relevance | path

Searched refs:maxbound (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dgimple-array-bounds.cc222 tree maxbound = ptrdiff_max; in check_array_ref() local
232 maxbound = refsize; in check_array_ref()
235 if (maxbound == ptrdiff_max) in check_array_ref()
250 maxbound = size; in check_array_ref()
256 maxbound = basesize; in check_array_ref()
261 maxbound = wide_int_to_tree (sizetype, in check_array_ref()
262 wi::sub (wi::to_wide (maxbound), in check_array_ref()
267 maxbound = fold_convert (sizetype, maxbound); in check_array_ref()
269 up_bound_p1 = int_const_binop (TRUNC_DIV_EXPR, maxbound, eltsize); in check_array_ref()
Dtree-ssa-strlen.cc1128 && (!argdata.maxbound in get_range_strlen_phi()
1129 || integer_all_onesp (argdata.maxbound)) in get_range_strlen_phi()
1150 if (!pdata->maxbound in get_range_strlen_phi()
1151 || TREE_CODE (pdata->maxbound) != INTEGER_CST in get_range_strlen_phi()
1152 || (argdata.maxbound in get_range_strlen_phi()
1153 && tree_int_cst_lt (pdata->maxbound, argdata.maxbound) in get_range_strlen_phi()
1154 && !integer_all_onesp (argdata.maxbound))) in get_range_strlen_phi()
1155 pdata->maxbound = argdata.maxbound; in get_range_strlen_phi()
1236 pdata->maxbound = pdata->maxlen; in get_range_strlen_dynamic()
1283 pdata->maxbound = pdata->maxlen; in get_range_strlen_dynamic()
[all …]
Dbuiltins.h95 tree maxbound; member
Dgimple-ssa-sprintf.cc2037 lendata.maxbound = str; in get_string_length()
2055 if ((lendata.maxbound && !tree_fits_uhwi_p (lendata.maxbound)) in get_string_length()
2065 && (!lendata.maxbound || lenmax <= tree_to_uhwi (lendata.maxbound)) in get_string_length()
2096 = (lendata.maxbound && tree_fits_uhwi_p (lendata.maxbound) in get_string_length()
2097 ? tree_to_uhwi (lendata.maxbound) in get_string_length()
2109 || (lendata.maxbound in get_string_length()
2110 && tree_int_cst_lt (lendata.maxbound, lendata.maxlen))); in get_string_length()
2148 if (lendata.maxbound && !integer_all_onesp (lendata.maxbound)) in get_string_length()
Dgimple-fold.cc1607 bool maxbound = false; in get_range_strlen_tree() local
1747 maxbound = true; in get_range_strlen_tree()
1761 if (pdata->maxbound && TREE_CODE (pdata->maxbound) == INTEGER_CST) in get_range_strlen_tree()
1768 if (tree_int_cst_lt (pdata->maxbound, val)) in get_range_strlen_tree()
1769 pdata->maxbound = val; in get_range_strlen_tree()
1772 pdata->maxbound = val; in get_range_strlen_tree()
1774 else if (pdata->maxbound || maxbound) in get_range_strlen_tree()
1778 pdata->maxbound = val; in get_range_strlen_tree()
1973 tree maxbound = pdata->maxbound; in get_range_strlen() local
1988 if (maxbound && pdata->maxbound == maxbound) in get_range_strlen()
[all …]
Dgimple-ssa-warn-access.cc425 lendata.maxbound = arg; in maybe_warn_nonstring_arg()
427 maxlen = lendata.maxbound; in maybe_warn_nonstring_arg()
455 lendata.maxbound = arg; in maybe_warn_nonstring_arg()
457 maxlen = lendata.maxbound; in maybe_warn_nonstring_arg()
1298 range[1] = lendata.maxbound ? lendata.maxbound : lendata.maxlen; in check_access()
2517 maxlen = lendata.maxbound; in check_strncat()
DChangeLog-201910870 * builtins.c (check_access): Avoid using maxbound when null.
10873 * gimple-fold.c (get_range_strlen_tree): Make setting maxbound
10875 (get_range_strlen): Overwrite initial maxbound when non-null.
10886 (get_range_strlen_dynamic): Overwrite initial maxbound when non-null.
13691 non-constant minlen, maxlen and maxbound.
16154 null lendata.maxbound.
37006 Adjust minlen, maxlen and maxbound as needed.
37015 Update calls to get_range_strlen. Update pdata->maxbound.