Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp858 uint64_t CaseCount = PGO.getRegionCount(S); in VisitSwitchCase() local
859 setCount(CurrentCount + CaseCount); in VisitSwitchCase()
862 CountMap[S] = CaseCount; in VisitSwitchCase()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6085 unsigned CaseCount = CaseValues.size(); in foldSwitchToSelect() local
6090 if (isPowerOf2_32(CaseCount)) { in foldSwitchToSelect()
6104 if (BitMask.popcount() == Log2_32(CaseCount)) { in foldSwitchToSelect()