Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6477 static bool isSwitchDense(uint64_t NumCases, uint64_t CaseRange) { in isSwitchDense() function
6489 static bool isSwitchDense(ArrayRef<int64_t> Values) { in isSwitchDense() function
6495 return isSwitchDense(Values.size(), Range); in isSwitchDense()
6538 return isSwitchDense(SI->getNumCases(), TableSize); in ShouldBuildLookupTable()
6978 if (isSwitchDense(Values)) in ReduceSwitchRange()
7004 if (!isSwitchDense(Values)) in ReduceSwitchRange()
7086 if (!isSwitchDense(Values.size(), llvm::countr_zero(Values.back()) - in simplifySwitchOfPowersOfTwo()