Lines Matching defs:NewWeights
4050 SmallVector<uint64_t, 8> NewWeights;
4056 NewWeights.push_back(PredTrueWeight * SuccTrueWeight);
4061 NewWeights.push_back(PredFalseWeight *
4069 NewWeights.push_back(PredTrueWeight * (SuccFalseWeight + SuccTrueWeight) +
4072 NewWeights.push_back(PredFalseWeight * SuccFalseWeight);
4076 fitWeights(NewWeights);
4078 SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(), NewWeights.end());
4810 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther) +
4814 fitWeights(NewWeights);
4816 setBranchWeights(PBI, NewWeights[0], NewWeights[1], /*IsExpected=*/false);
4847 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther),
4850 fitWeights(NewWeights);
4852 setBranchWeights(NV, NewWeights[0], NewWeights[1],
7472 MDNode *NewWeights = nullptr;
7474 NewWeights = MDBuilder(SI->getContext())
7480 Builder.CreateCondBr(ICmp, Succ, OtherSucc, NewWeights,