Lines Matching refs:result_def

122 		if (ssa->ops[line].result_def >= 0) { \
123 MACRO(ssa->ops[line].result_def); \
132 if (ssa->ops[line-1].result_def >= 0) { \
133 MACRO(ssa->ops[line-1].result_def); \
143 if (ssa->ops[line+1].result_def >= 0) { \
144 MACRO(ssa->ops[line+1].result_def); \
307 var2 = ssa->ops[use].result_def; in zend_scc_next()
326 var2 = ssa->ops[use-1].result_def; in zend_scc_next()
345 var2 = ssa->ops[use+1].result_def; in zend_scc_next()
1277 if (ssa_op->result_def == var) { in zend_inference_propagate_range()
1284 if (ssa_op->result_def == var) { in zend_inference_propagate_range()
1311 } else if (ssa_op->result_def == var) { in zend_inference_propagate_range()
1340 if (ssa_op->result_def == var) { in zend_inference_propagate_range()
1364 if (ssa_op->op1_def == var || ssa_op->result_def == var) { in zend_inference_propagate_range()
1383 if (ssa_op->op1_def == var || ssa_op->result_def == var) { in zend_inference_propagate_range()
1402 if (ssa_op->op1_def == var || ssa_op->result_def == var) { in zend_inference_propagate_range()
1408 if (ssa_op->result_def == var) { in zend_inference_propagate_range()
1424 if (ssa_op->op1_def == var || ssa_op->result_def == var) { in zend_inference_propagate_range()
1430 if (ssa_op->result_def == var) { in zend_inference_propagate_range()
1460 if (ssa_op->op1_def == var || ssa_op->op2_def == var || ssa_op->result_def == var) { in zend_inference_propagate_range()
1491 if (ssa_op->op1_def == var || ssa_op->result_def == var) { in zend_inference_propagate_range()
1519 if (ssa_op->result_def == var) { in zend_inference_propagate_range()
1535 if (ssa_op->result_def == var) { in zend_inference_propagate_range()
1561 if (ssa_op->result_def == var) { in zend_inference_propagate_range()
2043 if (op->result_def >= 0) { in add_usages()
2044 zend_bitset_incl(worklist, op->result_def); in add_usages()
2054 if (op->result_def >= 0) { in add_usages()
2055 zend_bitset_incl(worklist, op->result_def); in add_usages()
2066 if (op->result_def >= 0) { in add_usages()
2067 zend_bitset_incl(worklist, op->result_def); in add_usages()
2507 int tmp_var = ssa_op->result_def; in result_may_be_separated()
2563 if (ssa_op->result_def >= 0 && !(ssa_var_info[ssa_op->result_def].type & MAY_BE_REF)) { in _zend_update_type_info()
2564 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
2597 tmp = binary_op_result_type(ssa, opline->opcode, t1, t2, ssa_op->result_def, optimization_level); in _zend_update_type_info()
2598 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
2614 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
2617 UPDATE_SSA_TYPE(MAY_BE_LONG, ssa_op->result_def); in _zend_update_type_info()
2641 UPDATE_SSA_TYPE(MAY_BE_FALSE|MAY_BE_TRUE, ssa_op->result_def); in _zend_update_type_info()
2689 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
2724 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
2725 COPY_SSA_OBJ_TYPE(ssa_op->op1_use, ssa_op->result_def); in _zend_update_type_info()
2738 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
2796 if (opline->opcode == ZEND_ASSIGN_OP && ssa_op->result_def >= 0 && (tmp & MAY_BE_RC1)) { in _zend_update_type_info()
2801 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2867 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
2869 UPDATE_SSA_OBJ_TYPE(ce, 1, ssa_op->result_def); in _zend_update_type_info()
2879 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2915 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2916 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
2927 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
2936 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
2988 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3011 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3031 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3035 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3037 UPDATE_SSA_OBJ_TYPE(ce, 1, ssa_op->result_def); in _zend_update_type_info()
3051 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3053 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3074 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3077 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3113 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3122 if (ssa->vars[ssa_op->result_def].use_chain < 0 in _zend_update_type_info()
3123 || opline + 1 != op_array->opcodes + ssa->vars[ssa_op->result_def].use_chain) { in _zend_update_type_info()
3127 if (ssa->vars[ssa_op->result_def].use_chain < 0 in _zend_update_type_info()
3128 || opline + 1 != ssa_opcodes[ssa->vars[ssa_op->result_def].use_chain]) { in _zend_update_type_info()
3133 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3134 COPY_SSA_OBJ_TYPE(ssa_op->op2_use, ssa_op->result_def); in _zend_update_type_info()
3155 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3156 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3178 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3179 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3192 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3193 UPDATE_SSA_TYPE(MAY_BE_REF, ssa_op->result_def); in _zend_update_type_info()
3255 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3258 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3294 UPDATE_SSA_TYPE(MAY_BE_STRING|MAY_BE_RC1|MAY_BE_RCN, ssa_op->result_def); in _zend_update_type_info()
3318 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3320 UPDATE_SSA_OBJ_TYPE(ce, 1, ssa_op->result_def); in _zend_update_type_info()
3322 UPDATE_SSA_OBJ_TYPE(NULL, 0, ssa_op->result_def); in _zend_update_type_info()
3327 UPDATE_SSA_TYPE(MAY_BE_CLASS, ssa_op->result_def); in _zend_update_type_info()
3329 UPDATE_SSA_OBJ_TYPE(ce, 0, ssa_op->result_def); in _zend_update_type_info()
3333 UPDATE_SSA_TYPE(MAY_BE_CLASS, ssa_op->result_def); in _zend_update_type_info()
3338 UPDATE_SSA_OBJ_TYPE(op_array->scope, 0, ssa_op->result_def); in _zend_update_type_info()
3340 UPDATE_SSA_OBJ_TYPE(NULL, 0, ssa_op->result_def); in _zend_update_type_info()
3345 UPDATE_SSA_OBJ_TYPE(op_array->scope->parent, 0, ssa_op->result_def); in _zend_update_type_info()
3347 UPDATE_SSA_OBJ_TYPE(NULL, 0, ssa_op->result_def); in _zend_update_type_info()
3352 UPDATE_SSA_OBJ_TYPE(NULL, 0, ssa_op->result_def); in _zend_update_type_info()
3359 UPDATE_SSA_OBJ_TYPE(ce, 0, ssa_op->result_def); in _zend_update_type_info()
3361 UPDATE_SSA_OBJ_TYPE(NULL, 0, ssa_op->result_def); in _zend_update_type_info()
3364 COPY_SSA_OBJ_TYPE(ssa_op->op2_use, ssa_op->result_def); in _zend_update_type_info()
3371 UPDATE_SSA_OBJ_TYPE(ce, 0, ssa_op->result_def); in _zend_update_type_info()
3373 …ssa_var_info[ssa_op->op1_use].ce, ssa_var_info[ssa_op->op1_use].is_instanceof, ssa_op->result_def); in _zend_update_type_info()
3375 UPDATE_SSA_OBJ_TYPE(NULL, 0, ssa_op->result_def); in _zend_update_type_info()
3377 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3380 UPDATE_SSA_TYPE(MAY_BE_RC1|MAY_BE_RCN|MAY_BE_OBJECT, ssa_op->result_def); in _zend_update_type_info()
3381 COPY_SSA_OBJ_TYPE(ssa_op->op1_use, ssa_op->result_def); in _zend_update_type_info()
3406 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3425 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3435 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3474 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3475 COPY_SSA_OBJ_TYPE(ssa_op->op1_use, ssa_op->result_def); in _zend_update_type_info()
3512 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3525 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3606 j = ssa_vars[ssa_op->result_def].use_chain; in _zend_update_type_info()
3687 j = zend_ssa_next_use(ssa->ops, ssa_op->result_def, j); in _zend_update_type_info()
3727 if (ssa->vars[ssa_op->result_def].use_chain < 0 in _zend_update_type_info()
3728 || opline + 1 != op_array->opcodes + ssa->vars[ssa_op->result_def].use_chain) { in _zend_update_type_info()
3732 if (ssa->vars[ssa_op->result_def].use_chain < 0 in _zend_update_type_info()
3733 || opline + 1 != ssa_opcodes[ssa->vars[ssa_op->result_def].use_chain]) { in _zend_update_type_info()
3738 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3742 UPDATE_SSA_OBJ_TYPE(op_array->scope, 1, ssa_op->result_def); in _zend_update_type_info()
3744 UPDATE_SSA_TYPE(MAY_BE_RCN|MAY_BE_OBJECT, ssa_op->result_def); in _zend_update_type_info()
3752 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3790 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3792 UPDATE_SSA_OBJ_TYPE(ce, 1, ssa_op->result_def); in _zend_update_type_info()
3819 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3821 UPDATE_SSA_OBJ_TYPE(ce, 1, ssa_op->result_def); in _zend_update_type_info()
3828 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3843 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3845 UPDATE_SSA_OBJ_TYPE(ce, ce_is_instanceof, ssa_op->result_def); in _zend_update_type_info()
3850 UPDATE_SSA_TYPE(MAY_BE_OBJECT | MAY_BE_RC1 | MAY_BE_RCN, ssa_op->result_def); in _zend_update_type_info()
3851 UPDATE_SSA_OBJ_TYPE(zend_ce_closure, /* is_instanceof */ false, ssa_op->result_def); in _zend_update_type_info()
3855 …YPE(MAY_BE_RC1|MAY_BE_RCN|MAY_BE_ANY|MAY_BE_ARRAY_KEY_ANY|MAY_BE_ARRAY_OF_ANY, ssa_op->result_def); in _zend_update_type_info()
3860 UPDATE_SSA_TYPE(MAY_BE_LONG, ssa_op->result_def); in _zend_update_type_info()
3863 …E_RCN|MAY_BE_ARRAY|MAY_BE_ARRAY_EMPTY|MAY_BE_ARRAY_PACKED|MAY_BE_ARRAY_OF_ANY, ssa_op->result_def); in _zend_update_type_info()
3867 UPDATE_SSA_TYPE(MAY_BE_STRING|MAY_BE_RCN, ssa_op->result_def); in _zend_update_type_info()
3870 UPDATE_SSA_TYPE(MAY_BE_STRING|MAY_BE_RC1|MAY_BE_RCN, ssa_op->result_def); in _zend_update_type_info()
3887 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3891 UPDATE_SSA_TYPE(MAY_BE_FALSE|MAY_BE_TRUE, ssa_op->result_def); in _zend_update_type_info()
3919 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3921 UPDATE_SSA_OBJ_TYPE(ce, 1, ssa_op->result_def); in _zend_update_type_info()
3923 UPDATE_SSA_OBJ_TYPE(NULL, 0, ssa_op->result_def); in _zend_update_type_info()
3929 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
3944 if (ssa_op->result_def >= 0) { in _zend_update_type_info()
3979 UPDATE_SSA_TYPE(tmp, ssa_op->result_def); in _zend_update_type_info()
4204 type = ssa->var_info[ssa_op->result_def].type; in can_convert_to_double()
4289 if (!can_convert_to_double(op_array, ssa, ssa_op->result_def, &orig_result, visited)) { in can_convert_to_double()
4632 if (ssa->ops[def].result_def == var) { in zend_mark_cv_references()
4741 if (op->result_use == var && op->result_def >= 0) { in zend_mark_cv_references()
4742 if (!(ssa->var_info[op->result_def].type & MAY_BE_REF)) { in zend_mark_cv_references()
4743 zend_bitset_incl(worklist, op->result_def); in zend_mark_cv_references()