/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceSwitchLowering.h | 25 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);
|
D | IceSwitchLowering.cpp | 24 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()
|
D | IceTargetLoweringX8664.cpp | 5887 void TargetX8664::lowerCaseCluster(const CaseCluster &Case, Operand *Comparison, in lowerCaseCluster() 5890 case CaseCluster::JumpTable: { in lowerCaseCluster() 5946 case CaseCluster::Range: { in lowerCaseCluster() 5974 CaseClusterArray CaseClusters = CaseCluster::clusterizeSwitch(Func, Instr); in lowerSwitch() 6024 const CaseCluster *CaseA = &CaseClusters[Span.Begin]; in lowerSwitch() 6025 const CaseCluster *CaseB = &CaseClusters[Span.Begin + 1]; in lowerSwitch() 6050 const CaseCluster &Pivot = CaseClusters[PivotIndex]; in lowerSwitch()
|
D | IceTargetLoweringX8632.cpp | 6509 void TargetX8632::lowerCaseCluster(const CaseCluster &Case, Operand *Comparison, in lowerCaseCluster() 6512 case CaseCluster::JumpTable: { in lowerCaseCluster() 6565 case CaseCluster::Range: { in lowerCaseCluster() 6593 CaseClusterArray CaseClusters = CaseCluster::clusterizeSwitch(Func, Instr); in lowerSwitch() 6683 const CaseCluster *CaseA = &CaseClusters[Span.Begin]; in lowerSwitch() 6684 const CaseCluster *CaseB = &CaseClusters[Span.Begin + 1]; in lowerSwitch() 6709 const CaseCluster &Pivot = CaseClusters[PivotIndex]; in lowerSwitch()
|
D | IceTargetLoweringX8664.h | 344 void lowerCaseCluster(const CaseCluster &Case, Operand *Src0, bool DoneCmp,
|
D | IceTargetLoweringX8632.h | 348 void lowerCaseCluster(const CaseCluster &Case, Operand *Src0, bool DoneCmp,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SwitchLoweringUtils.h | 37 struct CaseCluster { struct 47 static CaseCluster range(const ConstantInt *Low, const ConstantInt *High, in range() argument 49 CaseCluster C; in range() 58 static CaseCluster jumpTable(const ConstantInt *Low, const ConstantInt *High, in jumpTable() argument 60 CaseCluster C; in jumpTable() 69 static CaseCluster bitTests(const ConstantInt *Low, const ConstantInt *High, in bitTests() argument 71 CaseCluster C; in bitTests() 81 using CaseClusterVector = std::vector<CaseCluster>; 273 MachineBasicBlock *DefaultMBB, CaseCluster &JTCluster); 281 const SwitchInst *SI, CaseCluster &BTCluster);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SwitchLoweringUtils.cpp | 51 for (CaseCluster &C : Clusters) in findJumpTables() 86 CaseCluster JTCluster; in findJumpTables() 175 CaseCluster JTCluster; in findJumpTables() 191 CaseCluster &JTCluster) { in buildJumpTable() 257 JTCluster = CaseCluster::jumpTable(Clusters[First].Low, Clusters[Last].High, in buildJumpTable() 271 for (const CaseCluster &C : Clusters) in findBitTestClusters() 348 CaseCluster BitTestCluster; in findBitTestClusters() 364 CaseCluster &BTCluster) { in buildBitTests() 456 BTCluster = CaseCluster::bitTests(Clusters[First].Low, Clusters[Last].High, in buildBitTests() 463 for (const CaseCluster &CC : Clusters) in sortAndRangeify() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 450 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in translateSwitch() 474 for (const CaseCluster &C : Clusters) { in translateSwitch() 767 [](const CaseCluster &a, const CaseCluster &b) { in lowerSwitchWorkItem()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 166 unsigned caseClusterRank(const SwitchCG::CaseCluster &CC,
|
D | SelectionDAGBuilder.cpp | 10121 CaseCluster &Small = *W.FirstCluster; in lowerWorkItem() 10122 CaseCluster &Big = *W.LastCluster; in lowerWorkItem() 10174 [](const CaseCluster &a, const CaseCluster &b) { in lowerWorkItem() 10336 unsigned SelectionDAGBuilder::caseClusterRank(const CaseCluster &CC, in caseClusterRank() 10339 return std::count_if(First, Last + 1, [&](const CaseCluster &X) { in caseClusterRank() 10393 CaseCluster &CC = *FirstRight; in splitWorkItem() 10405 CaseCluster &CC = *LastLeft; in splitWorkItem() 10514 CaseCluster &CC = Clusters[Index]; in peelDominantCaseCluster() 10541 for (CaseCluster &CC : Clusters) { in peelDominantCaseCluster() 10563 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in visitSwitch() [all …]
|