Home
last modified time | relevance | path

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

/php-src/ext/opcache/jit/
H A Dzend_jit.c3503 JIT_G(on) = 0; in zend_jit_parse_config_num()
3526 JIT_G(on) = 1; in zend_jit_parse_config_num()
3542 JIT_G(on) = 0; in zend_jit_config()
3550 JIT_G(on) = 0; in zend_jit_config()
3558 JIT_G(on) = 1; in zend_jit_config()
3565 JIT_G(on) = 1; in zend_jit_config()
3583 JIT_G(on) = 0; in zend_jit_config()
3618 JIT_G(on) = 0; in zend_jit_check_support()
3629 JIT_G(on) = 0; in zend_jit_check_support()
3653 JIT_G(on) = 0; in zend_jit_check_support()
[all …]
H A Dzend_jit_vm_helpers.c261 *(jit_extension->counter) -= ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func)); in zend_jit_func_counter_helper()
281 *(jit_extension->counter) -= ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop)); in zend_jit_loop_counter_helper()
385 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func))); in zend_jit_func_trace_helper()
391 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_return) - 1) / JIT_G(hot_return))); in zend_jit_ret_trace_helper()
397 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop))); in zend_jit_loop_trace_helper()
404 if (idx >= JIT_G(max_trace_length) - 2) { \
416 if (idx >= JIT_G(max_trace_length) - 2) { \
476 uint8_t *cache_stop = JIT_G(bad_root_cache_stop); in zend_jit_trace_bad_stop_event()
1034 && JIT_G(max_recursive_returns) > 0
1146 } else if (JIT_G(max_polymorphic_calls) == 0
[all …]
H A Dzend_jit_trace.c81 JIT_G(exit_counters) = calloc(JIT_G(max_exit_counters), 1); in zend_jit_trace_startup()
146 if (JIT_G(current_frame)) { in zend_jit_trace_get_exit_point()
8121 if (JIT_G(tracing)) { in zend_jit_trace_hot_root()
8144 JIT_G(tracing) = 1; in zend_jit_trace_hot_root()
8147 JIT_G(tracing) = 0; in zend_jit_trace_hot_root()
8278 if (*counter + 1 >= JIT_G(hot_side_exit) + JIT_G(blacklist_side_trace)) { in zend_jit_trace_exit_is_bad()
8538 JIT_G(tracing) = 1; in zend_jit_trace_hot_side()
8540 JIT_G(tracing) = 0; in zend_jit_trace_hot_side()
8981 memset(JIT_G(exit_counters), 0, JIT_G(max_exit_counters)); in zend_jit_trace_init_caches()
8987 JIT_G(tracing) = 0; in zend_jit_trace_reset_caches()
[all …]
H A Dzend_jit_ir.c597 if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && JIT_G(current_frame)) { in jit_SNAPSHOT()
1204 && JIT_G(current_frame) in jit_set_Z_TYPE_INFO()
2311 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func))); in zend_jit_hybrid_func_hot_counter_stub()
2321 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop))); in zend_jit_hybrid_loop_hot_counter_stub()
2389 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func))); in zend_jit_hybrid_func_trace_counter_stub()
2399 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_return) - 1) / JIT_G(hot_return))); in zend_jit_hybrid_ret_trace_counter_stub()
2409 ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_loop) - 1) / JIT_G(hot_loop))); in zend_jit_hybrid_loop_trace_counter_stub()
3392 JIT_G(debug) = debug; in zend_jit_setup()
9842 && JIT_G(current_frame)
10666 && JIT_G(current_frame)
[all …]
H A Dzend_jit.h148 # define JIT_G(v) ZEND_TSRMG(jit_globals_id, zend_jit_globals *, v) macro
151 # define JIT_G(v) (jit_globals.v) macro
/php-src/ext/opcache/
H A Dzend_accelerator_module.c485 if (JIT_G(enabled)) {
486 if (JIT_G(on)) {
846 add_assoc_string(&directives, "opcache.jit", JIT_G(options));
847 add_assoc_long(&directives, "opcache.jit_buffer_size", JIT_G(buffer_size));
848 add_assoc_long(&directives, "opcache.jit_debug", JIT_G(debug));
849 add_assoc_long(&directives, "opcache.jit_bisect_limit", JIT_G(bisect_limit));
852 add_assoc_long(&directives, "opcache.jit_hot_func", JIT_G(hot_func));
853 add_assoc_long(&directives, "opcache.jit_hot_loop", JIT_G(hot_loop));
854 add_assoc_long(&directives, "opcache.jit_hot_return", JIT_G(hot_return));
855 add_assoc_long(&directives, "opcache.jit_hot_side_exit", JIT_G(hot_side_exit));
[all …]
H A Dzend_persist.c698 if (JIT_G(on) in zend_persist_op_array()
699 && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS in zend_persist_op_array()
820 if (JIT_G(on) in zend_persist_property_info()
821 && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS in zend_persist_property_info()
1266 bool orig_jit_on = JIT_G(on); in zend_accel_persist_class_table()
1268 JIT_G(on) = 0; in zend_accel_persist_class_table()
1283 JIT_G(on) = orig_jit_on; in zend_accel_persist_class_table()
1284 if (JIT_G(on) && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS && in zend_accel_persist_class_table()
1384 if (JIT_G(on) && for_shm) { in zend_accel_script_persist()
1405 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.c2436 bool jit_on_old = JIT_G(on); in zend_accel_inheritance_cache_add()
2437 JIT_G(on) = false; in zend_accel_inheritance_cache_add()
2444 JIT_G(on) = jit_on_old; in zend_accel_inheritance_cache_add()
3214 if (JIT_G(enabled) && JIT_G(buffer_size)
3223 jit_size = JIT_G(buffer_size);
3277 if (JIT_G(enabled)) {
3278 if (JIT_G(buffer_size) == 0) {
3279 JIT_G(enabled) = false;
3280 JIT_G(on) = false;
3299 JIT_G(enabled) = false;
[all …]
H A Dzend_file_cache.c1098 if (JIT_G(on)) {

Completed in 129 milliseconds