Lines Matching refs:min
674 tmp->min = minOR(a, b, c, d); in zend_ssa_range_or()
678 tmp->min = minOR(a, b, c, -1); in zend_ssa_range_or()
682 tmp->min = minOR(a, -1, c, d); in zend_ssa_range_or()
686 tmp->min = MIN(a, c); in zend_ssa_range_or()
690 tmp->min = c; in zend_ssa_range_or()
694 tmp->min = a; in zend_ssa_range_or()
722 tmp->min = minAND(a, b, c, d); in zend_ssa_range_and()
726 tmp->min = 0; in zend_ssa_range_and()
730 tmp->min = 0; in zend_ssa_range_and()
734 tmp->min = minAND(a, -1, c, -1); in zend_ssa_range_and()
738 tmp->min = minAND(a, -1, c, d); in zend_ssa_range_and()
742 tmp->min = minAND(a, b, c, -1); in zend_ssa_range_and()
749 zend_long min, zend_long max, zend_long *abs_min, zend_long *abs_max) { in zend_abs_range() argument
750 if (min == ZEND_LONG_MIN) { in zend_abs_range()
755 if (min >= 0) { in zend_abs_range()
756 *abs_min = min; in zend_abs_range()
760 *abs_max = -min; in zend_abs_range()
764 *abs_max = MAX(max, -min); in zend_abs_range()
812 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
814 tmp->min = op1_min + op2_min; in zend_inference_calc_binary_op_range()
837 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
839 tmp->min = op1_min - op2_max; in zend_inference_calc_binary_op_range()
876 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
879 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
902 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
911 tmp->min = MIN(MIN(MIN(t1, t2), MIN(t3, t4)), MIN(MIN(t1_, t2_), MIN(t3_, t4_))); in zend_inference_calc_binary_op_range()
923 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
946 tmp->min = op1_max < op2_abs_min ? op1_min : 0; in zend_inference_calc_binary_op_range()
949 tmp->min = MAX(op1_min, -op2_abs_max + 1); in zend_inference_calc_binary_op_range()
952 tmp->min = MAX(op1_min, -op2_abs_max + 1); in zend_inference_calc_binary_op_range()
965 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
983 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
990 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
1003 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
1031 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
1043 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
1061 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
1092 tmp->min = ZEND_LONG_MAX; in zend_inference_calc_range()
1102 if (constraint->range.min == constraint->range.max in zend_inference_calc_range()
1121 && ssa->var_info[p->sources[0]].range.min > constraint->range.max) { in zend_inference_calc_range()
1122 tmp->min = constraint->range.max + 1; in zend_inference_calc_range()
1135 && ssa->var_info[p->sources[0]].range.max < constraint->range.min) { in zend_inference_calc_range()
1136 tmp->max = constraint->range.min - 1; in zend_inference_calc_range()
1144 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1156 ssa->var_info[p->ssa_var].range.min, in zend_inference_calc_range()
1158 tmp->min, in zend_inference_calc_range()
1161 tmp->max >= constraint->range.min) { in zend_inference_calc_range()
1163 tmp->max = constraint->range.min - 1; in zend_inference_calc_range()
1164 LOG_NEG_RANGE(" => [%ld..%ld]\n", tmp->min, tmp->max); in zend_inference_calc_range()
1166 tmp->min <= constraint->range.max) { in zend_inference_calc_range()
1168 tmp->min = constraint->range.max + 1; in zend_inference_calc_range()
1169 LOG_NEG_RANGE(" => [%ld..%ld]\n", tmp->min, tmp->max); in zend_inference_calc_range()
1178 tmp->min = MAX(constraint->range.min, tmp->min); in zend_inference_calc_range()
1182 … if (!add_will_overflow(ssa->var_info[constraint->min_ssa_var].range.min, constraint->range.min)) { in zend_inference_calc_range()
1183 …tmp->min = MAX(ssa->var_info[constraint->min_ssa_var].range.min + constraint->range.min, tmp->min); in zend_inference_calc_range()
1201 tmp->min = constraint->range.min; in zend_inference_calc_range()
1204 … if (add_will_overflow(ssa->var_info[constraint->min_ssa_var].range.min, constraint->range.min)) { in zend_inference_calc_range()
1206 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1209 tmp->min = ssa->var_info[constraint->min_ssa_var].range.min + constraint->range.min; in zend_inference_calc_range()
1214 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1240 tmp->min = MIN(tmp->min, ssa->var_info[p->sources[i]].range.min); in zend_inference_calc_range()
1245 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1251 return (tmp->min <= tmp->max); in zend_inference_calc_range()
1288 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1293 tmp->min = ~op1_max; in zend_inference_propagate_range()
1305 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1314 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1318 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1333 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1342 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1355 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1366 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1375 if (tmp->min < ZEND_LONG_MAX && !tmp->underflow) { in zend_inference_propagate_range()
1376 tmp->min++; in zend_inference_propagate_range()
1385 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1389 if (tmp->min > ZEND_LONG_MIN) { in zend_inference_propagate_range()
1390 tmp->min--; in zend_inference_propagate_range()
1404 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1416 if (tmp->min < ZEND_LONG_MAX && !tmp->underflow) { in zend_inference_propagate_range()
1417 tmp->min++; in zend_inference_propagate_range()
1426 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1433 if (tmp->min > ZEND_LONG_MIN) { in zend_inference_propagate_range()
1434 tmp->min--; in zend_inference_propagate_range()
1451 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1462 tmp->min = OP2_MIN_RANGE(); in zend_inference_propagate_range()
1480 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1507 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1526 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1540 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1542 tmp->min = 0; in zend_inference_propagate_range()
1549 tmp->min = 0; in zend_inference_propagate_range()
1554 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1586 tmp->min = 0; in zend_inference_propagate_range()
1590 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1594 tmp->min = 1; in zend_inference_propagate_range()
1610 …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
1613 min = ZEND_LONG_MIN; in zend_inference_init_range()
1620 ssa->var_info[var].range.min = min; in zend_inference_init_range()
1623 …%2d) %2d [%s%ld..%ld%s]\n", ssa->vars[var].scc, var, (underflow?"-- ":""), min, max, (overflow?" +… in zend_inference_init_range()
1633 r->min < var_info->range.min) { in zend_inference_widening_meet()
1635 r->min = ZEND_LONG_MIN; in zend_inference_widening_meet()
1643 if (var_info->range.min == r->min && in zend_inference_widening_meet()
1660 …g SCC %2d) %2d [%s%ld..%ld%s]\n", scc, var, (tmp.underflow?"-- ":""), tmp.min, tmp.max, (tmp.over… in zend_ssa_range_widening()
1674 var_info->range.min < r->min) { in zend_inference_narrowing_meet()
1675 r->min = var_info->range.min; in zend_inference_narrowing_meet()
1683 r->min = ZEND_LONG_MIN; in zend_inference_narrowing_meet()
1688 if (var_info->range.min == r->min && in zend_inference_narrowing_meet()
1705 …ng SCC %2d) %2d [%s%ld..%ld%s]\n", scc, var, (tmp.underflow?"-- ":""), tmp.min, tmp.max, (tmp.over… in zend_ssa_range_narrowing()
1786 if (tmp.min == ssa->var_info[j].range.min && in zend_infer_ranges_warmup()
1792 } else if (tmp.min == ssa->var_info[j].range.min && in zend_infer_ranges_warmup()
1794 tmp.max < constraint->range.min) { in zend_infer_ranges_warmup()
1805 tmp.min == ssa->var_info[j].range.min - 1 && in zend_infer_ranges_warmup()
1806 tmp.min > constraint->range.max) { in zend_infer_ranges_warmup()
1823 …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()
1869 zend_inference_init_range(op_array, ssa, j, tmp.underflow, tmp.min, tmp.max, tmp.overflow); in zend_infer_ranges()
2884 ssa_var_info[ssa_op->op1_use].range.min == ZEND_LONG_MIN)) || in _zend_update_type_info()
2946 ssa_var_info[ssa_op->op1_use].range.min == ZEND_LONG_MIN)) || in _zend_update_type_info()
4516 tmp_range.min = Z_LVAL_P(zv); in zend_func_return_info()
4521 tmp_range.min = MIN(tmp_range.min, Z_LVAL_P(zv)); in zend_func_return_info()
4539 tmp_range.min = ZEND_LONG_MIN; in zend_func_return_info()
4541 tmp_range.min = MIN(tmp_range.min, info->ssa.var_info[ssa_op->op1_use].range.min); in zend_func_return_info()
4553 tmp_range.min = ZEND_LONG_MIN; in zend_func_return_info()