Lines Matching refs:opcode

295 	switch (opline->opcode) {  in zend_jit_trace_may_exit()
338 if (opline->extended_value == 0 && (opline+1)->opcode == ZEND_DO_FCALL) { in zend_jit_trace_may_exit()
533 if (opline->opcode == ZEND_SEND_VAL && opline->op1_type == IS_CONST) { in zend_jit_needs_arg_dtor()
626 switch (opline->opcode) { in zend_jit_trace_op_len()
639 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace_op_len()
647 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace_op_len()
704 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_add_phis()
989 if (p->opline->opcode == ZEND_DO_UCALL in find_return_ssa_var()
990 || p->opline->opcode == ZEND_DO_FCALL_BY_NAME in find_return_ssa_var()
991 || p->opline->opcode == ZEND_DO_FCALL) { in find_return_ssa_var()
1012 if (p->opline->opcode == ZEND_INIT_FCALL in zend_jit_trace_find_init_fcall_op()
1013 || p->opline->opcode == ZEND_INIT_FCALL_BY_NAME in zend_jit_trace_find_init_fcall_op()
1014 || p->opline->opcode == ZEND_INIT_NS_FCALL_BY_NAME in zend_jit_trace_find_init_fcall_op()
1015 || p->opline->opcode == ZEND_INIT_DYNAMIC_CALL in zend_jit_trace_find_init_fcall_op()
1016 || p->opline->opcode == ZEND_INIT_USER_CALL in zend_jit_trace_find_init_fcall_op()
1017 || p->opline->opcode == ZEND_NEW in zend_jit_trace_find_init_fcall_op()
1018 || p->opline->opcode == ZEND_INIT_METHOD_CALL in zend_jit_trace_find_init_fcall_op()
1019 || p->opline->opcode == ZEND_INIT_STATIC_METHOD_CALL) { in zend_jit_trace_find_init_fcall_op()
1050 switch (opline->opcode) { in zend_jit_trace_find_init_fcall_op()
1087 if (opline->opcode == ZEND_PRE_DEC in is_checked_guard()
1088 || opline->opcode == ZEND_PRE_INC in is_checked_guard()
1089 || opline->opcode == ZEND_POST_DEC in is_checked_guard()
1090 || opline->opcode == ZEND_POST_INC) { in is_checked_guard()
1099 } else if (opline->opcode == ZEND_ASSIGN_OP in is_checked_guard()
1124 if (opline->opcode == ZEND_ADD in is_checked_guard()
1125 || opline->opcode == ZEND_SUB in is_checked_guard()
1126 || opline->opcode == ZEND_MUL) { in is_checked_guard()
1153 } else if (opline->opcode == ZEND_PRE_DEC in is_checked_guard()
1154 || opline->opcode == ZEND_PRE_INC in is_checked_guard()
1155 || opline->opcode == ZEND_POST_DEC in is_checked_guard()
1156 || opline->opcode == ZEND_POST_INC) { in is_checked_guard()
1223 switch (opline->opcode) { in zend_jit_trace_build_tssa()
1408 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
1691 switch (opline->opcode) { in zend_jit_trace_build_tssa()
1732 if (opline->opcode == ZEND_ASSIGN_DIM_OP) { in zend_jit_trace_build_tssa()
1750 } else if (opline->opcode == ZEND_ASSIGN_DIM_OP in zend_jit_trace_build_tssa()
1782 if (opline->opcode == ZEND_ASSIGN_OBJ_OP) { in zend_jit_trace_build_tssa()
2131 if (len == 2 && (opline+1)->opcode == ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2161 if (len == 2 && (opline+1)->opcode == ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2182 if (opline->opcode == ZEND_RECV_INIT in zend_jit_trace_build_tssa()
2186 } else if ((opline->opcode == ZEND_FE_FETCH_R || opline->opcode == ZEND_FE_FETCH_RW) in zend_jit_trace_build_tssa()
2196 if (opline->opcode == ZEND_ASSIGN_DIM_OP in zend_jit_trace_build_tssa()
2214 if (opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace_build_tssa()
2229 if ((opline->opcode != ZEND_FE_FETCH_R && opline->opcode != ZEND_FE_FETCH_RW) in zend_jit_trace_build_tssa()
2241 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2273 if (opline->opcode == ZEND_RECV_INIT in zend_jit_trace_build_tssa()
2466 switch (opline->opcode) { in zend_jit_trace_build_tssa()
2498 ZEND_ASSERT(opline->opcode == ZEND_DO_ICALL || in zend_jit_trace_build_tssa()
2499 opline->opcode == ZEND_DO_FCALL || in zend_jit_trace_build_tssa()
2500 opline->opcode == ZEND_DO_FCALL_BY_NAME); in zend_jit_trace_build_tssa()
2809 && opline->opcode == ZEND_ASSIGN in zend_jit_trace_allocate_registers()
2823 if (opline->opcode == ZEND_CASE in zend_jit_trace_allocate_registers()
2824 || opline->opcode == ZEND_CASE_STRICT in zend_jit_trace_allocate_registers()
2825 || opline->opcode == ZEND_SWITCH_LONG in zend_jit_trace_allocate_registers()
2826 || opline->opcode == ZEND_MATCH in zend_jit_trace_allocate_registers()
2827 || opline->opcode == ZEND_FETCH_LIST_R in zend_jit_trace_allocate_registers()
2828 || opline->opcode == ZEND_COPY_TMP in zend_jit_trace_allocate_registers()
2829 || opline->opcode == ZEND_SWITCH_STRING in zend_jit_trace_allocate_registers()
2830 || opline->opcode == ZEND_FE_FETCH_R in zend_jit_trace_allocate_registers()
2831 || opline->opcode == ZEND_FE_FETCH_RW in zend_jit_trace_allocate_registers()
2832 || opline->opcode == ZEND_FETCH_LIST_W in zend_jit_trace_allocate_registers()
2833 || opline->opcode == ZEND_VERIFY_RETURN_TYPE in zend_jit_trace_allocate_registers()
2834 || opline->opcode == ZEND_BIND_LEXICAL in zend_jit_trace_allocate_registers()
2835 || opline->opcode == ZEND_ROPE_ADD) { in zend_jit_trace_allocate_registers()
2897 || opline->opcode == ZEND_PRE_INC in zend_jit_trace_allocate_registers()
2898 || opline->opcode == ZEND_PRE_DEC in zend_jit_trace_allocate_registers()
2899 || opline->opcode == ZEND_POST_INC in zend_jit_trace_allocate_registers()
2900 || opline->opcode == ZEND_POST_DEC in zend_jit_trace_allocate_registers()
2901 || opline->opcode == ZEND_ADD in zend_jit_trace_allocate_registers()
2902 || opline->opcode == ZEND_SUB in zend_jit_trace_allocate_registers()
2903 || opline->opcode == ZEND_MUL in zend_jit_trace_allocate_registers()
2904 || opline->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_allocate_registers()
2905 || opline->opcode == ZEND_FETCH_CONSTANT) { in zend_jit_trace_allocate_registers()
2907 || (opline->opcode != ZEND_PRE_INC && opline->opcode != ZEND_PRE_DEC)) { in zend_jit_trace_allocate_registers()
2935 switch (opline->opcode) { in zend_jit_trace_allocate_registers()
2982 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace_allocate_registers()
2997 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace_allocate_registers()
3211 switch (opline->opcode) { in zend_jit_trace_allocate_registers()
3273 } else if (opline->opcode != ZEND_SUB && in zend_jit_trace_allocate_registers()
3498 if (opline->opcode == ZEND_INIT_METHOD_CALL) { in zend_jit_may_delay_fetch_this()
3501 } else if (opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG) { in zend_jit_may_delay_fetch_this()
3508 } else if (opline->opcode != ZEND_FETCH_OBJ_R in zend_jit_may_delay_fetch_this()
3509 && opline->opcode != ZEND_FETCH_OBJ_IS in zend_jit_may_delay_fetch_this()
3510 && opline->opcode != ZEND_FETCH_OBJ_W in zend_jit_may_delay_fetch_this()
3511 && opline->opcode != ZEND_ASSIGN_OBJ in zend_jit_may_delay_fetch_this()
3512 && opline->opcode != ZEND_ASSIGN_OBJ_OP in zend_jit_may_delay_fetch_this()
3513 && opline->opcode != ZEND_PRE_INC_OBJ in zend_jit_may_delay_fetch_this()
3514 && opline->opcode != ZEND_PRE_DEC_OBJ in zend_jit_may_delay_fetch_this()
3515 && opline->opcode != ZEND_POST_INC_OBJ in zend_jit_may_delay_fetch_this()
3516 && opline->opcode != ZEND_POST_DEC_OBJ) { in zend_jit_may_delay_fetch_this()
3526 if (opline->opcode == ZEND_ASSIGN_OBJ_OP) { in zend_jit_may_delay_fetch_this()
3540 if (ssa_opcodes[i]->opcode == ZEND_DO_UCALL in zend_jit_may_delay_fetch_this()
3541 || ssa_opcodes[i]->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_may_delay_fetch_this()
3542 || ssa_opcodes[i]->opcode == ZEND_DO_FCALL in zend_jit_may_delay_fetch_this()
3543 || ssa_opcodes[i]->opcode == ZEND_INCLUDE_OR_EVAL) { in zend_jit_may_delay_fetch_this()
3743 switch (opline->opcode) { in zend_jit_trace_update_condition_ranges()
3858 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3868 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3883 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3893 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3903 prev_opcode = ssa_opcodes[prev_ssa_op - ssa->ops]->opcode; in zend_jit_may_skip_comparison()
3910 prev_opcode = ssa_opcodes[prev_ssa_op - ssa->ops]->opcode; in zend_jit_may_skip_comparison()
3947 && ((opline+1)->opcode == ZEND_SEND_VAL in zend_jit_trace_next_is_send_result()
3948 || ((opline+1)->opcode == ZEND_SEND_VAL_EX in zend_jit_trace_next_is_send_result()
4319 switch (opline->opcode) { in zend_jit_trace()
4333 switch (opline->opcode) { in zend_jit_trace()
4465 if (opline->opcode == ZEND_ADD && in zend_jit_trace()
4488 if (opline->opcode == ZEND_ADD && in zend_jit_trace()
4689 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4694 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4780 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4785 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4860 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4865 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5111 if (opline->opcode == ZEND_SEND_VAL_EX in zend_jit_trace()
5156 if ((opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace()
5157 || opline->opcode == ZEND_SEND_VAR_NO_REF_EX) in zend_jit_trace()
5194 if ((opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace()
5195 || opline->opcode == ZEND_SEND_FUNC_ARG) in zend_jit_trace()
5315 if (opline->opcode == ZEND_IS_NOT_IDENTICAL) { in zend_jit_trace()
5472 opline->opcode, NULL)) { in zend_jit_trace()
5489 if (opline->opcode == ZEND_JMPNZ_EX) { in zend_jit_trace()
5491 } else if (opline->opcode == ZEND_JMPZ_EX) { in zend_jit_trace()
5493 } else if (opline->opcode == ZEND_JMPNZ) { in zend_jit_trace()
5498 exit_opline = (opline->opcode == ZEND_JMPZNZ) ? in zend_jit_trace()
5501 } else if (opline->opcode == ZEND_JMPZNZ) { in zend_jit_trace()
5507 smart_branch_opcode = opline->opcode; in zend_jit_trace()
5731 && (opline->opcode == ZEND_FETCH_DIM_W || opline->opcode == ZEND_FETCH_LIST_W) in zend_jit_trace()
5848 && opline->opcode == ZEND_FETCH_OBJ_W) { in zend_jit_trace()
5890 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5895 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5920 if ((opline+1)->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
5940 (opline + 1)->opcode != ZEND_RECV_INIT, in zend_jit_trace()
5944 if ((opline+1)->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6154 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6159 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6188 && (opline->opcode != ZEND_INIT_STATIC_METHOD_CALL in zend_jit_trace()
6246 if (opline->opcode != ZEND_NOP && opline->opcode != ZEND_JMP) { in zend_jit_trace()
6264 switch (opline->opcode) { in zend_jit_trace()
6282 if (opline->opcode == ZEND_ROPE_INIT) { in zend_jit_trace()
6309 } else if (opline->opcode == ZEND_QM_ASSIGN) { in zend_jit_trace()
6314 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6322 } else if (opline->opcode == ZEND_POST_INC in zend_jit_trace()
6323 || opline->opcode == ZEND_POST_DEC) { in zend_jit_trace()
6327 if (opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6328 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6329 || opline->opcode == ZEND_JMP_NULL) { in zend_jit_trace()
6343 if (opline->opcode == ZEND_FETCH_THIS in zend_jit_trace()
6365 && ((opline->opcode != ZEND_QM_ASSIGN && opline->opcode != ZEND_CAST) in zend_jit_trace()
6373 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6381 } else if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6382 || opline->opcode == ZEND_CAST in zend_jit_trace()
6383 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6384 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6385 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6386 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6387 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6396 (opline->opcode == ZEND_QM_ASSIGN || in zend_jit_trace()
6397 opline->opcode == ZEND_SEND_VAR || in zend_jit_trace()
6398 opline->opcode == ZEND_SEND_VAR_EX || in zend_jit_trace()
6399 opline->opcode == ZEND_SEND_VAR_NO_REF || in zend_jit_trace()
6400 opline->opcode == ZEND_SEND_VAR_NO_REF_EX || in zend_jit_trace()
6401 opline->opcode == ZEND_SEND_FUNC_ARG))))); in zend_jit_trace()
6408 if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6409 || opline->opcode == ZEND_CAST in zend_jit_trace()
6410 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6411 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6412 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6413 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6414 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6433 && (opline->opcode != ZEND_ASSIGN in zend_jit_trace()
6441 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6450 opline->opcode == ZEND_ASSIGN)))); in zend_jit_trace()
6457 if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6477 switch (opline->opcode) { in zend_jit_trace()
6495 } else if ((opline-1)->opcode == ZEND_ASSIGN_DIM in zend_jit_trace()
6496 || (opline-1)->opcode == ZEND_ASSIGN_OBJ in zend_jit_trace()
6497 || (opline-1)->opcode == ZEND_ASSIGN_STATIC_PROP) { in zend_jit_trace()
6524 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6546 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
6583 if (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
6584 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
6585 || opline->opcode == ZEND_DO_FCALL) { in zend_jit_trace()
6593 while (prev_opline->opcode == ZEND_EXT_FCALL_BEGIN || prev_opline->opcode == ZEND_TICKS) { in zend_jit_trace()
6597 if ((prev_opline->opcode == ZEND_SEND_ARRAY in zend_jit_trace()
6598 || prev_opline->opcode == ZEND_SEND_UNPACK in zend_jit_trace()
6599 || prev_opline->opcode == ZEND_CHECK_UNDEF_ARGS) in zend_jit_trace()
6723 && init_opline->opcode != ZEND_NEW in zend_jit_trace()
6724 && (init_opline->opcode != ZEND_INIT_METHOD_CALL in zend_jit_trace()
6726 && (init_opline->opcode != ZEND_INIT_USER_CALL in zend_jit_trace()
6728 && (init_opline->opcode != ZEND_INIT_DYNAMIC_CALL in zend_jit_trace()
6781 if (init_opline->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_jit_trace()
6784 } else if (init_opline->opcode == ZEND_INIT_METHOD_CALL) { in zend_jit_trace()
6827 switch (init_opline->opcode) { in zend_jit_trace()
6923 && opline->opcode != ZEND_DO_UCALL in zend_jit_trace()
6924 && opline->opcode != ZEND_DO_FCALL in zend_jit_trace()
6925 && opline->opcode != ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
6926 && opline->opcode != ZEND_INCLUDE_OR_EVAL) { in zend_jit_trace()
7035 && (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
7036 || opline->opcode == ZEND_DO_FCALL in zend_jit_trace()
7037 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
7038 || opline->opcode == ZEND_YIELD in zend_jit_trace()
7039 || opline->opcode == ZEND_YIELD_FROM in zend_jit_trace()
7040 || opline->opcode == ZEND_INCLUDE_OR_EVAL)) { in zend_jit_trace()
8163 && EX(opline)->opcode != ZEND_FETCH_LIST_R) { in zend_jit_trace_exit()
8173 ZEND_ASSERT((opline-1)->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_exit()
8174 || (opline-1)->opcode == ZEND_FETCH_DIM_IS in zend_jit_trace_exit()
8175 || (opline-1)->opcode == ZEND_FETCH_LIST_R in zend_jit_trace_exit()
8176 || (opline-1)->opcode == ZEND_FETCH_DIM_FUNC_ARG); in zend_jit_trace_exit()
8181 ZEND_ASSERT((opline-1)->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_exit()
8182 || (opline-1)->opcode == ZEND_FETCH_DIM_IS in zend_jit_trace_exit()
8183 || (opline-1)->opcode == ZEND_FETCH_DIM_FUNC_ARG in zend_jit_trace_exit()
8184 || (opline-1)->opcode == ZEND_FETCH_OBJ_R in zend_jit_trace_exit()
8185 || (opline-1)->opcode == ZEND_FETCH_OBJ_IS in zend_jit_trace_exit()
8186 || (opline-1)->opcode == ZEND_FETCH_OBJ_FUNC_ARG); in zend_jit_trace_exit()
8293 switch (opline->opcode) { in zend_jit_trace_supported()
8381 while (opline->opcode == ZEND_RECV || opline->opcode == ZEND_RECV_INIT) { in zend_jit_setup_hot_trace_counters()