Lines Matching refs:opcode
263 switch (opline->opcode) { in zend_jit_trace_may_exit()
307 if (opline->extended_value == 0 && (opline+1)->opcode == ZEND_DO_FCALL) { in zend_jit_trace_may_exit()
501 if (opline->opcode == ZEND_SEND_VAL && opline->op1_type == IS_CONST) { in zend_jit_needs_arg_dtor()
592 switch (opline->opcode) { in zend_jit_trace_op_len()
606 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace_op_len()
614 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace_op_len()
671 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_add_phis()
1105 if (p->opline->opcode == ZEND_DO_UCALL in find_return_ssa_var()
1106 || p->opline->opcode == ZEND_DO_FCALL_BY_NAME in find_return_ssa_var()
1107 || p->opline->opcode == ZEND_DO_FCALL) { in find_return_ssa_var()
1128 if (p->opline->opcode == ZEND_INIT_FCALL in zend_jit_trace_find_init_fcall_op()
1129 || p->opline->opcode == ZEND_INIT_FCALL_BY_NAME in zend_jit_trace_find_init_fcall_op()
1130 || p->opline->opcode == ZEND_INIT_NS_FCALL_BY_NAME in zend_jit_trace_find_init_fcall_op()
1131 || p->opline->opcode == ZEND_INIT_DYNAMIC_CALL in zend_jit_trace_find_init_fcall_op()
1132 || p->opline->opcode == ZEND_INIT_USER_CALL in zend_jit_trace_find_init_fcall_op()
1133 || p->opline->opcode == ZEND_NEW in zend_jit_trace_find_init_fcall_op()
1134 || p->opline->opcode == ZEND_INIT_METHOD_CALL in zend_jit_trace_find_init_fcall_op()
1135 || p->opline->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_jit_trace_find_init_fcall_op()
1136 || p->opline->opcode == ZEND_INIT_PARENT_PROPERTY_HOOK_CALL) { in zend_jit_trace_find_init_fcall_op()
1167 if (zend_jit_inc_call_level(opline->opcode)) { in zend_jit_trace_find_init_fcall_op()
1172 } else if (zend_jit_dec_call_level(opline->opcode)) { in zend_jit_trace_find_init_fcall_op()
1190 if (opline->opcode == ZEND_PRE_DEC in is_checked_guard()
1191 || opline->opcode == ZEND_PRE_INC in is_checked_guard()
1192 || opline->opcode == ZEND_POST_DEC in is_checked_guard()
1193 || opline->opcode == ZEND_POST_INC) { in is_checked_guard()
1202 } else if (opline->opcode == ZEND_ASSIGN_OP in is_checked_guard()
1227 if (opline->opcode == ZEND_ADD in is_checked_guard()
1228 || opline->opcode == ZEND_SUB in is_checked_guard()
1229 || opline->opcode == ZEND_MUL) { in is_checked_guard()
1257 } else if (opline->opcode == ZEND_PRE_DEC in is_checked_guard()
1258 || opline->opcode == ZEND_PRE_INC in is_checked_guard()
1259 || opline->opcode == ZEND_POST_DEC in is_checked_guard()
1260 || opline->opcode == ZEND_POST_INC) { in is_checked_guard()
1327 switch (opline->opcode) { in zend_jit_trace_build_tssa()
1515 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
1796 switch (opline->opcode) { in zend_jit_trace_build_tssa()
1837 if (opline->opcode == ZEND_ASSIGN_DIM_OP) { in zend_jit_trace_build_tssa()
1855 } else if (opline->opcode == ZEND_ASSIGN_DIM_OP in zend_jit_trace_build_tssa()
1887 if (opline->opcode == ZEND_ASSIGN_OBJ in zend_jit_trace_build_tssa()
1888 || opline->opcode == ZEND_ASSIGN_OBJ_OP) { in zend_jit_trace_build_tssa()
2255 if (len == 2 && (opline+1)->opcode == ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2285 if (len == 2 && (opline+1)->opcode == ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2306 if (opline->opcode == ZEND_RECV_INIT in zend_jit_trace_build_tssa()
2310 } else if ((opline->opcode == ZEND_FE_FETCH_R || opline->opcode == ZEND_FE_FETCH_RW) in zend_jit_trace_build_tssa()
2320 if (opline->opcode == ZEND_ASSIGN_DIM_OP in zend_jit_trace_build_tssa()
2338 if (opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace_build_tssa()
2353 if ((opline->opcode != ZEND_FE_FETCH_R && opline->opcode != ZEND_FE_FETCH_RW) in zend_jit_trace_build_tssa()
2365 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2397 if (opline->opcode == ZEND_RECV_INIT in zend_jit_trace_build_tssa()
2584 switch (opline->opcode) { in zend_jit_trace_build_tssa()
2617 ZEND_ASSERT(opline->opcode == ZEND_DO_ICALL || in zend_jit_trace_build_tssa()
2618 opline->opcode == ZEND_DO_FCALL || in zend_jit_trace_build_tssa()
2619 opline->opcode == ZEND_DO_FCALL_BY_NAME); in zend_jit_trace_build_tssa()
2913 && opline->opcode == ZEND_ASSIGN in zend_jit_trace_allocate_registers()
2931 if (opline->opcode == ZEND_CASE in zend_jit_trace_allocate_registers()
2932 || opline->opcode == ZEND_CASE_STRICT in zend_jit_trace_allocate_registers()
2933 || opline->opcode == ZEND_SWITCH_LONG in zend_jit_trace_allocate_registers()
2934 || opline->opcode == ZEND_MATCH in zend_jit_trace_allocate_registers()
2935 || opline->opcode == ZEND_FETCH_LIST_R in zend_jit_trace_allocate_registers()
2936 || opline->opcode == ZEND_COPY_TMP in zend_jit_trace_allocate_registers()
2937 || opline->opcode == ZEND_SWITCH_STRING in zend_jit_trace_allocate_registers()
2938 || opline->opcode == ZEND_FE_FETCH_R in zend_jit_trace_allocate_registers()
2939 || opline->opcode == ZEND_FE_FETCH_RW in zend_jit_trace_allocate_registers()
2940 || opline->opcode == ZEND_FETCH_LIST_W in zend_jit_trace_allocate_registers()
2941 || opline->opcode == ZEND_VERIFY_RETURN_TYPE in zend_jit_trace_allocate_registers()
2942 || opline->opcode == ZEND_BIND_LEXICAL in zend_jit_trace_allocate_registers()
2943 || opline->opcode == ZEND_ROPE_ADD) { in zend_jit_trace_allocate_registers()
3001 || opline->opcode == ZEND_PRE_INC in zend_jit_trace_allocate_registers()
3002 || opline->opcode == ZEND_PRE_DEC in zend_jit_trace_allocate_registers()
3003 || opline->opcode == ZEND_POST_INC in zend_jit_trace_allocate_registers()
3004 || opline->opcode == ZEND_POST_DEC in zend_jit_trace_allocate_registers()
3005 || opline->opcode == ZEND_ADD in zend_jit_trace_allocate_registers()
3006 || opline->opcode == ZEND_SUB in zend_jit_trace_allocate_registers()
3007 || opline->opcode == ZEND_MUL in zend_jit_trace_allocate_registers()
3008 || opline->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_allocate_registers()
3009 || opline->opcode == ZEND_FETCH_OBJ_R in zend_jit_trace_allocate_registers()
3010 || opline->opcode == ZEND_FETCH_CONSTANT) { in zend_jit_trace_allocate_registers()
3012 || (opline->opcode != ZEND_PRE_INC && opline->opcode != ZEND_PRE_DEC)) { in zend_jit_trace_allocate_registers()
3025 || opline->opcode == ZEND_PRE_INC in zend_jit_trace_allocate_registers()
3026 || opline->opcode == ZEND_PRE_DEC in zend_jit_trace_allocate_registers()
3027 || opline->opcode == ZEND_POST_INC in zend_jit_trace_allocate_registers()
3028 || opline->opcode == ZEND_POST_DEC)) { in zend_jit_trace_allocate_registers()
3046 switch (opline->opcode) { in zend_jit_trace_allocate_registers()
3096 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace_allocate_registers()
3115 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace_allocate_registers()
3398 if (opline->opcode == ZEND_INIT_METHOD_CALL) { in zend_jit_may_delay_fetch_this()
3401 } else if (opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG) { in zend_jit_may_delay_fetch_this()
3408 } else if (opline->opcode != ZEND_FETCH_OBJ_R in zend_jit_may_delay_fetch_this()
3409 && opline->opcode != ZEND_FETCH_OBJ_IS in zend_jit_may_delay_fetch_this()
3410 && opline->opcode != ZEND_FETCH_OBJ_W in zend_jit_may_delay_fetch_this()
3411 && opline->opcode != ZEND_ASSIGN_OBJ in zend_jit_may_delay_fetch_this()
3412 && opline->opcode != ZEND_ASSIGN_OBJ_OP in zend_jit_may_delay_fetch_this()
3413 && opline->opcode != ZEND_PRE_INC_OBJ in zend_jit_may_delay_fetch_this()
3414 && opline->opcode != ZEND_PRE_DEC_OBJ in zend_jit_may_delay_fetch_this()
3415 && opline->opcode != ZEND_POST_INC_OBJ in zend_jit_may_delay_fetch_this()
3416 && opline->opcode != ZEND_POST_DEC_OBJ) { in zend_jit_may_delay_fetch_this()
3426 if (opline->opcode == ZEND_ASSIGN_OBJ_OP) { in zend_jit_may_delay_fetch_this()
3440 if (ssa_opcodes[i]->opcode == ZEND_DO_UCALL in zend_jit_may_delay_fetch_this()
3441 || ssa_opcodes[i]->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_may_delay_fetch_this()
3442 || ssa_opcodes[i]->opcode == ZEND_DO_FCALL in zend_jit_may_delay_fetch_this()
3443 || ssa_opcodes[i]->opcode == ZEND_INCLUDE_OR_EVAL) { in zend_jit_may_delay_fetch_this()
3668 switch (opline->opcode) { in zend_jit_trace_update_condition_ranges()
3783 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3793 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3808 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3818 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3828 prev_opcode = ssa_opcodes[prev_ssa_op - ssa->ops]->opcode; in zend_jit_may_skip_comparison()
3835 prev_opcode = ssa_opcodes[prev_ssa_op - ssa->ops]->opcode; in zend_jit_may_skip_comparison()
3872 && ((opline+1)->opcode == ZEND_SEND_VAL in zend_jit_trace_next_is_send_result()
3873 || ((opline+1)->opcode == ZEND_SEND_VAL_EX in zend_jit_trace_next_is_send_result()
4023 switch (opline->opcode) { in zend_jit_trace_may_throw()
4382 if (zend_jit_inc_call_level(opline->opcode)) { in zend_jit_trace()
4387 switch (opline->opcode) { in zend_jit_trace()
4500 if (opline->opcode == ZEND_ADD && in zend_jit_trace()
4553 if (opline->opcode == ZEND_ADD && in zend_jit_trace()
4566 && ((opline->opcode == ZEND_ADD in zend_jit_trace()
4568 || (opline->opcode == ZEND_SUB in zend_jit_trace()
4784 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4789 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4878 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4883 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4961 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4966 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5221 if (opline->opcode == ZEND_SEND_VAL_EX in zend_jit_trace()
5266 if ((opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace()
5267 || opline->opcode == ZEND_SEND_VAR_NO_REF_EX) in zend_jit_trace()
5304 if ((opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace()
5305 || opline->opcode == ZEND_SEND_FUNC_ARG) in zend_jit_trace()
5425 if (opline->opcode == ZEND_IS_NOT_IDENTICAL) { in zend_jit_trace()
5585 opline->opcode, NULL)) { in zend_jit_trace()
5601 if (opline->opcode == ZEND_JMPNZ_EX) { in zend_jit_trace()
5603 } else if (opline->opcode == ZEND_JMPZ_EX) { in zend_jit_trace()
5605 } else if (opline->opcode == ZEND_JMPNZ) { in zend_jit_trace()
5613 smart_branch_opcode = opline->opcode; in zend_jit_trace()
5867 && (opline->opcode == ZEND_FETCH_DIM_W || opline->opcode == ZEND_FETCH_LIST_W) in zend_jit_trace()
5995 && opline->opcode == ZEND_FETCH_OBJ_W) { in zend_jit_trace()
6037 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6042 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6068 if ((opline+1)->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
6088 (opline + 1)->opcode != ZEND_RECV_INIT, in zend_jit_trace()
6092 if ((opline+1)->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6304 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6309 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6376 if (opline->opcode != ZEND_NOP && opline->opcode != ZEND_JMP) { in zend_jit_trace()
6391 if (opline->opcode == ZEND_NEW && opline->result_type != IS_UNUSED) { in zend_jit_trace()
6405 if (zend_jit_dec_call_level(opline->opcode)) { in zend_jit_trace()
6418 if (opline->opcode == ZEND_ROPE_INIT) { in zend_jit_trace()
6445 } else if (opline->opcode == ZEND_QM_ASSIGN) { in zend_jit_trace()
6450 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6458 } else if (opline->opcode == ZEND_POST_INC in zend_jit_trace()
6459 || opline->opcode == ZEND_POST_DEC) { in zend_jit_trace()
6463 if (opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6464 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6465 || opline->opcode == ZEND_JMP_NULL) { in zend_jit_trace()
6529 if (opline->opcode == ZEND_FETCH_THIS in zend_jit_trace()
6551 && ((opline->opcode != ZEND_QM_ASSIGN && opline->opcode != ZEND_CAST) in zend_jit_trace()
6559 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6567 } else if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6568 || opline->opcode == ZEND_CAST in zend_jit_trace()
6569 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6570 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6571 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6572 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6573 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6582 (opline->opcode == ZEND_QM_ASSIGN || in zend_jit_trace()
6583 opline->opcode == ZEND_SEND_VAR || in zend_jit_trace()
6584 opline->opcode == ZEND_SEND_VAR_EX || in zend_jit_trace()
6585 opline->opcode == ZEND_SEND_VAR_NO_REF || in zend_jit_trace()
6586 opline->opcode == ZEND_SEND_VAR_NO_REF_EX || in zend_jit_trace()
6587 opline->opcode == ZEND_SEND_FUNC_ARG))))); in zend_jit_trace()
6594 if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6595 || opline->opcode == ZEND_CAST in zend_jit_trace()
6596 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6597 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6598 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6599 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6600 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6619 && (opline->opcode != ZEND_ASSIGN in zend_jit_trace()
6627 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6636 opline->opcode == ZEND_ASSIGN)))); in zend_jit_trace()
6643 if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6663 switch (opline->opcode) { in zend_jit_trace()
6681 } else if ((opline-1)->opcode == ZEND_ASSIGN_DIM in zend_jit_trace()
6682 || (opline-1)->opcode == ZEND_ASSIGN_OBJ in zend_jit_trace()
6683 || (opline-1)->opcode == ZEND_ASSIGN_STATIC_PROP) { in zend_jit_trace()
6710 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6732 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
6769 if (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
6770 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
6771 || opline->opcode == ZEND_DO_FCALL) { in zend_jit_trace()
6779 while (prev_opline->opcode == ZEND_EXT_FCALL_BEGIN || prev_opline->opcode == ZEND_TICKS) { in zend_jit_trace()
6783 if ((prev_opline->opcode == ZEND_SEND_ARRAY in zend_jit_trace()
6784 || prev_opline->opcode == ZEND_SEND_UNPACK in zend_jit_trace()
6785 || prev_opline->opcode == ZEND_CHECK_UNDEF_ARGS) in zend_jit_trace()
6919 if (init_opline && init_opline->opcode == ZEND_INIT_DYNAMIC_CALL) { in zend_jit_trace()
6924 if (init_opline->opcode != ZEND_NEW in zend_jit_trace()
6925 && (init_opline->opcode != ZEND_INIT_METHOD_CALL in zend_jit_trace()
6931 && (init_opline->opcode != ZEND_INIT_USER_CALL in zend_jit_trace()
6933 && (init_opline->opcode != ZEND_INIT_DYNAMIC_CALL in zend_jit_trace()
6937 } else if (init_opline->opcode == ZEND_NEW in zend_jit_trace()
6938 || (init_opline->opcode == ZEND_INIT_METHOD_CALL in zend_jit_trace()
6993 if (init_opline->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_jit_trace()
6996 } else if (init_opline->opcode == ZEND_INIT_METHOD_CALL) { in zend_jit_trace()
7039 switch (init_opline->opcode) { in zend_jit_trace()
7137 && opline->opcode != ZEND_DO_UCALL in zend_jit_trace()
7138 && opline->opcode != ZEND_DO_FCALL in zend_jit_trace()
7139 && opline->opcode != ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
7140 && opline->opcode != ZEND_INCLUDE_OR_EVAL) { in zend_jit_trace()
7246 && (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
7247 || opline->opcode == ZEND_DO_FCALL in zend_jit_trace()
7248 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
7249 || opline->opcode == ZEND_YIELD in zend_jit_trace()
7250 || opline->opcode == ZEND_YIELD_FROM in zend_jit_trace()
7251 || opline->opcode == ZEND_INCLUDE_OR_EVAL)) { in zend_jit_trace()
8585 if (op->opcode == ZEND_FETCH_DIM_IS || op->opcode == ZEND_FETCH_OBJ_IS) { in zend_jit_trace_exit()
8588 …>opcode == ZEND_FETCH_DIM_R || op->opcode == ZEND_FETCH_LIST_R || op->opcode == ZEND_FETCH_OBJ_R |… in zend_jit_trace_exit()
8622 && EX(opline)->opcode != ZEND_FETCH_LIST_R) { in zend_jit_trace_exit()
8632 ZEND_ASSERT((opline-1)->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_exit()
8633 || (opline-1)->opcode == ZEND_FETCH_DIM_IS in zend_jit_trace_exit()
8634 || (opline-1)->opcode == ZEND_FETCH_LIST_R in zend_jit_trace_exit()
8635 || (opline-1)->opcode == ZEND_FETCH_DIM_FUNC_ARG); in zend_jit_trace_exit()
8640 ZEND_ASSERT((opline-1)->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_exit()
8641 || (opline-1)->opcode == ZEND_FETCH_DIM_IS in zend_jit_trace_exit()
8642 || (opline-1)->opcode == ZEND_FETCH_DIM_FUNC_ARG in zend_jit_trace_exit()
8643 || (opline-1)->opcode == ZEND_FETCH_OBJ_R in zend_jit_trace_exit()
8644 || (opline-1)->opcode == ZEND_FETCH_OBJ_IS in zend_jit_trace_exit()
8645 || (opline-1)->opcode == ZEND_FETCH_OBJ_FUNC_ARG); in zend_jit_trace_exit()
8766 switch (opline->opcode) { in zend_jit_trace_supported()
8854 while (opline->opcode == ZEND_RECV || opline->opcode == ZEND_RECV_INIT) { in zend_jit_setup_hot_trace_counters()