Home
last modified time | relevance | path

Searched refs:JIT_G (Results 1 – 13 of 13) sorted by relevance

/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c257 *(jit_extension->counter) -= ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func)); in zend_jit_func_counter_helper()
277 *(jit_extension->counter) -= ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop)); in zend_jit_loop_counter_helper()
381 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func))); in zend_jit_func_trace_helper()
387 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_return) - 1) / JIT_G(hot_return))); in zend_jit_ret_trace_helper()
393 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop))); in zend_jit_loop_trace_helper()
400 if (idx >= JIT_G(max_trace_length) - 2) { \
412 if (idx >= JIT_G(max_trace_length) - 2) { \
472 uint8_t *cache_stop = JIT_G(bad_root_cache_stop); in zend_jit_trace_bad_stop_event()
981 && JIT_G(max_recursive_returns) > 0
1084 if (JIT_G(max_polymorphic_calls) == 0
[all …]
H A Dzend_jit.c4775 JIT_G(on) = 0; in zend_jit_parse_config_num()
4798 JIT_G(on) = 1; in zend_jit_parse_config_num()
4814 JIT_G(on) = 0; in zend_jit_config()
4822 JIT_G(on) = 0; in zend_jit_config()
4830 JIT_G(on) = 1; in zend_jit_config()
4837 JIT_G(on) = 1; in zend_jit_config()
4855 JIT_G(on) = 0; in zend_jit_config()
4899 JIT_G(on) = 0; in zend_jit_check_support()
4910 JIT_G(on) = 0; in zend_jit_check_support()
4925 JIT_G(on) = 0; in zend_jit_check_support()
[all …]
H A Dzend_jit_disasm.c78 JIT_G(symbols) = r; in zend_syms_rotateleft()
96 JIT_G(symbols) = l; in zend_syms_rotateright()
122 if (JIT_G(symbols)) { in zend_jit_disasm_add_symbol()
123 zend_sym_node *node = JIT_G(symbols); in zend_jit_disasm_add_symbol()
192 JIT_G(symbols) = sym; in zend_jit_disasm_add_symbol()
194 JIT_G(symbols)->info = 0; in zend_jit_disasm_add_symbol()
211 zend_sym_node *node = JIT_G(symbols); in zend_jit_disasm_find_symbol()
448 if (JIT_G(debug) & ZEND_JIT_DEBUG_ASM_ADDR) {
454 if (JIT_G(debug) & ZEND_JIT_DEBUG_ASM_ADDR) {
777 if (JIT_G(symbols)) {
[all …]
H A Dzend_jit_trace.c81 JIT_G(exit_counters) = calloc(JIT_G(max_exit_counters), 1); in zend_jit_trace_startup()
7713 if (JIT_G(tracing)) { in zend_jit_trace_hot_root()
7736 JIT_G(tracing) = 1; in zend_jit_trace_hot_root()
7739 JIT_G(tracing) = 0; in zend_jit_trace_hot_root()
7870 if (*counter + 1 >= JIT_G(hot_side_exit) + JIT_G(blacklist_side_trace)) { in zend_jit_trace_exit_is_bad()
8075 JIT_G(tracing) = 1; in zend_jit_trace_hot_side()
8077 JIT_G(tracing) = 0; in zend_jit_trace_hot_side()
8443 if (JIT_G(hot_loop)) { in zend_jit_setup_hot_trace_counters()
8505 memset(JIT_G(exit_counters), 0, JIT_G(max_exit_counters)); in zend_jit_trace_init_caches()
8511 JIT_G(tracing) = 0; in zend_jit_trace_reset_caches()
[all …]
H A Dzend_jit.h136 # define JIT_G(v) ZEND_TSRMG(jit_globals_id, zend_jit_globals *, v) macro
139 # define JIT_G(v) (jit_globals.v) macro
H A Dzend_jit_x86.dasc2266 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func)));
2278 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop)));
2324 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func)));
2336 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_return) - 1) / JIT_G(hot_return)));
2348 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop)));
4352 && JIT_G(current_frame)
10866 && JIT_G(current_frame)
11609 if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && JIT_G(current_frame)) {
11841 && JIT_G(current_frame)
12657 && JIT_G(current_frame)
[all …]
H A Dzend_jit_arm64.dasc2271 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func)));
2283 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop)));
2340 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func)));
2352 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_return) - 1) / JIT_G(hot_return)));
2364 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop)));
4013 && JIT_G(current_frame)
10148 && JIT_G(current_frame)
10894 if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && JIT_G(current_frame)) {
11107 && JIT_G(current_frame)
11898 && JIT_G(current_frame)
[all …]
H A Dzend_jit_gdb.c520 JIT_G(debug) |= ZEND_JIT_DEBUG_GDB; in zend_jit_gdb_init()
/PHP-8.3/ext/opcache/
H A Dzend_accelerator_module.c474 if (JIT_G(enabled)) {
475 if (JIT_G(on)) {
835 add_assoc_string(&directives, "opcache.jit", JIT_G(options));
836 add_assoc_long(&directives, "opcache.jit_buffer_size", JIT_G(buffer_size));
837 add_assoc_long(&directives, "opcache.jit_debug", JIT_G(debug));
838 add_assoc_long(&directives, "opcache.jit_bisect_limit", JIT_G(bisect_limit));
841 add_assoc_long(&directives, "opcache.jit_hot_func", JIT_G(hot_func));
842 add_assoc_long(&directives, "opcache.jit_hot_loop", JIT_G(hot_loop));
843 add_assoc_long(&directives, "opcache.jit_hot_return", JIT_G(hot_return));
844 add_assoc_long(&directives, "opcache.jit_hot_side_exit", JIT_G(hot_side_exit));
[all …]
H A Dzend_persist.c697 if (JIT_G(on) in zend_persist_op_array()
698 && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS in zend_persist_op_array()
1236 bool orig_jit_on = JIT_G(on); in zend_accel_persist_class_table()
1238 JIT_G(on) = 0; in zend_accel_persist_class_table()
1253 JIT_G(on) = orig_jit_on; in zend_accel_persist_class_table()
1254 if (JIT_G(on) && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS && in zend_accel_persist_class_table()
1283 && (JIT_G(trigger) == ZEND_JIT_ON_FIRST_EXEC in zend_accel_persist_class_table()
1284 || JIT_G(trigger) == ZEND_JIT_ON_PROF_REQUEST in zend_accel_persist_class_table()
1354 if (JIT_G(on) && for_shm) { in zend_accel_script_persist()
1375 if (JIT_G(on) && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS) { in zend_accel_script_persist()
[all …]
H A Dshared_alloc_mmap.c205 if (JIT_G(enabled) && JIT_G(buffer_size) in create_segments()
H A DZendAccelerator.c3187 if (JIT_G(enabled) && JIT_G(buffer_size)
3196 jit_size = JIT_G(buffer_size);
3250 if (JIT_G(enabled)) {
3251 if (JIT_G(buffer_size) == 0
3254 JIT_G(enabled) = false;
3255 JIT_G(on) = false;
3258 if (JIT_G(buffer_size) != 0) {
3274 JIT_G(enabled) = false;
3275 JIT_G(on) = false;
H A Dzend_file_cache.c1073 if (JIT_G(on)) {

Completed in 238 milliseconds