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

References

lib/Transforms/Scalar/SimplifyCFGPass.cpp
   82     ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator());
   87     if (Ret != &BB.front()) {
   92       while (isa<DbgInfoIntrinsic>(I) && I != BB.begin())
   95           (!isa<PHINode>(I) || I != BB.begin() || Ret->getNumOperands() == 0 ||
  102       RetBlock = &BB;
  115       BB.replaceAllUsesWith(RetBlock);
  116       BB.eraseFromParent();
  137     RetBlockPHI->addIncoming(Ret->getOperand(0), &BB);
  138     BB.getTerminator()->eraseFromParent();
  139     BranchInst::Create(RetBlock, &BB);