Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp868 SmallVector<uint64_t, 8> SuccWeights; in FoldValueComparisonIntoPredecessors() local
870 GetBranchWeights(TI, SuccWeights); in FoldValueComparisonIntoPredecessors()
872 if (SuccWeights.size() != 1 + BBCases.size()) in FoldValueComparisonIntoPredecessors()
875 SuccWeights.assign(1 + BBCases.size(), 1); in FoldValueComparisonIntoPredecessors()
917 Weights.push_back(Weights[0] * SuccWeights[i+1]); in FoldValueComparisonIntoPredecessors()
918 ValidTotalSuccWeight += SuccWeights[i+1]; in FoldValueComparisonIntoPredecessors()
923 ValidTotalSuccWeight += SuccWeights[0]; in FoldValueComparisonIntoPredecessors()
928 Weights[0] *= SuccWeights[0]; in FoldValueComparisonIntoPredecessors()