Home
last modified time | relevance | path

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

/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/Zend/
H A Dzend_generators.c119 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()
259 uint32_t op_num, try_catch_offset; in zend_generator_dtor_storage() local
301 op_num = ex->opline - ex->func->op_array.opcodes; in zend_generator_dtor_storage()
307 if (op_num < try_catch->try_op) { in zend_generator_dtor_storage()
310 if (op_num < try_catch->catch_op || op_num < try_catch->finally_end) { in zend_generator_dtor_storage()
319 if (op_num < try_catch->finally_op) { in zend_generator_dtor_storage()
348 } else if (op_num < try_catch->finally_end) { in zend_generator_dtor_storage()
H A Dzend_opcode.c682 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 Dzend_execute.c4412 ZEND_ASSERT(op_num); in zend_unfinished_calls_gc()
4546 ZEND_ASSERT(op_num); in cleanup_unfinished_calls()
4670 if (op_num >= range->start && op_num < range->end in find_live_range()
4685 if (range->start > op_num) { in cleanup_live_vars()
4688 } else if (op_num < range->end) { in cleanup_live_vars()
4737 cleanup_unfinished_calls(execute_data, op_num); in zend_cleanup_unfinished_execution()
4788 uint32_t op_num; in zend_unfinished_execution_gc_ex() local
4792 op_num = execute_data->opline - op_array->opcodes; in zend_unfinished_execution_gc_ex()
4794 ZEND_ASSERT(op_num < op_array->last); in zend_unfinished_execution_gc_ex()
4804 if (range->start > op_num) { in zend_unfinished_execution_gc_ex()
[all …]
H A Dzend_gc.c2164 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 Dzend_execute.h433 …ls_gc(zend_execute_data *execute_data, zend_execute_data *call, uint32_t op_num, zend_get_gc_buffe…
434 ZEND_API void zend_cleanup_unfinished_execution(zend_execute_data *execute_data, uint32_t op_num, u…
H A Dzend_vm_def.h8004 …ELPER(zend_dispatch_try_catch_finally_helper, ANY, ANY, uint32_t try_catch_offset, uint32_t op_num) in ZEND_VM_HELPER() argument
8014 if (op_num < try_catch->catch_op && ex) { in ZEND_VM_HELPER()
8016 cleanup_live_vars(execute_data, op_num, try_catch->catch_op); in ZEND_VM_HELPER()
8019 } else if (op_num < try_catch->finally_op) { in ZEND_VM_HELPER()
8027 cleanup_live_vars(execute_data, op_num, try_catch->finally_op); in ZEND_VM_HELPER()
8033 } else if (op_num < try_catch->finally_end) { in ZEND_VM_HELPER()
8066 cleanup_live_vars(execute_data, op_num, 0); in ZEND_VM_HELPER()
8087 …ZEND_VM_DISPATCH_TO_HELPER(zend_dispatch_try_catch_finally_helper, try_catch_offset, -1, op_num, 0…
8151 …spatch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, throw_op_num);
8547 …atch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, current_op_num);
H A Dzend_vm_execute.h3165 …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()
3175 if (op_num < try_catch->catch_op && ex) { in zend_dispatch_try_catch_finally_helper_SPEC()
3177 cleanup_live_vars(execute_data, op_num, try_catch->catch_op); in zend_dispatch_try_catch_finally_helper_SPEC()
3180 } else if (op_num < try_catch->finally_op) { in zend_dispatch_try_catch_finally_helper_SPEC()
3188 cleanup_live_vars(execute_data, op_num, try_catch->finally_op); in zend_dispatch_try_catch_finally_helper_SPEC()
3194 } else if (op_num < try_catch->finally_end) { in zend_dispatch_try_catch_finally_helper_SPEC()
3227 cleanup_live_vars(execute_data, op_num, 0); in zend_dispatch_try_catch_finally_helper_SPEC()
/php-src/sapi/phpdbg/
H A Dphpdbg_utils.c615 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 Ddfa_pass.c474 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 Dzend_jit.c1115 uint32_t op_num = ssa->vars[i].definition; in zend_jit_allocate_registers() local
1121 && ssa->ops[op_num].result_def == i) { in zend_jit_allocate_registers()
1125 op_num++; in zend_jit_allocate_registers()
1126 if (op_array->opcodes[op_num].opcode == ZEND_OP_DATA) { in zend_jit_allocate_registers()
1127 op_num++; in zend_jit_allocate_registers()
1130 if (range->start > op_num) { in zend_jit_allocate_registers()
1136 if (zend_may_throw(op_array->opcodes + op_num, ssa->ops + op_num, op_array, ssa)) { in zend_jit_allocate_registers()
1140 op_num++; in zend_jit_allocate_registers()
1141 if (op_array->opcodes[op_num].opcode == ZEND_OP_DATA) { in zend_jit_allocate_registers()
1142 op_num++; in zend_jit_allocate_registers()
[all …]
H A Dzend_jit_trace.c924 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()
6506 uint32_t op_num = opline - op_array->opcodes; in zend_jit_trace() local
6510 op_num += zend_jit_trace_op_len(opline); in zend_jit_trace()
6512 if (range->start > op_num) { in zend_jit_trace()
6526 op_num = q->opline - op_array->opcodes; in zend_jit_trace()
[all …]

Completed in 363 milliseconds