Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp114 SmallVector<unsigned, 8> PartitionsScore(N); in findJumpTables() local
128 PartitionsScore[N - 1] = PartitionScores::SingleCase; in findJumpTables()
136 PartitionsScore[i] = PartitionsScore[i + 1] + PartitionScores::SingleCase; in findJumpTables()
148 unsigned Score = j == N - 1 ? 0 : PartitionsScore[j + 1]; in findJumpTables()
161 (NumPartitions == MinPartitions[i] && Score > PartitionsScore[i])) { in findJumpTables()
164 PartitionsScore[i] = Score; in findJumpTables()