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

References

lib/Analysis/BlockFrequencyInfoImpl.cpp
  137   Weights.push_back(Weight(Type, Node, Amount));
  216   if (Weights.empty())
  220   if (Weights.size() > 1)
  221     combineWeights(Weights);
  224   if (Weights.size() == 1) {
  226     Weights.front().Amount = 1;
  244     assert(Total == std::accumulate(Weights.begin(), Weights.end(), UINT64_C(0),
  244     assert(Total == std::accumulate(Weights.begin(), Weights.end(), UINT64_C(0),
  257   for (Weight &W : Weights) {
  434   for (const Weight &W : Dist.Weights) {
  834   for (const Weight &W : Dist.Weights) {
  845   for (const Weight &W : Dist.Weights) {
lib/Transforms/Utils/CodeExtractor.cpp
 1372   for (unsigned I = 0, E = BranchDist.Weights.size(); I < E; ++I) {
 1373     const auto &Weight = BranchDist.Weights[I];