Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp336 DenseMap<BasicBlock*, int> SuccessorsCount; in processSwitch() local
338 SuccessorsCount[Succ]++; in processSwitch()
363 if (--SuccessorsCount[Succ] == 0) in processSwitch()
H A DSimpleLoopUnswitch.cpp2909 int SuccessorsCount = isGuard(&TI) ? 2 : Visited.size(); in unswitchBestCondition() local
2910 assert(SuccessorsCount > 1 && in unswitchBestCondition()
2912 return (LoopCost - Cost) * (SuccessorsCount - 1); in unswitchBestCondition()