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

References

lib/Analysis/BranchProbabilityInfo.cpp
  279   Weights.reserve(TI->getNumSuccessors());
  287     Weights.push_back(Weight->getZExtValue());
  288     WeightSum += Weights.back();
  294   assert(Weights.size() == TI->getNumSuccessors() && "Checked above");
  304       Weights[i] /= ScalingFactor;
  305       WeightSum += Weights[i];
  313       Weights[i] = 1;
  320     BP.push_back({ Weights[i], static_cast<uint32_t>(WeightSum) });