Lines Matching refs:opcode
52 int zend_optimizer_eval_binary_op(zval *result, zend_uchar opcode, zval *op1, zval *op2) /* {{{ */ in zend_optimizer_eval_binary_op() argument
54 binary_op_type binary_op = get_binary_op(opcode); in zend_optimizer_eval_binary_op()
57 if (zend_binary_op_produces_error(opcode, op1, op2)) { in zend_optimizer_eval_binary_op()
70 int zend_optimizer_eval_unary_op(zval *result, zend_uchar opcode, zval *op1) /* {{{ */ in zend_optimizer_eval_unary_op() argument
72 unary_op_type unary_op = get_unary_op(opcode); in zend_optimizer_eval_unary_op()
75 if (opcode == ZEND_BW_NOT in zend_optimizer_eval_unary_op()
191 switch (opline->opcode) { in zend_optimizer_update_op1_const()
193 switch ((opline-1)->opcode) { in zend_optimizer_update_op1_const()
284 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_update_op1_const()
325 if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { in zend_optimizer_update_op1_const()
326 opline->opcode = ZEND_FAST_CONCAT; in zend_optimizer_update_op1_const()
347 switch (opline->opcode) { in zend_optimizer_update_op2_const()
352 if ((opline + 1)->opcode == ZEND_INSTANCEOF && in zend_optimizer_update_op2_const()
418 opline->opcode = ZEND_INIT_FCALL_BY_NAME; in zend_optimizer_update_op2_const()
461 ZEND_ASSERT((opline + 1)->opcode == ZEND_OP_DATA); in zend_optimizer_update_op2_const()
512 if (opline->opcode == ZEND_CONCAT && opline->op1_type == IS_CONST) { in zend_optimizer_update_op2_const()
513 opline->opcode = ZEND_FAST_CONCAT; in zend_optimizer_update_op2_const()
539 switch (opline->opcode) { in zend_optimizer_replace_by_const()
551 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_replace_by_const()
556 opline->opcode = ZEND_SEND_VAL_EX; in zend_optimizer_replace_by_const()
561 opline->opcode = ZEND_SEND_VAL; in zend_optimizer_replace_by_const()
564 opline->opcode = ZEND_SEND_VAL_EX; in zend_optimizer_replace_by_const()
576 if (m->opcode == ZEND_FETCH_LIST_R && in zend_optimizer_replace_by_const()
588 } while (m->opcode != ZEND_FREE || m->op1_type != type || m->op1.var != var); in zend_optimizer_replace_by_const()
590 ZEND_ASSERT(m->opcode == ZEND_FREE && m->op1_type == type && m->op1.var == var); in zend_optimizer_replace_by_const()
604 opline->opcode == ZEND_CASE in zend_optimizer_replace_by_const()
605 || opline->opcode == ZEND_CASE_STRICT in zend_optimizer_replace_by_const()
606 || opline->opcode == ZEND_SWITCH_LONG in zend_optimizer_replace_by_const()
607 || opline->opcode == ZEND_SWITCH_STRING in zend_optimizer_replace_by_const()
608 || opline->opcode == ZEND_MATCH in zend_optimizer_replace_by_const()
612 if (opline->opcode == ZEND_CASE) { in zend_optimizer_replace_by_const()
613 opline->opcode = ZEND_IS_EQUAL; in zend_optimizer_replace_by_const()
614 } else if (opline->opcode == ZEND_CASE_STRICT) { in zend_optimizer_replace_by_const()
615 opline->opcode = ZEND_IS_IDENTICAL; in zend_optimizer_replace_by_const()
623 } else if (opline->opcode == ZEND_FREE) { in zend_optimizer_replace_by_const()
652 } while (opline->opcode != ZEND_RETURN && opline->opcode != ZEND_RETURN_BY_REF); in zend_optimizer_replace_by_const()
675 switch (new_opline->opcode) { in zend_optimizer_migrate_jump()
721 switch (opline->opcode) { in zend_optimizer_shift_jump()
796 switch (opline->opcode) { in zend_optimizer_get_called_func()
1103 switch (opline->opcode) { in zend_redo_pass_two()
1158 if ((opline+1)->opcode == ZEND_JMPZ in zend_redo_pass_two()
1162 } else if ((opline+1)->opcode == ZEND_JMPNZ in zend_redo_pass_two()
1211 (opline->opcode == ZEND_PRE_INC || in zend_redo_pass_two_ex()
1212 opline->opcode == ZEND_PRE_DEC || in zend_redo_pass_two_ex()
1213 opline->opcode == ZEND_POST_INC || in zend_redo_pass_two_ex()
1214 opline->opcode == ZEND_POST_DEC) ? in zend_redo_pass_two_ex()
1226 switch (opline->opcode) { in zend_redo_pass_two_ex()
1281 if ((opline+1)->opcode == ZEND_JMPZ in zend_redo_pass_two_ex()
1285 } else if ((opline+1)->opcode == ZEND_JMPNZ in zend_redo_pass_two_ex()
1326 if (opline->opcode == ZEND_INIT_FCALL) { in zend_adjust_fcall_stack_size()
1348 if (opline && call_info->callee_func && opline->opcode == ZEND_INIT_FCALL) { in zend_adjust_fcall_stack_size_graph()