Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp565 auto CaseI = SI.case_begin() + Index; in unswitchTrivialSwitch() local
567 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor()); in unswitchTrivialSwitch()
571 ExitCases.push_back({CaseI->getCaseValue(), CaseI->getCaseSuccessor()}); in unswitchTrivialSwitch()
573 SI.removeCase(CaseI); in unswitchTrivialSwitch()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4440 SwitchInst::CaseIt CaseI = SI->findCaseValue(DeadCase); in eliminateDeadSwitchCases() local
4441 assert(CaseI != SI->case_default() && in eliminateDeadSwitchCases()
4444 std::swap(Weights[CaseI->getCaseIndex() + 1], Weights.back()); in eliminateDeadSwitchCases()
4449 CaseI->getCaseSuccessor()->removePredecessor(SI->getParent()); in eliminateDeadSwitchCases()
4450 SI->removeCase(CaseI); in eliminateDeadSwitchCases()