reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/SwitchLoweringUtils.cpp
   64   if (N < 2 || N < MinJumpTableEntries)
   64   if (N < 2 || N < MinJumpTableEntries)
   68   SmallVector<unsigned, 8> TotalCases(N);
   69   for (unsigned i = 0; i < N; ++i) {
   77   uint64_t Range = getJumpTableRange(Clusters,0, N - 1);
   78   uint64_t NumCases = getJumpTableNumCases(TotalCases, 0, N - 1);
   85     if (buildJumpTable(Clusters, 0, N - 1, SI, DefaultMBB, JTCluster)) {
  104   SmallVector<unsigned, 8> MinPartitions(N);
  106   SmallVector<unsigned, 8> LastElement(N);
  109   SmallVector<unsigned, 8> PartitionsScore(N);
  121   MinPartitions[N - 1] = 1;
  122   LastElement[N - 1] = N - 1;
  122   LastElement[N - 1] = N - 1;
  123   PartitionsScore[N - 1] = PartitionScores::SingleCase;
  126   for (int64_t i = N - 2; i >= 0; i--) {
  134     for (int64_t j = N - 1; j > i; j--) {
  142         unsigned NumPartitions = 1 + (j == N - 1 ? 0 : MinPartitions[j + 1]);
  143         unsigned Score = j == N - 1 ? 0 : PartitionsScore[j + 1];
  167   for (unsigned First = 0, Last; First < N; First = Last + 1) {