Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DBranchProbability.h240 auto ZeroWeightNum = std::count(Begin, End, 0u); in normalizeEdgeWeights() local
241 if (ZeroWeightNum > 0) { in normalizeEdgeWeights()
248 if (Sum + ZeroWeightNum > UINT32_MAX) { in normalizeEdgeWeights()
251 ZeroWeightNum = std::count(Begin, End, 0u); in normalizeEdgeWeights()
255 uint64_t ScalingFactor = (UINT32_MAX - ZeroWeightNum) / Sum; in normalizeEdgeWeights()