Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp891 SmallVector<uint64_t, 8> SuccWeights; in FoldValueComparisonIntoPredecessors() local
893 GetBranchWeights(TI, SuccWeights); in FoldValueComparisonIntoPredecessors()
895 if (SuccWeights.size() != 1 + BBCases.size()) in FoldValueComparisonIntoPredecessors()
898 SuccWeights.assign(1 + BBCases.size(), 1); in FoldValueComparisonIntoPredecessors()
940 Weights.push_back(Weights[0] * SuccWeights[i+1]); in FoldValueComparisonIntoPredecessors()
941 ValidTotalSuccWeight += SuccWeights[i+1]; in FoldValueComparisonIntoPredecessors()
946 ValidTotalSuccWeight += SuccWeights[0]; in FoldValueComparisonIntoPredecessors()
951 Weights[0] *= SuccWeights[0]; in FoldValueComparisonIntoPredecessors()