Searched refs:NewWeights (Results 1 – 1 of 1) sorted by relevance
2262 SmallVector<uint64_t, 8> NewWeights; in FoldBranchToCommonDest() local2269 NewWeights.push_back(PredTrueWeight * SuccTrueWeight); in FoldBranchToCommonDest()2274 NewWeights.push_back(PredFalseWeight * (SuccFalseWeight + in FoldBranchToCommonDest()2286 NewWeights.push_back(PredTrueWeight * (SuccFalseWeight + in FoldBranchToCommonDest()2289 NewWeights.push_back(PredFalseWeight * SuccFalseWeight); in FoldBranchToCommonDest()2294 if (NewWeights.size() == 2) { in FoldBranchToCommonDest()2296 FitWeights(NewWeights); in FoldBranchToCommonDest()2298 SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(),NewWeights.end()); in FoldBranchToCommonDest()2846 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther) + in SimplifyCondBranchToCondBranch() local2850 FitWeights(NewWeights); in SimplifyCondBranchToCondBranch()[all …]