Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp16802 static SDValue combineShuffleOfSplat(ArrayRef<int> UserMask, in combineShuffleOfSplat() argument
16806 assert(UserMask.size() == SplatMask.size() && "Mask length mismatch"); in combineShuffleOfSplat()
16824 auto CanSimplifyToExistingSplat = [](ArrayRef<int> UserMask, in combineShuffleOfSplat()
16826 for (unsigned i = 0, e = UserMask.size(); i != e; ++i) in combineShuffleOfSplat()
16827 if (UserMask[i] != -1 && SplatMask[i] == -1 && in combineShuffleOfSplat()
16828 SplatMask[UserMask[i]] != -1) in combineShuffleOfSplat()
16832 if (CanSimplifyToExistingSplat(UserMask, SplatMask)) in combineShuffleOfSplat()
16838 for (int Idx : UserMask) in combineShuffleOfSplat()