Lines Matching defs:VWidth

207   unsigned VWidth = VT->getNumElements();
219 Amt = Builder.CreateVectorSplat(VWidth, Amt);
228 return Builder.CreateAShr(Vec, Builder.CreateVectorSplat(VWidth, Amt));
245 SmallVector<int, 16> ZeroSplat(VWidth, 0);
289 auto ShiftVec = Builder.CreateVectorSplat(VWidth, ShiftAmt);
2322 unsigned VWidth = cast<FixedVectorType>(Arg->getType())->getNumElements();
2323 if (Value *V = SimplifyDemandedVectorEltsLow(Arg, VWidth, 1)) {
2374 unsigned VWidth = cast<FixedVectorType>(Arg0->getType())->getNumElements();
2375 if (Value *V = SimplifyDemandedVectorEltsLow(Arg0, VWidth, 1)) {
2379 if (Value *V = SimplifyDemandedVectorEltsLow(Arg1, VWidth, 1)) {
2567 unsigned VWidth = cast<FixedVectorType>(Arg1->getType())->getNumElements();
2569 if (Value *V = SimplifyDemandedVectorEltsLow(Arg1, VWidth, VWidth / 2)) {
2678 unsigned VWidth =
2681 APInt UndefElts1(VWidth, 0);
2683 APInt::getSplat(VWidth, APInt(2, (Imm & 0x01) ? 2 : 1));
2690 APInt UndefElts2(VWidth, 0);
2692 APInt::getSplat(VWidth, APInt(2, (Imm & 0x10) ? 2 : 1));
2763 unsigned VWidth = cast<FixedVectorType>(Op0->getType())->getNumElements();
2764 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 &&
2778 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth, 1)) {
2787 unsigned VWidth = cast<FixedVectorType>(Op0->getType())->getNumElements();
2789 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 &&
2811 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth, 1)) {
3105 unsigned VWidth = cast<FixedVectorType>(II.getType())->getNumElements();
3238 APInt SubMask = APInt::getSplat(VWidth, APInt(2, 0x1));
3239 APInt AddMask = APInt::getSplat(VWidth, APInt(2, 0x2));
3303 assert(VWidth == (InnerVWidth * 2) && "Unexpected input size");
3306 unsigned VWidthPerLane = VWidth / NumLanes;
3329 OpUndefElts = OpUndefElts.zext(VWidth);
3349 assert((VWidth * 2) == InnerVWidth && "Unexpected input size");
3383 UndefElts.setHighBits(VWidth / 2);