Searched refs:SuccWeights (Results 1 – 2 of 2) sorted by relevance
986 SmallVector<uint64_t, 8> SuccWeights; in FoldValueComparisonIntoPredecessors() local988 GetBranchWeights(TI, SuccWeights); in FoldValueComparisonIntoPredecessors()990 if (SuccWeights.size() != 1 + BBCases.size()) in FoldValueComparisonIntoPredecessors()993 SuccWeights.assign(1 + BBCases.size(), 1); in FoldValueComparisonIntoPredecessors()1036 Weights.push_back(Weights[0] * SuccWeights[i + 1]); in FoldValueComparisonIntoPredecessors()1037 ValidTotalSuccWeight += SuccWeights[i + 1]; in FoldValueComparisonIntoPredecessors()1042 ValidTotalSuccWeight += SuccWeights[0]; in FoldValueComparisonIntoPredecessors()1047 Weights[0] *= SuccWeights[0]; in FoldValueComparisonIntoPredecessors()
1057 SmallVector<uint64_t, 8> SuccWeights; in FoldValueComparisonIntoPredecessors() local1059 GetBranchWeights(TI, SuccWeights); in FoldValueComparisonIntoPredecessors()1061 if (SuccWeights.size() != 1 + BBCases.size()) in FoldValueComparisonIntoPredecessors()1064 SuccWeights.assign(1 + BBCases.size(), 1); in FoldValueComparisonIntoPredecessors()1107 Weights.push_back(Weights[0] * SuccWeights[i + 1]); in FoldValueComparisonIntoPredecessors()1108 ValidTotalSuccWeight += SuccWeights[i + 1]; in FoldValueComparisonIntoPredecessors()1113 ValidTotalSuccWeight += SuccWeights[0]; in FoldValueComparisonIntoPredecessors()1118 Weights[0] *= SuccWeights[0]; in FoldValueComparisonIntoPredecessors()