Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp111 SmallVector<unsigned, 8> MinPartitions(N); in findJumpTables() local
128 MinPartitions[N - 1] = 1; in findJumpTables()
136 MinPartitions[i] = MinPartitions[i + 1] + 1; in findJumpTables()
149 unsigned NumPartitions = 1 + (j == N - 1 ? 0 : MinPartitions[j + 1]); in findJumpTables()
162 if (NumPartitions < MinPartitions[i] || in findJumpTables()
163 (NumPartitions == MinPartitions[i] && Score > PartitionsScore[i])) { in findJumpTables()
164 MinPartitions[i] = NumPartitions; in findJumpTables()
296 SmallVector<unsigned, 8> MinPartitions(N); in findBitTestClusters() local
303 MinPartitions[N - 1] = 1; in findBitTestClusters()
310 MinPartitions[i] = MinPartitions[i + 1] + 1; in findBitTestClusters()
[all …]