Lines Matching refs:t1

548 	zend_long op1_min, op2_min, op1_max, op2_max, t1, t2, t3, t4;  in zend_inference_calc_binary_op_range()  local
603 t1 = op1_min * op2_min; in zend_inference_calc_binary_op_range()
612 (double)t1 != (double)op1_min * (double)op2_min || in zend_inference_calc_binary_op_range()
621 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
622 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
640 t1 = op1_min / op2_min; in zend_inference_calc_binary_op_range()
649 t1 != (zend_long)((double)op1_min / (double)op2_min) || in zend_inference_calc_binary_op_range()
658 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
659 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
681 t1 = (op2_min == -1) ? 0 : (op1_min % op2_min); in zend_inference_calc_binary_op_range()
685 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
686 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
704 t1 = op1_min << op2_min; in zend_inference_calc_binary_op_range()
708 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
709 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
727 t1 = op1_min >> op2_min; in zend_inference_calc_binary_op_range()
731 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range()
732 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
1944 uint32_t zend_array_element_type(uint32_t t1, int write, int insert) in zend_array_element_type() argument
1948 if (t1 & MAY_BE_OBJECT) { in zend_array_element_type()
1951 if (t1 & MAY_BE_ARRAY) { in zend_array_element_type()
1955 tmp |= MAY_BE_NULL | ((t1 & MAY_BE_ARRAY_OF_ANY) >> MAY_BE_ARRAY_SHIFT); in zend_array_element_type()
1959 if (t1 & MAY_BE_ARRAY_OF_REF) { in zend_array_element_type()
1966 if (t1 & MAY_BE_STRING) { in zend_array_element_type()
1972 if (t1 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE)) { in zend_array_element_type()
1974 if (t1 & MAY_BE_ERROR) { in zend_array_element_type()
1980 if (t1 & (MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_RESOURCE)) { in zend_array_element_type()
2031 zend_ssa *ssa, zend_uchar opcode, uint32_t t1, uint32_t t2, uint32_t result_var) { in binary_op_result_type() argument
2033 uint32_t t1_type = (t1 & MAY_BE_ANY) | (t1 & MAY_BE_UNDEF ? MAY_BE_NULL : 0); in binary_op_result_type()
2050 tmp |= t1 & (MAY_BE_ARRAY_KEY_ANY|MAY_BE_ARRAY_OF_ANY|MAY_BE_ARRAY_OF_REF); in binary_op_result_type()
2056 tmp |= t1 & (MAY_BE_ARRAY_KEY_ANY|MAY_BE_ARRAY_OF_ANY|MAY_BE_ARRAY_OF_REF); in binary_op_result_type()
2171 uint32_t t1, t2; in zend_update_type_info() local
2185 t1 = OP1_INFO(); in zend_update_type_info()
2191 if (!(t1 & (MAY_BE_ANY|MAY_BE_UNDEF|MAY_BE_CLASS|MAY_BE_ERROR)) in zend_update_type_info()
2219 tmp = binary_op_result_type(ssa, opline->opcode, t1, t2, ssa_ops[i].result_def); in zend_update_type_info()
2224 if (t1 & MAY_BE_STRING) { in zend_update_type_info()
2227 if (t1 & (MAY_BE_ANY-MAY_BE_STRING)) { in zend_update_type_info()
2257 tmp = t1; in zend_update_type_info()
2258 if ((t1 & (MAY_BE_ARRAY|MAY_BE_OBJECT)) && in zend_update_type_info()
2263 } else if ((t1 & MAY_BE_STRING) && in zend_update_type_info()
2277 if ((tmp & MAY_BE_ANY) == (t1 & MAY_BE_ANY)) { in zend_update_type_info()
2278 tmp |= (t1 & MAY_BE_RC1) | MAY_BE_RCN; in zend_update_type_info()
2281 (t1 & (MAY_BE_ARRAY|MAY_BE_OBJECT))) { in zend_update_type_info()
2284 (t1 & (MAY_BE_STRING|MAY_BE_OBJECT))) { in zend_update_type_info()
2292 if (t1 & MAY_BE_ARRAY) { in zend_update_type_info()
2293 tmp |= t1 & (MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF); in zend_update_type_info()
2295 if (t1 & MAY_BE_OBJECT) { in zend_update_type_info()
2298 tmp |= ((t1 & MAY_BE_ANY) << MAY_BE_ARRAY_SHIFT) | MAY_BE_ARRAY_KEY_LONG; in zend_update_type_info()
2307 tmp = t1; in zend_update_type_info()
2308 if ((t1 & (MAY_BE_RC1|MAY_BE_REF)) && (opline->op1_type == IS_CV)) { in zend_update_type_info()
2314 tmp = t1 & ~(MAY_BE_UNDEF|MAY_BE_REF); in zend_update_type_info()
2315 if (t1 & MAY_BE_UNDEF) { in zend_update_type_info()
2318 if (t1 & (MAY_BE_RC1|MAY_BE_RCN)) { in zend_update_type_info()
2319 tmp |= (t1 & (MAY_BE_RC1|MAY_BE_RCN)); in zend_update_type_info()
2351 orig = t1; in zend_update_type_info()
2352 t1 = MAY_BE_ANY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF; in zend_update_type_info()
2355 if (t1 & MAY_BE_ARRAY_OF_REF) { in zend_update_type_info()
2358 orig = t1; in zend_update_type_info()
2359 t1 = zend_array_element_type(t1, 1, 0); in zend_update_type_info()
2362 if (t1 & MAY_BE_REF) { in zend_update_type_info()
2368 ssa, get_compound_assign_op(opline->opcode), t1, t2, ssa_ops[i].op1_def); in zend_update_type_info()
2410 if (t1 & (MAY_BE_ANY - (MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING | MAY_BE_ARRAY))) { in zend_update_type_info()
2428 if (t1 & MAY_BE_REF) { in zend_update_type_info()
2431 if (t1 & (MAY_BE_RC1|MAY_BE_RCN)) { in zend_update_type_info()
2437 if ((t1 & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_LONG) { in zend_update_type_info()
2451 if (t1 & MAY_BE_ERROR) { in zend_update_type_info()
2454 if (t1 & (MAY_BE_UNDEF | MAY_BE_NULL)) { in zend_update_type_info()
2461 if (t1 & MAY_BE_LONG) { in zend_update_type_info()
2464 if (t1 & MAY_BE_DOUBLE) { in zend_update_type_info()
2467 if (t1 & MAY_BE_STRING) { in zend_update_type_info()
2470 …tmp |= t1 & (MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_RESOURCE | MAY_BE_ARRAY | MAY_BE_OBJECT | MAY_BE_… in zend_update_type_info()
2483 if (t1 & (MAY_BE_RC1|MAY_BE_RCN)) { in zend_update_type_info()
2486 tmp |= t1 & ~(MAY_BE_UNDEF|MAY_BE_ERROR|MAY_BE_REF|MAY_BE_RCN); in zend_update_type_info()
2487 if (t1 & MAY_BE_UNDEF) { in zend_update_type_info()
2493 if (t1 & MAY_BE_REF) { in zend_update_type_info()
2496 if (t1 & (MAY_BE_RC1|MAY_BE_RCN)) { in zend_update_type_info()
2499 if ((t1 & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_LONG) { in zend_update_type_info()
2513 if (t1 & MAY_BE_ERROR) { in zend_update_type_info()
2516 if (t1 & (MAY_BE_UNDEF | MAY_BE_NULL)) { in zend_update_type_info()
2523 if (t1 & MAY_BE_LONG) { in zend_update_type_info()
2526 if (t1 & MAY_BE_DOUBLE) { in zend_update_type_info()
2529 if (t1 & MAY_BE_STRING) { in zend_update_type_info()
2532 …tmp |= t1 & (MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_RESOURCE | MAY_BE_ARRAY | MAY_BE_OBJECT | MAY_BE_… in zend_update_type_info()
2540 tmp = assign_dim_result_type(t1, t2, OP1_DATA_INFO(), opline->op2_type); in zend_update_type_info()
2546 if (t1 & MAY_BE_STRING) { in zend_update_type_info()
2549 if (t1 & ((MAY_BE_ANY|MAY_BE_UNDEF) - MAY_BE_STRING)) { in zend_update_type_info()
2561 if (t1 & (MAY_BE_ANY - (MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING | MAY_BE_ARRAY))) { in zend_update_type_info()
2568 if (t1 & MAY_BE_OBJECT) { in zend_update_type_info()
2587 tmp = t1; in zend_update_type_info()
2588 if (t1 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE)) { in zend_update_type_info()
2629 if (t1 & MAY_BE_REF) { in zend_update_type_info()
2689 tmp = t1; in zend_update_type_info()
2690 if ((t1 & (MAY_BE_RC1|MAY_BE_REF)) && (opline->op1_type == IS_CV)) { in zend_update_type_info()
2714 tmp = t1 | MAY_BE_REF; in zend_update_type_info()
2716 tmp = t1 & ~(MAY_BE_RC1|MAY_BE_RCN); in zend_update_type_info()
2717 if (t1 & (MAY_BE_RC1|MAY_BE_RCN)) { in zend_update_type_info()
2732 …tmp = (t1 & MAY_BE_UNDEF)|MAY_BE_REF|MAY_BE_RC1|MAY_BE_RCN|MAY_BE_ANY|MAY_BE_ARRAY_KEY_ANY|MAY_BE_… in zend_update_type_info()
2744 tmp = t1; in zend_update_type_info()
2745 if (t1 & MAY_BE_ARRAY) { in zend_update_type_info()
2750 if (t1 & MAY_BE_OBJECT) { in zend_update_type_info()
2868 …} else if ((t1 & MAY_BE_CLASS) && ssa_ops[i].op1_use >= 0 && ssa_var_info[ssa_ops[i].op1_use].ce) { in zend_update_type_info()
2883 tmp = (MAY_BE_REF | t1) & ~(MAY_BE_UNDEF|MAY_BE_RC1|MAY_BE_RCN); in zend_update_type_info()
2884 if (t1 & MAY_BE_UNDEF) { in zend_update_type_info()
2887 } else if ((t1 & (MAY_BE_REF|MAY_BE_RC1|MAY_BE_RCN)) == MAY_BE_REF) { in zend_update_type_info()
2888 tmp = (MAY_BE_REF | t1) & ~(MAY_BE_UNDEF|MAY_BE_RC1|MAY_BE_RCN); in zend_update_type_info()
2889 if (t1 & MAY_BE_UNDEF) { in zend_update_type_info()
2892 } else if (t1 & MAY_BE_REF) { in zend_update_type_info()
2893 tmp = (MAY_BE_RC1 | MAY_BE_RCN | MAY_BE_REF | t1); in zend_update_type_info()
2895 tmp = t1; in zend_update_type_info()
2896 if (t1 & MAY_BE_RC1) { in zend_update_type_info()
2905 tmp |= (t1 & MAY_BE_ANY) << MAY_BE_ARRAY_SHIFT; in zend_update_type_info()
2906 if (t1 & MAY_BE_UNDEF) { in zend_update_type_info()
2948 UPDATE_SSA_TYPE(t1, ssa_ops[i].op1_def); in zend_update_type_info()
2955 tmp = t1; in zend_update_type_info()
2959 if ((t1 & MAY_BE_RC1) && opline->op1_type != IS_TMP_VAR) { in zend_update_type_info()
2968 tmp = MAY_BE_REF | (t1 & (MAY_BE_ARRAY | MAY_BE_OBJECT)); in zend_update_type_info()
2970 …tmp = MAY_BE_RC1 | MAY_BE_RCN | (t1 & (MAY_BE_ARRAY | MAY_BE_OBJECT | MAY_BE_ARRAY_KEY_ANY | MAY_B… in zend_update_type_info()
2978 if (t1 & MAY_BE_OBJECT) { in zend_update_type_info()
2985 if (t1 & MAY_BE_ARRAY) { in zend_update_type_info()
2989 tmp |= ((t1 & MAY_BE_ARRAY_OF_ANY) >> MAY_BE_ARRAY_SHIFT); in zend_update_type_info()
2993 if (t1 & MAY_BE_ARRAY_OF_REF) { in zend_update_type_info()
3003 if (t1 & MAY_BE_OBJECT) { in zend_update_type_info()
3006 if (t1 & MAY_BE_ARRAY) { in zend_update_type_info()
3007 if (t1 & MAY_BE_ARRAY_KEY_LONG) { in zend_update_type_info()
3010 if (t1 & MAY_BE_ARRAY_KEY_STRING) { in zend_update_type_info()
3025 tmp = t1 & ~(MAY_BE_RC1|MAY_BE_RCN); in zend_update_type_info()
3029 if (t1 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE)) { in zend_update_type_info()
3035 if (t1 & (MAY_BE_STRING|MAY_BE_ARRAY)) { in zend_update_type_info()
3038 if (t1 & (MAY_BE_OBJECT|MAY_BE_RESOURCE)) { in zend_update_type_info()
3039 tmp |= t1 & (MAY_BE_RC1|MAY_BE_RCN); in zend_update_type_info()
3128 tmp = (tmp & (MAY_BE_RC1|MAY_BE_RCN)) | (t1 & ~(MAY_BE_RC1|MAY_BE_RCN)); in zend_update_type_info()
3135 opline->opcode != ZEND_FETCH_LIST ? t1 : ((t1 & ~MAY_BE_STRING) | MAY_BE_NULL), in zend_update_type_info()
3142 if (t1 & (MAY_BE_ERROR|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_RESOURCE|MAY_BE_OBJECT)) { in zend_update_type_info()
3149 } else if (opline->opcode == ZEND_FETCH_DIM_IS && (t1 & MAY_BE_STRING)) { in zend_update_type_info()
3165 tmp = t1; in zend_update_type_info()
3170 if (t1 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE)) { in zend_update_type_info()
3226 …if (t1 & (MAY_BE_ANY - (MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRI… in zend_update_type_info()
3236 if (t1 & MAY_BE_REF) { in zend_update_type_info()
3237 tmp = t1; in zend_update_type_info()
3674 uint32_t t1; in zend_func_return_info() local
3707 t1 = OP1_INFO(); in zend_func_return_info()
3708 if (t1 & MAY_BE_UNDEF) { in zend_func_return_info()
3709 t1 |= MAY_BE_NULL; in zend_func_return_info()
3712 if (t1 & MAY_BE_RC1) { in zend_func_return_info()
3713 t1 |= MAY_BE_RCN; in zend_func_return_info()
3715 t1 &= ~(MAY_BE_UNDEF | MAY_BE_REF); in zend_func_return_info()
3717 t1 |= MAY_BE_REF; in zend_func_return_info()
3718 t1 &= ~(MAY_BE_UNDEF | MAY_BE_RC1 | MAY_BE_RCN); in zend_func_return_info()
3720 tmp |= t1; in zend_func_return_info()