Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4017 ConvertTwoCaseSwitch(const SwitchCaseResultVectorTy &ResultVector, in ConvertTwoCaseSwitch() argument
4020 assert(ResultVector.size() == 2 && in ConvertTwoCaseSwitch()
4024 if (ResultVector[0].second.size() == 1 && in ConvertTwoCaseSwitch()
4025 ResultVector[1].second.size() == 1) { in ConvertTwoCaseSwitch()
4026 ConstantInt *const FirstCase = ResultVector[0].second[0]; in ConvertTwoCaseSwitch()
4027 ConstantInt *const SecondCase = ResultVector[1].second[0]; in ConvertTwoCaseSwitch()
4030 Value *SelectValue = ResultVector[1].first; in ConvertTwoCaseSwitch()
4034 SelectValue = Builder.CreateSelect(ValueCompare, ResultVector[1].first, in ConvertTwoCaseSwitch()
4039 return Builder.CreateSelect(ValueCompare, ResultVector[0].first, SelectValue, in ConvertTwoCaseSwitch()