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

References

lib/Analysis/BranchProbabilityInfo.cpp
  288     WeightSum += Weights.back();
  299       (WeightSum > UINT32_MAX) ? WeightSum / UINT32_MAX + 1 : 1;
  299       (WeightSum > UINT32_MAX) ? WeightSum / UINT32_MAX + 1 : 1;
  302     WeightSum = 0;
  305       WeightSum += Weights[i];
  308   assert(WeightSum <= UINT32_MAX &&
  311   if (WeightSum == 0 || ReachableIdxs.size() == 0) {
  314     WeightSum = TI->getNumSuccessors();
  320     BP.push_back({ Weights[i], static_cast<uint32_t>(WeightSum) });