Searched refs:CaseCluster (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SwitchLoweringUtils.h | 42 struct CaseCluster { struct 52 static CaseCluster range(const ConstantInt *Low, const ConstantInt *High, in range() argument 54 CaseCluster C; in range() 63 static CaseCluster jumpTable(const ConstantInt *Low, const ConstantInt *High, in jumpTable() argument 65 CaseCluster C; in jumpTable() 74 static CaseCluster bitTests(const ConstantInt *Low, const ConstantInt *High, in bitTests() argument 76 CaseCluster C; in bitTests() 86 using CaseClusterVector = std::vector<CaseCluster>; 283 MachineBasicBlock *DefaultMBB, CaseCluster &JTCluster); 290 const SwitchInst *SI, CaseCluster &BTCluster); [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SwitchLoweringUtils.cpp | 55 for (CaseCluster &C : Clusters) in findJumpTables() 90 CaseCluster JTCluster; in findJumpTables() 179 CaseCluster JTCluster; in findJumpTables() 276 for (const CaseCluster &C : Clusters) in findBitTestClusters() 353 CaseCluster BitTestCluster; in findBitTestClusters() 468 for (const CaseCluster &CC : Clusters) in sortAndRangeify() 472 llvm::sort(Clusters, [](const CaseCluster &a, const CaseCluster &b) { in sortAndRangeify() 480 CaseCluster &CC = Clusters[SrcIndex]; in sortAndRangeify() 501 return std::count_if(First, Last + 1, [&](const CaseCluster &X) { in caseClusterRank() 546 CaseCluster &CC = *FirstRight; in computeSplitWorkItemInfo() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 707 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in translateSwitch() 732 for (const CaseCluster &C : Clusters) { in translateSwitch() 1258 [](const CaseCluster &a, const CaseCluster &b) { in lowerSwitchWorkItem()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 11422 CaseCluster &Small = *W.FirstCluster; in lowerWorkItem() 11423 CaseCluster &Big = *W.LastCluster; in lowerWorkItem() 11475 [](const CaseCluster &a, const CaseCluster &b) { in lowerWorkItem() 11759 CaseCluster &CC = Clusters[Index]; in peelDominantCaseCluster() 11786 for (CaseCluster &CC : Clusters) { in peelDominantCaseCluster() 11808 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in visitSwitch() 11841 for (const CaseCluster &C : Clusters) { in visitSwitch()
|