Lines Matching refs:min
678 tmp->min = minOR(a, b, c, d); in zend_ssa_range_or()
682 tmp->min = minOR(a, b, c, -1); in zend_ssa_range_or()
686 tmp->min = minOR(a, -1, c, d); in zend_ssa_range_or()
690 tmp->min = MIN(a, c); in zend_ssa_range_or()
694 tmp->min = c; in zend_ssa_range_or()
698 tmp->min = a; in zend_ssa_range_or()
726 tmp->min = minAND(a, b, c, d); in zend_ssa_range_and()
730 tmp->min = 0; in zend_ssa_range_and()
734 tmp->min = 0; in zend_ssa_range_and()
738 tmp->min = minAND(a, -1, c, -1); in zend_ssa_range_and()
742 tmp->min = minAND(a, -1, c, d); in zend_ssa_range_and()
746 tmp->min = minAND(a, b, c, -1); in zend_ssa_range_and()
753 zend_long min, zend_long max, zend_long *abs_min, zend_long *abs_max) { in zend_abs_range() argument
754 if (min == ZEND_LONG_MIN) { in zend_abs_range()
759 if (min >= 0) { in zend_abs_range()
760 *abs_min = min; in zend_abs_range()
764 *abs_max = -min; in zend_abs_range()
768 *abs_max = MAX(max, -min); in zend_abs_range()
816 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
818 tmp->min = op1_min + op2_min; in zend_inference_calc_binary_op_range()
841 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
843 tmp->min = op1_min - op2_max; in zend_inference_calc_binary_op_range()
880 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
883 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
906 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
915 tmp->min = MIN(MIN(MIN(t1, t2), MIN(t3, t4)), MIN(MIN(t1_, t2_), MIN(t3_, t4_))); in zend_inference_calc_binary_op_range()
927 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
950 tmp->min = op1_max < op2_abs_min ? op1_min : 0; in zend_inference_calc_binary_op_range()
953 tmp->min = MAX(op1_min, -op2_abs_max + 1); in zend_inference_calc_binary_op_range()
956 tmp->min = MAX(op1_min, -op2_abs_max + 1); in zend_inference_calc_binary_op_range()
969 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
987 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
994 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
1007 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
1035 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
1047 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
1065 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
1096 tmp->min = ZEND_LONG_MAX; in zend_inference_calc_range()
1106 if (constraint->range.min == constraint->range.max in zend_inference_calc_range()
1125 && ssa->var_info[p->sources[0]].range.min > constraint->range.max) { in zend_inference_calc_range()
1126 tmp->min = constraint->range.max + 1; in zend_inference_calc_range()
1139 && ssa->var_info[p->sources[0]].range.max < constraint->range.min) { in zend_inference_calc_range()
1140 tmp->max = constraint->range.min - 1; in zend_inference_calc_range()
1148 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1160 ssa->var_info[p->ssa_var].range.min, in zend_inference_calc_range()
1162 tmp->min, in zend_inference_calc_range()
1165 tmp->max >= constraint->range.min) { in zend_inference_calc_range()
1167 tmp->max = constraint->range.min - 1; in zend_inference_calc_range()
1168 LOG_NEG_RANGE(" => [%ld..%ld]\n", tmp->min, tmp->max); in zend_inference_calc_range()
1170 tmp->min <= constraint->range.max) { in zend_inference_calc_range()
1172 tmp->min = constraint->range.max + 1; in zend_inference_calc_range()
1173 LOG_NEG_RANGE(" => [%ld..%ld]\n", tmp->min, tmp->max); in zend_inference_calc_range()
1182 tmp->min = MAX(constraint->range.min, tmp->min); in zend_inference_calc_range()
1186 … if (!add_will_overflow(ssa->var_info[constraint->min_ssa_var].range.min, constraint->range.min)) { in zend_inference_calc_range()
1187 …tmp->min = MAX(ssa->var_info[constraint->min_ssa_var].range.min + constraint->range.min, tmp->min); in zend_inference_calc_range()
1205 tmp->min = constraint->range.min; in zend_inference_calc_range()
1208 … if (add_will_overflow(ssa->var_info[constraint->min_ssa_var].range.min, constraint->range.min)) { in zend_inference_calc_range()
1210 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1213 tmp->min = ssa->var_info[constraint->min_ssa_var].range.min + constraint->range.min; in zend_inference_calc_range()
1218 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1244 tmp->min = MIN(tmp->min, ssa->var_info[p->sources[i]].range.min); in zend_inference_calc_range()
1249 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1255 return (tmp->min <= tmp->max); in zend_inference_calc_range()
1260 tmp->min = 0; in zend_inference_calc_range()
1301 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1306 tmp->min = ~op1_max; in zend_inference_propagate_range()
1318 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1327 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1331 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1346 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1355 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1368 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1379 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1388 if (tmp->min < ZEND_LONG_MAX && !tmp->underflow) { in zend_inference_propagate_range()
1389 tmp->min++; in zend_inference_propagate_range()
1398 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1402 if (tmp->min > ZEND_LONG_MIN) { in zend_inference_propagate_range()
1403 tmp->min--; in zend_inference_propagate_range()
1417 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1429 if (tmp->min < ZEND_LONG_MAX && !tmp->underflow) { in zend_inference_propagate_range()
1430 tmp->min++; in zend_inference_propagate_range()
1439 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1446 if (tmp->min > ZEND_LONG_MIN) { in zend_inference_propagate_range()
1447 tmp->min--; in zend_inference_propagate_range()
1464 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1475 tmp->min = OP2_MIN_RANGE(); in zend_inference_propagate_range()
1493 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1520 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1539 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1553 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1555 tmp->min = 0; in zend_inference_propagate_range()
1562 tmp->min = 0; in zend_inference_propagate_range()
1567 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1599 tmp->min = 0; in zend_inference_propagate_range()
1603 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1607 tmp->min = 1; in zend_inference_propagate_range()
1623 …zend_op_array *op_array, zend_ssa *ssa, int var, bool underflow, zend_long min, zend_long max, boo… in zend_inference_init_range() argument
1626 min = ZEND_LONG_MIN; in zend_inference_init_range()
1633 ssa->var_info[var].range.min = min; in zend_inference_init_range()
1636 …%2d) %2d [%s%ld..%ld%s]\n", ssa->vars[var].scc, var, (underflow?"-- ":""), min, max, (overflow?" +… in zend_inference_init_range()
1646 r->min < var_info->range.min) { in zend_inference_widening_meet()
1648 r->min = ZEND_LONG_MIN; in zend_inference_widening_meet()
1656 if (var_info->range.min == r->min && in zend_inference_widening_meet()
1673 …g SCC %2d) %2d [%s%ld..%ld%s]\n", scc, var, (tmp.underflow?"-- ":""), tmp.min, tmp.max, (tmp.over… in zend_ssa_range_widening()
1687 var_info->range.min < r->min) { in zend_inference_narrowing_meet()
1688 r->min = var_info->range.min; in zend_inference_narrowing_meet()
1696 r->min = ZEND_LONG_MIN; in zend_inference_narrowing_meet()
1701 if (var_info->range.min == r->min && in zend_inference_narrowing_meet()
1718 …ng SCC %2d) %2d [%s%ld..%ld%s]\n", scc, var, (tmp.underflow?"-- ":""), tmp.min, tmp.max, (tmp.over… in zend_ssa_range_narrowing()
1799 if (tmp.min == ssa->var_info[j].range.min && in zend_infer_ranges_warmup()
1805 } else if (tmp.min == ssa->var_info[j].range.min && in zend_infer_ranges_warmup()
1807 tmp.max < constraint->range.min) { in zend_infer_ranges_warmup()
1818 tmp.min == ssa->var_info[j].range.min - 1 && in zend_infer_ranges_warmup()
1819 tmp.min > constraint->range.max) { in zend_infer_ranges_warmup()
1836 …d SCC %2d) %2d [%s%ld..%ld%s]\n", n, scc, j, (tmp.underflow?"-- ":""), tmp.min, tmp.max, (tmp.over… in zend_infer_ranges_warmup()
1882 zend_inference_init_range(op_array, ssa, j, tmp.underflow, tmp.min, tmp.max, tmp.overflow); in zend_infer_ranges()
2828 ssa_var_info[ssa_op->op1_use].range.min == ZEND_LONG_MIN)) || in _zend_update_type_info()
2890 ssa_var_info[ssa_op->op1_use].range.min == ZEND_LONG_MIN)) || in _zend_update_type_info()
4415 tmp_range.min = 0; in zend_func_return_info()
4420 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info()
4430 tmp_range.min = 0; in zend_func_return_info()
4435 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info()
4445 tmp_range.min = 1; in zend_func_return_info()
4450 tmp_range.min = MIN(tmp_range.min, 1); in zend_func_return_info()
4460 tmp_range.min = Z_LVAL_P(zv); in zend_func_return_info()
4465 tmp_range.min = MIN(tmp_range.min, Z_LVAL_P(zv)); in zend_func_return_info()
4483 tmp_range.min = ZEND_LONG_MIN; in zend_func_return_info()
4485 tmp_range.min = MIN(tmp_range.min, info->ssa.var_info[ssa_op->op1_use].range.min); in zend_func_return_info()
4497 tmp_range.min = ZEND_LONG_MIN; in zend_func_return_info()