Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp560 SmallVector<std::pair<ConstantInt *, BasicBlock *>, 4> ExitCases; in unswitchTrivialSwitch() local
561 ExitCases.reserve(ExitCaseIndices.size()); in unswitchTrivialSwitch()
571 ExitCases.push_back({CaseI->getCaseValue(), CaseI->getCaseSuccessor()}); in unswitchTrivialSwitch()
610 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch()
637 for (auto &CasePair : reverse(ExitCases)) { in unswitchTrivialSwitch()
665 for (auto CasePair : reverse(ExitCases)) { in unswitchTrivialSwitch()