Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3168 SmallVectorImpl<ConstantInt *> *ContiguousCases = nullptr; in TurnSwitchRangeIntoICmp() local
3172 ContiguousCases = &CasesA; in TurnSwitchRangeIntoICmp()
3176 ContiguousCases = &CasesB; in TurnSwitchRangeIntoICmp()
3184 Constant *Offset = ConstantExpr::getNeg(ContiguousCases->back()); in TurnSwitchRangeIntoICmp()
3185 Constant *NumCases = ConstantInt::get(Offset->getType(), ContiguousCases->size()); in TurnSwitchRangeIntoICmp()
3193 if (NumCases->isNullValue() && !ContiguousCases->empty()) in TurnSwitchRangeIntoICmp()
3224 unsigned PreviousEdges = ContiguousCases->size(); in TurnSwitchRangeIntoICmp()
3230 unsigned PreviousEdges = SI->getNumCases() - ContiguousCases->size(); in TurnSwitchRangeIntoICmp()