/PHP-8.2/Zend/ |
H A D | zend_generators.c | 118 uint32_t op_num = execute_data->opline - op_array->opcodes - 1; in zend_generator_cleanup_unfinished_execution() local 128 zend_cleanup_unfinished_execution(execute_data, op_num, catch_op_num); in zend_generator_cleanup_unfinished_execution() 223 uint32_t op_num, try_catch_offset; in zend_generator_dtor_storage() local 258 op_num = ex->opline - ex->func->op_array.opcodes - 1; in zend_generator_dtor_storage() 264 if (op_num < try_catch->try_op) { in zend_generator_dtor_storage() 267 if (op_num < try_catch->catch_op || op_num < try_catch->finally_end) { in zend_generator_dtor_storage() 276 if (op_num < try_catch->finally_op) { in zend_generator_dtor_storage() 304 } else if (op_num < try_catch->finally_end) { in zend_generator_dtor_storage()
|
H A D | zend_opcode.c | 665 static void zend_check_finally_breakout(zend_op_array *op_array, uint32_t op_num, uint32_t dst_num) in zend_check_finally_breakout() argument 670 if ((op_num < op_array->try_catch_array[i].finally_op || in zend_check_finally_breakout() 671 op_num >= op_array->try_catch_array[i].finally_end) in zend_check_finally_breakout() 676 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout() 678 } else if ((op_num >= op_array->try_catch_array[i].finally_op in zend_check_finally_breakout() 679 && op_num <= op_array->try_catch_array[i].finally_end) in zend_check_finally_breakout() 684 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
|
H A D | zend_execute.c | 4207 zend_op *opline = EX(func)->op_array.opcodes + op_num; in zend_unfinished_calls_gc() 4220 ZEND_ASSERT(op_num); in zend_unfinished_calls_gc() 4351 ZEND_ASSERT(op_num); in cleanup_unfinished_calls() 4471 if (op_num >= range->start && op_num < range->end in find_live_range() 4486 if (range->start > op_num) { in cleanup_live_vars() 4489 } else if (op_num < range->end) { in cleanup_live_vars() 4538 cleanup_unfinished_calls(execute_data, op_num); in zend_cleanup_unfinished_execution() 4539 cleanup_live_vars(execute_data, op_num, catch_op_num); in zend_cleanup_unfinished_execution() 4600 op_num--; in zend_unfinished_execution_gc_ex() 4611 if (range->start > op_num) { in zend_unfinished_execution_gc_ex() [all …]
|
H A D | zend_gc.c | 2048 uint32_t op_num = ex->opline - ex->func->op_array.opcodes; in zend_gc_check_root_tmpvars() local 2051 if (range->start > op_num) { in zend_gc_check_root_tmpvars() 2054 if (range->end <= op_num) { in zend_gc_check_root_tmpvars() 2078 uint32_t op_num = ex->opline - ex->func->op_array.opcodes; in zend_gc_remove_root_tmpvars() local 2081 if (range->start > op_num) { in zend_gc_remove_root_tmpvars() 2084 if (range->end <= op_num) { in zend_gc_remove_root_tmpvars()
|
H A D | zend_execute.h | 428 …ls_gc(zend_execute_data *execute_data, zend_execute_data *call, uint32_t op_num, zend_get_gc_buffe… 429 ZEND_API void zend_cleanup_unfinished_execution(zend_execute_data *execute_data, uint32_t op_num, u…
|
H A D | zend_vm_def.h | 7946 …ELPER(zend_dispatch_try_catch_finally_helper, ANY, ANY, uint32_t try_catch_offset, uint32_t op_num) in ZEND_VM_HELPER() argument 7956 if (op_num < try_catch->catch_op && ex) { in ZEND_VM_HELPER() 7958 cleanup_live_vars(execute_data, op_num, try_catch->catch_op); in ZEND_VM_HELPER() 7961 } else if (op_num < try_catch->finally_op) { in ZEND_VM_HELPER() 7969 cleanup_live_vars(execute_data, op_num, try_catch->finally_op); in ZEND_VM_HELPER() 7975 } else if (op_num < try_catch->finally_end) { in ZEND_VM_HELPER() 8006 cleanup_live_vars(execute_data, op_num, 0); in ZEND_VM_HELPER() 8091 …spatch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, throw_op_num); 8495 …atch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, current_op_num);
|
H A D | zend_vm_execute.h | 3144 …spatch_try_catch_finally_helper_SPEC(uint32_t try_catch_offset, uint32_t op_num ZEND_OPCODE_HANDLE… in zend_dispatch_try_catch_finally_helper_SPEC() 3154 if (op_num < try_catch->catch_op && ex) { in zend_dispatch_try_catch_finally_helper_SPEC() 3156 cleanup_live_vars(execute_data, op_num, try_catch->catch_op); in zend_dispatch_try_catch_finally_helper_SPEC() 3159 } else if (op_num < try_catch->finally_op) { in zend_dispatch_try_catch_finally_helper_SPEC() 3167 cleanup_live_vars(execute_data, op_num, try_catch->finally_op); in zend_dispatch_try_catch_finally_helper_SPEC() 3173 } else if (op_num < try_catch->finally_end) { in zend_dispatch_try_catch_finally_helper_SPEC() 3204 cleanup_live_vars(execute_data, op_num, 0); in zend_dispatch_try_catch_finally_helper_SPEC()
|
/PHP-8.2/ext/opcache/jit/ir/ |
H A D | ir_private.h | 1039 #define IR_USE_FLAGS(def_flags, op_num) (((def_flags) >> (6 + (IR_MIN((op_num), 3) * 2))) & 3) argument 1042 uint16_t op_num; /* 0 - means result */ member 1187 IR_ALWAYS_INLINE void ir_set_alocated_reg(ir_ctx *ctx, ir_ref ref, int op_num, int8_t reg) in ir_set_alocated_reg() argument 1191 if (op_num > 0) { in ir_set_alocated_reg() 1193 IR_ASSERT(op_num <= IR_MAX(3, ctx->ir_base[ref].inputs_count)); in ir_set_alocated_reg() 1195 regs[op_num] = reg; in ir_set_alocated_reg() 1198 IR_ALWAYS_INLINE int8_t ir_get_alocated_reg(const ir_ctx *ctx, ir_ref ref, int op_num) in ir_get_alocated_reg() argument 1203 IR_ASSERT(op_num <= IR_MAX(3, ctx->ir_base[ref].inputs_count)); in ir_get_alocated_reg() 1204 return regs[op_num]; in ir_get_alocated_reg()
|
H A D | ir_ra.c | 357 use_pos->op_num = op_num; in ir_add_use() 379 use_pos->op_num = op_num; in ir_add_phi_use() 421 if (use_pos->op_num == 0) { in ir_hint_propagation() 451 if (use_pos->op_num) { in ir_add_osr_entry_loads() 453 ref = ops[use_pos->op_num]; in ir_add_osr_entry_loads() 1103 if (use_pos->op_num) { in ir_add_osr_entry_loads() 1105 ref = ops[use_pos->op_num]; in ir_add_osr_entry_loads() 1568 (use_pos->op_num == 0 || (*prev)->op_num < use_pos->op_num)))) { in ir_vregs_join() 1689 p->op_num = 1; in ir_swap_operands() 1723 p->op_num = 2; in ir_swap_operands() [all …]
|
H A D | ir_dump.c | 391 IR_ASSERT(use_pos->op_num > 0); in ir_dump_live_ranges() 394 -use_pos->hint_ref, use_pos->op_num); in ir_dump_live_ranges() 398 -use_pos->hint_ref, use_pos->op_num); in ir_dump_live_ranges() 407 if (!use_pos->op_num) { in ir_dump_live_ranges() 413 use_pos->op_num); in ir_dump_live_ranges()
|
H A D | ir_aarch64.dasc | 1129 return !use_pos->next || use_pos->next->op_num == 0;
|
H A D | ir_x86.dasc | 2684 return !use_pos->next || use_pos->next->op_num == 0;
|
/PHP-8.2/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 614 uint32_t op_num, i; in phpdbg_check_caught_ex() local 623 op_num = op - op_array->opcodes; in phpdbg_check_caught_ex() 625 for (i = 0; i < op_array->last_try_catch && op_array->try_catch_array[i].try_op <= op_num; i++) { in phpdbg_check_caught_ex() 627 if (op_num <= catch || op_num <= finally) { in phpdbg_check_caught_ex()
|
/PHP-8.2/Zend/Optimizer/ |
H A D | dfa_pass.c | 461 uint32_t op_num = send_needly - op_array->opcodes; in zend_dfa_optimize_calls() local 462 zend_ssa_op *ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls() 470 zend_ssa_unlink_use_chain(ssa, op_num, ssa_op->op1_use); in zend_dfa_optimize_calls() 474 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls() 477 var->use_chain = op_num; in zend_dfa_optimize_calls() 497 op_num = call_info->caller_call_opline - op_array->opcodes; in zend_dfa_optimize_calls() 498 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls() 754 uint32_t op_num; in zend_dfa_optimize_jmps() local 768 op_num = block->start + block->len - 1; in zend_dfa_optimize_jmps() 769 opline = op_array->opcodes + op_num; in zend_dfa_optimize_jmps() [all …]
|
/PHP-8.2/ext/opcache/jit/ |
H A D | zend_jit.c | 1103 uint32_t op_num = ssa->vars[i].definition; in zend_jit_allocate_registers() local 1109 && ssa->ops[op_num].result_def == i) { in zend_jit_allocate_registers() 1113 op_num++; in zend_jit_allocate_registers() 1114 if (op_array->opcodes[op_num].opcode == ZEND_OP_DATA) { in zend_jit_allocate_registers() 1115 op_num++; in zend_jit_allocate_registers() 1118 if (range->start > op_num) { in zend_jit_allocate_registers() 1124 if (zend_may_throw(op_array->opcodes + op_num, ssa->ops + op_num, op_array, ssa)) { in zend_jit_allocate_registers() 1128 op_num++; in zend_jit_allocate_registers() 1129 if (op_array->opcodes[op_num].opcode == ZEND_OP_DATA) { in zend_jit_allocate_registers() 1130 op_num++; in zend_jit_allocate_registers() [all …]
|
H A D | zend_jit_trace.c | 6373 uint32_t op_num = opline - op_array->opcodes; in zend_jit_trace() local 6377 op_num += zend_jit_trace_op_len(opline); in zend_jit_trace() 6379 if (range->start > op_num) { in zend_jit_trace() 6382 } else if (op_num < range->end && var_num == (range->var & ~ZEND_LIVE_MASK)) { in zend_jit_trace() 6393 op_num = q->opline - op_array->opcodes; in zend_jit_trace() 6394 if (op_num >= range->end || op_num < range->start) { in zend_jit_trace()
|