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

References

include/llvm/Analysis/BranchProbabilityInfo.h
  130     return IsLikely ? LikelyProb : LikelyProb.getCompl();
lib/Analysis/BranchProbabilityInfo.cpp
  429   setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl());
  774   setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl());
  816   setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl());
  828   setEdgeProbability(BB, 1 /*Index for Unwind*/, TakenProb.getCompl());
lib/CodeGen/IfConversion.cpp
 1385                         Prediction.getCompl()) &&
 1388                              FalseBBI.ExtraCost2, Prediction.getCompl()) &&
 1396                         Prediction.getCompl()) &&
 1399                            FalseBBI.ExtraCost2, Prediction.getCompl()) &&
 1406       if (ValidSimple(FalseBBI, Dups, Prediction.getCompl()) &&
 1409                              FalseBBI.ExtraCost2, Prediction.getCompl()) &&
lib/CodeGen/MachineBasicBlock.cpp
 1345     return Sum.getCompl() / (Probs.size() - KnownProbNum);
lib/CodeGen/MachineBlockPlacement.cpp
 1443     if (PredEdgeFreq * HotProb >= CandidateEdgeFreq * HotProb.getCompl()) {
 2398                                   ? TailBBFreq * TailToHeadProb.getCompl()
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10429   BranchProbability SwitchProb = PeeledCaseProb.getCompl();
10479                           nullptr,   nullptr,      TopCaseProb.getCompl()};
lib/Target/ARM/ARMBaseInstrInfo.cpp
 2063     unsigned FUnpredCost = Probability.getCompl().scale(FUnpredCycles * ScalingUpFactor);
 2073       Probability.getCompl().scale(FCycles * ScalingUpFactor);
lib/Target/PowerPC/PPCReduceCRLogicals.cpp
  186       ProbFallThrough = ProbToNewTarget.getCompl();
  187       ProbOrigFallThrough = ProbToNewTarget / ProbToNewTarget.getCompl();
  188       ProbOrigTarget = ProbOrigFallThrough.getCompl();
  191       ProbFallThrough = ProbToNewTarget.getCompl();
  192       ProbOrigTarget = ProbToNewTarget / ProbToNewTarget.getCompl();
  193       ProbOrigFallThrough = ProbOrigTarget.getCompl();
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1873   Weights.push_back(static_cast<uint32_t>(CHRBranchBias.getCompl().scale(1000)));
lib/Transforms/Scalar/JumpThreading.cpp
  284       Weights.push_back(BP.getCompl().getNumerator());
  286       Weights.push_back(BP.getCompl().getNumerator());
unittests/Support/BranchProbabilityTest.cpp
  166   EXPECT_EQ(BP(5, 7), BP(2, 7).getCompl());
  167   EXPECT_EQ(BP(2, 7), BP(5, 7).getCompl());
  168   EXPECT_EQ(BP::getZero(), BP(7, 7).getCompl());
  169   EXPECT_EQ(BP::getOne(), BP(0, 7).getCompl());