|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Analysis/BranchProbabilityInfo.cpp 239 (BranchProbability::getOne() - UR_TAKEN_PROB * UnreachableEdges.size()) /
336 BranchProbability PerEdge = ToDistribute / ReachableIdxs.size();
628 auto Prob = TakenProb / numBackEdges;
635 auto Prob = TakenProb / numInEdges;
643 auto Prob = NotTakenProb / numExitingEdges;
651 auto Prob = UnlikelyProb / numUnlikelyEdges;
lib/CodeGen/GlobalISel/IRTranslator.cpp 681 JumpProb += DefaultProb / 2;
682 FallthroughProb -= DefaultProb / 2;
683 JumpMBB->setSuccProbability(SI, DefaultProb / 2);
lib/CodeGen/MachineBasicBlock.cpp 1345 return Sum.getCompl() / (Probs.size() - KnownProbNum);
lib/CodeGen/MachineBlockPlacement.cpp 869 if (UProb > AdjustedSuccSumProb / 2 &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 2143 auto NewTrueProb = TProb / 2;
2144 auto NewFalseProb = TProb / 2 + FProb;
2150 SmallVector<BranchProbability, 2> Probs{TProb / 2, FProb};
2176 auto NewTrueProb = TProb + FProb / 2;
2177 auto NewFalseProb = FProb / 2;
2183 SmallVector<BranchProbability, 2> Probs{TProb, FProb / 2};
10178 JumpProb += DefaultProb / 2;
10179 FallthroughProb -= DefaultProb / 2;
10180 JumpMBB->setSuccProbability(SI, DefaultProb / 2);
10225 BTB->Prob += DefaultProb / 2;
10226 BTB->DefaultProb -= DefaultProb / 2;
10304 auto LeftProb = LastLeft->Prob + W.DefaultProb / 2;
10305 auto RightProb = FirstRight->Prob + W.DefaultProb / 2;
10392 {LeftMBB, FirstLeft, LastLeft, W.GE, Pivot, W.DefaultProb / 2});
10408 {RightMBB, FirstRight, LastRight, Pivot, W.LT, W.DefaultProb / 2});
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 547 if (std::max(TProb, FProb) / Threshold < std::min(TProb, FProb))
lib/Target/PowerPC/PPCReduceCRLogicals.cpp 185 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigFallThrough) / 2;
190 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigTarget) / 2;
unittests/Support/BranchProbabilityTest.cpp 152 EXPECT_EQ(Z / 4, Z);
153 EXPECT_EQ(O / 4, Q);
154 EXPECT_EQ(Q3 / 3, Q);
155 EXPECT_EQ(H / 2, Q);
156 EXPECT_EQ(O / 2, H);
157 EXPECT_EQ(H / UINT32_MAX, Z);
161 EXPECT_EQ(O / UINT32_MAX, Z);