Searched refs:SwapElems (Results 1 – 1 of 1) sorted by relevance
1824 SmallVector<unsigned,8> SwapElems; in perfect() local1826 SwapElems.push_back(LogLen-1); in perfect()1830 SwapElems.append(C.begin()+First, C.end()); in perfect()1832 SwapElems.push_back(C[0]); in perfect()1839 for (unsigned I = 0, E = SwapElems.size(); I != E; ) { in perfect()1840 bool IsInc = I == E-1 || SwapElems[I] < SwapElems[I+1]; in perfect()1841 unsigned S = (1u << SwapElems[I]); in perfect()1843 while (++I < E-1 && IsInc == (SwapElems[I] < SwapElems[I+1])) in perfect()1844 S |= 1u << SwapElems[I]; in perfect()1847 S |= 1u << SwapElems[I]; in perfect()