Searched refs:ShMask (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1534 SmallVector<int, 16> ShMask; in foldVectorBinop() local 1535 ShuffleVectorInst::getShuffleMask(Mask, ShMask); in foldVectorBinop() 1542 if (ShMask[I] >= 0) { in foldVectorBinop() 1543 assert(ShMask[I] < (int)NumElts && "Not expecting narrowing shuffle"); in foldVectorBinop() 1544 Constant *NewCElt = NewVecC[ShMask[I]]; in foldVectorBinop() 1556 NewVecC[ShMask[I]] = CElt; in foldVectorBinop() 1567 if (I >= SrcVecNumElts || ShMask[I] < 0) { in foldVectorBinop()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 12171 SmallVector<int, 8> ShMask((unsigned)NumElements, -1); in lowerShuffleAsSpecificZeroOrAnyExtend() local 12174 ShMask[i] = SafeOffset(SrcIdx) ? SrcIdx : -1; in lowerShuffleAsSpecificZeroOrAnyExtend() 12176 return DAG.getVectorShuffle(VT, DL, V, DAG.getUNDEF(VT), ShMask); in lowerShuffleAsSpecificZeroOrAnyExtend() 12269 SmallVector<int, 8> ShMask((unsigned)NumElements, -1); in lowerShuffleAsSpecificZeroOrAnyExtend() local 12271 ShMask[i - AlignToUnpack] = i; in lowerShuffleAsSpecificZeroOrAnyExtend() 12272 InputV = DAG.getVectorShuffle(VT, DL, InputV, DAG.getUNDEF(VT), ShMask); in lowerShuffleAsSpecificZeroOrAnyExtend()
|