Lines Matching refs:opcode

56 zend_result zend_optimizer_eval_binary_op(zval *result, uint8_t opcode, zval *op1, zval *op2) /* {{…  in zend_optimizer_eval_binary_op()  argument
58 if (zend_binary_op_produces_error(opcode, op1, op2)) { in zend_optimizer_eval_binary_op()
62 binary_op_type binary_op = get_binary_op(opcode); in zend_optimizer_eval_binary_op()
67 zend_result zend_optimizer_eval_unary_op(zval *result, uint8_t opcode, zval *op1) /* {{{ */ in zend_optimizer_eval_unary_op() argument
69 unary_op_type unary_op = get_unary_op(opcode); in zend_optimizer_eval_unary_op()
72 if (zend_unary_op_produces_error(opcode, op1)) { in zend_optimizer_eval_unary_op()
217 opline->opcode = ZEND_CHECK_VAR; in zend_optimizer_convert_to_free_op1()
222 opline->opcode = ZEND_FREE; in zend_optimizer_convert_to_free_op1()
281 switch (opline->opcode) { in zend_optimizer_update_op1_const()
283 switch ((opline-1)->opcode) { in zend_optimizer_update_op1_const()
377 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_update_op1_const()
381 opline->opcode = ZEND_IS_EQUAL; in zend_optimizer_update_op1_const()
385 opline->opcode = ZEND_IS_IDENTICAL; in zend_optimizer_update_op1_const()
422 if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { in zend_optimizer_update_op1_const()
423 opline->opcode = ZEND_FAST_CONCAT; in zend_optimizer_update_op1_const()
444 switch (opline->opcode) { in zend_optimizer_update_op2_const()
510 opline->opcode = ZEND_INIT_FCALL_BY_NAME; in zend_optimizer_update_op2_const()
553 ZEND_ASSERT((opline + 1)->opcode == ZEND_OP_DATA); in zend_optimizer_update_op2_const()
604 if (opline->opcode == ZEND_CONCAT && opline->op1_type == IS_CONST) { in zend_optimizer_update_op2_const()
605 opline->opcode = ZEND_FAST_CONCAT; in zend_optimizer_update_op2_const()
631 switch (opline->opcode) { in zend_optimizer_replace_by_const()
649 bool is_last = opline->opcode != ZEND_FETCH_LIST_R in zend_optimizer_replace_by_const()
650 && opline->opcode != ZEND_CASE in zend_optimizer_replace_by_const()
651 && opline->opcode != ZEND_CASE_STRICT in zend_optimizer_replace_by_const()
652 && opline->opcode != ZEND_SWITCH_LONG in zend_optimizer_replace_by_const()
653 && opline->opcode != ZEND_SWITCH_STRING in zend_optimizer_replace_by_const()
654 && opline->opcode != ZEND_MATCH in zend_optimizer_replace_by_const()
655 && opline->opcode != ZEND_JMP_NULL in zend_optimizer_replace_by_const()
656 && (opline->opcode != ZEND_FREE in zend_optimizer_replace_by_const()
684 } while (opline->opcode != ZEND_RETURN && opline->opcode != ZEND_RETURN_BY_REF); in zend_optimizer_replace_by_const()
707 switch (new_opline->opcode) { in zend_optimizer_migrate_jump()
752 switch (opline->opcode) { in zend_optimizer_shift_jump()
923 switch (opline->opcode) { in zend_optimizer_get_called_func()
1249 switch (opline->opcode) { in zend_redo_pass_two()
1303 if ((opline+1)->opcode == ZEND_JMPZ in zend_redo_pass_two()
1307 } else if ((opline+1)->opcode == ZEND_JMPNZ in zend_redo_pass_two()
1356 (opline->opcode == ZEND_PRE_INC || in zend_redo_pass_two_ex()
1357 opline->opcode == ZEND_PRE_DEC || in zend_redo_pass_two_ex()
1358 opline->opcode == ZEND_POST_INC || in zend_redo_pass_two_ex()
1359 opline->opcode == ZEND_POST_DEC) ? in zend_redo_pass_two_ex()
1371 switch (opline->opcode) { in zend_redo_pass_two_ex()
1425 if ((opline+1)->opcode == ZEND_JMPZ in zend_redo_pass_two_ex()
1429 } else if ((opline+1)->opcode == ZEND_JMPNZ in zend_redo_pass_two_ex()
1490 if (opline->opcode == ZEND_INIT_FCALL) { in zend_adjust_fcall_stack_size()
1512 if (opline && call_info->callee_func && opline->opcode == ZEND_INIT_FCALL) { in zend_adjust_fcall_stack_size_graph()