Home
last modified time | relevance | path

Searched refs:last_var (Results 1 – 25 of 32) sorted by relevance

12

/PHP-8.1/Zend/Optimizer/
H A Dcompact_vars.c29 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 Dzend_ssa.c804 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 Dzend_dump.c137 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 Dssa_integrity.c104 (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 Doptimize_temp_vars_5.c44 int offset = op_array->last_var; in zend_optimize_temporary_variables()
H A Descape_analysis.c385 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 Ddce.c336 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 Dblock_pass.c1601 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 Dsccp.c2444 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 Dzend_inference.c1257 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 Dzend_opcode.c59 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 Dzend_execute_API.c1695 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 Dzend_execute.h253 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 Dzend_builtin_functions.c204 …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 Dzend_compile.h440 int last_var; /* number of CV variables */ member
H A Dzend_object_handlers.c1263 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 Dzend_execute.c3788 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 Dzend_jit_trace.c397 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 Dzend_jit.c515 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 Dzend_persist_calc.c284 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 Dzend_persist.c662 …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 Dzend_file_cache.c590 end = p + op_array->last_var;
1390 end = p + op_array->last_var;
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_frame.c71 p = ZEND_CALL_VAR_NUM(ex, op_array->last_var + op_array->T); in phpdbg_compile_stackframe()
H A Dphpdbg_prompt.c1114 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.gdbinit38 set $cv_count = $cv_ex_ptr.func.op_array.last_var

Completed in 158 milliseconds

12