reference, declarationdefinition
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()) /
lib/CodeGen/IfConversion.cpp
 2093       BBI.BB->addSuccessor(TailBB, BranchProbability::getOne());
lib/CodeGen/MachineBlockPlacement.cpp
  649   auto AdjustedSumProb = BranchProbability::getOne();
  682     SuccProb = BranchProbability::getOne();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10427   if (PeeledCaseProb == BranchProbability::getOne())
lib/Target/Mips/MipsExpandPseudo.cpp
  132   BB.addSuccessor(loop1MBB, BranchProbability::getOne());
  139   sinkMBB->addSuccessor(exitMBB, BranchProbability::getOne());
  267   BB.addSuccessor(loop1MBB, BranchProbability::getOne());
  399   BB.addSuccessor(loopMBB, BranchProbability::getOne());
  452   sinkMBB->addSuccessor(exitMBB, BranchProbability::getOne());
  587   BB.addSuccessor(loopMBB, BranchProbability::getOne());
lib/Target/Mips/MipsISelLowering.cpp
 1657   BB->addSuccessor(exitMBB, BranchProbability::getOne());
 1835   BB->addSuccessor(exitMBB, BranchProbability::getOne());
lib/Target/PowerPC/PPCISelLowering.cpp
10716   thisMBB->addSuccessor(sinkMBB, BranchProbability::getOne());
lib/Target/X86/X86FrameLowering.cpp
 2525   checkMBB->addSuccessor(&PrologueMBB, BranchProbability::getOne());
tools/llvm-exegesis/lib/SnippetRepetitor.cpp
   72       Entry.MBB->addSuccessor(Loop.MBB, BranchProbability::getOne());
   73       Loop.MBB->addSuccessor(Loop.MBB, BranchProbability::getOne());
unittests/Support/BranchProbabilityTest.cpp
   28   EXPECT_EQ(1u << 31, BP::getOne().getNumerator());
   29   EXPECT_EQ(1u << 31, BP::getOne().getDenominator());
  169   EXPECT_EQ(BP::getOne(), BP(0, 7).getCompl());