Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceSwitchLowering.h25 class CaseCluster; variable
27 using CaseClusterArray = CfgVector<CaseCluster>;
30 class CaseCluster {
31 CaseCluster() = delete;
39 CaseCluster(const CaseCluster &) = default;
40 CaseCluster &operator=(const CaseCluster &) = default;
43 CaseCluster(uint64_t Value, CfgNode *Target) in CaseCluster() function
46 CaseCluster(uint64_t Low, uint64_t High, InstJumpTable *JT) in CaseCluster() function
78 bool tryAppend(const CaseCluster &New);
DIceSwitchLowering.cpp24 CaseClusterArray CaseCluster::clusterizeSwitch(Cfg *Func, in clusterizeSwitch()
37 [](const CaseCluster &x, const CaseCluster &y) { in clusterizeSwitch()
44 [&Active](const CaseCluster &x) { in clusterizeSwitch()
80 for (const CaseCluster &Case : CaseClusters) { in clusterizeSwitch()
96 bool CaseCluster::tryAppend(const CaseCluster &New) { in tryAppend()
DIceTargetLoweringX86BaseImpl.h6959 void TargetX86Base<TraitsType>::lowerCaseCluster(const CaseCluster &Case,
6964 case CaseCluster::JumpTable: {
7025 case CaseCluster::Range: {
7054 CaseClusterArray CaseClusters = CaseCluster::clusterizeSwitch(Func, Instr);
7144 const CaseCluster *CaseA = &CaseClusters[Span.Begin];
7145 const CaseCluster *CaseB = &CaseClusters[Span.Begin + 1];
7170 const CaseCluster &Pivot = CaseClusters[PivotIndex];
DIceTargetLoweringX86Base.h363 void lowerCaseCluster(const CaseCluster &Case, Operand *Src0, bool DoneCmp,
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h149 struct CaseCluster { struct
159 static CaseCluster range(const ConstantInt *Low, const ConstantInt *High, in range() argument
161 CaseCluster C; in range()
170 static CaseCluster jumpTable(const ConstantInt *Low, in jumpTable() argument
173 CaseCluster C; in jumpTable()
182 static CaseCluster bitTests(const ConstantInt *Low, const ConstantInt *High, in bitTests() argument
184 CaseCluster C; in bitTests()
194 typedef std::vector<CaseCluster> CaseClusterVector;
315 MachineBasicBlock *DefaultMBB, CaseCluster &JTCluster);
332 const SwitchInst *SI, CaseCluster &BTCluster);
[all …]
DSelectionDAGBuilder.cpp2382 for (const CaseCluster &CC : Clusters) in sortAndRangeify()
2387 [](const CaseCluster &a, const CaseCluster &b) { in sortAndRangeify()
2395 CaseCluster &CC = Clusters[SrcIndex]; in sortAndRangeify()
8246 CaseCluster &JTCluster) { in buildJumpTable()
8313 JTCluster = CaseCluster::jumpTable(Clusters[First].Low, Clusters[Last].High, in buildJumpTable()
8324 for (CaseCluster &C : Clusters) in findJumpTables()
8354 CaseCluster JTCluster; in findJumpTables()
8422 CaseCluster JTCluster; in findJumpTables()
8467 CaseCluster &BTCluster) { in buildBitTests()
8558 BTCluster = CaseCluster::bitTests(Clusters[First].Low, Clusters[Last].High, in buildBitTests()
[all …]