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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp4889 static Value *ConvertTwoCaseSwitch(const SwitchCaseResultVectorTy &ResultVector, argument
4892 assert(ResultVector.size() == 2 &&
4896 if (ResultVector[0].second.size() == 1 &&
4897 ResultVector[1].second.size() == 1) {
4898 ConstantInt *const FirstCase = ResultVector[0].second[0];
4899 ConstantInt *const SecondCase = ResultVector[1].second[0];
4902 Value *SelectValue = ResultVector[1].first;
4906 SelectValue = Builder.CreateSelect(ValueCompare, ResultVector[1].first,
4911 return Builder.CreateSelect(ValueCompare, ResultVector[0].first,

Completed in 182 milliseconds