Lines Matching refs:SomePHI
721 PHINode *SomePHI = I->second; in run() local
722 BasicBlock *BB = SomePHI->getParent(); in run()
723 if (&BB->front() != SomePHI) in run()
729 if (SomePHI->getNumIncomingValues() == getNumPreds(BB)) in run()
742 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) { in run()
745 Preds.begin(), Preds.end(), SomePHI->getIncomingBlock(i)); in run()
746 assert(EntIt != Preds.end() && *EntIt == SomePHI->getIncomingBlock(i) && in run()
757 unsigned NumBadPreds = SomePHI->getNumIncomingValues(); in run()
759 while ((SomePHI = dyn_cast<PHINode>(BBI++)) && in run()
760 SomePHI->getNumIncomingValues() == NumBadPreds) { in run()
761 Value *UndefVal = UndefValue::get(SomePHI->getType()); in run()
763 SomePHI->addIncoming(UndefVal, Preds[pred]); in run()