Lines Matching refs:trace_num

3508 static int zend_jit_trace_exit_needs_deoptimization(uint32_t trace_num, uint32_t exit_num)  in zend_jit_trace_exit_needs_deoptimization()  argument
3510 const zend_op *opline = zend_jit_traces[trace_num].exit_info[exit_num].opline; in zend_jit_trace_exit_needs_deoptimization()
3511 uint32_t flags = zend_jit_traces[trace_num].exit_info[exit_num].flags; in zend_jit_trace_exit_needs_deoptimization()
3519 stack_size = zend_jit_traces[trace_num].exit_info[exit_num].stack_size; in zend_jit_trace_exit_needs_deoptimization()
3520 …stack = zend_jit_traces[trace_num].stack_map + zend_jit_traces[trace_num].exit_info[exit_num].stac… in zend_jit_trace_exit_needs_deoptimization()
7398 static zend_string *zend_jit_trace_escape_name(uint32_t trace_num, uint32_t exit_num) in zend_jit_trace_escape_name() argument
7403 smart_str_append_long(&buf, (zend_long)trace_num); in zend_jit_trace_escape_name()
7410 static const void *zend_jit_trace_exit_to_vm(uint32_t trace_num, uint32_t exit_num) in zend_jit_trace_exit_to_vm() argument
7421 if (!zend_jit_trace_exit_needs_deoptimization(trace_num, exit_num)) { in zend_jit_trace_exit_to_vm()
7425 name = zend_jit_trace_escape_name(trace_num, exit_num); in zend_jit_trace_exit_to_vm()
7427 if (!zend_jit_deoptimizer_start(&ctx, name, trace_num, exit_num)) { in zend_jit_trace_exit_to_vm()
7435 stack_size = zend_jit_traces[trace_num].exit_info[exit_num].stack_size; in zend_jit_trace_exit_to_vm()
7436 stack = zend_jit_traces[trace_num].exit_info[exit_num].stack_size ? in zend_jit_trace_exit_to_vm()
7437 …zend_jit_traces[trace_num].stack_map + zend_jit_traces[trace_num].exit_info[exit_num].stack_offset… in zend_jit_trace_exit_to_vm()
7441 zend_jit_traces[trace_num].exit_info[exit_num].flags, in zend_jit_trace_exit_to_vm()
7442 zend_jit_traces[trace_num].exit_info[exit_num].opline, in zend_jit_trace_exit_to_vm()
7444 zend_jit_traces[trace_num].constants, in zend_jit_trace_exit_to_vm()
7445 zend_jit_traces[trace_num].exit_info[exit_num].poly_func_reg, in zend_jit_trace_exit_to_vm()
7450 opline = zend_jit_traces[trace_num].exit_info[exit_num].opline; in zend_jit_trace_exit_to_vm()
7452 if (opline == zend_jit_traces[zend_jit_traces[trace_num].root].opline) { in zend_jit_trace_exit_to_vm()
7454 …(zend_jit_op_array_trace_extension*)ZEND_FUNC_INFO(zend_jit_traces[zend_jit_traces[trace_num].root… in zend_jit_trace_exit_to_vm()
8100 uint32_t trace_num; in zend_jit_trace_hot_root() local
8108 trace_num = ZEND_JIT_TRACE_NUM; in zend_jit_trace_hot_root()
8128 trace_num, in zend_jit_trace_hot_root()
8167 trace_num, in zend_jit_trace_hot_root()
8188 trace_num, in zend_jit_trace_hot_root()
8192 trace_num, in zend_jit_trace_hot_root()
8200 trace_num, in zend_jit_trace_hot_root()
8210 trace_num, in zend_jit_trace_hot_root()
8217 trace_num); in zend_jit_trace_hot_root()
8235 static void zend_jit_blacklist_trace_exit(uint32_t trace_num, uint32_t exit_num) in zend_jit_blacklist_trace_exit() argument
8242 …if (!(zend_jit_traces[trace_num].exit_info[exit_num].flags & (ZEND_JIT_EXIT_JITED|ZEND_JIT_EXIT_BL… in zend_jit_blacklist_trace_exit()
8247 handler = zend_jit_trace_exit_to_vm(trace_num, exit_num); in zend_jit_blacklist_trace_exit()
8251 zend_jit_traces[trace_num].code_start, in zend_jit_blacklist_trace_exit()
8252 zend_jit_traces[trace_num].code_size, in zend_jit_blacklist_trace_exit()
8253 zend_jit_traces[trace_num].jmp_table_size, in zend_jit_blacklist_trace_exit()
8257 zend_jit_traces[trace_num].exit_info[exit_num].flags |= ZEND_JIT_EXIT_BLACKLISTED; in zend_jit_blacklist_trace_exit()
8273 static bool zend_jit_trace_exit_is_bad(uint32_t trace_num, uint32_t exit_num) in zend_jit_trace_exit_is_bad() argument
8276 zend_jit_traces[trace_num].exit_counters + exit_num; in zend_jit_trace_exit_is_bad()
8285 static bool zend_jit_trace_exit_is_hot(uint32_t trace_num, uint32_t exit_num) in zend_jit_trace_exit_is_hot() argument
8288 zend_jit_traces[trace_num].exit_counters + exit_num; in zend_jit_trace_exit_is_hot()
8466 uint32_t trace_num; in zend_jit_trace_hot_side() local
8473 trace_num = ZEND_JIT_TRACE_NUM; in zend_jit_trace_hot_side()
8482 trace_num, parent_num, exit_num, in zend_jit_trace_hot_side()
8556 trace_num, in zend_jit_trace_hot_side()
8577 trace_num, in zend_jit_trace_hot_side()
8581 trace_num, in zend_jit_trace_hot_side()
8598 trace_num, in zend_jit_trace_hot_side()
8608 trace_num, in zend_jit_trace_hot_side()
8634 uint32_t trace_num = EG(jit_trace_num); in zend_jit_trace_exit() local
8638 zend_jit_trace_info *t = &zend_jit_traces[trace_num]; in zend_jit_trace_exit()
8781 trace_num, in zend_jit_trace_exit()
8793 uint32_t num = trace_num; in zend_jit_trace_exit()
8846 if (zend_jit_trace_exit_is_bad(trace_num, exit_num)) { in zend_jit_trace_exit()
8847 zend_jit_blacklist_trace_exit(trace_num, exit_num); in zend_jit_trace_exit()
8850 trace_num, exit_num); in zend_jit_trace_exit()
8854 } else if (JIT_G(hot_side_exit) && zend_jit_trace_exit_is_hot(trace_num, exit_num)) { in zend_jit_trace_exit()
8855 return zend_jit_trace_hot_side(execute_data, trace_num, exit_num); in zend_jit_trace_exit()