Lines Matching refs:phi
196 zend_ssa_phi *phi = ssa->vars[var].phi_use_chain; in zend_ssa_is_last_use() local
198 if (!ssa->vars[phi->ssa_var].no_val) { in zend_ssa_is_last_use()
201 phi = zend_ssa_next_use_phi(ssa, var, phi); in zend_ssa_is_last_use()
202 } while (phi); in zend_ssa_is_last_use()
1714 zend_ssa_phi *phi; in zend_jit_compute_liveness() local
1760 for (phi = ssa->blocks[succ].phis; phi; phi = phi->next) { in zend_jit_compute_liveness()
1761 if (ssa->vars[phi->ssa_var].no_val) { in zend_jit_compute_liveness()
1763 } else if (phi->pi >= 0) { in zend_jit_compute_liveness()
1764 if (phi->pi == i && phi->sources[0] >= 0) { in zend_jit_compute_liveness()
1765 if (zend_bitset_in(candidates, phi->sources[0])) { in zend_jit_compute_liveness()
1766 zend_bitset_incl(live, phi->sources[0]); in zend_jit_compute_liveness()
1768 zend_bitset_incl(pi_vars, phi->var); in zend_jit_compute_liveness()
1770 } else if (!zend_bitset_in(pi_vars, phi->var)) { in zend_jit_compute_liveness()
1773 if (phi->sources[k] >= 0 && zend_bitset_in(candidates, phi->sources[k])) { in zend_jit_compute_liveness()
1774 zend_bitset_incl(live, phi->sources[k]); in zend_jit_compute_liveness()
1860 for (phi = ssa->blocks[i].phis; phi; phi = phi->next) { in zend_jit_compute_liveness()
1861 zend_bitset_excl(live, phi->ssa_var); in zend_jit_compute_liveness()
1908 zend_ssa_phi *phi = ssa->vars[i].definition_phi; in zend_jit_compute_liveness() local
1910 if (phi->pi >= 0) { in zend_jit_compute_liveness()
1911 src = phi->sources[0]; in zend_jit_compute_liveness()
1916 for (k = 0; k < ssa->cfg.blocks[phi->block].predecessors_count; k++) { in zend_jit_compute_liveness()
1917 src = phi->sources[k]; in zend_jit_compute_liveness()
1921 && phi->block == ssa->vars[src].definition_phi->block) { in zend_jit_compute_liveness()
2530 zend_ssa_phi *phi = ssa->vars[i].definition_phi; in zend_jit_allocate_registers() local
2533 if (phi->pi >= 0) { in zend_jit_allocate_registers()
2535 || ssa->vars[i].phi_use_chain->block != phi->block) { in zend_jit_allocate_registers()
2536 src = phi->sources[0]; in zend_jit_allocate_registers()
2551 for (k = 0; k < ssa->cfg.blocks[phi->block].predecessors_count; k++) { in zend_jit_allocate_registers()
2552 src = phi->sources[k]; in zend_jit_allocate_registers()
2556 && phi->block == ssa->vars[src].definition_phi->block) { in zend_jit_allocate_registers()
2575 for (k = 0; k < ssa->cfg.blocks[phi->block].predecessors_count; k++) { in zend_jit_allocate_registers()
2576 src = phi->sources[k]; in zend_jit_allocate_registers()
2580 && phi->block == ssa->vars[src].definition_phi->block) { in zend_jit_allocate_registers()
2600 zend_ssa_phi *phi = ssa->vars[i].phi_use_chain; in zend_jit_allocate_registers() local
2602 while (phi) { in zend_jit_allocate_registers()
2603 if (intervals[phi->ssa_var] && in zend_jit_allocate_registers()
2604 !(intervals[phi->ssa_var]->flags & ZREG_LOAD)) { in zend_jit_allocate_registers()
2608 phi = zend_ssa_next_use_phi(ssa, i, phi); in zend_jit_allocate_registers()
2623 zend_ssa_phi *phi = ssa->vars[i].phi_use_chain; in zend_jit_allocate_registers() local
2625 while (phi) { in zend_jit_allocate_registers()
2626 if (intervals[phi->ssa_var] && in zend_jit_allocate_registers()
2627 !(intervals[phi->ssa_var]->flags & ZREG_LOAD)) { in zend_jit_allocate_registers()
2631 phi = zend_ssa_next_use_phi(ssa, i, phi); in zend_jit_allocate_registers()
2893 zend_ssa_phi *phi = ssa->blocks[b].phis; in zend_jit() local
2895 while (phi) { in zend_jit()
2896 zend_lifetime_interval *ival = ra[phi->ssa_var]; in zend_jit()
2902 …if (!zend_jit_load_var(&dasm_state, ssa->var_info[phi->ssa_var].type, ssa->vars[phi->ssa_var].var,… in zend_jit()
2908 …if (!zend_jit_store_var(&dasm_state, ssa->var_info[phi->ssa_var].type, ssa->vars[phi->ssa_var].var… in zend_jit()
2913 phi = phi->next; in zend_jit()