Lines Matching refs:BlendMask
7479 unsigned BlendMask = 0; in lowerVectorShuffleAsBlend() local
7487 BlendMask |= 1u << i; in lowerVectorShuffleAsBlend()
7498 BlendMask |= 1u << i; in lowerVectorShuffleAsBlend()
7512 auto ScaleBlendMask = [](unsigned BlendMask, int Size, int Scale) { in lowerVectorShuffleAsBlend() argument
7515 if (BlendMask & (1u << i)) in lowerVectorShuffleAsBlend()
7527 DAG.getConstant(BlendMask, DL, MVT::i8)); in lowerVectorShuffleAsBlend()
7540 BlendMask = ScaleBlendMask(BlendMask, Mask.size(), Scale); in lowerVectorShuffleAsBlend()
7546 DAG.getConstant(BlendMask, DL, MVT::i8))); in lowerVectorShuffleAsBlend()
7553 BlendMask = ScaleBlendMask(BlendMask, Mask.size(), Scale); in lowerVectorShuffleAsBlend()
7558 DAG.getConstant(BlendMask, DL, MVT::i8))); in lowerVectorShuffleAsBlend()
7567 BlendMask = 0; in lowerVectorShuffleAsBlend()
7570 BlendMask |= 1u << i; in lowerVectorShuffleAsBlend()
7572 DAG.getConstant(BlendMask, DL, MVT::i8)); in lowerVectorShuffleAsBlend()
7634 SmallVector<int, 32> BlendMask(Mask.size(), -1); in lowerVectorShuffleAsBlendAndPermute() local
7643 if (BlendMask[Mask[i] % Size] < 0) in lowerVectorShuffleAsBlendAndPermute()
7644 BlendMask[Mask[i] % Size] = Mask[i]; in lowerVectorShuffleAsBlendAndPermute()
7645 else if (BlendMask[Mask[i] % Size] != Mask[i]) in lowerVectorShuffleAsBlendAndPermute()
7651 SDValue V = DAG.getVectorShuffle(VT, DL, V1, V2, BlendMask); in lowerVectorShuffleAsBlendAndPermute()
7671 SmallVector<int, 32> BlendMask(Mask.size(), -1); in lowerVectorShuffleAsDecomposedShuffleBlend() local
7675 BlendMask[i] = i; in lowerVectorShuffleAsDecomposedShuffleBlend()
7678 BlendMask[i] = i + Size; in lowerVectorShuffleAsDecomposedShuffleBlend()
7693 return DAG.getVectorShuffle(VT, DL, V1, V2, BlendMask); in lowerVectorShuffleAsDecomposedShuffleBlend()
9143 int BlendMask[4] = {Mask[V2Index] - 4, 0, Mask[V1Index], 0}; in lowerVectorShuffleWithSHUFPS() local
9145 getV4X86ShuffleImm8ForMask(BlendMask, DL, DAG)); in lowerVectorShuffleWithSHUFPS()
9179 int BlendMask[4] = {Mask[0] < 4 ? Mask[0] : Mask[1], in lowerVectorShuffleWithSHUFPS() local
9184 getV4X86ShuffleImm8ForMask(BlendMask, DL, DAG)); in lowerVectorShuffleWithSHUFPS()
10525 SmallVector<int, 32> BlendMask((unsigned)SplitNumElements, -1); in splitAndLowerVectorShuffle() local
10534 BlendMask[i] = SplitNumElements + i; in splitAndLowerVectorShuffle()
10541 BlendMask[i] = i; in splitAndLowerVectorShuffle()
10565 if (BlendMask[i] >= 0 && BlendMask[i] < SplitNumElements) in splitAndLowerVectorShuffle()
10566 BlendMask[i] = V1BlendMask[i] - (UseLoV1 ? 0 : SplitNumElements); in splitAndLowerVectorShuffle()
10575 if (BlendMask[i] >= SplitNumElements) in splitAndLowerVectorShuffle()
10576 BlendMask[i] = V2BlendMask[i] + (UseLoV2 ? SplitNumElements : 0); in splitAndLowerVectorShuffle()
10578 return DAG.getVectorShuffle(SplitVT, DL, V1Blend, V2Blend, BlendMask); in splitAndLowerVectorShuffle()
25171 unsigned BlendMask = 0; in combineX86ShuffleChain() local
25180 BlendMask |= 1u << i; in combineX86ShuffleChain()
25186 DAG.getConstant(BlendMask, DL, MVT::i8)); in combineX86ShuffleChain()