Lines Matching refs:min
442 tmp->min = minOR(a, b, c, d); in zend_ssa_range_or()
446 tmp->min = minOR(a, b, c, -1); in zend_ssa_range_or()
450 tmp->min = minOR(a, -1, c, d); in zend_ssa_range_or()
454 tmp->min = MIN(a, c); in zend_ssa_range_or()
458 tmp->min = c; in zend_ssa_range_or()
462 tmp->min = a; in zend_ssa_range_or()
490 tmp->min = minAND(a, b, c, d); in zend_ssa_range_and()
494 tmp->min = 0; in zend_ssa_range_and()
498 tmp->min = 0; in zend_ssa_range_and()
502 tmp->min = minAND(a, -1, c, -1); in zend_ssa_range_and()
506 tmp->min = minAND(a, -1, c, d); in zend_ssa_range_and()
510 tmp->min = minAND(a, b, c, -1); in zend_ssa_range_and()
517 zend_long min, zend_long max, zend_long *abs_min, zend_long *abs_max) { in zend_abs_range() argument
518 if (min == ZEND_LONG_MIN) { in zend_abs_range()
523 if (min >= 0) { in zend_abs_range()
524 *abs_min = min; in zend_abs_range()
528 *abs_max = -min; in zend_abs_range()
532 *abs_max = MAX(max, -min); in zend_abs_range()
578 tmp->min = op1_min + op2_min; in zend_inference_calc_binary_op_range()
582 (op1_min < 0 && op2_min < 0 && tmp->min >= 0)) { in zend_inference_calc_binary_op_range()
584 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
601 tmp->min = op1_min - op2_max; in zend_inference_calc_binary_op_range()
605 (op1_min < 0 && op2_max > 0 && tmp->min >= 0)) { in zend_inference_calc_binary_op_range()
607 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
639 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
642 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
676 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
679 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
691 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
714 tmp->min = op1_max < op2_abs_min ? op1_min : 0; in zend_inference_calc_binary_op_range()
717 tmp->min = MAX(op1_min, -op2_abs_max + 1); in zend_inference_calc_binary_op_range()
720 tmp->min = MAX(op1_min, -op2_abs_max + 1); in zend_inference_calc_binary_op_range()
733 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
751 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
758 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
771 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
799 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
811 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
829 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
860 tmp->min = ZEND_LONG_MAX; in zend_inference_calc_range()
870 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
882 ssa->var_info[p->ssa_var].range.min, in zend_inference_calc_range()
884 tmp->min, in zend_inference_calc_range()
887 tmp->max >= constraint->range.min) { in zend_inference_calc_range()
889 tmp->max = constraint->range.min - 1; in zend_inference_calc_range()
890 LOG_NEG_RANGE(" => [%ld..%ld]\n", tmp->min, tmp->max); in zend_inference_calc_range()
892 tmp->min <= constraint->range.max) { in zend_inference_calc_range()
894 tmp->min = constraint->range.max + 1; in zend_inference_calc_range()
895 LOG_NEG_RANGE(" => [%ld..%ld]\n", tmp->min, tmp->max); in zend_inference_calc_range()
904 tmp->min = MAX(constraint->range.min, tmp->min); in zend_inference_calc_range()
908 … if (!add_will_overflow(ssa->var_info[constraint->min_ssa_var].range.min, constraint->range.min)) { in zend_inference_calc_range()
909 …tmp->min = MAX(ssa->var_info[constraint->min_ssa_var].range.min + constraint->range.min, tmp->min); in zend_inference_calc_range()
927 tmp->min = constraint->range.min; in zend_inference_calc_range()
930 … if (add_will_overflow(ssa->var_info[constraint->min_ssa_var].range.min, constraint->range.min)) { in zend_inference_calc_range()
932 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
935 tmp->min = ssa->var_info[constraint->min_ssa_var].range.min + constraint->range.min; in zend_inference_calc_range()
940 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
966 tmp->min = MIN(tmp->min, ssa->var_info[p->sources[i]].range.min); in zend_inference_calc_range()
971 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
977 return (tmp->min <= tmp->max); in zend_inference_calc_range()
982 tmp->min = 0; in zend_inference_calc_range()
1017 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1022 tmp->min = ~op1_max; in zend_inference_calc_range()
1034 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1042 tmp->min = 0; in zend_inference_calc_range()
1049 tmp->min = (op1_min > 0 || op1_max < 0); in zend_inference_calc_range()
1053 tmp->min = 0; in zend_inference_calc_range()
1059 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1063 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1077 tmp->min = (op1_min > 0 || op1_max < 0); in zend_inference_calc_range()
1081 tmp->min = 0; in zend_inference_calc_range()
1092 tmp->min = (op1_min == 0 && op1_max == 0); in zend_inference_calc_range()
1096 tmp->min = 0; in zend_inference_calc_range()
1113 tmp->min = 0; in zend_inference_calc_range()
1119 tmp->min = 1; in zend_inference_calc_range()
1124 tmp->min = 0; in zend_inference_calc_range()
1139 tmp->min = (op1_min == op1_max && in zend_inference_calc_range()
1145 tmp->min = 0; in zend_inference_calc_range()
1160 tmp->min = (op1_min > op2_max || op1_max < op2_min); in zend_inference_calc_range()
1166 tmp->min = 0; in zend_inference_calc_range()
1180 tmp->min = op1_max < op2_min; in zend_inference_calc_range()
1184 tmp->min = 0; in zend_inference_calc_range()
1198 tmp->min = op1_max <= op2_min; in zend_inference_calc_range()
1202 tmp->min = 0; in zend_inference_calc_range()
1215 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1224 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1234 tmp->min = 0; in zend_inference_calc_range()
1244 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1255 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1264 if (tmp->min < ZEND_LONG_MAX && !tmp->underflow) { in zend_inference_calc_range()
1265 tmp->min++; in zend_inference_calc_range()
1274 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1278 if (tmp->min > ZEND_LONG_MIN) { in zend_inference_calc_range()
1279 tmp->min--; in zend_inference_calc_range()
1293 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1305 if (tmp->min < ZEND_LONG_MAX && !tmp->underflow) { in zend_inference_calc_range()
1306 tmp->min++; in zend_inference_calc_range()
1315 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1322 if (tmp->min > ZEND_LONG_MIN) { in zend_inference_calc_range()
1323 tmp->min--; in zend_inference_calc_range()
1340 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1351 tmp->min = OP2_MIN_RANGE(); in zend_inference_calc_range()
1364 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1392 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1410 tmp->min = OP1_MIN_RANGE(); in zend_inference_calc_range()
1434 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1440 tmp->min = 0; in zend_inference_calc_range()
1454 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1456 tmp->min = 0; in zend_inference_calc_range()
1463 tmp->min = 0; in zend_inference_calc_range()
1468 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1500 tmp->min = 0; in zend_inference_calc_range()
1504 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_range()
1508 tmp->min = 1; in zend_inference_calc_range()
1524 …op_array *op_array, zend_ssa *ssa, int var, zend_bool underflow, zend_long min, zend_long max, zen… in zend_inference_init_range() argument
1527 min = ZEND_LONG_MIN; in zend_inference_init_range()
1534 ssa->var_info[var].range.min = min; in zend_inference_init_range()
1537 …%2d) %2d [%s%ld..%ld%s]\n", ssa->vars[var].scc, var, (underflow?"-- ":""), min, max, (overflow?" +… in zend_inference_init_range()
1547 r->min < var_info->range.min) { in zend_inference_widening_meet()
1549 r->min = ZEND_LONG_MIN; in zend_inference_widening_meet()
1557 if (var_info->range.min == r->min && in zend_inference_widening_meet()
1574 …g SCC %2d) %2d [%s%ld..%ld%s]\n", scc, var, (tmp.underflow?"-- ":""), tmp.min, tmp.max, (tmp.over… in zend_ssa_range_widening()
1588 var_info->range.min < r->min) { in zend_inference_narrowing_meet()
1589 r->min = var_info->range.min; in zend_inference_narrowing_meet()
1597 r->min = ZEND_LONG_MIN; in zend_inference_narrowing_meet()
1602 if (var_info->range.min == r->min && in zend_inference_narrowing_meet()
1619 …ng SCC %2d) %2d [%s%ld..%ld%s]\n", scc, var, (tmp.underflow?"-- ":""), tmp.min, tmp.max, (tmp.over… in zend_ssa_range_narrowing()
1699 if (tmp.min == ssa->var_info[j].range.min && in zend_infer_ranges_warmup()
1705 } else if (tmp.min == ssa->var_info[j].range.min && in zend_infer_ranges_warmup()
1707 tmp.max < constraint->range.min) { in zend_infer_ranges_warmup()
1718 tmp.min == ssa->var_info[j].range.min - 1 && in zend_infer_ranges_warmup()
1719 tmp.min > constraint->range.max) { in zend_infer_ranges_warmup()
1736 …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()
1780 zend_inference_init_range(op_array, ssa, j, tmp.underflow, tmp.min, tmp.max, tmp.overflow); in zend_infer_ranges()
2582 ssa_var_info[ssa_ops[i].op1_use].range.min == ZEND_LONG_MIN)) || in zend_update_type_info()
2644 ssa_var_info[ssa_ops[i].op1_use].range.min == ZEND_LONG_MIN)) || in zend_update_type_info()
3960 tmp_range.min = 0; in zend_func_return_info()
3965 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info()
3975 tmp_range.min = 0; in zend_func_return_info()
3980 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info()
3990 tmp_range.min = 1; in zend_func_return_info()
3995 tmp_range.min = MIN(tmp_range.min, 1); in zend_func_return_info()
4005 tmp_range.min = Z_LVAL_P(zv); in zend_func_return_info()
4010 tmp_range.min = MIN(tmp_range.min, Z_LVAL_P(zv)); in zend_func_return_info()
4030 tmp_range.min = ZEND_LONG_MIN; in zend_func_return_info()
4032 …tmp_range.min = MIN(tmp_range.min, info->ssa.var_info[info->ssa.ops[opline - op_array->opcodes].op… in zend_func_return_info()
4044 tmp_range.min = ZEND_LONG_MIN; in zend_func_return_info()