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()
5639 opline->opcode, NULL)) { in zend_jit_trace()
5655 if (opline->opcode == ZEND_JMPNZ_EX) { in zend_jit_trace()
5657 } else if (opline->opcode == ZEND_JMPZ_EX) { in zend_jit_trace()
5659 } else if (opline->opcode == ZEND_JMPNZ) { in zend_jit_trace()
5667 smart_branch_opcode = opline->opcode; in zend_jit_trace()
5921 && (opline->opcode == ZEND_FETCH_DIM_W || opline->opcode == ZEND_FETCH_LIST_W) in zend_jit_trace()
6049 && opline->opcode == ZEND_FETCH_OBJ_W) { in zend_jit_trace()
6091 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6096 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6145 if ((opline+1)->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
6165 (opline + 1)->opcode != ZEND_RECV_INIT, in zend_jit_trace()
6169 if ((opline+1)->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6381 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6386 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6468 if (opline->opcode != ZEND_NOP && opline->opcode != ZEND_JMP) { in zend_jit_trace()
6483 if (opline->opcode == ZEND_NEW && opline->result_type != IS_UNUSED) { in zend_jit_trace()
6497 switch (opline->opcode) { in zend_jit_trace()
6515 if (opline->opcode == ZEND_ROPE_INIT) { in zend_jit_trace()
6542 } else if (opline->opcode == ZEND_QM_ASSIGN) { in zend_jit_trace()
6547 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6555 } else if (opline->opcode == ZEND_POST_INC in zend_jit_trace()
6556 || opline->opcode == ZEND_POST_DEC) { in zend_jit_trace()
6560 if (opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6561 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6562 || opline->opcode == ZEND_JMP_NULL) { in zend_jit_trace()
6626 if (opline->opcode == ZEND_FETCH_THIS in zend_jit_trace()
6648 && ((opline->opcode != ZEND_QM_ASSIGN && opline->opcode != ZEND_CAST) in zend_jit_trace()
6656 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6664 } else if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6665 || opline->opcode == ZEND_CAST in zend_jit_trace()
6666 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6667 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6668 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6669 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6670 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6679 (opline->opcode == ZEND_QM_ASSIGN || in zend_jit_trace()
6680 opline->opcode == ZEND_SEND_VAR || in zend_jit_trace()
6681 opline->opcode == ZEND_SEND_VAR_EX || in zend_jit_trace()
6682 opline->opcode == ZEND_SEND_VAR_NO_REF || in zend_jit_trace()
6683 opline->opcode == ZEND_SEND_VAR_NO_REF_EX || in zend_jit_trace()
6684 opline->opcode == ZEND_SEND_FUNC_ARG))))); in zend_jit_trace()
6691 if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6692 || opline->opcode == ZEND_CAST in zend_jit_trace()
6693 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6694 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6695 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6696 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6697 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6716 && (opline->opcode != ZEND_ASSIGN in zend_jit_trace()
6724 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6733 opline->opcode == ZEND_ASSIGN)))); in zend_jit_trace()
6740 if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6760 switch (opline->opcode) { in zend_jit_trace()
6778 } else if ((opline-1)->opcode == ZEND_ASSIGN_DIM in zend_jit_trace()
6779 || (opline-1)->opcode == ZEND_ASSIGN_OBJ in zend_jit_trace()
6780 || (opline-1)->opcode == ZEND_ASSIGN_STATIC_PROP) { in zend_jit_trace()
6807 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6829 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
6866 if (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
6867 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
6868 || opline->opcode == ZEND_DO_FCALL) { in zend_jit_trace()
6876 while (prev_opline->opcode == ZEND_EXT_FCALL_BEGIN || prev_opline->opcode == ZEND_TICKS) { in zend_jit_trace()
6880 if ((prev_opline->opcode == ZEND_SEND_ARRAY in zend_jit_trace()
6881 || prev_opline->opcode == ZEND_SEND_UNPACK in zend_jit_trace()
6882 || prev_opline->opcode == ZEND_CHECK_UNDEF_ARGS) in zend_jit_trace()
7016 if (init_opline && init_opline->opcode == ZEND_INIT_DYNAMIC_CALL) { in zend_jit_trace()
7021 if (init_opline->opcode != ZEND_NEW in zend_jit_trace()
7022 && (init_opline->opcode != ZEND_INIT_METHOD_CALL in zend_jit_trace()
7028 && (init_opline->opcode != ZEND_INIT_USER_CALL in zend_jit_trace()
7030 && (init_opline->opcode != ZEND_INIT_DYNAMIC_CALL in zend_jit_trace()
7034 } else if (init_opline->opcode == ZEND_NEW in zend_jit_trace()
7035 || (init_opline->opcode == ZEND_INIT_METHOD_CALL in zend_jit_trace()
7090 if (init_opline->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_jit_trace()
7093 } else if (init_opline->opcode == ZEND_INIT_METHOD_CALL) { in zend_jit_trace()
7136 switch (init_opline->opcode) { in zend_jit_trace()
7233 && opline->opcode != ZEND_DO_UCALL in zend_jit_trace()
7234 && opline->opcode != ZEND_DO_FCALL in zend_jit_trace()
7235 && opline->opcode != ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
7236 && opline->opcode != ZEND_INCLUDE_OR_EVAL) { in zend_jit_trace()
7341 && (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
7342 || opline->opcode == ZEND_DO_FCALL in zend_jit_trace()
7343 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
7344 || opline->opcode == ZEND_YIELD in zend_jit_trace()
7345 || opline->opcode == ZEND_YIELD_FROM in zend_jit_trace()
7346 || opline->opcode == ZEND_INCLUDE_OR_EVAL)) { in zend_jit_trace()
8675 if (op->opcode == ZEND_FETCH_DIM_IS || op->opcode == ZEND_FETCH_OBJ_IS) { in zend_jit_trace_exit()
8678 …assert(op->opcode == ZEND_FETCH_DIM_R || op->opcode == ZEND_FETCH_LIST_R || op->opcode == ZEND_FET… in zend_jit_trace_exit()
8712 && EX(opline)->opcode != ZEND_FETCH_LIST_R) { in zend_jit_trace_exit()
8722 ZEND_ASSERT((opline-1)->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_exit()
8723 || (opline-1)->opcode == ZEND_FETCH_DIM_IS in zend_jit_trace_exit()
8724 || (opline-1)->opcode == ZEND_FETCH_LIST_R in zend_jit_trace_exit()
8725 || (opline-1)->opcode == ZEND_FETCH_DIM_FUNC_ARG); 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_DIM_FUNC_ARG in zend_jit_trace_exit()
8733 || (opline-1)->opcode == ZEND_FETCH_OBJ_R in zend_jit_trace_exit()
8734 || (opline-1)->opcode == ZEND_FETCH_OBJ_IS in zend_jit_trace_exit()
8735 || (opline-1)->opcode == ZEND_FETCH_OBJ_FUNC_ARG); in zend_jit_trace_exit()
8856 switch (opline->opcode) { in zend_jit_trace_supported()
8944 while (opline->opcode == ZEND_RECV || opline->opcode == ZEND_RECV_INIT) { in zend_jit_setup_hot_trace_counters()