Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp365 uint32_t SumWeight = MBPI->getSumForBlock(BB, WeightScale); in selectBestSuccessor() local
381 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in selectBestSuccessor()
679 uint32_t SumWeight = MBPI->getSumForBlock(MBB, WeightScale); in findBestLoopExit() local
708 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in findBestLoopExit()
DIfConversion.cpp1189 uint64_t CvtNext = 0, CvtFalse = 0, BBNext = 0, BBCvt = 0, SumWeight = 0; in IfConvertTriangle() local
1198 SumWeight = MBPI->getSumForBlock(CvtBBI->BB, WeightScale); in IfConvertTriangle()
1235 uint64_t NewNext = BBNext * SumWeight + (BBCvt * CvtNext) / WeightScale; in IfConvertTriangle()