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

References

lib/Transforms/Utils/SimplifyCFG.cpp
 5685   BasicBlock *BB = IBI->getParent();
 5690   for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) {
 5691     BasicBlock *Dest = IBI->getDestination(i);
 5694       IBI->removeDestination(i);
 5701   if (IBI->getNumDestinations() == 0) {
 5703     new UnreachableInst(IBI->getContext(), IBI);
 5703     new UnreachableInst(IBI->getContext(), IBI);
 5704     EraseTerminatorAndDCECond(IBI);
 5708   if (IBI->getNumDestinations() == 1) {
 5710     BranchInst::Create(IBI->getDestination(0), IBI);
 5710     BranchInst::Create(IBI->getDestination(0), IBI);
 5711     EraseTerminatorAndDCECond(IBI);
 5715   if (SelectInst *SI = dyn_cast<SelectInst>(IBI->getAddress())) {
 5716     if (SimplifyIndirectBrOnSelect(IBI, SI))