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

References

lib/CodeGen/GlobalISel/IRTranslator.cpp
  765     llvm::sort(W.FirstCluster, W.LastCluster + 1,
  774     for (CaseClusterIt I = W.LastCluster; I > W.FirstCluster;) {
  776       if (I->Prob > W.LastCluster->Prob)
  779         std::swap(*I, *W.LastCluster);
  788   for (CaseClusterIt I = W.FirstCluster; I <= W.LastCluster; ++I)
  792   for (CaseClusterIt I = W.FirstCluster, E = W.LastCluster; I <= E; ++I) {
  795     if (I == W.LastCluster) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10051   unsigned Size = W.LastCluster - W.FirstCluster + 1;
10064     CaseCluster &Big = *W.LastCluster;
10115     llvm::sort(W.FirstCluster, W.LastCluster + 1,
10124     for (CaseClusterIt I = W.LastCluster; I > W.FirstCluster; ) {
10126       if (I->Prob > W.LastCluster->Prob)
10129         std::swap(*I, *W.LastCluster);
10138   for (CaseClusterIt I = W.FirstCluster; I <= W.LastCluster; ++I)
10142   for (CaseClusterIt I = W.FirstCluster, E = W.LastCluster; I <= E; ++I) {
10145     if (I == W.LastCluster) {
10294   assert(W.FirstCluster->Low->getValue().slt(W.LastCluster->Low->getValue()) &&
10297   assert(W.LastCluster - W.FirstCluster + 1 >= 2 && "Too small to split!");
10303   CaseClusterIt FirstRight = W.LastCluster;
10327     unsigned NumRight = W.LastCluster - FirstRight + 1;
10336         unsigned RightSideRank = caseClusterRank(CC, FirstRight, W.LastCluster);
10349         unsigned RightSideRank = caseClusterRank(CC, FirstRight, W.LastCluster);
10363   assert(FirstRight <= W.LastCluster);
10369   assert(PivotCluster <= W.LastCluster);
10372   CaseClusterIt LastRight = W.LastCluster;
10569     unsigned NumClusters = W.LastCluster - W.FirstCluster + 1;