Lines Matching defs:phi
94 // the sources stem from a phi, in which case we don't want to mess up potential
95 // swaps $rX <-> $rY, i.e. do not create live range overlaps of phi src and def.
3788 Instruction *phi, *next, *ik;
3793 for (phi = bb->getPhi(); phi && phi->op == OP_PHI; phi = next) {
3794 next = phi->next;
3795 if (phi->getSrc(0)->refCount() > 1)
3797 ik = phi->getSrc(0)->getInsn();
3802 for (s = 1; phi->srcExists(s); ++s) {
3803 if (phi->getSrc(s)->refCount() > 1)
3805 if (!phi->getSrc(s)->getInsn() ||
3806 !phi->getSrc(s)->getInsn()->isResultEqual(ik))
3809 if (!phi->srcExists(s)) {
3817 ik->setDef(0, phi->getDef(0));
3818 delete_Instruction(prog, phi);