Lines Matching refs:opcode
121 if (op_array->opcodes[line].opcode == ZEND_OP_DATA) { \
132 op_array->opcodes[line+1].opcode == ZEND_OP_DATA) { \
548 static inline zend_uchar get_compound_assign_op(zend_uchar opcode) { in get_compound_assign_op() argument
549 switch (opcode) { in get_compound_assign_op()
568 zend_op *opline, zend_ssa_op *ssa_op, zend_uchar opcode, zend_ssa_range *tmp) { in zend_inference_calc_binary_op_range() argument
571 switch (opcode) { in zend_inference_calc_binary_op_range()
995 switch (opline->opcode) { in zend_inference_calc_range()
1008 op_array, ssa, opline, &ssa->ops[line], opline->opcode, tmp); in zend_inference_calc_range()
1362 if ((opline+1)->opcode == ZEND_OP_DATA) { in zend_inference_calc_range()
1386 get_compound_assign_op(opline->opcode), tmp); in zend_inference_calc_range()
1388 } else if ((opline+1)->opcode == ZEND_OP_DATA) { in zend_inference_calc_range()
1403 if ((opline-1)->opcode == ZEND_ASSIGN_DIM || in zend_inference_calc_range()
1404 (opline-1)->opcode == ZEND_ASSIGN_OBJ || in zend_inference_calc_range()
1405 (opline-1)->opcode == ZEND_ASSIGN_ADD || in zend_inference_calc_range()
1406 (opline-1)->opcode == ZEND_ASSIGN_SUB || in zend_inference_calc_range()
1407 (opline-1)->opcode == ZEND_ASSIGN_MUL) { in zend_inference_calc_range()
1949 if (op_array->opcodes[use].opcode == ZEND_OP_DATA) { in add_usages()
2000 if (op_array->opcodes[use+1].opcode == ZEND_OP_DATA) { in reset_dependent_vars()
2037 const char *def_op_name = def_opline ? zend_get_opcode_name(def_opline->opcode) : "PHI"; in handle_type_narrowing()
2150 zend_ssa *ssa, zend_uchar opcode, uint32_t t1, uint32_t t2, uint32_t result_var, in binary_op_result_type() argument
2165 switch (opcode) { in binary_op_result_type()
2313 if (opline->opcode == ZEND_OP_DATA) { in zend_update_type_info()
2339 switch (opline->opcode) { in zend_update_type_info()
2352 …tmp = binary_op_result_type(ssa, opline->opcode, t1, t2, ssa_ops[i].result_def, optimization_level… in zend_update_type_info()
2465 if (opline->opcode != ZEND_QM_ASSIGN) { in zend_update_type_info()
2468 if (opline->opcode == ZEND_JMP_SET) { in zend_update_type_info()
2509 ssa, get_compound_assign_op(opline->opcode), t1, t2, ssa_ops[i].op1_def, optimization_level); in zend_update_type_info()
2580 (opline->opcode == ZEND_PRE_DEC && in zend_update_type_info()
2583 (opline->opcode == ZEND_PRE_INC && in zend_update_type_info()
2596 if (opline->opcode == ZEND_PRE_INC) { in zend_update_type_info()
2642 (opline->opcode == ZEND_POST_DEC && in zend_update_type_info()
2645 (opline->opcode == ZEND_POST_INC && in zend_update_type_info()
2658 if (opline->opcode == ZEND_POST_INC) { in zend_update_type_info()
2941 if (opline->opcode == ZEND_RECV_INIT && in zend_update_type_info()
3121 if (opline->opcode == ZEND_FE_RESET_RW) { in zend_update_type_info()
3131 if (opline->opcode == ZEND_FE_RESET_RW) { in zend_update_type_info()
3144 if (opline->opcode == ZEND_FE_FETCH_RW) { in zend_update_type_info()
3151 if (opline->opcode == ZEND_FE_FETCH_RW) { in zend_update_type_info()
3192 if (opline->opcode == ZEND_FETCH_DIM_W || in zend_update_type_info()
3193 opline->opcode == ZEND_FETCH_DIM_RW || in zend_update_type_info()
3194 opline->opcode == ZEND_FETCH_DIM_FUNC_ARG || in zend_update_type_info()
3195 opline->opcode == ZEND_FETCH_LIST_W) { in zend_update_type_info()
3197 if (opline->opcode != ZEND_FETCH_DIM_FUNC_ARG) { in zend_update_type_info()
3204 if (opline->opcode == ZEND_FETCH_DIM_FUNC_ARG) { in zend_update_type_info()
3228 } else if (opline->opcode == ZEND_FETCH_DIM_UNSET) { in zend_update_type_info()
3238 switch (op_array->opcodes[j].opcode) { in zend_update_type_info()
3321 opline->opcode != ZEND_FETCH_LIST_R ? t1 : ((t1 & ~MAY_BE_STRING) | MAY_BE_NULL), in zend_update_type_info()
3324 if (opline->opcode == ZEND_FETCH_DIM_W || in zend_update_type_info()
3325 opline->opcode == ZEND_FETCH_DIM_RW || in zend_update_type_info()
3326 opline->opcode == ZEND_FETCH_DIM_FUNC_ARG || in zend_update_type_info()
3327 opline->opcode == ZEND_FETCH_LIST_W) { in zend_update_type_info()
3335 } else if (opline->opcode == ZEND_FETCH_DIM_IS && (t1 & MAY_BE_STRING)) { in zend_update_type_info()
3352 if (opline->opcode == ZEND_FETCH_OBJ_W || in zend_update_type_info()
3353 opline->opcode == ZEND_FETCH_OBJ_RW || in zend_update_type_info()
3354 opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG) { in zend_update_type_info()
3355 if (opline->opcode != ZEND_FETCH_DIM_FUNC_ARG) { in zend_update_type_info()
3614 return opline->opcode == ZEND_ADD || opline->opcode == ZEND_SUB in is_narrowable_instr()
3615 || opline->opcode == ZEND_MUL || opline->opcode == ZEND_DIV; in is_narrowable_instr()
3619 return (opline->opcode == ZEND_ADD && Z_LVAL_P(op2) == 0) in is_effective_op1_double_cast()
3620 || (opline->opcode == ZEND_SUB && Z_LVAL_P(op2) == 0) in is_effective_op1_double_cast()
3621 || (opline->opcode == ZEND_MUL && Z_LVAL_P(op2) == 1) in is_effective_op1_double_cast()
3622 || (opline->opcode == ZEND_DIV && Z_LVAL_P(op2) == 1); in is_effective_op1_double_cast()
3627 return (opline->opcode == ZEND_ADD && Z_LVAL_P(op1) == 0) in is_effective_op2_double_cast()
3628 || (opline->opcode == ZEND_SUB && Z_LVAL_P(op1) == 0) in is_effective_op2_double_cast()
3629 || (opline->opcode == ZEND_MUL && Z_LVAL_P(op1) == 1); in is_effective_op2_double_cast()
3727 if (opline->opcode == ZEND_MUL && Z_LVAL(orig_op2) == 0) { in can_convert_to_double()
3735 if (opline->opcode == ZEND_MUL && Z_LVAL(orig_op1) == 0) { in can_convert_to_double()
3744 if (opline->opcode == ZEND_DIV && zval_get_double(&orig_op2) == 0.0) { in can_convert_to_double()
3748 get_binary_op(opline->opcode)(&orig_result, &orig_op1, &orig_op2); in can_convert_to_double()
3749 get_binary_op(opline->opcode)(&dval_result, &dval_op1, &dval_op2); in can_convert_to_double()
3798 if (opline->opcode == ZEND_ASSIGN && opline->result_type == IS_UNUSED && in zend_type_narrowing()
3841 if (op->opcode == ZEND_DO_UCALL) { in is_recursive_tail_call()
3904 if (opline->opcode == ZEND_RETURN || opline->opcode == ZEND_RETURN_BY_REF) { in zend_func_return_info()
3919 if (opline->opcode == ZEND_RETURN) { in zend_func_return_info()
4183 switch (opline->opcode) { in zend_may_throw()
4206 switch (opline->opcode) { in zend_may_throw()
4232 switch (opline->opcode) { in zend_may_throw()
4242 switch (opline->opcode) { in zend_may_throw()
4252 switch (opline->opcode) { in zend_may_throw()
4284 if ((opline+1)->opcode == ZEND_BIND_GLOBAL) { in zend_may_throw()