Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3112 uint64_t TWeight, FWeight; in isProfitableToSpeculate() local
3113 if (!extractBranchWeights(*BI, TWeight, FWeight) || (TWeight + FWeight) == 0) in isProfitableToSpeculate()
3119 uint64_t EndWeight = *Invert ? TWeight : FWeight; in isProfitableToSpeculate()
3121 BranchProbability::getBranchProbability(EndWeight, TWeight + FWeight); in isProfitableToSpeculate()
3670 uint64_t TWeight, FWeight; in foldTwoEntryPHINode() local
3671 if (extractBranchWeights(*DomBI, TWeight, FWeight) && in foldTwoEntryPHINode()
3672 (TWeight + FWeight) != 0) { in foldTwoEntryPHINode()
3674 BranchProbability::getBranchProbability(TWeight, TWeight + FWeight); in foldTwoEntryPHINode()