Home
last modified time | relevance | path

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

12

/php-src/Zend/Optimizer/
H A Dcompact_vars.c30 uint32_t used_vars_len = zend_bitset_len(op_array->last_var + op_array->T); in zend_optimizer_compact_vars()
32 uint32_t *vars_map = do_alloca((op_array->last_var + op_array->T) * sizeof(uint32_t), use_heap2); in zend_optimizer_compact_vars()
58 for (i = 0; i < op_array->last_var; i++) { in zend_optimizer_compact_vars()
67 for (i = op_array->last_var; i < op_array->last_var + op_array->T; i++) { in zend_optimizer_compact_vars()
76 if (num_cvs == op_array->last_var && num_tmps == op_array->T) { in zend_optimizer_compact_vars()
81 ZEND_ASSERT(num_cvs <= op_array->last_var); in zend_optimizer_compact_vars()
99 if (num_cvs != op_array->last_var) { in zend_optimizer_compact_vars()
102 for (i = 0; i < op_array->last_var; i++) { in zend_optimizer_compact_vars()
112 for (i = 0; i < op_array->last_var; i++) { in zend_optimizer_compact_vars()
118 op_array->last_var = num_cvs; in zend_optimizer_compact_vars()
H A Dssa_integrity.c94 return ssa_var->definition >= 0 || ssa_var->definition_phi || var < op_array->last_var; in is_defined()
109 (i), (ssa->vars[i].var < op_array->last_var ? "CV $" : "TMP"), \
110 (ssa->vars[i].var < op_array->last_var ? ZSTR_VAL(op_array->vars[ssa->vars[i].var]) : "")
128 if (var->definition < 0 && !var->definition_phi && i > op_array->last_var) { in ssa_verify_integrity()
H A Dzend_ssa.c833 memcpy(tmp, var, sizeof(int) * (op_array->last_var + op_array->T)); in zend_ssa_rename()
949 if ((blocks_count * (op_array->last_var + op_array->T)) > 4 * 1024 * 1024) { in zend_build_ssa()
958 dfg.vars = op_array->last_var + op_array->T; in zend_build_ssa()
1065 memset(var + op_array->last_var, 0xff, op_array->T * sizeof(int)); in zend_build_ssa()
1067 for (j = 0; j < op_array->last_var; j++) { in zend_build_ssa()
1070 ssa->vars_count = op_array->last_var; in zend_build_ssa()
1094 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_compute_use_def_chains()
1100 for (i = op_array->last_var; i < ssa->vars_count; i++) { in zend_ssa_compute_use_def_chains()
1187 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_compute_use_def_chains()
1194 for (i = op_array->last_var; i < ssa->vars_count; i++) { in zend_ssa_compute_use_def_chains()
[all …]
H A Dzend_dump.c142 if (var_type == IS_CV && var_num < op_array->last_var) { in zend_dump_var()
376 zend_dump_var(op_array, (var_num < op_array->last_var ? IS_CV : var_type), var_num); in zend_dump_ssa_var()
414 …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()
429 …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()
957 fprintf(stderr, ", vars=%d, tmps=%d", op_array->last_var, op_array->T); in zend_dump_op_array()
1017 for (uint32_t i = 0; i < op_array->last_var; i++) { in zend_dump_op_array()
1209 for (i = 0; i < op_array->last_var + op_array->T; i++) { in zend_dump_var_set()
H A Doptimize_temp_vars_5.c46 int offset = op_array->last_var; in zend_optimize_temporary_variables()
H A Descape_analysis.c397 for (i = op_array->last_var; i < ssa_vars_count; i++) { in zend_ssa_escape_analysis()
423 for (i = op_array->last_var; i < ssa_vars_count; i++) { in zend_ssa_escape_analysis()
H A Ddce.c335 return var_num >= ctx->op_array->last_var; in is_var_dead()
556 if (phi->var >= op_array->last_var in dce_optimize_op_array()
H A Dblock_pass.c1427 bitset_len = zend_bitset_len(op_array->last_var + op_array->T); in zend_t_usage()
1495 for (i = op_array->last_var; i< op_array->T; i++) { in zend_t_usage()
1689 if (cfg.blocks_count * (op_array->last_var + op_array->T) > 64 * 1024 * 1024) { in zend_optimize_cfg()
1698 bitset_len = zend_bitset_len(op_array->last_var + op_array->T); in zend_optimize_cfg()
1699 Tsource = zend_arena_calloc(&ctx->arena, op_array->last_var + op_array->T, sizeof(zend_op *)); in zend_optimize_cfg()
1721 memset(Tsource, 0, (op_array->last_var + op_array->T) * sizeof(zend_op *)); in zend_optimize_cfg()
H A Dsccp.c2380 for (i = ssa->vars_count - 1; i >= op_array->last_var; i--) { in replace_constant_operands()
2448 for (; i < op_array->last_var; ++i) { in sccp_context_init()
2464 for (i = sccp->scdf.op_array->last_var; i < sccp->scdf.ssa->vars_count; ++i) { in sccp_context_free()
2487 for (i = op_array->last_var; i < ssa->vars_count; i++) { in sccp_optimize_op_array()
H A Dzend_inference.c1963 if (__ssa_var->var < op_array->last_var) { \
1977 __ssa_var->var >= op_array->last_var || \
4447 for (v = op_array->last_var; v < ssa->vars_count; v++) { in zend_type_narrowing()
4716 for (j = op_array->last_var; j < ssa_vars_count; j++) { in zend_infer_types()
4753 if (def >= 0 && ssa->vars[var].var < op_array->last_var) { in zend_mark_cv_references()
4887 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_inference()
4892 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_inference()
4900 for (i = op_array->last_var; i < ssa->vars_count; i++) { in zend_ssa_inference()
/php-src/Zend/
H A Dzend_opcode.c60 op_array->last_var = 0; in init_op_array()
575 i = op_array->last_var; in destroy_op_array()
731 range->var = EX_NUM_TO_VAR(op_array->last_var + var_num); in emit_live_range_raw()
835 uint32_t rt_var_num = EX_NUM_TO_VAR(op_array->last_var + var_num); in emit_live_range()
933 uint32_t var_offset = op_array->last_var; in zend_calc_live_ranges()
1054 if (CG(context).vars_size != op_array->last_var) { in pass_two()
1055 …op_array->vars = (zend_string**) erealloc(op_array->vars, sizeof(zend_string*)*op_array->last_var); in pass_two()
1056 CG(context).vars_size = op_array->last_var; in pass_two()
1189 opline->op1.var = EX_NUM_TO_VAR(op_array->last_var + opline->op1.var); in pass_two()
1194 opline->op2.var = EX_NUM_TO_VAR(op_array->last_var + opline->op2.var); in pass_two()
[all …]
H A Dzend_execute_API.c1817 if (!ex->func->op_array.last_var) { in zend_rebuild_symbol_table()
1823 if (!ex->func->op_array.last_var) { in zend_rebuild_symbol_table()
1829 if (EXPECTED(ex->func->op_array.last_var)) { in zend_rebuild_symbol_table()
1851 if (EXPECTED(op_array->last_var)) { in zend_attach_symbol_table()
1853 zend_string **end = str + op_array->last_var; in zend_attach_symbol_table()
1885 if (EXPECTED(op_array->last_var)) { in zend_detach_symbol_table()
1887 zend_string **end = str + op_array->last_var; in zend_detach_symbol_table()
1917 if (EXPECTED(op_array->last_var)) { in zend_set_local_var()
1919 zend_string **end = str + op_array->last_var; in zend_set_local_var()
1959 if (EXPECTED(op_array->last_var)) { in zend_set_local_var_str()
[all …]
H A Dzend_execute.h292 used_stack += func->op_array.last_var - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack()
309 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_observer.c246 …ata **)&Z_PTR_P(EX_VAR_NUM((ZEND_USER_CODE(func->type) ? func->op_array.last_var : ZEND_CALL_NUM_A… in prev_observed_frame()
H A Dzend_builtin_functions.c247 …arg = ZEND_CALL_VAR_NUM(ex, ex->func->op_array.last_var + ex->func->op_array.T) + (requested_offse… in ZEND_FUNCTION()
301 p = ZEND_CALL_VAR_NUM(ex, ex->func->op_array.last_var + ex->func->op_array.T); in ZEND_FUNCTION()
1754 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_execute.c4103 int count = EX(func)->op_array.last_var; in i_free_compiled_variables()
4197 delta = op_array->last_var + op_array->T - first_extra_arg; in zend_copy_extra_args()
4264 zend_init_cvs(num_args, op_array->last_var EXECUTE_DATA_CC); in i_init_func_execute_data()
4334 if (op_array->last_var) { in i_init_code_execute_data()
4816 uint32_t i, num_cvs = EX(func)->op_array.last_var; in zend_unfinished_execution_gc_ex()
4823 zval *zv = EX_VAR_NUM(op_array->last_var + op_array->T); in zend_unfinished_execution_gc_ex()
H A Dzend_compile.h522 int last_var; /* number of CV variables */ member
/php-src/ext/opcache/jit/
H A Dzend_jit_trace.c365 if (var >= op_array->last_var) { in zend_jit_var_may_alias()
695 vars_count = op_array->last_var; in zend_jit_trace_add_phis()
1610 vars_count = op_array->last_var; in zend_jit_trace_build_tssa()
1690 while (i < op_array->last_var) { in zend_jit_trace_build_tssa()
1754 if (i < op_array->last_var) { in zend_jit_trace_build_tssa()
1768 && i >= op_array->last_var) { in zend_jit_trace_build_tssa()
2889 j = op_array->last_var; in zend_jit_trace_allocate_registers()
3209 for (i = op_array->last_var; i < op_array->last_var + op_array->T; i++) { in zend_jit_trace_allocate_registers()
4181 int last_var; in zend_jit_trace() local
4203 last_var = op_array->last_var; in zend_jit_trace()
[all …]
H A Dzend_jit.c474 for (j = op_array->last_var; j < ssa->vars_count; j++) { in zend_ssa_cv_info()
1230 && var_num >= op_array->last_var in zend_jit_allocate_registers()
1290 zend_dump_var(op_array, (var_num < op_array->last_var ? IS_CV : 0), var_num); in zend_jit_allocate_registers()
2845 if (op_array->last_var > 100) { in zend_jit()
2855 for (j = 0 ; j < op_array->last_var; j++) { in zend_jit()
/php-src/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.c1111 phpdbg_writeln("Variables %d", PHPDBG_G(ops)->last_var ? PHPDBG_G(ops)->last_var - 1 : 0); in PHPDBG_COMMAND()
/php-src/ext/opcache/
H A Dzend_persist_calc.c301 ADD_SIZE(sizeof(zend_string*) * op_array->last_var); in zend_persist_op_array_calc_ex()
302 for (i = 0; i < op_array->last_var; i++) { in zend_persist_op_array_calc_ex()
H A Dzend_persist.c660 …ray->vars = zend_shared_memdup_put_free(op_array->vars, sizeof(zend_string*) * op_array->last_var); in zend_persist_op_array_ex()
661 for (i = 0; i < op_array->last_var; i++) { in zend_persist_op_array_ex()
H A Dzend_file_cache.c612 end = p + op_array->last_var;
1484 end = p + op_array->last_var;
/php-src/
H A D.gdbinit38 set $cv_count = $cv_ex_ptr.func.op_array.last_var

Completed in 117 milliseconds

12