Home
last modified time | relevance | path

Searched refs:ssa_var (Results 1 – 16 of 16) sorted by relevance

/PHP-8.0/ext/opcache/Optimizer/
H A Dssa_integrity.c141 if (var->definition_phi->ssa_var != i) { in ssa_verify_integrity()
164 FAIL("var " VARFMT " not in phi sources of %d\n", VAR(i), phi->ssa_var); in ssa_verify_integrity()
294 FAIL(VARFMT " negative source\n", VAR(phi->ssa_var)); in ssa_verify_integrity()
297 FAIL(VARFMT " not in phi use chain of %d\n", VAR(phi->ssa_var), source); in ssa_verify_integrity()
299 if (ssa->vars[source].var != ssa->vars[phi->ssa_var].var) { in ssa_verify_integrity()
300 FAIL(VARFMT " source of phi for " VARFMT "\n", VAR(source), VAR(phi->ssa_var)); in ssa_verify_integrity()
307 " at %d despite earlier use\n", VAR(source), VAR(phi->ssa_var), j); in ssa_verify_integrity()
312 if (ssa->vars[phi->ssa_var].definition_phi != phi) { in ssa_verify_integrity()
313 FAIL(VARFMT " does not define this phi\n", VAR(phi->ssa_var)); in ssa_verify_integrity()
H A Dscdf.c77 zend_bitset_excl(scdf->phi_var_worklist, phi->ssa_var); in scdf_mark_edge_feasible()
152 zend_bitset_excl(scdf->phi_var_worklist, phi->ssa_var); in scdf_solve()
199 int ssa_var = scdf->ssa->ops[i].op1_use; in kept_alive_by_loop_var_free() local
200 if (ssa_var >= 0) { in kept_alive_by_loop_var_free()
201 int op_num = scdf->ssa->vars[ssa_var].definition; in kept_alive_by_loop_var_free()
H A Dzend_ssa.c112 phi->ssa_var = -1; in add_pi()
815 if (phi->ssa_var < 0) { in zend_ssa_rename()
816 phi->ssa_var = ssa_vars_count; in zend_ssa_rename()
820 var[phi->var] = phi->ssa_var; in zend_ssa_rename()
856 if (p->ssa_var < 0) { in zend_ssa_rename()
857 p->ssa_var = ssa_vars_count; in zend_ssa_rename()
885 q->sources[j] = p->ssa_var; in zend_ssa_rename()
1018 phi->ssa_var = -1; in zend_build_ssa()
1118 ssa_vars[phi->ssa_var].var = phi->var; in zend_ssa_compute_use_def_chains()
1354 ZEND_ASSERT(phi->ssa_var >= 0); in zend_ssa_remove_phi()
[all …]
H A Ddce.c444 if (source == phi->ssa_var) { in get_common_phi_source()
466 zend_ssa_rename_var_uses(ssa, phi->ssa_var, common_source, 1); in try_remove_trivial_phi()
534 && may_be_refcounted(ssa->var_info[phi->ssa_var].type)) { in dce_optimize_op_array()
535 zend_bitset_excl(ctx.phi_dead, phi->ssa_var); in dce_optimize_op_array()
632 if (zend_bitset_in(ctx.phi_dead, phi->ssa_var)) { in dce_optimize_op_array()
633 zend_ssa_remove_uses_of_var(ssa, phi->ssa_var); in dce_optimize_op_array()
H A Dscdf.h64 zend_bitset_incl(scdf->phi_var_worklist, phi->ssa_var); in scdf_add_to_worklist()
H A Dzend_optimizer.c1359 int ssa_var = ssa_op->result_def; in needs_live_range() local
1360 if (ssa_var < 0) { in needs_live_range()
1368 if (func_info->ssa.vars[ssa_var].phi_use_chain) { in needs_live_range()
1369 ssa_var = func_info->ssa.vars[ssa_var].phi_use_chain->ssa_var; in needs_live_range()
1372 uint32_t type = func_info->ssa.var_info[ssa_var].type; in needs_live_range()
H A Dzend_ssa.h68 int ssa_var; /* SSA variable index */ member
H A Dsccp.c2099 ZEND_ASSERT(phi->ssa_var >= 0); in sccp_visit_phi()
2100 if (!IS_BOT(&ctx->values[phi->ssa_var])) { in sccp_visit_phi()
2113 …join_phi_values(&result, &ctx->values[phi->sources[0]], ssa->vars[phi->ssa_var].escape_state != ES… in sccp_visit_phi()
2123 …join_phi_values(&result, &ctx->values[phi->sources[i]], ssa->vars[phi->ssa_var].escape_state != ES… in sccp_visit_phi()
2135 set_value(scdf, ctx, phi->ssa_var, &result); in sccp_visit_phi()
H A Dzend_inference.c156 MACRO(p->ssa_var); \
188 CHECK_SCC_VAR(p->ssa_var); in zend_ssa_check_scc_var()
878 ssa->var_info[p->ssa_var].has_range) { in zend_inference_calc_range()
881 p->ssa_var, in zend_inference_calc_range()
882 ssa->var_info[p->ssa_var].range.min, in zend_inference_calc_range()
883 ssa->var_info[p->ssa_var].range.max, in zend_inference_calc_range()
1664 ADD_SCC_VAR(p->ssa_var); in zend_infer_ranges()
1757 zend_bitset_incl(worklist, p->ssa_var); in add_usages()
3842 type = ssa->var_info[phi->ssa_var].type; in can_convert_to_double()
3847 if (!can_convert_to_double(op_array, ssa, phi->ssa_var, value, visited)) { in can_convert_to_double()
H A Ddfa_pass.c608 ssa, phi->ssa_var, phi->sources[0], /* update_types */ 0); in replace_predecessor()
725 int ssa_var = ssa->ops[fe_fetch_block->start + fe_fetch_block->len - 1].op2_def; in zend_ssa_unlink_block() local
726 if (ssa_var >= 0) { in zend_ssa_unlink_block()
727 zend_ssa_remove_uses_of_var(ssa, ssa_var); in zend_ssa_unlink_block()
H A Dzend_dump.c845 zend_dump_ssa_var(op_array, ssa, p->ssa_var, 0, p->var, dump_flags); in zend_dump_block_header()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_trace.c651 phi->ssa_var = ssa_vars_count; in zend_jit_trace_add_phis()
688 phi->ssa_var = ssa_vars_count; in zend_jit_trace_add_call_phis()
720 phi->ssa_var = ssa_vars_count; in zend_jit_trace_add_ret_phis()
739 var = tssa->vars[ssa_var].phi_use_chain->ssa_var; in zend_jit_trace_copy_ssa_var_info()
741 var = ssa_var; in zend_jit_trace_copy_ssa_var_info()
805 tssa->var_info[ssa_var].range.min = MAX(tssa->var_info[ssa_var].range.min, info->range.min); in zend_jit_trace_copy_ssa_var_range()
2521 start[phi->ssa_var] = 0; in zend_jit_trace_allocate_registers()
2869 list[j].ssa_var = i; in zend_jit_trace_allocate_registers()
2904 list[j].ssa_var = - 1; in zend_jit_trace_allocate_registers()
3098 int def = phi->ssa_var; in zend_jit_trace_allocate_registers()
[all …]
H A Dzend_jit.c141 if (!ssa->vars[phi->ssa_var].no_val) { in zend_ssa_is_last_use()
798 ival->ssa_var = var; in zend_jit_add_range()
929 ival->ssa_var = current->ssa_var; in zend_jit_split_interval()
1104 src = intervals[dst]->hint->ssa_var; in zend_jit_add_hint()
1107 dst = intervals[dst]->hint->ssa_var; in zend_jit_add_hint()
1270 zend_bitset_excl(live, phi->ssa_var); in zend_jit_compute_liveness()
1520 ssa->ops + current->range.start, ssa, current->ssa_var, it->ssa_var)) { in zend_jit_try_allocate_free_reg()
1842 if (ival->hint->ssa_var >= 0) { in zend_jit_dump_lifetime_interval()
1934 intervals[ival->ssa_var] = ival; in zend_jit_allocate_registers()
2015 if (intervals[phi->ssa_var] && in zend_jit_allocate_registers()
[all …]
H A Dzend_jit_internal.h318 int32_t ssa_var; member
329 (_stack)[_slot].ssa_var
341 (_stack)[_slot].ssa_var = _ssa_var; \
H A Dzend_jit.h164 int ssa_var; member
H A Dzend_jit_x86.dasc15747 if (!ssa->vars[phi->ssa_var].no_val) {

Completed in 117 milliseconds