/php-src/ext/opcache/jit/ir/ |
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() 1107 if (use_pos->op_num) { in ir_add_osr_entry_loads() 1109 ref = ops[use_pos->op_num]; in ir_add_osr_entry_loads() 1608 (use_pos->op_num == 0 || (*prev)->op_num < use_pos->op_num)))) { in ir_vregs_join() 1736 p->op_num = 1; in ir_swap_operands() 1770 p->op_num = 2; in ir_swap_operands() [all …]
|
H A D | ir_private.h | 1178 #define IR_USE_FLAGS(def_flags, op_num) (((def_flags) >> (6 + (IR_MIN((op_num), 3) * 2))) & 3) argument 1181 uint16_t op_num; /* 0 - means result */ member 1326 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 1330 if (op_num > 0) { in ir_set_alocated_reg() 1332 IR_ASSERT(op_num <= IR_MAX(3, ctx->ir_base[ref].inputs_count)); in ir_set_alocated_reg() 1334 regs[op_num] = reg; in ir_set_alocated_reg() 1337 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 1342 IR_ASSERT(op_num <= IR_MAX(3, ctx->ir_base[ref].inputs_count)); in ir_get_alocated_reg() 1343 return regs[op_num]; in ir_get_alocated_reg()
|
H A D | ir_dump.c | 408 IR_ASSERT(use_pos->op_num > 0); in ir_dump_live_ranges() 411 -use_pos->hint_ref, use_pos->op_num); in ir_dump_live_ranges() 415 -use_pos->hint_ref, use_pos->op_num); in ir_dump_live_ranges() 424 if (!use_pos->op_num) { in ir_dump_live_ranges() 430 use_pos->op_num); in ir_dump_live_ranges()
|
H A D | ir_aarch64.dasc | 1173 return !use_pos->next || use_pos->next->op_num == 0;
|
H A D | ir_x86.dasc | 2957 return !use_pos->next || use_pos->next->op_num == 0;
|
/php-src/Zend/ |
H A D | zend_generators.c | 119 uint32_t op_num = execute_data->opline - op_array->opcodes; in zend_generator_cleanup_unfinished_execution() local 129 zend_cleanup_unfinished_execution(execute_data, op_num, catch_op_num); in zend_generator_cleanup_unfinished_execution() 246 uint32_t op_num, try_catch_offset; in zend_generator_dtor_storage() local 288 op_num = ex->opline - ex->func->op_array.opcodes; in zend_generator_dtor_storage() 294 if (op_num < try_catch->try_op) { in zend_generator_dtor_storage() 297 if (op_num < try_catch->catch_op || op_num < try_catch->finally_end) { in zend_generator_dtor_storage() 306 if (op_num < try_catch->finally_op) { in zend_generator_dtor_storage() 335 } else if (op_num < try_catch->finally_end) { in zend_generator_dtor_storage()
|
H A D | zend_opcode.c | 682 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 687 if ((op_num < op_array->try_catch_array[i].finally_op || in zend_check_finally_breakout() 688 op_num >= op_array->try_catch_array[i].finally_end) in zend_check_finally_breakout() 693 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout() 695 } else if ((op_num >= op_array->try_catch_array[i].finally_op in zend_check_finally_breakout() 696 && op_num <= op_array->try_catch_array[i].finally_end) in zend_check_finally_breakout() 701 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
|
H A D | zend_execute.c | 4460 ZEND_ASSERT(op_num); in zend_unfinished_calls_gc() 4594 ZEND_ASSERT(op_num); in cleanup_unfinished_calls() 4718 if (op_num >= range->start && op_num < range->end in find_live_range() 4733 if (range->start > op_num) { in cleanup_live_vars() 4736 } else if (op_num < range->end) { in cleanup_live_vars() 4785 cleanup_unfinished_calls(execute_data, op_num); in zend_cleanup_unfinished_execution() 4836 uint32_t op_num; in zend_unfinished_execution_gc_ex() local 4840 op_num = execute_data->opline - op_array->opcodes; in zend_unfinished_execution_gc_ex() 4842 ZEND_ASSERT(op_num < op_array->last); in zend_unfinished_execution_gc_ex() 4852 if (range->start > op_num) { in zend_unfinished_execution_gc_ex() [all …]
|
H A D | zend_gc.c | 2164 uint32_t op_num = ex->opline - ex->func->op_array.opcodes; in zend_gc_check_root_tmpvars() local 2167 if (range->start > op_num) { in zend_gc_check_root_tmpvars() 2170 if (range->end <= op_num) { in zend_gc_check_root_tmpvars() 2194 uint32_t op_num = ex->opline - ex->func->op_array.opcodes; in zend_gc_remove_root_tmpvars() local 2197 if (range->start > op_num) { in zend_gc_remove_root_tmpvars() 2200 if (range->end <= op_num) { in zend_gc_remove_root_tmpvars()
|
H A D | zend_execute.h | 434 …ls_gc(zend_execute_data *execute_data, zend_execute_data *call, uint32_t op_num, zend_get_gc_buffe… 435 ZEND_API void zend_cleanup_unfinished_execution(zend_execute_data *execute_data, uint32_t op_num, u…
|
H A D | zend_vm_def.h | 8039 …ELPER(zend_dispatch_try_catch_finally_helper, ANY, ANY, uint32_t try_catch_offset, uint32_t op_num) in ZEND_VM_HELPER() argument 8049 if (op_num < try_catch->catch_op && ex) { in ZEND_VM_HELPER() 8051 cleanup_live_vars(execute_data, op_num, try_catch->catch_op); in ZEND_VM_HELPER() 8054 } else if (op_num < try_catch->finally_op) { in ZEND_VM_HELPER() 8062 cleanup_live_vars(execute_data, op_num, try_catch->finally_op); in ZEND_VM_HELPER() 8068 } else if (op_num < try_catch->finally_end) { in ZEND_VM_HELPER() 8101 cleanup_live_vars(execute_data, op_num, 0); in ZEND_VM_HELPER() 8122 …ZEND_VM_DISPATCH_TO_HELPER(zend_dispatch_try_catch_finally_helper, try_catch_offset, -1, op_num, 0… 8186 …spatch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, throw_op_num); 8582 …atch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, current_op_num);
|
H A D | zend_vm_execute.h | 3176 …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() 3186 if (op_num < try_catch->catch_op && ex) { in zend_dispatch_try_catch_finally_helper_SPEC() 3188 cleanup_live_vars(execute_data, op_num, try_catch->catch_op); in zend_dispatch_try_catch_finally_helper_SPEC() 3191 } else if (op_num < try_catch->finally_op) { in zend_dispatch_try_catch_finally_helper_SPEC() 3199 cleanup_live_vars(execute_data, op_num, try_catch->finally_op); in zend_dispatch_try_catch_finally_helper_SPEC() 3205 } else if (op_num < try_catch->finally_end) { in zend_dispatch_try_catch_finally_helper_SPEC() 3238 cleanup_live_vars(execute_data, op_num, 0); in zend_dispatch_try_catch_finally_helper_SPEC()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 615 uint32_t op_num, i; in phpdbg_check_caught_ex() local 624 op_num = op - op_array->opcodes; in phpdbg_check_caught_ex() 626 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() 628 if (op_num <= catch || op_num <= finally) { in phpdbg_check_caught_ex()
|
/php-src/Zend/Optimizer/ |
H A D | dfa_pass.c | 474 uint32_t op_num = send_needly - op_array->opcodes; in zend_dfa_optimize_calls() local 475 zend_ssa_op *ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls() 483 zend_ssa_unlink_use_chain(ssa, op_num, ssa_op->op1_use); in zend_dfa_optimize_calls() 487 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls() 490 var->use_chain = op_num; in zend_dfa_optimize_calls() 510 op_num = call_info->caller_call_opline - op_array->opcodes; in zend_dfa_optimize_calls() 511 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls() 767 uint32_t op_num; in zend_dfa_optimize_jmps() local 781 op_num = block->start + block->len - 1; in zend_dfa_optimize_jmps() 782 opline = op_array->opcodes + op_num; in zend_dfa_optimize_jmps() [all …]
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit.c | 1226 uint32_t op_num = ssa->vars[i].definition; in zend_jit_allocate_registers() local 1232 && ssa->ops[op_num].result_def == i) { in zend_jit_allocate_registers() 1236 op_num++; in zend_jit_allocate_registers() 1237 if (op_array->opcodes[op_num].opcode == ZEND_OP_DATA) { in zend_jit_allocate_registers() 1238 op_num++; in zend_jit_allocate_registers() 1241 if (range->start > op_num) { in zend_jit_allocate_registers() 1247 if (zend_may_throw(op_array->opcodes + op_num, ssa->ops + op_num, op_array, ssa)) { in zend_jit_allocate_registers() 1251 op_num++; in zend_jit_allocate_registers() 1252 if (op_array->opcodes[op_num].opcode == ZEND_OP_DATA) { in zend_jit_allocate_registers() 1253 op_num++; in zend_jit_allocate_registers() [all …]
|
H A D | zend_jit_trace.c | 924 uint32_t op_num = opline - op_array->opcodes; in zend_jit_trace_copy_ssa_var_info() local 925 uint32_t b = ssa->cfg.map[op_num]; in zend_jit_trace_copy_ssa_var_info() 930 while (op_num > bb->start) { in zend_jit_trace_copy_ssa_var_info() 931 op_num--; in zend_jit_trace_copy_ssa_var_info() 932 op = ssa->ops + op_num; in zend_jit_trace_copy_ssa_var_info() 966 op_num = bb->start + bb->len; in zend_jit_trace_copy_ssa_var_info() 6580 uint32_t op_num = opline - op_array->opcodes; in zend_jit_trace() local 6584 op_num += zend_jit_trace_op_len(opline); in zend_jit_trace() 6586 if (range->start > op_num) { in zend_jit_trace() 6600 op_num = q->opline - op_array->opcodes; in zend_jit_trace() [all …]
|