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()
1936 if (op_array->opcodes[use].opcode == ZEND_OP_DATA) { in add_usages()
1987 if (op_array->opcodes[use+1].opcode == ZEND_OP_DATA) { in reset_dependent_vars()
2024 const char *def_op_name = def_opline ? zend_get_opcode_name(def_opline->opcode) : "PHI"; in handle_type_narrowing()
2127 zend_ssa *ssa, zend_uchar opcode, uint32_t t1, uint32_t t2, uint32_t result_var) { in binary_op_result_type() argument
2139 switch (opcode) { in binary_op_result_type()
2286 if (opline->opcode == ZEND_OP_DATA) { in zend_update_type_info()
2312 switch (opline->opcode) { in zend_update_type_info()
2325 tmp = binary_op_result_type(ssa, opline->opcode, t1, t2, ssa_ops[i].result_def); in zend_update_type_info()
2436 if (opline->opcode != ZEND_QM_ASSIGN) { in zend_update_type_info()
2439 if (opline->opcode == ZEND_JMP_SET) { in zend_update_type_info()
2480 ssa, get_compound_assign_op(opline->opcode), t1, t2, ssa_ops[i].op1_def); in zend_update_type_info()
2551 (opline->opcode == ZEND_PRE_DEC && in zend_update_type_info()
2554 (opline->opcode == ZEND_PRE_INC && in zend_update_type_info()
2567 if (opline->opcode == ZEND_PRE_INC) { in zend_update_type_info()
2613 (opline->opcode == ZEND_PRE_DEC && in zend_update_type_info()
2616 (opline->opcode == ZEND_PRE_INC && in zend_update_type_info()
2629 if (opline->opcode == ZEND_POST_INC) { in zend_update_type_info()
2889 if (opline->opcode == ZEND_RECV_INIT && in zend_update_type_info()
3069 if (opline->opcode == ZEND_FE_RESET_RW) { in zend_update_type_info()
3079 if (opline->opcode == ZEND_FE_RESET_RW) { in zend_update_type_info()
3092 if (opline->opcode == ZEND_FE_FETCH_RW) { in zend_update_type_info()
3099 if (opline->opcode == ZEND_FE_FETCH_RW) { in zend_update_type_info()
3139 if (opline->opcode == ZEND_FETCH_DIM_W || in zend_update_type_info()
3140 opline->opcode == ZEND_FETCH_DIM_RW || in zend_update_type_info()
3141 opline->opcode == ZEND_FETCH_DIM_FUNC_ARG) { in zend_update_type_info()
3143 if (opline->opcode != ZEND_FETCH_DIM_FUNC_ARG) { in zend_update_type_info()
3150 if (opline->opcode == ZEND_FETCH_DIM_FUNC_ARG) { in zend_update_type_info()
3174 } else if (opline->opcode == ZEND_FETCH_DIM_UNSET) { in zend_update_type_info()
3184 switch (op_array->opcodes[j].opcode) { in zend_update_type_info()
3265 opline->opcode != ZEND_FETCH_LIST ? t1 : ((t1 & ~MAY_BE_STRING) | MAY_BE_NULL), in zend_update_type_info()
3266 opline->opcode != ZEND_FETCH_DIM_R && opline->opcode != ZEND_FETCH_DIM_IS in zend_update_type_info()
3267 && opline->opcode != ZEND_FETCH_LIST, in zend_update_type_info()
3269 if (opline->opcode == ZEND_FETCH_DIM_W || in zend_update_type_info()
3270 opline->opcode == ZEND_FETCH_DIM_RW || in zend_update_type_info()
3271 opline->opcode == ZEND_FETCH_DIM_FUNC_ARG) { in zend_update_type_info()
3279 } else if (opline->opcode == ZEND_FETCH_DIM_IS && (t1 & MAY_BE_STRING)) { in zend_update_type_info()
3296 if (opline->opcode == ZEND_FETCH_OBJ_W || in zend_update_type_info()
3297 opline->opcode == ZEND_FETCH_OBJ_RW || in zend_update_type_info()
3298 opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG) { in zend_update_type_info()
3299 if (opline->opcode != ZEND_FETCH_DIM_FUNC_ARG) { in zend_update_type_info()
3311 if (opline->opcode != ZEND_FETCH_OBJ_R && opline->opcode != ZEND_FETCH_OBJ_IS) { in zend_update_type_info()
3553 return opline->opcode == ZEND_ADD || opline->opcode == ZEND_SUB in is_narrowable_instr()
3554 || opline->opcode == ZEND_MUL || opline->opcode == ZEND_DIV; in is_narrowable_instr()
3558 return (opline->opcode == ZEND_ADD && Z_LVAL_P(op2) == 0) in is_effective_op1_double_cast()
3559 || (opline->opcode == ZEND_SUB && Z_LVAL_P(op2) == 0) in is_effective_op1_double_cast()
3560 || (opline->opcode == ZEND_MUL && Z_LVAL_P(op2) == 1) in is_effective_op1_double_cast()
3561 || (opline->opcode == ZEND_DIV && Z_LVAL_P(op2) == 1); in is_effective_op1_double_cast()
3566 return (opline->opcode == ZEND_ADD && Z_LVAL_P(op1) == 0) in is_effective_op2_double_cast()
3567 || (opline->opcode == ZEND_SUB && Z_LVAL_P(op1) == 0) in is_effective_op2_double_cast()
3568 || (opline->opcode == ZEND_MUL && Z_LVAL_P(op1) == 1); in is_effective_op2_double_cast()
3666 if (opline->opcode == ZEND_MUL && Z_LVAL(orig_op2) == 0) { in can_convert_to_double()
3674 if (opline->opcode == ZEND_MUL && Z_LVAL(orig_op1) == 0) { in can_convert_to_double()
3683 if (opline->opcode == ZEND_DIV && zval_get_double(&orig_op2) == 0.0) { in can_convert_to_double()
3687 get_binary_op(opline->opcode)(&orig_result, &orig_op1, &orig_op2); in can_convert_to_double()
3688 get_binary_op(opline->opcode)(&dval_result, &dval_op1, &dval_op2); in can_convert_to_double()
3737 if (opline->opcode == ZEND_ASSIGN && opline->result_type == IS_UNUSED && in zend_type_narrowing()
3780 if (op->opcode == ZEND_DO_UCALL) { in is_recursive_tail_call()
3843 if (opline->opcode == ZEND_RETURN || opline->opcode == ZEND_RETURN_BY_REF) { in zend_func_return_info()
3858 if (opline->opcode == ZEND_RETURN) { in zend_func_return_info()
4122 switch (opline->opcode) { in zend_may_throw()
4145 switch (opline->opcode) { in zend_may_throw()
4170 switch (opline->opcode) { in zend_may_throw()
4180 switch (opline->opcode) { in zend_may_throw()
4190 switch (opline->opcode) { in zend_may_throw()
4219 if ((opline+1)->opcode == ZEND_BIND_GLOBAL) { in zend_may_throw()