reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
139 if (!isCriticalEdge(TI, SuccNum, Options.MergeIdenticalEdges)) 142 assert(!isa<IndirectBrInst>(TI) && 145 BasicBlock *TIBB = TI->getParent(); 146 BasicBlock *DestBB = TI->getSuccessor(SuccNum); 153 if (isa<CallBrInst>(TI) && SuccNum > 0) 161 BasicBlock *NewBB = BasicBlock::Create(TI->getContext(), 165 NewBI->setDebugLoc(TI->getDebugLoc()); 168 TI->setSuccessor(SuccNum, NewBB); 200 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) { 201 if (TI->getSuccessor(i) != DestBB) continue; 207 TI->setSuccessor(i, NewBB);