Searched refs:WeightScale (Results 1 – 2 of 2) sorted by relevance
346 uint32_t WeightScale = 0; in selectBestSuccessor() local347 uint32_t SumWeight = MBPI->getSumForBlock(BB, WeightScale); in selectBestSuccessor()365 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in selectBestSuccessor()651 uint32_t WeightScale = 0; in findBestLoopExit() local652 uint32_t SumWeight = MBPI->getSumForBlock(*I, WeightScale); in findBestLoopExit()683 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in findBestLoopExit()
1186 uint32_t WeightScale = 0; in IfConvertTriangle() local1193 SumWeight = MBPI->getSumForBlock(CvtBBI->BB, WeightScale); in IfConvertTriangle()1229 uint64_t NewNext = BBNext * SumWeight + (BBCvt * CvtNext) / WeightScale; in IfConvertTriangle()1230 uint64_t NewFalse = (BBCvt * CvtFalse) / WeightScale; in IfConvertTriangle()