Lines Matching refs:trace_num
3580 static int zend_jit_trace_exit_needs_deoptimization(uint32_t trace_num, uint32_t exit_num) in zend_jit_trace_exit_needs_deoptimization() argument
3582 const zend_op *opline = zend_jit_traces[trace_num].exit_info[exit_num].opline; in zend_jit_trace_exit_needs_deoptimization()
3583 uint32_t flags = zend_jit_traces[trace_num].exit_info[exit_num].flags; in zend_jit_trace_exit_needs_deoptimization()
3591 stack_size = zend_jit_traces[trace_num].exit_info[exit_num].stack_size; in zend_jit_trace_exit_needs_deoptimization()
3592 …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()
7095 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
7106 if (!zend_jit_trace_exit_needs_deoptimization(trace_num, exit_num)) { in zend_jit_trace_exit_to_vm()
7112 sprintf(name, "ESCAPE-%d-%d", trace_num, exit_num); in zend_jit_trace_exit_to_vm()
7121 stack_size = zend_jit_traces[trace_num].exit_info[exit_num].stack_size; in zend_jit_trace_exit_to_vm()
7122 …stack = zend_jit_traces[trace_num].stack_map + zend_jit_traces[trace_num].exit_info[exit_num].stac… in zend_jit_trace_exit_to_vm()
7125 zend_jit_traces[trace_num].exit_info[exit_num].flags, in zend_jit_trace_exit_to_vm()
7126 zend_jit_traces[trace_num].exit_info[exit_num].opline, in zend_jit_trace_exit_to_vm()
7131 opline = zend_jit_traces[trace_num].exit_info[exit_num].opline; in zend_jit_trace_exit_to_vm()
7133 if (opline == zend_jit_traces[zend_jit_traces[trace_num].root].opline) { in zend_jit_trace_exit_to_vm()
7696 uint32_t trace_num; in zend_jit_trace_hot_root() local
7704 trace_num = ZEND_JIT_TRACE_NUM; in zend_jit_trace_hot_root()
7724 trace_num, in zend_jit_trace_hot_root()
7763 trace_num, in zend_jit_trace_hot_root()
7784 trace_num, in zend_jit_trace_hot_root()
7788 trace_num, in zend_jit_trace_hot_root()
7796 trace_num, in zend_jit_trace_hot_root()
7806 trace_num, in zend_jit_trace_hot_root()
7813 trace_num); in zend_jit_trace_hot_root()
7831 static void zend_jit_blacklist_trace_exit(uint32_t trace_num, uint32_t exit_num) in zend_jit_blacklist_trace_exit() argument
7838 …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()
7843 handler = zend_jit_trace_exit_to_vm(trace_num, exit_num); in zend_jit_blacklist_trace_exit()
7847 zend_jit_traces[trace_num].code_start, in zend_jit_blacklist_trace_exit()
7848 zend_jit_traces[trace_num].code_size, in zend_jit_blacklist_trace_exit()
7849 zend_jit_traces[trace_num].jmp_table_size, in zend_jit_blacklist_trace_exit()
7853 zend_jit_traces[trace_num].exit_info[exit_num].flags |= ZEND_JIT_EXIT_BLACKLISTED; in zend_jit_blacklist_trace_exit()
7869 static bool zend_jit_trace_exit_is_bad(uint32_t trace_num, uint32_t exit_num) in zend_jit_trace_exit_is_bad() argument
7872 zend_jit_traces[trace_num].exit_counters + exit_num; in zend_jit_trace_exit_is_bad()
7881 static bool zend_jit_trace_exit_is_hot(uint32_t trace_num, uint32_t exit_num) in zend_jit_trace_exit_is_hot() argument
7884 zend_jit_traces[trace_num].exit_counters + exit_num; in zend_jit_trace_exit_is_hot()
8031 uint32_t trace_num; in zend_jit_trace_hot_side() local
8036 trace_num = ZEND_JIT_TRACE_NUM; in zend_jit_trace_hot_side()
8045 trace_num, parent_num, exit_num, in zend_jit_trace_hot_side()
8097 trace_num, in zend_jit_trace_hot_side()
8118 trace_num, in zend_jit_trace_hot_side()
8122 trace_num, in zend_jit_trace_hot_side()
8139 trace_num, in zend_jit_trace_hot_side()
8149 trace_num, in zend_jit_trace_hot_side()
8175 uint32_t trace_num = EG(jit_trace_num); in zend_jit_trace_exit() local
8179 zend_jit_trace_info *t = &zend_jit_traces[trace_num]; in zend_jit_trace_exit()
8309 trace_num, in zend_jit_trace_exit()
8321 uint32_t num = trace_num; in zend_jit_trace_exit()
8374 if (zend_jit_trace_exit_is_bad(trace_num, exit_num)) { in zend_jit_trace_exit()
8375 zend_jit_blacklist_trace_exit(trace_num, exit_num); in zend_jit_trace_exit()
8378 trace_num, exit_num); in zend_jit_trace_exit()
8382 } else if (JIT_G(hot_side_exit) && zend_jit_trace_exit_is_hot(trace_num, exit_num)) { in zend_jit_trace_exit()
8383 return zend_jit_trace_hot_side(execute_data, trace_num, exit_num); in zend_jit_trace_exit()