/PHP-8.1/Zend/Optimizer/ |
H A D | compact_vars.c | 29 uint32_t used_vars_len = zend_bitset_len(op_array->last_var + op_array->T); in zend_optimizer_compact_vars() 31 uint32_t *vars_map = do_alloca((op_array->last_var + op_array->T) * sizeof(uint32_t), use_heap2); in zend_optimizer_compact_vars() 57 for (i = 0; i < op_array->last_var; i++) { in zend_optimizer_compact_vars() 66 for (i = op_array->last_var; i < op_array->last_var + op_array->T; i++) { in zend_optimizer_compact_vars() 75 if (num_cvs == op_array->last_var && num_tmps == op_array->T) { in zend_optimizer_compact_vars() 80 ZEND_ASSERT(num_cvs <= op_array->last_var); in zend_optimizer_compact_vars() 98 if (num_cvs != op_array->last_var) { in zend_optimizer_compact_vars() 101 for (i = 0; i < op_array->last_var; i++) { in zend_optimizer_compact_vars() 111 for (i = 0; i < op_array->last_var; i++) { in zend_optimizer_compact_vars() 117 op_array->last_var = num_cvs; in zend_optimizer_compact_vars()
|
H A D | zend_ssa.c | 804 memcpy(tmp, var, sizeof(int) * (op_array->last_var + op_array->T)); in zend_ssa_rename() 920 if ((blocks_count * (op_array->last_var + op_array->T)) > 4 * 1024 * 1024) { in zend_build_ssa() 929 dfg.vars = op_array->last_var + op_array->T; in zend_build_ssa() 1039 memset(var + op_array->last_var, 0xff, op_array->T * sizeof(int)); in zend_build_ssa() 1041 for (j = 0; j < op_array->last_var; j++) { in zend_build_ssa() 1044 ssa->vars_count = op_array->last_var; in zend_build_ssa() 1068 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_compute_use_def_chains() 1074 for (i = op_array->last_var; i < ssa->vars_count; i++) { in zend_ssa_compute_use_def_chains() 1161 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_compute_use_def_chains() 1168 for (i = op_array->last_var; i < ssa->vars_count; i++) { in zend_ssa_compute_use_def_chains() [all …]
|
H A D | zend_dump.c | 137 if (var_type == IS_CV && var_num < op_array->last_var) { in zend_dump_var() 358 zend_dump_var(op_array, (var_num < op_array->last_var ? IS_CV : var_type), var_num); in zend_dump_ssa_var() 396 …zend_dump_ssa_var(op_array, ssa, r->min_ssa_var, (r->min_var < op_array->last_var ? IS_CV : 0), r-… in zend_dump_range_constraint() 411 …zend_dump_ssa_var(op_array, ssa, r->max_ssa_var, (r->max_var < op_array->last_var ? IS_CV : 0), r-… in zend_dump_range_constraint() 935 fprintf(stderr, ", vars=%d, tmps=%d", op_array->last_var, op_array->T); in zend_dump_op_array() 995 for (i = 0; i < op_array->last_var; i++) { in zend_dump_op_array() 1163 for (j = 0; j < op_array->last_var; j++) { in zend_dump_variables() 1201 for (i = 0; i < op_array->last_var + op_array->T; i++) { in zend_dump_var_set()
|
H A D | ssa_integrity.c | 104 (i), (ssa->vars[i].var < op_array->last_var ? "CV $" : "TMP"), \ 105 (ssa->vars[i].var < op_array->last_var ? ZSTR_VAL(op_array->vars[ssa->vars[i].var]) : "") 122 if (var->definition < 0 && !var->definition_phi && i > op_array->last_var) { in ssa_verify_integrity()
|
H A D | optimize_temp_vars_5.c | 44 int offset = op_array->last_var; in zend_optimize_temporary_variables()
|
H A D | escape_analysis.c | 385 for (i = op_array->last_var; i < ssa_vars_count; i++) { in zend_ssa_escape_analysis() 410 for (i = op_array->last_var; i < ssa_vars_count; i++) { in zend_ssa_escape_analysis()
|
H A D | dce.c | 336 return var_num >= ctx->op_array->last_var; in is_var_dead() 560 if (phi->var >= op_array->last_var in dce_optimize_op_array()
|
H A D | block_pass.c | 1601 bitset_len = zend_bitset_len(op_array->last_var + op_array->T); in zend_t_usage() 1669 for (i = op_array->last_var; i< op_array->T; i++) { in zend_t_usage() 1877 if (cfg.blocks_count * (op_array->last_var + op_array->T) > 64 * 1024 * 1024) { in zend_optimize_cfg() 1886 bitset_len = zend_bitset_len(op_array->last_var + op_array->T); in zend_optimize_cfg() 1887 Tsource = zend_arena_calloc(&ctx->arena, op_array->last_var + op_array->T, sizeof(zend_op *)); in zend_optimize_cfg() 1909 memset(Tsource, 0, (op_array->last_var + op_array->T) * sizeof(zend_op *)); in zend_optimize_cfg()
|
H A D | sccp.c | 2444 for (i = ssa->vars_count - 1; i >= op_array->last_var; i--) { in replace_constant_operands() 2512 for (; i < op_array->last_var; ++i) { in sccp_context_init() 2528 for (i = sccp->scdf.op_array->last_var; i < sccp->scdf.ssa->vars_count; ++i) { in sccp_context_free() 2551 for (i = op_array->last_var; i < ssa->vars_count; i++) { in sccp_optimize_op_array()
|
H A D | zend_inference.c | 1257 if (var < op_array->last_var && in zend_inference_calc_range() 1988 if (__ssa_var->var < op_array->last_var) { \ 2002 __ssa_var->var >= op_array->last_var || \ 4223 for (v = op_array->last_var; v < ssa->vars_count; v++) { in zend_type_narrowing() 4535 for (j = op_array->last_var; j < ssa_vars_count; j++) { in zend_infer_types() 4572 if (def >= 0 && ssa->vars[var].var < op_array->last_var) { in zend_mark_cv_references() 4706 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_inference() 4711 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_inference() 4719 for (i = op_array->last_var; i < ssa->vars_count; i++) { in zend_ssa_inference()
|
/PHP-8.1/Zend/ |
H A D | zend_opcode.c | 59 op_array->last_var = 0; in init_op_array() 538 i = op_array->last_var; in destroy_op_array() 694 range->var = EX_NUM_TO_VAR(op_array->last_var + var_num); in emit_live_range_raw() 799 uint32_t rt_var_num = EX_NUM_TO_VAR(op_array->last_var + var_num); in emit_live_range() 895 uint32_t var_offset = op_array->last_var; in zend_calc_live_ranges() 1016 if (CG(context).vars_size != op_array->last_var) { in pass_two() 1017 …op_array->vars = (zend_string**) erealloc(op_array->vars, sizeof(zend_string*)*op_array->last_var); in pass_two() 1018 CG(context).vars_size = op_array->last_var; in pass_two() 1151 opline->op1.var = EX_NUM_TO_VAR(op_array->last_var + opline->op1.var); in pass_two() 1156 opline->op2.var = EX_NUM_TO_VAR(op_array->last_var + opline->op2.var); in pass_two() [all …]
|
H A D | zend_execute_API.c | 1695 if (!ex->func->op_array.last_var) { in zend_rebuild_symbol_table() 1701 if (!ex->func->op_array.last_var) { in zend_rebuild_symbol_table() 1707 if (EXPECTED(ex->func->op_array.last_var)) { in zend_rebuild_symbol_table() 1729 if (EXPECTED(op_array->last_var)) { in zend_attach_symbol_table() 1731 zend_string **end = str + op_array->last_var; in zend_attach_symbol_table() 1763 if (EXPECTED(op_array->last_var)) { in zend_detach_symbol_table() 1765 zend_string **end = str + op_array->last_var; in zend_detach_symbol_table() 1795 if (EXPECTED(op_array->last_var)) { in zend_set_local_var() 1797 zend_string **end = str + op_array->last_var; in zend_set_local_var() 1837 if (EXPECTED(op_array->last_var)) { in zend_set_local_var_str() [all …]
|
H A D | zend_execute.h | 253 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack() 270 zval *p = ZEND_CALL_VAR_NUM(call, call->func->op_array.last_var + call->func->op_array.T); in zend_vm_stack_free_extra_args_ex()
|
H A D | zend_builtin_functions.c | 204 …arg = ZEND_CALL_VAR_NUM(ex, ex->func->op_array.last_var + ex->func->op_array.T) + (requested_offse… in ZEND_FUNCTION() 258 p = ZEND_CALL_VAR_NUM(ex, ex->func->op_array.last_var + ex->func->op_array.T); in ZEND_FUNCTION() 1583 p = ZEND_CALL_VAR_NUM(call, call->func->op_array.last_var + call->func->op_array.T); in debug_backtrace_get_args()
|
H A D | zend_compile.h | 440 int last_var; /* number of CV variables */ member
|
H A D | zend_object_handlers.c | 1263 func->last_var = 0; in zend_get_call_trampoline_func() 1264 func->T = (fbc->type == ZEND_USER_FUNCTION)? MAX(fbc->op_array.last_var + fbc->op_array.T, 2) : 2; in zend_get_call_trampoline_func()
|
H A D | zend_execute.c | 3788 int count = EX(func)->op_array.last_var; in i_free_compiled_variables() 3866 delta = op_array->last_var + op_array->T - first_extra_arg; in zend_copy_extra_args() 3933 zend_init_cvs(num_args, op_array->last_var EXECUTE_DATA_CC); in i_init_func_execute_data() 4477 uint32_t i, num_cvs = EX(func)->op_array.last_var; in zend_unfinished_execution_gc_ex() 4484 zval *zv = EX_VAR_NUM(op_array->last_var + op_array->T); in zend_unfinished_execution_gc_ex()
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 397 if (var >= op_array->last_var) { in zend_jit_var_may_alias() 728 vars_count = op_array->last_var; in zend_jit_trace_add_phis() 1450 vars_count = op_array->last_var; in zend_jit_trace_build_tssa() 1593 if (i < op_array->last_var) { in zend_jit_trace_build_tssa() 2742 j = op_array->last_var; in zend_jit_trace_allocate_registers() 3038 for (i = op_array->last_var; i < op_array->last_var + op_array->T; i++) { in zend_jit_trace_allocate_registers() 4073 int last_var; in zend_jit_trace() local 4095 last_var = op_array->last_var; in zend_jit_trace() 4097 last_var += op_array->T; in zend_jit_trace() 4260 int last_var = op_array->last_var; in zend_jit_trace() local [all …]
|
H A D | zend_jit.c | 515 for (j = op_array->last_var; j < ssa->vars_count; j++) { in zend_ssa_cv_info() 2396 zend_dump_var(op_array, (var_num < op_array->last_var ? IS_CV : 0), var_num); in zend_jit_dump_lifetime_interval() 2420 zend_dump_var(op_array, (var_num < op_array->last_var ? IS_CV : 0), var_num); in zend_jit_dump_lifetime_interval() 3583 if (op_array->last_var > 100) { in zend_jit() 3591 for (j = 0 ; j < op_array->last_var; j++) { in zend_jit()
|
/PHP-8.1/ext/opcache/ |
H A D | zend_persist_calc.c | 284 ADD_SIZE(sizeof(zend_string*) * op_array->last_var); in zend_persist_op_array_calc_ex() 285 for (i = 0; i < op_array->last_var; i++) { in zend_persist_op_array_calc_ex()
|
H A D | zend_persist.c | 662 …ray->vars = zend_shared_memdup_put_free(op_array->vars, sizeof(zend_string*) * op_array->last_var); in zend_persist_op_array_ex() 663 for (i = 0; i < op_array->last_var; i++) { in zend_persist_op_array_ex()
|
H A D | zend_file_cache.c | 590 end = p + op_array->last_var; 1390 end = p + op_array->last_var;
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg_frame.c | 71 p = ZEND_CALL_VAR_NUM(ex, op_array->last_var + op_array->T); in phpdbg_compile_stackframe()
|
H A D | phpdbg_prompt.c | 1114 phpdbg_writeln("Variables %d", PHPDBG_G(ops)->last_var ? PHPDBG_G(ops)->last_var - 1 : 0); in PHPDBG_COMMAND()
|
/PHP-8.1/ |
H A D | .gdbinit | 38 set $cv_count = $cv_ex_ptr.func.op_array.last_var
|