Searched refs:TotalCases (Results 1 – 2 of 2) sorted by relevance
37 SwitchCG::getJumpTableNumCases(const SmallVectorImpl<unsigned> &TotalCases, in getJumpTableNumCases() argument40 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() local78 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()
240 uint64_t getJumpTableNumCases(const SmallVectorImpl<unsigned> &TotalCases,