Lines Matching refs:op_type

38 		target ## _type = (src)->op_type; \
39 if ((src)->op_type == IS_CONST) { \
47 (target)->op_type = src ## _type; \
48 if ((target)->op_type == IS_CONST) { \
709 if (loop_var && (loop_var->op_type & (IS_VAR|IS_TMP_VAR))) { in zend_begin_loop()
713 info.var_type = loop_var->op_type; in zend_begin_loop()
750 if (op1->op_type == IS_TMP_VAR) { in zend_do_free()
764 } else if (op1->op_type == IS_VAR) { in zend_do_free()
805 } else if (op1->op_type == IS_CONST) { in zend_do_free()
2251 if ((cond->op_type & (IS_CV|IS_CONST)) in zend_emit_cond_jump()
2344 if (expr->op_type == IS_CONST && Z_TYPE(expr->u.constant) == IS_NULL) { in zend_emit_return_type_check()
2367 if (expr && expr->op_type == IS_CONST) { in zend_emit_return_type_check()
2380 if (expr && expr->op_type == IS_CONST) { in zend_emit_return_type_check()
2381 opline->result_type = expr->op_type = IS_TMP_VAR; in zend_emit_return_type_check()
2405 zn.op_type = IS_CONST; in zend_emit_final_return()
2464 if (node->op_type == IS_CONST && Z_TYPE(node->u.constant) == IS_STRING) { in zend_handle_numeric_op()
2477 if (class_node->op_type == IS_CONST) { in zend_set_class_name_op1()
2493 if (name_node.op_type == IS_CONST) { in zend_compile_class_ref()
2535 if (name_node.op_type == IS_CONST) { in zend_compile_class_ref_ex()
2546 result->op_type = IS_CONST; in zend_compile_class_ref_ex()
2550 result->op_type = IS_UNUSED; in zend_compile_class_ref_ex()
2564 result->op_type = IS_CONST; in zend_compile_class_ref_ex()
2571 result->op_type = IS_CONST; in zend_compile_class_ref_ex()
2575 result->op_type = IS_UNUSED; in zend_compile_class_ref_ex()
2592 result->op_type = IS_CV; in zend_try_compile_cv()
2612 if (name_node.op_type == IS_CONST) { in zend_compile_simple_var_no_cv()
2622 if (name_node.op_type == IS_CONST && in zend_compile_simple_var_no_cv()
2662 if (node->op_type == IS_VAR) { in zend_separate_if_call_and_write()
2708 dim_node.op_type = IS_UNUSED; in zend_delayed_compile_dim()
2742 obj_node.op_type = IS_UNUSED; in zend_delayed_compile_prop()
2795 if (class_node.op_type == IS_CONST) { in zend_compile_static_prop_common()
2872 dim_node.op_type = IS_CONST; in zend_compile_list_assign()
2876 if (expr_node->op_type == IS_CONST) { in zend_compile_list_assign()
3064 && source_node.op_type != IS_CV) { in zend_compile_assign_ref()
3076 if (source_node.op_type != IS_VAR && zend_is_call(source_ast)) { in zend_compile_assign_ref()
3179 if (arg_node.op_type & (IS_CONST|IS_TMP_VAR)) { in zend_compile_args()
3210 if (arg_node.op_type == IS_VAR) { in zend_compile_args()
3223 } else if (arg_node.op_type == IS_CV) { in zend_compile_args()
3311 name_node->op_type = IS_CONST; in zend_compile_function_name()
3335 if (name_node->op_type == IS_CONST && Z_TYPE(name_node->u.constant) == IS_STRING) { in zend_compile_dynamic_call()
3390 if (arg_node.op_type == IS_CONST && Z_TYPE(arg_node.u.constant) == IS_STRING) { in zend_compile_func_strlen()
3391 result->op_type = IS_CONST; in zend_compile_func_strlen()
3452 result->op_type = IS_CONST; in zend_compile_func_defined()
3481 result->op_type = IS_CONST; in zend_compile_func_chr()
3496 result->op_type = IS_CONST; in zend_compile_func_ord()
3643 name_node.op_type = IS_CONST; in zend_compile_assert()
3673 result->op_type = IS_CONST; in zend_compile_assert()
3754 array.op_type = IS_CONST; in zend_compile_func_in_array()
3865 first.op_type = IS_CONST; in zend_compile_func_array_slice()
4034 obj_node.op_type = IS_UNUSED; in zend_compile_method_call()
4042 if (method_node.op_type == IS_CONST) { in zend_compile_method_call()
4091 if (method_node.op_type == IS_CONST) { in zend_compile_static_call()
4098 method_node.op_type = IS_UNUSED; in zend_compile_static_call()
4107 if (method_node.op_type == IS_CONST) { in zend_compile_static_call()
4173 class_node.op_type = opline->result_type; in zend_compile_new()
4183 if (class_node.op_type == IS_CONST) { in zend_compile_new()
4220 if (name_node.op_type == IS_CONST) { in zend_compile_global_var()
4236 if (name_node.op_type == IS_CONST) { in zend_compile_global_var()
4442 expr_node.op_type = IS_CONST; in zend_compile_return()
4451 && (expr_node.op_type == IS_CV || (by_ref && expr_node.op_type == IS_VAR)) in zend_compile_return()
4467 zend_handle_loops_and_finally((expr_node.op_type & (IS_TMP_VAR | IS_VAR)) ? &expr_node : NULL); in zend_compile_return()
4697 result->op_type = IS_CONST; in zend_compile_expr_list()
4951 case_node.op_type = IS_TMP_VAR; in zend_compile_switch()
4960 jumptable_op.op_type = IS_CONST; in zend_compile_switch()
4990 if (expr_node.op_type == IS_CONST in zend_compile_switch()
4993 } else if (expr_node.op_type == IS_CONST in zend_compile_switch()
5053 if (expr_node.op_type & (IS_VAR|IS_TMP_VAR)) { in zend_compile_switch()
5059 } else if (expr_node.op_type == IS_CONST) { in zend_compile_switch()
5495 var_node.op_type = IS_CV; in zend_compile_params()
5511 default_node.op_type = IS_UNUSED; in zend_compile_params()
5523 default_node.op_type = IS_CONST; in zend_compile_params()
5528 default_node.op_type = IS_UNUSED; in zend_compile_params()
6668 value_node.op_type = IS_CONST; in zend_compile_const_decl()
6687 name_node.op_type = IS_CONST; in zend_compile_const_decl()
7053 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
7057 result->op_type = IS_CONST; in zend_compile_binary_op()
7066 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
7076 } else if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
7090 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
7093 if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
7115 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_greater()
7116 result->op_type = IS_CONST; in zend_compile_greater()
7138 if (expr_node.op_type == IS_CONST) { in zend_compile_unary_op()
7139 result->op_type = IS_CONST; in zend_compile_unary_op()
7160 if (expr_node.op_type == IS_CONST) { in zend_compile_unary_pm()
7162 result->op_type = IS_CONST; in zend_compile_unary_pm()
7168 lefthand_node.op_type = IS_CONST; in zend_compile_unary_pm()
7187 if (left_node.op_type == IS_CONST) { in zend_compile_short_circuiting()
7190 result->op_type = IS_CONST; in zend_compile_short_circuiting()
7195 if (right_node.op_type == IS_CONST) { in zend_compile_short_circuiting()
7196 result->op_type = IS_CONST; in zend_compile_short_circuiting()
7213 if (left_node.op_type == IS_TMP_VAR) { in zend_compile_short_circuiting()
7382 result->op_type = IS_CONST; in zend_compile_print()
7399 result->op_type = IS_CONST; in zend_compile_exit()
7464 if (obj_node.op_type == IS_CONST) { in zend_compile_instanceof()
7474 if (class_node.op_type == IS_CONST) { in zend_compile_instanceof()
7548 result->op_type = opline->result_type = IS_TMP_VAR; in zend_compile_isset_or_empty()
7605 result->op_type = IS_CONST; in zend_compile_array()
7650 if (key_ast && key_node.op_type == IS_CONST && Z_TYPE(key_node.u.constant) == IS_STRING) { in zend_compile_array()
7685 result->op_type = IS_CONST; in zend_compile_const()
7693 result->op_type = IS_CONST; in zend_compile_const()
7732 result->op_type = IS_CONST; in zend_compile_class_const()
7748 result->op_type = IS_CONST; in zend_compile_class_const()
7784 result->op_type = IS_CONST; in zend_compile_resolve_class_name()
7799 result->op_type = IS_CONST; in zend_compile_resolve_class_name()
7812 result->op_type = IS_TMP_VAR; in zend_compile_rope_add()
7838 last_const_node.op_type = IS_UNUSED; in zend_compile_encaps_list()
7842 if (elem_node.op_type == IS_CONST) { in zend_compile_encaps_list()
7847 } else if (last_const_node.op_type == IS_CONST) { in zend_compile_encaps_list()
7851 last_const_node.op_type = IS_CONST; in zend_compile_encaps_list()
7859 if (last_const_node.op_type == IS_CONST) { in zend_compile_encaps_list()
7861 last_const_node.op_type = IS_UNUSED; in zend_compile_encaps_list()
7868 result->op_type = IS_CONST; in zend_compile_encaps_list()
7869 if (last_const_node.op_type == IS_CONST) { in zend_compile_encaps_list()
7876 } else if (last_const_node.op_type == IS_CONST) { in zend_compile_encaps_list()
7944 result->op_type = IS_CONST; in zend_compile_magic_const()
8261 result->op_type = IS_CONST; in zend_compile_expr()