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

References

lib/Analysis/BranchProbabilityInfo.cpp
  335     if (ToDistribute > BranchProbability::getZero()) {
  853   return getEdgeProbability(Src, Dst) > BranchProbability(4, 5);
  864     if (Prob > MaxProb) {
  871   if (MaxProb > BranchProbability(4, 5))
lib/CodeGen/CodeGenPrepare.cpp
 5856       if (Probability > TLI->getPredictableBranchThreshold())
lib/CodeGen/GlobalISel/IRTranslator.cpp
  768                             ? a.Prob > b.Prob
  776       if (I->Prob > W.LastCluster->Prob)
lib/CodeGen/MachineBlockPlacement.cpp
  783     if (Prob > BestSuccSucc)
  869   if (UProb > AdjustedSuccSumProb / 2 &&
 1546                       return std::get<0>(L) > std::get<0>(R);
 1822         if (!LoopBlockSet.count(Succ) && (SuccProb > TopProb) &&
 2186         if ((!SuccChain || Succ == *SuccChain->begin()) && SuccProb > TopProb) {
 2341     if (LargestExitEdgeProb > BranchProbability::getZero()) {
 2397         auto ColderEdgeFreq = TailToHeadProb > BranchProbability(1, 2)
 2722           MBPI->getEdgeProbability(ChainBB, FBB) >
lib/CodeGen/MachineBranchProbabilityInfo.cpp
   58   return getEdgeProbability(Src, Dst) > HotProb;
   68     if (Prob > MaxProb) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10118              a.Prob > b.Prob :
10126       if (I->Prob > W.LastCluster->Prob)
10283       return X.Prob > CC.Prob;
lib/CodeGen/SwitchLoweringUtils.cpp
  438       return a.ExtraProb > b.ExtraProb;
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  509        MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob))
  514        MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob))
  520       if (MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob)
  522       if (MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob)
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  562   return (TProb > FProb) ? PPC::BR_TAKEN_HINT : PPC::BR_NONTAKEN_HINT;
lib/Transforms/IPO/PartialInlining.cpp
  491       if (SuccProb > MinBranchProbability)
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1895   if (CHRBranchBias > Bias)
 1938   if (CHRBranchBias > Bias)
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  777       ExitProbability > BranchProbability(1, MaxExitProbReciprocal)) {
lib/Transforms/Scalar/LoopPredication.cpp
  947     if (ExitingBlockProbability > LatchProbabilityThreshold)
unittests/Support/BranchProbabilityTest.cpp
   41   EXPECT_FALSE(BP(1, 7) > BP(2, 7));
   42   EXPECT_FALSE(BP(1, 7) > BP(1, 4));
   43   EXPECT_FALSE(BP(5, 7) > BP(3, 4));
   44   EXPECT_FALSE(BP(1, 7) > BP(1, 7));
   45   EXPECT_FALSE(BP(1, 7) > BP(2, 14));
   46   EXPECT_TRUE(BP(4, 7) > BP(1, 2));
   47   EXPECT_TRUE(BP(4, 7) > BP(3, 7));
   96   EXPECT_FALSE(A > B);
  103   EXPECT_TRUE(B > C);
  112   EXPECT_FALSE(BigZero > BigOne);