Lines Matching refs:opcode
295 switch (opline->opcode) { in zend_jit_trace_may_exit()
337 if (opline->extended_value == 0 && (opline+1)->opcode == ZEND_DO_FCALL) { in zend_jit_trace_may_exit()
532 if (opline->opcode == ZEND_SEND_VAL && opline->op1_type == IS_CONST) { in zend_jit_needs_arg_dtor()
623 switch (opline->opcode) { in zend_jit_trace_op_len()
636 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace_op_len()
644 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace_op_len()
701 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_add_phis()
986 if (p->opline->opcode == ZEND_DO_UCALL in find_return_ssa_var()
987 || p->opline->opcode == ZEND_DO_FCALL_BY_NAME in find_return_ssa_var()
988 || p->opline->opcode == ZEND_DO_FCALL) { in find_return_ssa_var()
1009 if (p->opline->opcode == ZEND_INIT_FCALL in zend_jit_trace_find_init_fcall_op()
1010 || p->opline->opcode == ZEND_INIT_FCALL_BY_NAME in zend_jit_trace_find_init_fcall_op()
1011 || p->opline->opcode == ZEND_INIT_NS_FCALL_BY_NAME in zend_jit_trace_find_init_fcall_op()
1012 || p->opline->opcode == ZEND_INIT_DYNAMIC_CALL in zend_jit_trace_find_init_fcall_op()
1013 || p->opline->opcode == ZEND_INIT_USER_CALL in zend_jit_trace_find_init_fcall_op()
1014 || p->opline->opcode == ZEND_NEW in zend_jit_trace_find_init_fcall_op()
1015 || p->opline->opcode == ZEND_INIT_METHOD_CALL in zend_jit_trace_find_init_fcall_op()
1016 || p->opline->opcode == ZEND_INIT_STATIC_METHOD_CALL) { in zend_jit_trace_find_init_fcall_op()
1047 switch (opline->opcode) { in zend_jit_trace_find_init_fcall_op()
1084 if (opline->opcode == ZEND_PRE_DEC in is_checked_guard()
1085 || opline->opcode == ZEND_PRE_INC in is_checked_guard()
1086 || opline->opcode == ZEND_POST_DEC in is_checked_guard()
1087 || opline->opcode == ZEND_POST_INC) { in is_checked_guard()
1096 } else if (opline->opcode == ZEND_ASSIGN_OP in is_checked_guard()
1121 if (opline->opcode == ZEND_ADD in is_checked_guard()
1122 || opline->opcode == ZEND_SUB in is_checked_guard()
1123 || opline->opcode == ZEND_MUL) { in is_checked_guard()
1150 } else if (opline->opcode == ZEND_PRE_DEC in is_checked_guard()
1151 || opline->opcode == ZEND_PRE_INC in is_checked_guard()
1152 || opline->opcode == ZEND_POST_DEC in is_checked_guard()
1153 || opline->opcode == ZEND_POST_INC) { in is_checked_guard()
1220 switch (opline->opcode) { in zend_jit_trace_build_tssa()
1406 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
1689 switch (opline->opcode) { in zend_jit_trace_build_tssa()
1730 if (opline->opcode == ZEND_ASSIGN_DIM_OP) { in zend_jit_trace_build_tssa()
1748 } else if (opline->opcode == ZEND_ASSIGN_DIM_OP in zend_jit_trace_build_tssa()
1780 if (opline->opcode == ZEND_ASSIGN_OBJ_OP) { in zend_jit_trace_build_tssa()
2143 if (len == 2 && (opline+1)->opcode == ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2173 if (len == 2 && (opline+1)->opcode == ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2194 if (opline->opcode == ZEND_RECV_INIT in zend_jit_trace_build_tssa()
2198 } else if ((opline->opcode == ZEND_FE_FETCH_R || opline->opcode == ZEND_FE_FETCH_RW) in zend_jit_trace_build_tssa()
2208 if (opline->opcode == ZEND_ASSIGN_DIM_OP in zend_jit_trace_build_tssa()
2226 if (opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace_build_tssa()
2241 if ((opline->opcode != ZEND_FE_FETCH_R && opline->opcode != ZEND_FE_FETCH_RW) in zend_jit_trace_build_tssa()
2253 if (opline->opcode != ZEND_OP_DATA) { in zend_jit_trace_build_tssa()
2285 if (opline->opcode == ZEND_RECV_INIT in zend_jit_trace_build_tssa()
2478 switch (opline->opcode) { in zend_jit_trace_build_tssa()
2510 ZEND_ASSERT(opline->opcode == ZEND_DO_ICALL || in zend_jit_trace_build_tssa()
2511 opline->opcode == ZEND_DO_FCALL || in zend_jit_trace_build_tssa()
2512 opline->opcode == ZEND_DO_FCALL_BY_NAME); in zend_jit_trace_build_tssa()
2821 && opline->opcode == ZEND_ASSIGN in zend_jit_trace_allocate_registers()
2835 if (opline->opcode == ZEND_CASE in zend_jit_trace_allocate_registers()
2836 || opline->opcode == ZEND_CASE_STRICT in zend_jit_trace_allocate_registers()
2837 || opline->opcode == ZEND_SWITCH_LONG in zend_jit_trace_allocate_registers()
2838 || opline->opcode == ZEND_MATCH in zend_jit_trace_allocate_registers()
2839 || opline->opcode == ZEND_FETCH_LIST_R in zend_jit_trace_allocate_registers()
2840 || opline->opcode == ZEND_COPY_TMP in zend_jit_trace_allocate_registers()
2841 || opline->opcode == ZEND_SWITCH_STRING in zend_jit_trace_allocate_registers()
2842 || opline->opcode == ZEND_FE_FETCH_R in zend_jit_trace_allocate_registers()
2843 || opline->opcode == ZEND_FE_FETCH_RW in zend_jit_trace_allocate_registers()
2844 || opline->opcode == ZEND_FETCH_LIST_W in zend_jit_trace_allocate_registers()
2845 || opline->opcode == ZEND_VERIFY_RETURN_TYPE in zend_jit_trace_allocate_registers()
2846 || opline->opcode == ZEND_BIND_LEXICAL in zend_jit_trace_allocate_registers()
2847 || opline->opcode == ZEND_ROPE_ADD) { in zend_jit_trace_allocate_registers()
2909 || opline->opcode == ZEND_PRE_INC in zend_jit_trace_allocate_registers()
2910 || opline->opcode == ZEND_PRE_DEC in zend_jit_trace_allocate_registers()
2911 || opline->opcode == ZEND_POST_INC in zend_jit_trace_allocate_registers()
2912 || opline->opcode == ZEND_POST_DEC in zend_jit_trace_allocate_registers()
2913 || opline->opcode == ZEND_ADD in zend_jit_trace_allocate_registers()
2914 || opline->opcode == ZEND_SUB in zend_jit_trace_allocate_registers()
2915 || opline->opcode == ZEND_MUL in zend_jit_trace_allocate_registers()
2916 || opline->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_allocate_registers()
2917 || opline->opcode == ZEND_FETCH_CONSTANT) { in zend_jit_trace_allocate_registers()
2919 || (opline->opcode != ZEND_PRE_INC && opline->opcode != ZEND_PRE_DEC)) { in zend_jit_trace_allocate_registers()
2947 switch (opline->opcode) { in zend_jit_trace_allocate_registers()
2994 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace_allocate_registers()
3009 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace_allocate_registers()
3223 switch (opline->opcode) { in zend_jit_trace_allocate_registers()
3285 } else if (opline->opcode != ZEND_SUB && in zend_jit_trace_allocate_registers()
3510 if (opline->opcode == ZEND_INIT_METHOD_CALL) { in zend_jit_may_delay_fetch_this()
3513 } else if (opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG) { in zend_jit_may_delay_fetch_this()
3520 } else if (opline->opcode != ZEND_FETCH_OBJ_R in zend_jit_may_delay_fetch_this()
3521 && opline->opcode != ZEND_FETCH_OBJ_IS in zend_jit_may_delay_fetch_this()
3522 && opline->opcode != ZEND_FETCH_OBJ_W in zend_jit_may_delay_fetch_this()
3523 && opline->opcode != ZEND_ASSIGN_OBJ in zend_jit_may_delay_fetch_this()
3524 && opline->opcode != ZEND_ASSIGN_OBJ_OP in zend_jit_may_delay_fetch_this()
3525 && opline->opcode != ZEND_PRE_INC_OBJ in zend_jit_may_delay_fetch_this()
3526 && opline->opcode != ZEND_PRE_DEC_OBJ in zend_jit_may_delay_fetch_this()
3527 && opline->opcode != ZEND_POST_INC_OBJ in zend_jit_may_delay_fetch_this()
3528 && opline->opcode != ZEND_POST_DEC_OBJ) { in zend_jit_may_delay_fetch_this()
3538 if (opline->opcode == ZEND_ASSIGN_OBJ_OP) { in zend_jit_may_delay_fetch_this()
3552 if (ssa_opcodes[i]->opcode == ZEND_DO_UCALL in zend_jit_may_delay_fetch_this()
3553 || ssa_opcodes[i]->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_may_delay_fetch_this()
3554 || ssa_opcodes[i]->opcode == ZEND_DO_FCALL in zend_jit_may_delay_fetch_this()
3555 || ssa_opcodes[i]->opcode == ZEND_INCLUDE_OR_EVAL) { in zend_jit_may_delay_fetch_this()
3755 switch (opline->opcode) { in zend_jit_trace_update_condition_ranges()
3870 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3880 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3895 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3905 prev_opcode = opline->opcode; in zend_jit_may_skip_comparison()
3915 prev_opcode = ssa_opcodes[prev_ssa_op - ssa->ops]->opcode; in zend_jit_may_skip_comparison()
3922 prev_opcode = ssa_opcodes[prev_ssa_op - ssa->ops]->opcode; in zend_jit_may_skip_comparison()
3959 && ((opline+1)->opcode == ZEND_SEND_VAL in zend_jit_trace_next_is_send_result()
3960 || ((opline+1)->opcode == ZEND_SEND_VAL_EX in zend_jit_trace_next_is_send_result()
4331 switch (opline->opcode) { in zend_jit_trace()
4345 switch (opline->opcode) { in zend_jit_trace()
4477 if (opline->opcode == ZEND_ADD && in zend_jit_trace()
4500 if (opline->opcode == ZEND_ADD && in zend_jit_trace()
4701 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4706 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4792 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4797 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4872 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
4877 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5122 if (opline->opcode == ZEND_SEND_VAL_EX in zend_jit_trace()
5167 if ((opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace()
5168 || opline->opcode == ZEND_SEND_VAR_NO_REF_EX) in zend_jit_trace()
5205 if ((opline->opcode == ZEND_SEND_VAR_EX in zend_jit_trace()
5206 || opline->opcode == ZEND_SEND_FUNC_ARG) in zend_jit_trace()
5326 if (opline->opcode == ZEND_IS_NOT_IDENTICAL) { in zend_jit_trace()
5486 opline->opcode, NULL)) { in zend_jit_trace()
5502 if (opline->opcode == ZEND_JMPNZ_EX) { in zend_jit_trace()
5504 } else if (opline->opcode == ZEND_JMPZ_EX) { in zend_jit_trace()
5506 } else if (opline->opcode == ZEND_JMPNZ) { in zend_jit_trace()
5514 smart_branch_opcode = opline->opcode; in zend_jit_trace()
5738 && (opline->opcode == ZEND_FETCH_DIM_W || opline->opcode == ZEND_FETCH_LIST_W) in zend_jit_trace()
5855 && opline->opcode == ZEND_FETCH_OBJ_W) { in zend_jit_trace()
5897 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5902 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
5927 if ((opline+1)->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
5947 (opline + 1)->opcode != ZEND_RECV_INIT, in zend_jit_trace()
5951 if ((opline+1)->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6161 on_this = ssa_opcodes[ssa->vars[ssa_op->op1_use].definition]->opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6166 …a->vars[op_array_ssa->ops[opline-op_array->opcodes].op1_use].definition].opcode == ZEND_FETCH_THIS; in zend_jit_trace()
6213 if (opline->opcode != ZEND_NOP && opline->opcode != ZEND_JMP) { in zend_jit_trace()
6228 if (opline->opcode == ZEND_NEW && opline->result_type != IS_UNUSED) { in zend_jit_trace()
6242 switch (opline->opcode) { in zend_jit_trace()
6260 if (opline->opcode == ZEND_ROPE_INIT) { in zend_jit_trace()
6287 } else if (opline->opcode == ZEND_QM_ASSIGN) { in zend_jit_trace()
6292 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6300 } else if (opline->opcode == ZEND_POST_INC in zend_jit_trace()
6301 || opline->opcode == ZEND_POST_DEC) { in zend_jit_trace()
6305 if (opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6306 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6307 || opline->opcode == ZEND_JMP_NULL) { in zend_jit_trace()
6321 if (opline->opcode == ZEND_FETCH_THIS in zend_jit_trace()
6343 && ((opline->opcode != ZEND_QM_ASSIGN && opline->opcode != ZEND_CAST) in zend_jit_trace()
6351 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6359 } else if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6360 || opline->opcode == ZEND_CAST in zend_jit_trace()
6361 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6362 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6363 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6364 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6365 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6374 (opline->opcode == ZEND_QM_ASSIGN || in zend_jit_trace()
6375 opline->opcode == ZEND_SEND_VAR || in zend_jit_trace()
6376 opline->opcode == ZEND_SEND_VAR_EX || in zend_jit_trace()
6377 opline->opcode == ZEND_SEND_VAR_NO_REF || in zend_jit_trace()
6378 opline->opcode == ZEND_SEND_VAR_NO_REF_EX || in zend_jit_trace()
6379 opline->opcode == ZEND_SEND_FUNC_ARG))))); in zend_jit_trace()
6386 if (opline->opcode == ZEND_SEND_VAR in zend_jit_trace()
6387 || opline->opcode == ZEND_CAST in zend_jit_trace()
6388 || opline->opcode == ZEND_QM_ASSIGN in zend_jit_trace()
6389 || opline->opcode == ZEND_JMP_SET in zend_jit_trace()
6390 || opline->opcode == ZEND_COALESCE in zend_jit_trace()
6391 || opline->opcode == ZEND_JMP_NULL in zend_jit_trace()
6392 || opline->opcode == ZEND_FE_RESET_R) { in zend_jit_trace()
6411 && (opline->opcode != ZEND_ASSIGN in zend_jit_trace()
6419 } else if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6428 opline->opcode == ZEND_ASSIGN)))); in zend_jit_trace()
6435 if (opline->opcode == ZEND_ASSIGN) { in zend_jit_trace()
6455 switch (opline->opcode) { in zend_jit_trace()
6473 } else if ((opline-1)->opcode == ZEND_ASSIGN_DIM in zend_jit_trace()
6474 || (opline-1)->opcode == ZEND_ASSIGN_OBJ in zend_jit_trace()
6475 || (opline-1)->opcode == ZEND_ASSIGN_STATIC_PROP) { in zend_jit_trace()
6502 while (opline->opcode == ZEND_RECV_INIT) { in zend_jit_trace()
6524 while (opline->opcode == ZEND_BIND_GLOBAL) { in zend_jit_trace()
6561 if (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
6562 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
6563 || opline->opcode == ZEND_DO_FCALL) { in zend_jit_trace()
6571 while (prev_opline->opcode == ZEND_EXT_FCALL_BEGIN || prev_opline->opcode == ZEND_TICKS) { in zend_jit_trace()
6575 if ((prev_opline->opcode == ZEND_SEND_ARRAY in zend_jit_trace()
6576 || prev_opline->opcode == ZEND_SEND_UNPACK in zend_jit_trace()
6577 || prev_opline->opcode == ZEND_CHECK_UNDEF_ARGS) in zend_jit_trace()
6699 if (init_opline && init_opline->opcode == ZEND_INIT_DYNAMIC_CALL) { in zend_jit_trace()
6704 if (init_opline->opcode != ZEND_NEW in zend_jit_trace()
6705 && (init_opline->opcode != ZEND_INIT_METHOD_CALL in zend_jit_trace()
6711 && (init_opline->opcode != ZEND_INIT_USER_CALL in zend_jit_trace()
6713 && (init_opline->opcode != ZEND_INIT_DYNAMIC_CALL in zend_jit_trace()
6717 } else if (init_opline->opcode == ZEND_NEW in zend_jit_trace()
6718 || (init_opline->opcode == ZEND_INIT_METHOD_CALL in zend_jit_trace()
6773 if (init_opline->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_jit_trace()
6776 } else if (init_opline->opcode == ZEND_INIT_METHOD_CALL) { in zend_jit_trace()
6819 switch (init_opline->opcode) { in zend_jit_trace()
6915 && opline->opcode != ZEND_DO_UCALL in zend_jit_trace()
6916 && opline->opcode != ZEND_DO_FCALL in zend_jit_trace()
6917 && opline->opcode != ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
6918 && opline->opcode != ZEND_INCLUDE_OR_EVAL) { in zend_jit_trace()
7027 && (opline->opcode == ZEND_DO_UCALL in zend_jit_trace()
7028 || opline->opcode == ZEND_DO_FCALL in zend_jit_trace()
7029 || opline->opcode == ZEND_DO_FCALL_BY_NAME in zend_jit_trace()
7030 || opline->opcode == ZEND_YIELD in zend_jit_trace()
7031 || opline->opcode == ZEND_YIELD_FROM in zend_jit_trace()
7032 || opline->opcode == ZEND_INCLUDE_OR_EVAL)) { in zend_jit_trace()
8228 && EX(opline)->opcode != ZEND_FETCH_LIST_R) { in zend_jit_trace_exit()
8238 ZEND_ASSERT((opline-1)->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_exit()
8239 || (opline-1)->opcode == ZEND_FETCH_DIM_IS in zend_jit_trace_exit()
8240 || (opline-1)->opcode == ZEND_FETCH_LIST_R in zend_jit_trace_exit()
8241 || (opline-1)->opcode == ZEND_FETCH_DIM_FUNC_ARG); in zend_jit_trace_exit()
8246 ZEND_ASSERT((opline-1)->opcode == ZEND_FETCH_DIM_R in zend_jit_trace_exit()
8247 || (opline-1)->opcode == ZEND_FETCH_DIM_IS in zend_jit_trace_exit()
8248 || (opline-1)->opcode == ZEND_FETCH_DIM_FUNC_ARG in zend_jit_trace_exit()
8249 || (opline-1)->opcode == ZEND_FETCH_OBJ_R in zend_jit_trace_exit()
8250 || (opline-1)->opcode == ZEND_FETCH_OBJ_IS in zend_jit_trace_exit()
8251 || (opline-1)->opcode == ZEND_FETCH_OBJ_FUNC_ARG); in zend_jit_trace_exit()
8371 switch (opline->opcode) { in zend_jit_trace_supported()
8459 while (opline->opcode == ZEND_RECV || opline->opcode == ZEND_RECV_INIT) { in zend_jit_setup_hot_trace_counters()