Searched refs:CaseClusters (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/subzero/src/ |
D | IceSwitchLowering.cpp | 27 CaseClusterArray CaseClusters; in clusterizeSwitch() local 28 CaseClusters.reserve(NumCases); in clusterizeSwitch() 31 CaseClusters.reserve(NumCases); in clusterizeSwitch() 33 CaseClusters.emplace_back(Instr->getValue(I), Instr->getLabel(I)); in clusterizeSwitch() 36 std::sort(CaseClusters.begin(), CaseClusters.end(), in clusterizeSwitch() 42 auto Active = CaseClusters.begin(); in clusterizeSwitch() 43 std::for_each(Active + 1, CaseClusters.end(), in clusterizeSwitch() 48 CaseClusters.erase(Active + 1, CaseClusters.end()); in clusterizeSwitch() 54 if (CaseClusters.size() < Func->getTarget()->getMinJumpTableSize()) in clusterizeSwitch() 55 return CaseClusters; in clusterizeSwitch() [all …]
|
D | IceTargetLoweringX86BaseImpl.h | 7104 CaseClusterArray CaseClusters = CaseCluster::clusterizeSwitch(Func, Instr); 7108 assert(CaseClusters.size() != 0); // Should always be at least one 7114 if (CaseClusters.back().getHigh() > UINT32_MAX) { 7150 if (CaseClusters.size() == 1) { 7154 lowerCaseCluster(CaseClusters.front(), Src0, DoneCmp, DefaultTarget); 7172 SearchSpanStack.emplace(0, CaseClusters.size(), nullptr); 7188 lowerCaseCluster(CaseClusters[Span.Begin], Comparison, DoneCmp, 7194 const CaseCluster *CaseA = &CaseClusters[Span.Begin]; 7195 const CaseCluster *CaseB = &CaseClusters[Span.Begin + 1]; 7220 const CaseCluster &Pivot = CaseClusters[PivotIndex];
|