Searched refs:CaseI (Results 1 – 2 of 2) sorted by relevance
565 auto CaseI = SI.case_begin() + Index; in unswitchTrivialSwitch() local567 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor()); in unswitchTrivialSwitch()571 ExitCases.push_back({CaseI->getCaseValue(), CaseI->getCaseSuccessor()}); in unswitchTrivialSwitch()573 SI.removeCase(CaseI); in unswitchTrivialSwitch()
4440 SwitchInst::CaseIt CaseI = SI->findCaseValue(DeadCase); in eliminateDeadSwitchCases() local4441 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()