Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp668 BasicBlock *CommonSuccBB = nullptr; in unswitchTrivialSwitch() local
675 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()