Lines Matching refs:opcode

144 			if ((*call_info)->caller_init_opline->opcode == ZEND_NOP) {  in zend_ssa_remove_nops()
164 ZEND_ASSERT(op_array->opcodes[b->start].opcode == ZEND_FREE in zend_ssa_remove_nops()
165 || op_array->opcodes[b->start].opcode == ZEND_FE_FREE); in zend_ssa_remove_nops()
173 if (EXPECTED(op_array->opcodes[i].opcode != ZEND_NOP) || in zend_ssa_remove_nops()
178 (op_array->opcodes[i+1].opcode == ZEND_JMPZ || in zend_ssa_remove_nops()
179 op_array->opcodes[i+1].opcode == ZEND_JMPNZ) && in zend_ssa_remove_nops()
196 if (opline->opcode == ZEND_NOP) { in zend_ssa_remove_nops()
321 if (opline->opcode == ZEND_NEW) { in opline_supports_assign_contraction()
326 if (opline->opcode == ZEND_DO_ICALL || opline->opcode == ZEND_DO_UCALL in opline_supports_assign_contraction()
327 || opline->opcode == ZEND_DO_FCALL || opline->opcode == ZEND_DO_FCALL_BY_NAME) { in opline_supports_assign_contraction()
335 if (opline->opcode == ZEND_POST_INC || opline->opcode == ZEND_POST_DEC) { in opline_supports_assign_contraction()
341 if (opline->opcode == ZEND_INIT_ARRAY) { in opline_supports_assign_contraction()
347 if (opline->opcode == ZEND_CAST in opline_supports_assign_contraction()
366 if (call_info->caller_call_opline->opcode == ZEND_DO_ICALL in zend_dfa_optimize_calls()
372 && (call_info->caller_call_opline - 1)->opcode == ZEND_SEND_VAL in zend_dfa_optimize_calls()
390 if (send_array->opcode == ZEND_SEND_VAL in zend_dfa_optimize_calls()
393 && (send_needly->opcode == ZEND_SEND_VAL in zend_dfa_optimize_calls()
394 || send_needly->opcode == ZEND_SEND_VAR) in zend_dfa_optimize_calls()
452 call_info->caller_call_opline->opcode = ZEND_IN_ARRAY; in zend_dfa_optimize_calls()
502 switch (opline->opcode) { in zend_dfa_optimize_jmps()
518 opline->opcode = ZEND_FREE; in zend_dfa_optimize_jmps()
528 opline->opcode = ZEND_JMP; in zend_dfa_optimize_jmps()
541 if (opline->opcode == ZEND_JMP) { in zend_dfa_optimize_jmps()
616 if (opline->opcode == ZEND_ASSIGN in zend_dfa_optimize_op_array()
629 } else if (opline->opcode == ZEND_QM_ASSIGN in zend_dfa_optimize_op_array()
642 if (opline->opcode == ZEND_ADD in zend_dfa_optimize_op_array()
643 || opline->opcode == ZEND_SUB in zend_dfa_optimize_op_array()
644 || opline->opcode == ZEND_MUL in zend_dfa_optimize_op_array()
645 || opline->opcode == ZEND_IS_EQUAL in zend_dfa_optimize_op_array()
646 || opline->opcode == ZEND_IS_NOT_EQUAL in zend_dfa_optimize_op_array()
647 || opline->opcode == ZEND_IS_SMALLER in zend_dfa_optimize_op_array()
648 || opline->opcode == ZEND_IS_SMALLER_OR_EQUAL in zend_dfa_optimize_op_array()
675 } else if (opline->opcode == ZEND_CONCAT) { in zend_dfa_optimize_op_array()
678 opline->opcode = ZEND_FAST_CONCAT; in zend_dfa_optimize_op_array()
688 if (opline->opcode == ZEND_ASSIGN in zend_dfa_optimize_op_array()
768 opline->opcode = ZEND_QM_ASSIGN; in zend_dfa_optimize_op_array()
772 } else if (opline->opcode == ZEND_ASSIGN_ADD in zend_dfa_optimize_op_array()
783 opline->opcode = ZEND_PRE_INC; in zend_dfa_optimize_op_array()
786 } else if (opline->opcode == ZEND_ASSIGN_SUB in zend_dfa_optimize_op_array()
797 opline->opcode = ZEND_PRE_DEC; in zend_dfa_optimize_op_array()
800 } else if (opline->opcode == ZEND_VERIFY_RETURN_TYPE in zend_dfa_optimize_op_array()
832 && (opline->opcode == ZEND_ASSIGN_ADD in zend_dfa_optimize_op_array()
833 || opline->opcode == ZEND_ASSIGN_SUB in zend_dfa_optimize_op_array()
834 || opline->opcode == ZEND_ASSIGN_MUL in zend_dfa_optimize_op_array()
835 || opline->opcode == ZEND_ASSIGN_DIV in zend_dfa_optimize_op_array()
836 || opline->opcode == ZEND_ASSIGN_MOD in zend_dfa_optimize_op_array()
837 || opline->opcode == ZEND_ASSIGN_SL in zend_dfa_optimize_op_array()
838 || opline->opcode == ZEND_ASSIGN_SR in zend_dfa_optimize_op_array()
839 || opline->opcode == ZEND_ASSIGN_BW_OR in zend_dfa_optimize_op_array()
840 || opline->opcode == ZEND_ASSIGN_BW_AND in zend_dfa_optimize_op_array()
841 || opline->opcode == ZEND_ASSIGN_BW_XOR) in zend_dfa_optimize_op_array()
851 opline->opcode -= (ZEND_ASSIGN_ADD - ZEND_ADD); in zend_dfa_optimize_op_array()