Searched refs:ContiguousCases (Results 1 – 2 of 2) sorted by relevance
3912 SmallVectorImpl<ConstantInt *> *ContiguousCases = nullptr; in TurnSwitchRangeIntoICmp() local3916 ContiguousCases = &CasesA; in TurnSwitchRangeIntoICmp()3920 ContiguousCases = &CasesB; in TurnSwitchRangeIntoICmp()3928 Constant *Offset = ConstantExpr::getNeg(ContiguousCases->back()); in TurnSwitchRangeIntoICmp()3930 ConstantInt::get(Offset->getType(), ContiguousCases->size()); in TurnSwitchRangeIntoICmp()3938 if (NumCases->isNullValue() && !ContiguousCases->empty()) in TurnSwitchRangeIntoICmp()3970 unsigned PreviousEdges = ContiguousCases->size(); in TurnSwitchRangeIntoICmp()3977 unsigned PreviousEdges = SI->getNumCases() - ContiguousCases->size(); in TurnSwitchRangeIntoICmp()
4307 SmallVectorImpl<ConstantInt *> *ContiguousCases = nullptr; in TurnSwitchRangeIntoICmp() local4311 ContiguousCases = &CasesA; in TurnSwitchRangeIntoICmp()4315 ContiguousCases = &CasesB; in TurnSwitchRangeIntoICmp()4323 Constant *Offset = ConstantExpr::getNeg(ContiguousCases->back()); in TurnSwitchRangeIntoICmp()4325 ConstantInt::get(Offset->getType(), ContiguousCases->size()); in TurnSwitchRangeIntoICmp()4333 if (NumCases->isNullValue() && !ContiguousCases->empty()) in TurnSwitchRangeIntoICmp()4362 unsigned PreviousEdges = ContiguousCases->size(); in TurnSwitchRangeIntoICmp()4369 unsigned PreviousEdges = SI->getNumCases() - ContiguousCases->size(); in TurnSwitchRangeIntoICmp()