Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenPGO.cpp642 uint64_t CaseCount = PGO.getRegionCount(S); in VisitSwitchCase() local
643 setCount(CurrentCount + CaseCount); in VisitSwitchCase()
646 CountMap[S] = CaseCount; in VisitSwitchCase()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5848 unsigned CaseCount = CaseValues.size(); in foldSwitchToSelect() local
5853 if (isPowerOf2_32(CaseCount)) { in foldSwitchToSelect()
5867 if (BitMask.countPopulation() == Log2_32(CaseCount)) { in foldSwitchToSelect()