Lines Matching defs:Weights
1539 SmallVector<uint32_t, 4> Weights;
1541 Weights.push_back((Coverage[Succ] || !Coverage[&BB]) ? 1 : 0);
1542 if (Weights.size() >= 2)
1543 llvm::setBranchWeights(*BB.getTerminator(), Weights,
2391 SmallVector<unsigned, 4> Weights;
2393 Weights.push_back(scaleBranchCount(ECI, Scale));
2396 : Weights) {
2400 misexpect::checkExpectAnnotations(*TI, Weights, /*IsFrontend=*/false);
2402 setBranchWeights(*TI, Weights, /*IsExpected=*/false);
2409 std::accumulate(Weights.begin(), Weights.end(), (uint64_t)0,
2415 BranchProbability BP(scaleBranchCount(Weights[0], Scale),