Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp346 uint32_t WeightScale = 0; in selectBestSuccessor() local
347 uint32_t SumWeight = MBPI->getSumForBlock(BB, WeightScale); in selectBestSuccessor()
365 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in selectBestSuccessor()
651 uint32_t WeightScale = 0; in findBestLoopExit() local
652 uint32_t SumWeight = MBPI->getSumForBlock(*I, WeightScale); in findBestLoopExit()
683 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in findBestLoopExit()
DIfConversion.cpp1186 uint32_t WeightScale = 0; in IfConvertTriangle() local
1193 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()