Searched refs:CommonSuccBB (Results 1 – 1 of 1) sorted by relevance
668 BasicBlock *CommonSuccBB = nullptr; in unswitchTrivialSwitch() local675 CommonSuccBB = SI.case_begin()->getCaseSuccessor(); in unswitchTrivialSwitch()681 CommonSuccBB = SI.getDefaultDest(); in unswitchTrivialSwitch()682 else if (SI.getDefaultDest() != CommonSuccBB) in unswitchTrivialSwitch()683 CommonSuccBB = nullptr; in unswitchTrivialSwitch()785 if (CommonSuccBB) { in unswitchTrivialSwitch()792 assert(Case.getCaseSuccessor() == CommonSuccBB && in unswitchTrivialSwitch()799 CommonSuccBB->removePredecessor(BB, in unswitchTrivialSwitch()804 BranchInst::Create(CommonSuccBB, BB); in unswitchTrivialSwitch()