Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3912 SmallVectorImpl<ConstantInt *> *ContiguousCases = nullptr; in TurnSwitchRangeIntoICmp() local
3916 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4307 SmallVectorImpl<ConstantInt *> *ContiguousCases = nullptr; in TurnSwitchRangeIntoICmp() local
4311 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()