Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp116 SmallVector<unsigned, 8> PartitionsScore(N); in findJumpTables() local
130 PartitionsScore[N - 1] = PartitionScores::SingleCase; in findJumpTables()
138 PartitionsScore[i] = PartitionsScore[i + 1] + PartitionScores::SingleCase; in findJumpTables()
150 unsigned Score = j == N - 1 ? 0 : PartitionsScore[j + 1]; in findJumpTables()
163 (NumPartitions == MinPartitions[i] && Score > PartitionsScore[i])) { in findJumpTables()
166 PartitionsScore[i] = Score; in findJumpTables()