Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp356 DenseMap<BasicBlock*, int> SuccessorsCount; in processSwitch() local
358 SuccessorsCount[Succ]++; in processSwitch()
384 if (--SuccessorsCount[Succ] == 0) in processSwitch()
418 if (SuccessorsCount[DefaultDest] == 1) in processSwitch()
H A DSimpleLoopUnswitch.cpp3425 int SuccessorsCount = isGuard(&TI) ? 2 : Visited.size(); in findBestNonTrivialUnswitchCandidate() local
3426 assert(SuccessorsCount > 1 && in findBestNonTrivialUnswitchCandidate()
3428 return (LoopCost - Cost) * (SuccessorsCount - 1); in findBestNonTrivialUnswitchCandidate()