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

References

lib/Transforms/Utils/BasicBlockUtils.cpp
  540       InVal = PN->getIncomingValueForBlock(Preds[0]);
  541       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
  542         if (!PredSet.count(PN->getIncomingBlock(i)))
  545           InVal = PN->getIncomingValue(i);
  546         else if (InVal != PN->getIncomingValue(i)) {
  562       for (int64_t i = PN->getNumIncomingValues() - 1; i >= 0; --i)
  563         if (PredSet.count(PN->getIncomingBlock(i)))
  564           PN->removeIncomingValue(i, false);
  568       PN->addIncoming(InVal, NewBB);
  576         PHINode::Create(PN->getType(), Preds.size(), PN->getName() + ".ph", BI);
  576         PHINode::Create(PN->getType(), Preds.size(), PN->getName() + ".ph", BI);
  582     for (int64_t i = PN->getNumIncomingValues() - 1; i >= 0; --i) {
  583       BasicBlock *IncomingBB = PN->getIncomingBlock(i);
  585         Value *V = PN->removeIncomingValue(i, false);
  590     PN->addIncoming(NewPHI, NewBB);