Home
last modified time | relevance | path

Searched refs:op_num (Results 1 – 16 of 16) sorted by relevance

/php-src/Zend/
H A Dzend_generators.c118 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 Dzend_opcode.c674 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
679 if ((op_num < op_array->try_catch_array[i].finally_op || in zend_check_finally_breakout()
680 op_num >= op_array->try_catch_array[i].finally_end) in zend_check_finally_breakout()
685 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
687 } else 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()
H A Dzend_execute.c4208 zend_op *opline = EX(func)->op_array.opcodes + op_num; in zend_unfinished_calls_gc()
4221 ZEND_ASSERT(op_num); in zend_unfinished_calls_gc()
4354 ZEND_ASSERT(op_num); in cleanup_unfinished_calls()
4476 if (op_num >= range->start && op_num < range->end in find_live_range()
4491 if (range->start > op_num) { in cleanup_live_vars()
4494 } else if (op_num < range->end) { in cleanup_live_vars()
4543 cleanup_unfinished_calls(execute_data, op_num); in zend_cleanup_unfinished_execution()
4544 cleanup_live_vars(execute_data, op_num, catch_op_num); in zend_cleanup_unfinished_execution()
4605 op_num--; in zend_unfinished_execution_gc_ex()
4616 if (range->start > op_num) { in zend_unfinished_execution_gc_ex()
[all …]
H A Dzend_gc.c2054 uint32_t op_num = ex->opline - ex->func->op_array.opcodes; in zend_gc_check_root_tmpvars() local
2057 if (range->start > op_num) { in zend_gc_check_root_tmpvars()
2060 if (range->end <= op_num) { in zend_gc_check_root_tmpvars()
2084 uint32_t op_num = ex->opline - ex->func->op_array.opcodes; in zend_gc_remove_root_tmpvars() local
2087 if (range->start > op_num) { in zend_gc_remove_root_tmpvars()
2090 if (range->end <= op_num) { in zend_gc_remove_root_tmpvars()
H A Dzend_execute.h428 …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 Dzend_vm_def.h7964 …ELPER(zend_dispatch_try_catch_finally_helper, ANY, ANY, uint32_t try_catch_offset, uint32_t op_num) in ZEND_VM_HELPER() argument
7974 if (op_num < try_catch->catch_op && ex) { in ZEND_VM_HELPER()
7976 cleanup_live_vars(execute_data, op_num, try_catch->catch_op); in ZEND_VM_HELPER()
7979 } else if (op_num < try_catch->finally_op) { in ZEND_VM_HELPER()
7987 cleanup_live_vars(execute_data, op_num, try_catch->finally_op); in ZEND_VM_HELPER()
7993 } else if (op_num < try_catch->finally_end) { in ZEND_VM_HELPER()
8024 cleanup_live_vars(execute_data, op_num, 0); in ZEND_VM_HELPER()
8109 …spatch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, throw_op_num);
8513 …atch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, current_op_num);
H A Dzend_vm_execute.h3144 …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-src/ext/opcache/jit/ir/
H A Dir_ra.c357 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 Dir_private.h1178 #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 Dir_dump.c408 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 Dir_aarch64.dasc1173 return !use_pos->next || use_pos->next->op_num == 0;
H A Dir_x86.dasc2957 return !use_pos->next || use_pos->next->op_num == 0;
/php-src/sapi/phpdbg/
H A Dphpdbg_utils.c614 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-src/Zend/Optimizer/
H A Ddfa_pass.c461 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-src/ext/opcache/jit/
H A Dzend_jit.c1108 uint32_t op_num = ssa->vars[i].definition; in zend_jit_allocate_registers() local
1114 && ssa->ops[op_num].result_def == i) { in zend_jit_allocate_registers()
1118 op_num++; in zend_jit_allocate_registers()
1119 if (op_array->opcodes[op_num].opcode == ZEND_OP_DATA) { in zend_jit_allocate_registers()
1120 op_num++; in zend_jit_allocate_registers()
1123 if (range->start > op_num) { in zend_jit_allocate_registers()
1129 if (zend_may_throw(op_array->opcodes + op_num, ssa->ops + op_num, op_array, ssa)) { in zend_jit_allocate_registers()
1133 op_num++; in zend_jit_allocate_registers()
1134 if (op_array->opcodes[op_num].opcode == ZEND_OP_DATA) { in zend_jit_allocate_registers()
1135 op_num++; in zend_jit_allocate_registers()
[all …]
H A Dzend_jit_trace.c6373 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()

Completed in 254 milliseconds