reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Utils/CloneFunction.cpp
  557     if (NumPreds != PN->getNumIncomingValues()) {
  558       assert(NumPreds < PN->getNumIncomingValues());
  566       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
  567         ++PredCount[PN->getIncomingBlock(i)];
  573       for (; (PN = dyn_cast<PHINode>(I)); ++I) {
  577             PN->removeIncomingValue(Pred, false);
  585     PN = cast<PHINode>(NewBB->begin());
  586     if (PN->getNumIncomingValues() == 0) {
  589       while ((PN = dyn_cast<PHINode>(I++))) {
  590         Value *NV = UndefValue::get(PN->getType());
  591         PN->replaceAllUsesWith(NV);
  592         assert(VMap[&*OldI] == PN && "VMap mismatch");
  594         PN->eraseFromParent();