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

References

lib/Support/BranchProbability.cpp
   40   assert(Denominator > 0 && "Denominator cannot be 0!");
   41   assert(Numerator <= Denominator && "Probability cannot be bigger than 1!");
   42   if (Denominator == D)
   46         (Numerator * static_cast<uint64_t>(D) + Denominator / 2) / Denominator;
   46         (Numerator * static_cast<uint64_t>(D) + Denominator / 2) / Denominator;