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

References

lib/Transforms/Utils/LoopVersioning.cpp
  134     for (auto I = PHIBlock->begin(); (PN = dyn_cast<PHINode>(I)); ++I) {
  135       if (PN->getIncomingValue(0) == Inst)
  139     if (!PN) {
  140       PN = PHINode::Create(Inst->getType(), 2, Inst->getName() + ".lver",
  147         U->replaceUsesOfWith(Inst, PN);
  148       PN->addIncoming(Inst, VersionedLoop->getExitingBlock());
  153   for (auto I = PHIBlock->begin(); (PN = dyn_cast<PHINode>(I)); ++I) {
  154     assert(PN->getNumOperands() == 1 &&
  158     Value *ClonedValue = PN->getIncomingValue(0);
  163     PN->addIncoming(ClonedValue, NonVersionedLoop->getExitingBlock());