Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp386 DenseMap<BasicBlock*, int> SuccessorsCount; in processSwitch() local
388 SuccessorsCount[Succ]++; in processSwitch()
413 if (--SuccessorsCount[Succ] == 0) in processSwitch()
H A DSimpleLoopUnswitch.cpp2956 int SuccessorsCount = isGuard(&TI) ? 2 : Visited.size(); in unswitchBestCondition() local
2957 assert(SuccessorsCount > 1 && in unswitchBestCondition()
2959 return (LoopCost - Cost) * (SuccessorsCount - 1); in unswitchBestCondition()