Lines Matching refs:opcode
60 int zend_optimizer_eval_binary_op(zval *result, zend_uchar opcode, zval *op1, zval *op2) /* {{{ */ in zend_optimizer_eval_binary_op() argument
62 if (zend_binary_op_produces_error(opcode, op1, op2)) { in zend_optimizer_eval_binary_op()
66 binary_op_type binary_op = get_binary_op(opcode); in zend_optimizer_eval_binary_op()
71 int zend_optimizer_eval_unary_op(zval *result, zend_uchar opcode, zval *op1) /* {{{ */ in zend_optimizer_eval_unary_op() argument
73 unary_op_type unary_op = get_unary_op(opcode); in zend_optimizer_eval_unary_op()
76 if (zend_unary_op_produces_error(opcode, op1)) { in zend_optimizer_eval_unary_op()
188 switch (opline->opcode) { in zend_optimizer_update_op1_const()
190 switch ((opline-1)->opcode) { in zend_optimizer_update_op1_const()
281 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_update_op1_const()
285 opline->opcode = ZEND_IS_EQUAL; in zend_optimizer_update_op1_const()
289 opline->opcode = ZEND_IS_IDENTICAL; in zend_optimizer_update_op1_const()
329 if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { in zend_optimizer_update_op1_const()
330 opline->opcode = ZEND_FAST_CONCAT; in zend_optimizer_update_op1_const()
351 switch (opline->opcode) { in zend_optimizer_update_op2_const()
356 if ((opline + 1)->opcode == ZEND_INSTANCEOF && in zend_optimizer_update_op2_const()
422 opline->opcode = ZEND_INIT_FCALL_BY_NAME; in zend_optimizer_update_op2_const()
465 ZEND_ASSERT((opline + 1)->opcode == ZEND_OP_DATA); in zend_optimizer_update_op2_const()
516 if (opline->opcode == ZEND_CONCAT && opline->op1_type == IS_CONST) { in zend_optimizer_update_op2_const()
517 opline->opcode = ZEND_FAST_CONCAT; in zend_optimizer_update_op2_const()
543 switch (opline->opcode) { in zend_optimizer_replace_by_const()
555 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_replace_by_const()
560 opline->opcode = ZEND_SEND_VAL_EX; in zend_optimizer_replace_by_const()
565 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_replace_by_const()
568 opline->opcode = ZEND_SEND_VAL_EX; in zend_optimizer_replace_by_const()
587 bool is_last = opline->opcode != ZEND_FETCH_LIST_R in zend_optimizer_replace_by_const()
588 && opline->opcode != ZEND_CASE in zend_optimizer_replace_by_const()
589 && opline->opcode != ZEND_CASE_STRICT in zend_optimizer_replace_by_const()
590 && opline->opcode != ZEND_SWITCH_LONG in zend_optimizer_replace_by_const()
591 && opline->opcode != ZEND_SWITCH_STRING in zend_optimizer_replace_by_const()
592 && opline->opcode != ZEND_MATCH in zend_optimizer_replace_by_const()
593 && opline->opcode != ZEND_JMP_NULL in zend_optimizer_replace_by_const()
594 && (opline->opcode != ZEND_FREE in zend_optimizer_replace_by_const()
622 } while (opline->opcode != ZEND_RETURN && opline->opcode != ZEND_RETURN_BY_REF); in zend_optimizer_replace_by_const()
645 switch (new_opline->opcode) { in zend_optimizer_migrate_jump()
691 switch (opline->opcode) { in zend_optimizer_shift_jump()
768 switch (opline->opcode) { in zend_optimizer_get_called_func()
1075 switch (opline->opcode) { in zend_redo_pass_two()
1130 if ((opline+1)->opcode == ZEND_JMPZ in zend_redo_pass_two()
1134 } else if ((opline+1)->opcode == ZEND_JMPNZ in zend_redo_pass_two()
1183 (opline->opcode == ZEND_PRE_INC || in zend_redo_pass_two_ex()
1184 opline->opcode == ZEND_PRE_DEC || in zend_redo_pass_two_ex()
1185 opline->opcode == ZEND_POST_INC || in zend_redo_pass_two_ex()
1186 opline->opcode == ZEND_POST_DEC) ? in zend_redo_pass_two_ex()
1198 switch (opline->opcode) { in zend_redo_pass_two_ex()
1253 if ((opline+1)->opcode == ZEND_JMPZ in zend_redo_pass_two_ex()
1257 } else if ((opline+1)->opcode == ZEND_JMPNZ in zend_redo_pass_two_ex()
1298 if (opline->opcode == ZEND_INIT_FCALL) { in zend_adjust_fcall_stack_size()
1320 if (opline && call_info->callee_func && opline->opcode == ZEND_INIT_FCALL) { in zend_adjust_fcall_stack_size_graph()