Searched refs:ContiguousCases (Results 1 – 1 of 1) sorted by relevance
3586 SmallVectorImpl<ConstantInt *> *ContiguousCases = nullptr; in TurnSwitchRangeIntoICmp() local3590 ContiguousCases = &CasesA; in TurnSwitchRangeIntoICmp()3594 ContiguousCases = &CasesB; in TurnSwitchRangeIntoICmp()3602 Constant *Offset = ConstantExpr::getNeg(ContiguousCases->back()); in TurnSwitchRangeIntoICmp()3603 Constant *NumCases = ConstantInt::get(Offset->getType(), ContiguousCases->size()); in TurnSwitchRangeIntoICmp()3611 if (NumCases->isNullValue() && !ContiguousCases->empty()) in TurnSwitchRangeIntoICmp()3642 unsigned PreviousEdges = ContiguousCases->size(); in TurnSwitchRangeIntoICmp()3648 unsigned PreviousEdges = SI->getNumCases() - ContiguousCases->size(); in TurnSwitchRangeIntoICmp()