Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp37 SwitchCG::getJumpTableNumCases(const SmallVectorImpl<unsigned> &TotalCases, in getJumpTableNumCases() argument
40 assert(TotalCases[Last] >= TotalCases[First]); in getJumpTableNumCases()
42 TotalCases[Last] - (First == 0 ? 0 : TotalCases[First - 1]); in getJumpTableNumCases()
74 SmallVector<unsigned, 8> TotalCases(N); in findJumpTables() local
78 TotalCases[i] = (Hi - Lo).getLimitedValue() + 1; in findJumpTables()
80 TotalCases[i] += TotalCases[i - 1]; in findJumpTables()
84 uint64_t NumCases = getJumpTableNumCases(TotalCases, 0, N - 1); in findJumpTables()
144 NumCases = getJumpTableNumCases(TotalCases, i, j); in findJumpTables()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSwitchLoweringUtils.h240 uint64_t getJumpTableNumCases(const SmallVectorImpl<unsigned> &TotalCases,