Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp367 DenseMap<BasicBlock*, int> SuccessorsCount; in processSwitch() local
369 SuccessorsCount[Succ]++; in processSwitch()
394 if (--SuccessorsCount[Succ] == 0) in processSwitch()
H A DSimpleLoopUnswitch.cpp3403 int SuccessorsCount = isGuard(&TI) ? 2 : Visited.size(); in findBestNonTrivialUnswitchCandidate() local
3404 assert(SuccessorsCount > 1 && in findBestNonTrivialUnswitchCandidate()
3406 return (LoopCost - Cost) * (SuccessorsCount - 1); in findBestNonTrivialUnswitchCandidate()