Lines Matching full:weights
344 // list, so we fill all Weights with 0's.
345 if (weight != 0 && Weights.empty())
346 Weights.resize(Successors.size());
348 if (weight != 0 || !Weights.empty())
349 Weights.push_back(weight);
361 if (!Weights.empty()) {
363 Weights.erase(WI);
374 if (!Weights.empty()) {
376 Weights.erase(WI);
389 if (!Weights.empty()) {
419 if (!fromMBB->Weights.empty())
420 weight = *fromMBB->Weights.begin();
775 if (Weights.empty())
786 assert(Weights.size() == Successors.size() && "Async weight list!");
788 assert(index < Weights.size() && "Not a current successor!");
789 return Weights.begin() + index;