Lines Matching refs:opcode

56 zend_uchar zend_compound_assign_to_binary_op(zend_uchar opcode)  in zend_compound_assign_to_binary_op()  argument
58 switch (opcode) { in zend_compound_assign_to_binary_op()
75 int zend_optimizer_eval_binary_op(zval *result, zend_uchar opcode, zval *op1, zval *op2) /* {{{ */ in zend_optimizer_eval_binary_op() argument
77 binary_op_type binary_op = get_binary_op(opcode); in zend_optimizer_eval_binary_op()
80 if (zend_binary_op_produces_numeric_string_error(opcode, op1, op2)) { in zend_optimizer_eval_binary_op()
85 switch (opcode) { in zend_optimizer_eval_binary_op()
130 int zend_optimizer_eval_unary_op(zval *result, zend_uchar opcode, zval *op1) /* {{{ */ in zend_optimizer_eval_unary_op() argument
132 unary_op_type unary_op = get_unary_op(opcode); in zend_optimizer_eval_unary_op()
135 if (opcode == ZEND_BW_NOT in zend_optimizer_eval_unary_op()
258 switch (opline->opcode) { in zend_optimizer_update_op1_const()
340 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_update_op1_const()
363 if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { in zend_optimizer_update_op1_const()
364 opline->opcode = ZEND_FAST_CONCAT; in zend_optimizer_update_op1_const()
385 switch (opline->opcode) { in zend_optimizer_update_op2_const()
390 if ((opline + 1)->opcode == ZEND_INSTANCEOF && in zend_optimizer_update_op2_const()
464 opline->opcode = ZEND_INIT_FCALL_BY_NAME; in zend_optimizer_update_op2_const()
584 if (opline->opcode == ZEND_CONCAT && opline->op1_type == IS_CONST) { in zend_optimizer_update_op2_const()
585 opline->opcode = ZEND_FAST_CONCAT; in zend_optimizer_update_op2_const()
628 switch (op_array->opcodes[start].opcode) { in zend_determine_constructor_call()
662 switch (op_array->opcodes[start].opcode) { in zend_optimizer_remove_live_range_ex()
709 switch (opline->opcode) { in zend_optimizer_replace_by_const()
721 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_replace_by_const()
726 opline->opcode = ZEND_SEND_VAL_EX; in zend_optimizer_replace_by_const()
731 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_replace_by_const()
734 opline->opcode = ZEND_SEND_VAL_EX; in zend_optimizer_replace_by_const()
746 if (m->opcode == ZEND_FETCH_LIST_R && in zend_optimizer_replace_by_const()
758 } while (m->opcode != ZEND_FREE || m->op1_type != type || m->op1.var != var); in zend_optimizer_replace_by_const()
760 ZEND_ASSERT(m->opcode == ZEND_FREE && m->op1_type == type && m->op1.var == var); in zend_optimizer_replace_by_const()
782 ZEND_ASSERT(opline->opcode == ZEND_FREE); in zend_optimizer_replace_by_const()
790 if (n->opcode == ZEND_FREE && in zend_optimizer_replace_by_const()
800 if (m->opcode == ZEND_CASE in zend_optimizer_replace_by_const()
801 || m->opcode == ZEND_SWITCH_LONG in zend_optimizer_replace_by_const()
802 || m->opcode == ZEND_SWITCH_STRING) { in zend_optimizer_replace_by_const()
805 if (m->opcode == ZEND_CASE) { in zend_optimizer_replace_by_const()
806 m->opcode = ZEND_IS_EQUAL; in zend_optimizer_replace_by_const()
814 } else if (m->opcode == ZEND_FREE) { in zend_optimizer_replace_by_const()
839 } while (opline->opcode != ZEND_RETURN && opline->opcode != ZEND_RETURN_BY_REF); in zend_optimizer_replace_by_const()
870 switch (new_opline->opcode) { in zend_optimizer_migrate_jump()
916 switch (opline->opcode) { in zend_optimizer_shift_jump()
991 switch (opline->opcode) { in zend_optimizer_get_called_func()
1286 switch (opline->opcode) { in zend_redo_pass_two()
1357 (opline->opcode == ZEND_PRE_INC || in zend_redo_pass_two_ex()
1358 opline->opcode == ZEND_PRE_DEC || in zend_redo_pass_two_ex()
1359 opline->opcode == ZEND_POST_INC || in zend_redo_pass_two_ex()
1360 opline->opcode == ZEND_POST_DEC) ? in zend_redo_pass_two_ex()
1375 switch (opline->opcode) { in zend_redo_pass_two_ex()
1436 if (opline->opcode == ZEND_INIT_FCALL) { in zend_adjust_fcall_stack_size()
1459 if (opline && call_info->callee_func && opline->opcode == ZEND_INIT_FCALL) { in zend_adjust_fcall_stack_size_graph()