Lines Matching refs:opcode
150 return (op_array->opcodes[next].opcode == ZEND_JMPZ || in is_smart_branch_inhibiting_nop()
151 op_array->opcodes[next].opcode == ZEND_JMPNZ) && in is_smart_branch_inhibiting_nop()
174 if ((*call_info)->caller_init_opline->opcode == ZEND_NOP) { in zend_ssa_remove_nops()
193 ZEND_ASSERT(op_array->opcodes[b->start].opcode == ZEND_FREE in zend_ssa_remove_nops()
194 || op_array->opcodes[b->start].opcode == ZEND_FE_FREE); in zend_ssa_remove_nops()
202 if (EXPECTED(op_array->opcodes[i].opcode != ZEND_NOP) || in zend_ssa_remove_nops()
220 if (opline->opcode == ZEND_NOP) { in zend_ssa_remove_nops()
348 if (opline->opcode == ZEND_NEW) { in opline_supports_assign_contraction()
353 if (opline->opcode == ZEND_DO_ICALL || opline->opcode == ZEND_DO_UCALL in opline_supports_assign_contraction()
354 || opline->opcode == ZEND_DO_FCALL || opline->opcode == ZEND_DO_FCALL_BY_NAME) { in opline_supports_assign_contraction()
362 if (opline->opcode == ZEND_POST_INC || opline->opcode == ZEND_POST_DEC) { in opline_supports_assign_contraction()
368 if (opline->opcode == ZEND_INIT_ARRAY) { in opline_supports_assign_contraction()
374 if (opline->opcode == ZEND_CAST in opline_supports_assign_contraction()
394 && call_info->caller_call_opline->opcode == ZEND_DO_ICALL in zend_dfa_optimize_calls()
400 && (call_info->caller_call_opline - 1)->opcode == ZEND_SEND_VAL in zend_dfa_optimize_calls()
418 if (send_array->opcode == ZEND_SEND_VAL in zend_dfa_optimize_calls()
421 && (send_needly->opcode == ZEND_SEND_VAL in zend_dfa_optimize_calls()
422 || send_needly->opcode == ZEND_SEND_VAR) in zend_dfa_optimize_calls()
479 call_info->caller_call_opline->opcode = ZEND_IN_ARRAY; in zend_dfa_optimize_calls()
529 if (opline->opcode == ZEND_NOP in compress_block()
597 switch (opline->opcode) { in zend_ssa_replace_control_link()
710 switch (opline->opcode) { in zend_dfa_optimize_jmps()
728 opline->opcode = ZEND_JMP; in zend_dfa_optimize_jmps()
737 opline->opcode = ZEND_CHECK_VAR; in zend_dfa_optimize_jmps()
744 opline->opcode = ZEND_FREE; in zend_dfa_optimize_jmps()
754 opline->opcode = ZEND_JMP; in zend_dfa_optimize_jmps()
768 opline->opcode = ZEND_CHECK_VAR; in zend_dfa_optimize_jmps()
775 opline->opcode = ZEND_FREE; in zend_dfa_optimize_jmps()
794 opline->opcode = ZEND_JMP; in zend_dfa_optimize_jmps()
801 opline->opcode = ZEND_CHECK_VAR; in zend_dfa_optimize_jmps()
808 opline->opcode = ZEND_FREE; in zend_dfa_optimize_jmps()
816 opline->opcode = ZEND_JMP; in zend_dfa_optimize_jmps()
827 opline->opcode = ZEND_JMPZ; in zend_dfa_optimize_jmps()
833 opline->opcode = ZEND_QM_ASSIGN; in zend_dfa_optimize_jmps()
841 opline->opcode = ZEND_JMPNZ; in zend_dfa_optimize_jmps()
847 opline->opcode = ZEND_QM_ASSIGN; in zend_dfa_optimize_jmps()
855 opline->opcode = ZEND_JMPNZ; in zend_dfa_optimize_jmps()
884 opline->opcode = ZEND_JMP; in zend_dfa_optimize_jmps()
991 if (opline->opcode == ZEND_ASSIGN in zend_dfa_optimize_op_array()
1004 } else if (opline->opcode == ZEND_QM_ASSIGN in zend_dfa_optimize_op_array()
1017 if (opline->opcode == ZEND_ADD in zend_dfa_optimize_op_array()
1018 || opline->opcode == ZEND_SUB in zend_dfa_optimize_op_array()
1019 || opline->opcode == ZEND_MUL in zend_dfa_optimize_op_array()
1020 || opline->opcode == ZEND_IS_EQUAL in zend_dfa_optimize_op_array()
1021 || opline->opcode == ZEND_IS_NOT_EQUAL in zend_dfa_optimize_op_array()
1022 || opline->opcode == ZEND_IS_SMALLER in zend_dfa_optimize_op_array()
1023 || opline->opcode == ZEND_IS_SMALLER_OR_EQUAL in zend_dfa_optimize_op_array()
1050 } else if (opline->opcode == ZEND_CONCAT) { in zend_dfa_optimize_op_array()
1053 opline->opcode = ZEND_FAST_CONCAT; in zend_dfa_optimize_op_array()
1063 if (opline->opcode == ZEND_ASSIGN in zend_dfa_optimize_op_array()
1143 opline->opcode = ZEND_QM_ASSIGN; in zend_dfa_optimize_op_array()
1147 } else if (opline->opcode == ZEND_ASSIGN_ADD in zend_dfa_optimize_op_array()
1158 opline->opcode = ZEND_PRE_INC; in zend_dfa_optimize_op_array()
1161 } else if (opline->opcode == ZEND_ASSIGN_SUB in zend_dfa_optimize_op_array()
1172 opline->opcode = ZEND_PRE_DEC; in zend_dfa_optimize_op_array()
1175 } else if (opline->opcode == ZEND_VERIFY_RETURN_TYPE in zend_dfa_optimize_op_array()
1207 && (opline->opcode == ZEND_ASSIGN_ADD in zend_dfa_optimize_op_array()
1208 || opline->opcode == ZEND_ASSIGN_SUB in zend_dfa_optimize_op_array()
1209 || opline->opcode == ZEND_ASSIGN_MUL in zend_dfa_optimize_op_array()
1210 || opline->opcode == ZEND_ASSIGN_DIV in zend_dfa_optimize_op_array()
1211 || opline->opcode == ZEND_ASSIGN_MOD in zend_dfa_optimize_op_array()
1212 || opline->opcode == ZEND_ASSIGN_SL in zend_dfa_optimize_op_array()
1213 || opline->opcode == ZEND_ASSIGN_SR in zend_dfa_optimize_op_array()
1214 || opline->opcode == ZEND_ASSIGN_BW_OR in zend_dfa_optimize_op_array()
1215 || opline->opcode == ZEND_ASSIGN_BW_AND in zend_dfa_optimize_op_array()
1216 || opline->opcode == ZEND_ASSIGN_BW_XOR) in zend_dfa_optimize_op_array()
1226 opline->opcode -= (ZEND_ASSIGN_ADD - ZEND_ADD); in zend_dfa_optimize_op_array()