Home
last modified time | relevance | path

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

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