Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSwitchLoweringUtils.h42 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 …]
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp55 for (CaseCluster &C : Clusters) in findJumpTables()
90 CaseCluster JTCluster; in findJumpTables()
180 CaseCluster JTCluster; in findJumpTables()
197 CaseCluster &JTCluster) { in buildJumpTable()
263 JTCluster = CaseCluster::jumpTable(Clusters[First].Low, Clusters[Last].High, in buildJumpTable()
277 for (const CaseCluster &C : Clusters) in findBitTestClusters()
354 CaseCluster BitTestCluster; in findBitTestClusters()
370 CaseCluster &BTCluster) { in buildBitTests()
462 BTCluster = CaseCluster::bitTests(Clusters[First].Low, Clusters[Last].High, in buildBitTests()
469 for (const CaseCluster &CC : Clusters) in sortAndRangeify()
[all …]
/src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp705 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in translateSwitch()
730 for (const CaseCluster &C : Clusters) { in translateSwitch()
1256 [](const CaseCluster &a, const CaseCluster &b) { in lowerSwitchWorkItem()
/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp11942 CaseCluster &Small = *W.FirstCluster; in lowerWorkItem()
11943 CaseCluster &Big = *W.LastCluster; in lowerWorkItem()
11995 [](const CaseCluster &a, const CaseCluster &b) { in lowerWorkItem()
12269 CaseCluster &CC = Clusters[Index]; in peelDominantCaseCluster()
12296 for (CaseCluster &CC : Clusters) { in peelDominantCaseCluster()
12318 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in visitSwitch()
12351 for (const CaseCluster &C : Clusters) { in visitSwitch()