Home
last modified time | relevance | path

Searched refs:CommonSuccBB (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp585 BasicBlock *CommonSuccBB = nullptr; in unswitchTrivialSwitch() local
592 CommonSuccBB = SI.case_begin()->getCaseSuccessor(); in unswitchTrivialSwitch()
598 CommonSuccBB = SI.getDefaultDest(); in unswitchTrivialSwitch()
599 else if (SI.getDefaultDest() != CommonSuccBB) in unswitchTrivialSwitch()
600 CommonSuccBB = nullptr; in unswitchTrivialSwitch()
687 if (CommonSuccBB) { in unswitchTrivialSwitch()
694 assert(Case.getCaseSuccessor() == CommonSuccBB && in unswitchTrivialSwitch()
701 CommonSuccBB->removePredecessor(BB, in unswitchTrivialSwitch()
706 BranchInst::Create(CommonSuccBB, BB); in unswitchTrivialSwitch()