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()
580 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
582 tmp->min = op1_min + op2_min; in zend_inference_calc_binary_op_range()
605 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
607 tmp->min = op1_min - op2_max; in zend_inference_calc_binary_op_range()
644 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
647 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
670 tmp->min = ZEND_LONG_MIN; in zend_inference_calc_binary_op_range()
679 tmp->min = MIN(MIN(MIN(t1, t2), MIN(t3, t4)), 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()
1023 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1028 tmp->min = ~op1_max; in zend_inference_propagate_range()
1040 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1049 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1053 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1068 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1077 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1090 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1101 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1110 if (tmp->min < ZEND_LONG_MAX && !tmp->underflow) { in zend_inference_propagate_range()
1111 tmp->min++; in zend_inference_propagate_range()
1120 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1124 if (tmp->min > ZEND_LONG_MIN) { in zend_inference_propagate_range()
1125 tmp->min--; in zend_inference_propagate_range()
1139 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1151 if (tmp->min < ZEND_LONG_MAX && !tmp->underflow) { in zend_inference_propagate_range()
1152 tmp->min++; in zend_inference_propagate_range()
1161 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1168 if (tmp->min > ZEND_LONG_MIN) { in zend_inference_propagate_range()
1169 tmp->min--; in zend_inference_propagate_range()
1186 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1197 tmp->min = OP2_MIN_RANGE(); in zend_inference_propagate_range()
1215 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1242 tmp->min = OP1_MIN_RANGE(); in zend_inference_propagate_range()
1261 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1275 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1277 tmp->min = 0; in zend_inference_propagate_range()
1284 tmp->min = 0; in zend_inference_propagate_range()
1289 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1321 tmp->min = 0; in zend_inference_propagate_range()
1325 tmp->min = ZEND_LONG_MIN; in zend_inference_propagate_range()
1329 tmp->min = 1; in zend_inference_propagate_range()
1345 …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
1348 min = ZEND_LONG_MIN; in zend_inference_init_range()
1355 ssa->var_info[var].range.min = min; in zend_inference_init_range()
1358 …%2d) %2d [%s%ld..%ld%s]\n", ssa->vars[var].scc, var, (underflow?"-- ":""), min, max, (overflow?" +… in zend_inference_init_range()
1368 r->min < var_info->range.min) { in zend_inference_widening_meet()
1370 r->min = ZEND_LONG_MIN; in zend_inference_widening_meet()
1378 if (var_info->range.min == r->min && in zend_inference_widening_meet()
1395 …g SCC %2d) %2d [%s%ld..%ld%s]\n", scc, var, (tmp.underflow?"-- ":""), tmp.min, tmp.max, (tmp.over… in zend_ssa_range_widening()
1409 var_info->range.min < r->min) { in zend_inference_narrowing_meet()
1410 r->min = var_info->range.min; in zend_inference_narrowing_meet()
1418 r->min = ZEND_LONG_MIN; in zend_inference_narrowing_meet()
1423 if (var_info->range.min == r->min && in zend_inference_narrowing_meet()
1440 …ng SCC %2d) %2d [%s%ld..%ld%s]\n", scc, var, (tmp.underflow?"-- ":""), tmp.min, tmp.max, (tmp.over… in zend_ssa_range_narrowing()
1520 if (tmp.min == ssa->var_info[j].range.min && in zend_infer_ranges_warmup()
1526 } else if (tmp.min == ssa->var_info[j].range.min && in zend_infer_ranges_warmup()
1528 tmp.max < constraint->range.min) { in zend_infer_ranges_warmup()
1539 tmp.min == ssa->var_info[j].range.min - 1 && in zend_infer_ranges_warmup()
1540 tmp.min > constraint->range.max) { in zend_infer_ranges_warmup()
1557 …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()
1601 zend_inference_init_range(op_array, ssa, j, tmp.underflow, tmp.min, tmp.max, tmp.overflow); in zend_infer_ranges()
2526 ssa_var_info[ssa_op->op1_use].range.min == ZEND_LONG_MIN)) || in _zend_update_type_info()
2585 ssa_var_info[ssa_op->op1_use].range.min == ZEND_LONG_MIN)) || in _zend_update_type_info()
4034 tmp_range.min = 0; in zend_func_return_info()
4039 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info()
4049 tmp_range.min = 0; in zend_func_return_info()
4054 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info()
4064 tmp_range.min = 1; in zend_func_return_info()
4069 tmp_range.min = MIN(tmp_range.min, 1); in zend_func_return_info()
4079 tmp_range.min = Z_LVAL_P(zv); in zend_func_return_info()
4084 tmp_range.min = MIN(tmp_range.min, Z_LVAL_P(zv)); in zend_func_return_info()
4102 tmp_range.min = ZEND_LONG_MIN; in zend_func_return_info()
4104 tmp_range.min = MIN(tmp_range.min, info->ssa.var_info[ssa_op->op1_use].range.min); in zend_func_return_info()
4116 tmp_range.min = ZEND_LONG_MIN; in zend_func_return_info()