Home
last modified time | relevance | path

Searched refs:SuccWeights (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp986 SmallVector<uint64_t, 8> SuccWeights; in FoldValueComparisonIntoPredecessors() local
988 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()