Lines Matching defs:phi
49 /* List of phi sources. */
432 clone_phi(clone_state *state, const nir_phi_instr *phi, nir_block *nblk)
436 __clone_dst(state, &nphi->instr, &nphi->dest, &phi->dest);
438 /* Cloning a phi node is a bit different from other instructions. The
439 * sources of phi instructions are the only time where we can use an SSA
441 * the sources from the old phi instruction directly and then fix them up
446 * old phi instruction's sources for now) don't get inserted into the old
447 * shader's use-def lists, we have to add the phi instruction *before* we
452 nir_foreach_phi_src(src, phi) {
455 /* Stash it in the list of phi sources. We'll walk this list and fix up
551 /* We need this for phi sources */
627 /* After we've cloned almost everything, we have to walk the list of phi
629 * phi source may not be defined when we first encounter it. Instead, we