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

References

lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
   51   for (BasicBlock &I : F)
   63     UnreachableBlock = BasicBlock::Create(F.getContext(),
   64                                           "UnifiedUnreachableBlock", &F);
   65     new UnreachableInst(F.getContext(), UnreachableBlock);
   86   BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(),
   87                                                "UnifiedReturnBlock", &F);
   90   if (F.getReturnType()->isVoidTy()) {
   91     ReturnInst::Create(F.getContext(), nullptr, NewRetBlock);
   94     PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(),
   97     ReturnInst::Create(F.getContext(), PN, NewRetBlock);