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

References

include/llvm/CodeGen/SwitchLoweringUtils.h
   53     C.Prob = Prob;
   64     C.Prob = Prob;
   75     C.Prob = Prob;
lib/CodeGen/GlobalISel/IRTranslator.cpp
  671   auto JumpProb = I->Prob;
  742                CurMBB, MIB.getDebugLoc(), I->Prob, UnhandledProbs);
  767                  return a.Prob != b.Prob
  767                  return a.Prob != b.Prob
  768                             ? a.Prob > b.Prob
  768                             ? a.Prob > b.Prob
  776       if (I->Prob > W.LastCluster->Prob)
  776       if (I->Prob > W.LastCluster->Prob)
  789     UnhandledProbs += I->Prob;
  804     UnhandledProbs -= I->Prob;
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10087         addSuccessorWithProb(SwitchMBB, Small.MBB, Small.Prob + Big.Prob);
10087         addSuccessorWithProb(SwitchMBB, Small.MBB, Small.Prob + Big.Prob);
10117       return a.Prob != b.Prob ?
10117       return a.Prob != b.Prob ?
10118              a.Prob > b.Prob :
10118              a.Prob > b.Prob :
10126       if (I->Prob > W.LastCluster->Prob)
10126       if (I->Prob > W.LastCluster->Prob)
10139     UnhandledProbs += I->Prob;
10156     UnhandledProbs -= I->Prob;
10168         auto JumpProb = I->Prob;
10264                      getCurSDLoc(), I->Prob, UnhandledProbs);
10282     if (X.Prob != CC.Prob)
10282     if (X.Prob != CC.Prob)
10283       return X.Prob > CC.Prob;
10283       return X.Prob > CC.Prob;
10304   auto LeftProb = LastLeft->Prob + W.DefaultProb / 2;
10305   auto RightProb = FirstRight->Prob + W.DefaultProb / 2;
10314       LeftProb += (++LastLeft)->Prob;
10316       RightProb += (--FirstRight)->Prob;
10457     if (CC.Prob < TopCaseProb)
10459     TopCaseProb = CC.Prob;
10486                << CC.Prob << "\n");
10487     CC.Prob = scaleCaseProbality(CC.Prob, TopCaseProb);
10487     CC.Prob = scaleCaseProbality(CC.Prob, TopCaseProb);
10488     LLVM_DEBUG(dbgs() << "After scaling: " << CC.Prob << "\n");
lib/CodeGen/SwitchLoweringUtils.cpp
  203     Prob += Clusters[I].Prob;
  218     JTProbs[Clusters[I].MBB] += Clusters[I].Prob;
  430     CB->ExtraProb += Clusters[i].Prob;
  431     TotalProb += Clusters[i].Prob;
  482       Clusters[DstIndex - 1].Prob += CC.Prob;
  482       Clusters[DstIndex - 1].Prob += CC.Prob;