Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAGHVX.cpp1824 SmallVector<unsigned,8> SwapElems; in perfect() local
1826 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()