Home | History | Annotate | Download | only in Utils

Lines Matching refs:SomePHI

721     PHINode *SomePHI = I->second;
722 BasicBlock *BB = SomePHI->getParent();
723 if (&BB->front() != SomePHI)
729 if (SomePHI->getNumIncomingValues() == getNumPreds(BB))
740 // Now we loop through all BB's which have entries in SomePHI and remove
742 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) {
745 Preds.begin(), Preds.end(), SomePHI->getIncomingBlock(i));
746 assert(EntIt != Preds.end() && *EntIt == SomePHI->getIncomingBlock(i) &&
757 unsigned NumBadPreds = SomePHI->getNumIncomingValues();
759 while ((SomePHI = dyn_cast<PHINode>(BBI++)) &&
760 SomePHI->getNumIncomingValues() == NumBadPreds) {
761 Value *UndefVal = UndefValue::get(SomePHI->getType());
763 SomePHI->addIncoming(UndefVal, Preds[pred]);