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 switch (opline->opcode) { in zend_jit_trace_find_init_fcall_op()
1205 if (opline->opcode == ZEND_PRE_DEC in is_checked_guard()
1206 || opline->opcode == ZEND_PRE_INC in is_checked_guard()
1207 || opline->opcode == ZEND_POST_DEC in is_checked_guard()
1208 || opline->opcode == ZEND_POST_INC) { in is_checked_guard()
1217 } else if (opline->opcode == ZEND_ASSIGN_OP in is_checked_guard()
1242 if (opline->opcode == ZEND_ADD in is_checked_guard()
1243 || opline->opcode == ZEND_SUB in is_checked_guard()
1244 || opline->opcode == ZEND_MUL) { in is_checked_guard()
1272 } else if (opline->opcode == ZEND_PRE_DEC in is_checked_guard()
1273 || opline->opcode == ZEND_PRE_INC in is_checked_guard()
1274 || opline->opcode == ZEND_POST_DEC in is_checked_guard()
1275 || opline->opcode == ZEND_POST_INC) { in is_checked_guard()
1375 switch (opline->opcode) { in zend_jit_trace_build_tssa()
1568 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
1849 switch (opline->opcode) { in zend_jit_trace_build_tssa()
1873 if (opline->opcode == ZEND_ASSIGN_DIM in zend_jit_trace_build_tssa()
1880 if (opline->op1_type == IS_CV || opline->opcode == ZEND_ASSIGN_DIM_OP) { in zend_jit_trace_build_tssa()
1898 } else if (opline->opcode == ZEND_ASSIGN_DIM_OP in zend_jit_trace_build_tssa()
1930 if (opline->opcode == ZEND_ASSIGN_OBJ in zend_jit_trace_build_tssa()
1931 || opline->opcode == ZEND_ASSIGN_OBJ_OP) { in zend_jit_trace_build_tssa()
2298 if (len == 2 && (opline+1)->opcode == ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2328 if (len == 2 && (opline+1)->opcode == ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2349 if (opline->opcode == ZEND_RECV_INIT in zend_jit_trace_build_tssa()
2353 } else if ((opline->opcode == ZEND_FE_FETCH_R || opline->opcode == ZEND_FE_FETCH_RW) in zend_jit_trace_build_tssa()
2363 if (opline->opcode == ZEND_ASSIGN_DIM_OP in zend_jit_trace_build_tssa()
2381 if (opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace_build_tssa()
2396 if ((opline->opcode != ZEND_FE_FETCH_R && opline->opcode != ZEND_FE_FETCH_RW) in zend_jit_trace_build_tssa()
2408 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2440 if (opline->opcode == ZEND_RECV_INIT in zend_jit_trace_build_tssa()
2627 switch (opline->opcode) { in zend_jit_trace_build_tssa()
2661 ZEND_ASSERT(opline->opcode == ZEND_DO_ICALL || in zend_jit_trace_build_tssa()
2662 opline->opcode == ZEND_DO_FCALL || in zend_jit_trace_build_tssa()
2663 opline->opcode == ZEND_DO_FCALL_BY_NAME); in zend_jit_trace_build_tssa()
2957 && opline->opcode == ZEND_ASSIGN in zend_jit_trace_allocate_registers()
2975 if (opline->opcode == ZEND_CASE in zend_jit_trace_allocate_registers()
2976 || opline->opcode == ZEND_CASE_STRICT in zend_jit_trace_allocate_registers()
2977 || opline->opcode == ZEND_SWITCH_LONG in zend_jit_trace_allocate_registers()
2978 || opline->opcode == ZEND_MATCH in zend_jit_trace_allocate_registers()
2979 || opline->opcode == ZEND_FETCH_LIST_R in zend_jit_trace_allocate_registers()
2980 || opline->opcode == ZEND_COPY_TMP in zend_jit_trace_allocate_registers()
2981 || opline->opcode == ZEND_SWITCH_STRING in zend_jit_trace_allocate_registers()
2982 || opline->opcode == ZEND_FE_FETCH_R in zend_jit_trace_allocate_registers()
2983 || opline->opcode == ZEND_FE_FETCH_RW in zend_jit_trace_allocate_registers()
2984 || opline->opcode == ZEND_FETCH_LIST_W in zend_jit_trace_allocate_registers()
2985 || opline->opcode == ZEND_VERIFY_RETURN_TYPE in zend_jit_trace_allocate_registers()
2986 || opline->opcode == ZEND_BIND_LEXICAL in zend_jit_trace_allocate_registers()
2987 || opline->opcode == ZEND_ROPE_ADD) { in zend_jit_trace_allocate_registers()
3045 || opline->opcode == ZEND_PRE_INC in zend_jit_trace_allocate_registers()
3046 || opline->opcode == ZEND_PRE_DEC in zend_jit_trace_allocate_registers()
3047 || opline->opcode == ZEND_POST_INC in zend_jit_trace_allocate_registers()
3048 || opline->opcode == ZEND_POST_DEC in zend_jit_trace_allocate_registers()
3049 || opline->opcode == ZEND_ADD in zend_jit_trace_allocate_registers()
3050 || opline->opcode == ZEND_SUB in zend_jit_trace_allocate_registers()
3051 || opline->opcode == ZEND_MUL in zend_jit_trace_allocate_registers()
3052 || opline->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_allocate_registers()
3053 || opline->opcode == ZEND_FETCH_OBJ_R in zend_jit_trace_allocate_registers()
3054 || opline->opcode == ZEND_FETCH_CONSTANT) { in zend_jit_trace_allocate_registers()
3056 || (opline->opcode != ZEND_PRE_INC && opline->opcode != ZEND_PRE_DEC)) { in zend_jit_trace_allocate_registers()
3069 || opline->opcode == ZEND_PRE_INC in zend_jit_trace_allocate_registers()
3070 || opline->opcode == ZEND_PRE_DEC in zend_jit_trace_allocate_registers()
3071 || opline->opcode == ZEND_POST_INC in zend_jit_trace_allocate_registers()
3072 || opline->opcode == ZEND_POST_DEC)) { in zend_jit_trace_allocate_registers()
3090 switch (opline->opcode) { in zend_jit_trace_allocate_registers()
3140 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace_allocate_registers()
3159 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace_allocate_registers()
3441 if (opline->opcode == ZEND_INIT_METHOD_CALL) { in zend_jit_may_delay_fetch_this()
3444 } else if (opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG) { in zend_jit_may_delay_fetch_this()
3451 } else if (opline->opcode != ZEND_FETCH_OBJ_R in zend_jit_may_delay_fetch_this()
3452 && opline->opcode != ZEND_FETCH_OBJ_IS in zend_jit_may_delay_fetch_this()
3453 && opline->opcode != ZEND_FETCH_OBJ_W in zend_jit_may_delay_fetch_this()
3454 && opline->opcode != ZEND_ASSIGN_OBJ in zend_jit_may_delay_fetch_this()
3455 && opline->opcode != ZEND_ASSIGN_OBJ_OP in zend_jit_may_delay_fetch_this()
3456 && opline->opcode != ZEND_PRE_INC_OBJ in zend_jit_may_delay_fetch_this()
3457 && opline->opcode != ZEND_PRE_DEC_OBJ in zend_jit_may_delay_fetch_this()
3458 && opline->opcode != ZEND_POST_INC_OBJ in zend_jit_may_delay_fetch_this()
3459 && opline->opcode != ZEND_POST_DEC_OBJ) { in zend_jit_may_delay_fetch_this()
3469 if (opline->opcode == ZEND_ASSIGN_OBJ_OP) { in zend_jit_may_delay_fetch_this()
3483 if (ssa_opcodes[i]->opcode == ZEND_DO_UCALL in zend_jit_may_delay_fetch_this()
3484 || ssa_opcodes[i]->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_may_delay_fetch_this()
3485 || ssa_opcodes[i]->opcode == ZEND_DO_FCALL in zend_jit_may_delay_fetch_this()
3486 || ssa_opcodes[i]->opcode == ZEND_INCLUDE_OR_EVAL) { in zend_jit_may_delay_fetch_this()
3711 switch (opline->opcode) { in zend_jit_trace_update_condition_ranges()
3826 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3836 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3851 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3861 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3871 prev_opcode = ssa_opcodes[prev_ssa_op - ssa->ops]->opcode; in zend_jit_may_skip_comparison()
3878 prev_opcode = ssa_opcodes[prev_ssa_op - ssa->ops]->opcode; in zend_jit_may_skip_comparison()
3915 && ((opline+1)->opcode == ZEND_SEND_VAL in zend_jit_trace_next_is_send_result()
3916 || ((opline+1)->opcode == ZEND_SEND_VAL_EX in zend_jit_trace_next_is_send_result()
4066 switch (opline->opcode) { in zend_jit_trace_may_throw()
4425 switch (opline->opcode) { in zend_jit_trace()
4439 switch (opline->opcode) { in zend_jit_trace()
4552 if (opline->opcode == ZEND_ADD && in zend_jit_trace()
4605 if (opline->opcode == ZEND_ADD && in zend_jit_trace()
4618 && ((opline->opcode == ZEND_ADD in zend_jit_trace()
4620 || (opline->opcode == ZEND_SUB in zend_jit_trace()
4839 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4844 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4933 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4938 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5016 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5021 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5278 if (opline->opcode == ZEND_SEND_VAL_EX in zend_jit_trace()
5323 if ((opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace()
5324 || opline->opcode == ZEND_SEND_VAR_NO_REF_EX) in zend_jit_trace()
5361 if ((opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace()
5362 || opline->opcode == ZEND_SEND_FUNC_ARG) in zend_jit_trace()
5482 if (opline->opcode == ZEND_IS_NOT_IDENTICAL) { in zend_jit_trace()
5642 opline->opcode, NULL)) { in zend_jit_trace()
5658 if (opline->opcode == ZEND_JMPNZ_EX) { in zend_jit_trace()
5660 } else if (opline->opcode == ZEND_JMPZ_EX) { in zend_jit_trace()
5662 } else if (opline->opcode == ZEND_JMPNZ) { in zend_jit_trace()
5670 smart_branch_opcode = opline->opcode; in zend_jit_trace()
5924 && (opline->opcode == ZEND_FETCH_DIM_W || opline->opcode == ZEND_FETCH_LIST_W) in zend_jit_trace()
6052 && opline->opcode == ZEND_FETCH_OBJ_W) { in zend_jit_trace()
6094 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6099 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6148 if ((opline+1)->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
6168 (opline + 1)->opcode != ZEND_RECV_INIT, in zend_jit_trace()
6172 if ((opline+1)->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6384 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6389 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6471 if (opline->opcode != ZEND_NOP && opline->opcode != ZEND_JMP) { in zend_jit_trace()
6486 if (opline->opcode == ZEND_NEW && opline->result_type != IS_UNUSED) { in zend_jit_trace()
6500 switch (opline->opcode) { in zend_jit_trace()
6518 if (opline->opcode == ZEND_ROPE_INIT) { in zend_jit_trace()
6545 } else if (opline->opcode == ZEND_QM_ASSIGN) { in zend_jit_trace()
6550 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6558 } else if (opline->opcode == ZEND_POST_INC in zend_jit_trace()
6559 || opline->opcode == ZEND_POST_DEC) { in zend_jit_trace()
6563 if (opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6564 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6565 || opline->opcode == ZEND_JMP_NULL) { in zend_jit_trace()
6629 if (opline->opcode == ZEND_FETCH_THIS in zend_jit_trace()
6651 && ((opline->opcode != ZEND_QM_ASSIGN && opline->opcode != ZEND_CAST) in zend_jit_trace()
6659 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6667 } else if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6668 || opline->opcode == ZEND_CAST in zend_jit_trace()
6669 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6670 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6671 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6672 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6673 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6682 (opline->opcode == ZEND_QM_ASSIGN || in zend_jit_trace()
6683 opline->opcode == ZEND_SEND_VAR || in zend_jit_trace()
6684 opline->opcode == ZEND_SEND_VAR_EX || in zend_jit_trace()
6685 opline->opcode == ZEND_SEND_VAR_NO_REF || in zend_jit_trace()
6686 opline->opcode == ZEND_SEND_VAR_NO_REF_EX || in zend_jit_trace()
6687 opline->opcode == ZEND_SEND_FUNC_ARG))))); in zend_jit_trace()
6694 if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6695 || opline->opcode == ZEND_CAST in zend_jit_trace()
6696 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6697 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6698 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6699 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6700 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6719 && (opline->opcode != ZEND_ASSIGN in zend_jit_trace()
6727 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6736 opline->opcode == ZEND_ASSIGN)))); in zend_jit_trace()
6743 if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6763 switch (opline->opcode) { in zend_jit_trace()
6781 } else if ((opline-1)->opcode == ZEND_ASSIGN_DIM in zend_jit_trace()
6782 || (opline-1)->opcode == ZEND_ASSIGN_OBJ in zend_jit_trace()
6783 || (opline-1)->opcode == ZEND_ASSIGN_STATIC_PROP) { in zend_jit_trace()
6810 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6832 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
6869 if (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
6870 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
6871 || opline->opcode == ZEND_DO_FCALL) { in zend_jit_trace()
6879 while (prev_opline->opcode == ZEND_EXT_FCALL_BEGIN || prev_opline->opcode == ZEND_TICKS) { in zend_jit_trace()
6883 if ((prev_opline->opcode == ZEND_SEND_ARRAY in zend_jit_trace()
6884 || prev_opline->opcode == ZEND_SEND_UNPACK in zend_jit_trace()
6885 || prev_opline->opcode == ZEND_CHECK_UNDEF_ARGS) in zend_jit_trace()
7019 if (init_opline && init_opline->opcode == ZEND_INIT_DYNAMIC_CALL) { in zend_jit_trace()
7024 if (init_opline->opcode != ZEND_NEW in zend_jit_trace()
7025 && (init_opline->opcode != ZEND_INIT_METHOD_CALL in zend_jit_trace()
7031 && (init_opline->opcode != ZEND_INIT_USER_CALL in zend_jit_trace()
7033 && (init_opline->opcode != ZEND_INIT_DYNAMIC_CALL in zend_jit_trace()
7037 } else if (init_opline->opcode == ZEND_NEW in zend_jit_trace()
7038 || (init_opline->opcode == ZEND_INIT_METHOD_CALL in zend_jit_trace()
7093 if (init_opline->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_jit_trace()
7096 } else if (init_opline->opcode == ZEND_INIT_METHOD_CALL) { in zend_jit_trace()
7139 switch (init_opline->opcode) { in zend_jit_trace()
7236 && opline->opcode != ZEND_DO_UCALL in zend_jit_trace()
7237 && opline->opcode != ZEND_DO_FCALL in zend_jit_trace()
7238 && opline->opcode != ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
7239 && opline->opcode != ZEND_INCLUDE_OR_EVAL) { in zend_jit_trace()
7344 && (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
7345 || opline->opcode == ZEND_DO_FCALL in zend_jit_trace()
7346 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
7347 || opline->opcode == ZEND_YIELD in zend_jit_trace()
7348 || opline->opcode == ZEND_YIELD_FROM in zend_jit_trace()
7349 || opline->opcode == ZEND_INCLUDE_OR_EVAL)) { in zend_jit_trace()
8683 if (op->opcode == ZEND_FETCH_DIM_IS || op->opcode == ZEND_FETCH_OBJ_IS) { in zend_jit_trace_exit()
8686 …assert(op->opcode == ZEND_FETCH_DIM_R || op->opcode == ZEND_FETCH_LIST_R || op->opcode == ZEND_FET… in zend_jit_trace_exit()
8720 && EX(opline)->opcode != ZEND_FETCH_LIST_R) { in zend_jit_trace_exit()
8730 ZEND_ASSERT((opline-1)->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_exit()
8731 || (opline-1)->opcode == ZEND_FETCH_DIM_IS in zend_jit_trace_exit()
8732 || (opline-1)->opcode == ZEND_FETCH_LIST_R in zend_jit_trace_exit()
8733 || (opline-1)->opcode == ZEND_FETCH_DIM_FUNC_ARG); in zend_jit_trace_exit()
8738 ZEND_ASSERT((opline-1)->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_exit()
8739 || (opline-1)->opcode == ZEND_FETCH_DIM_IS in zend_jit_trace_exit()
8740 || (opline-1)->opcode == ZEND_FETCH_DIM_FUNC_ARG in zend_jit_trace_exit()
8741 || (opline-1)->opcode == ZEND_FETCH_OBJ_R in zend_jit_trace_exit()
8742 || (opline-1)->opcode == ZEND_FETCH_OBJ_IS in zend_jit_trace_exit()
8743 || (opline-1)->opcode == ZEND_FETCH_OBJ_FUNC_ARG); in zend_jit_trace_exit()
8864 switch (opline->opcode) { in zend_jit_trace_supported()
8952 while (opline->opcode == ZEND_RECV || opline->opcode == ZEND_RECV_INIT) { in zend_jit_setup_hot_trace_counters()