Lines Matching defs:VWidth
201 unsigned VWidth = VT->getNumElements();
213 Amt = Builder.CreateVectorSplat(VWidth, Amt);
222 return Builder.CreateAShr(Vec, Builder.CreateVectorSplat(VWidth, Amt));
239 SmallVector<int, 16> ZeroSplat(VWidth, 0);
283 auto ShiftVec = Builder.CreateVectorSplat(VWidth, ShiftAmt);
2330 unsigned VWidth = cast<FixedVectorType>(Arg->getType())->getNumElements();
2331 if (Value *V = SimplifyDemandedVectorEltsLow(Arg, VWidth, 1)) {
2382 unsigned VWidth = cast<FixedVectorType>(Arg0->getType())->getNumElements();
2383 if (Value *V = SimplifyDemandedVectorEltsLow(Arg0, VWidth, 1)) {
2387 if (Value *V = SimplifyDemandedVectorEltsLow(Arg1, VWidth, 1)) {
2575 unsigned VWidth = cast<FixedVectorType>(Arg1->getType())->getNumElements();
2577 if (Value *V = SimplifyDemandedVectorEltsLow(Arg1, VWidth, VWidth / 2)) {
2686 unsigned VWidth =
2689 APInt UndefElts1(VWidth, 0);
2691 APInt::getSplat(VWidth, APInt(2, (Imm & 0x01) ? 2 : 1));
2698 APInt UndefElts2(VWidth, 0);
2700 APInt::getSplat(VWidth, APInt(2, (Imm & 0x10) ? 2 : 1));
2771 unsigned VWidth = cast<FixedVectorType>(Op0->getType())->getNumElements();
2772 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 &&
2786 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth, 1)) {
2795 unsigned VWidth = cast<FixedVectorType>(Op0->getType())->getNumElements();
2797 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 &&
2819 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth, 1)) {
3137 unsigned VWidth = cast<FixedVectorType>(II.getType())->getNumElements();
3270 APInt SubMask = APInt::getSplat(VWidth, APInt(2, 0x1));
3271 APInt AddMask = APInt::getSplat(VWidth, APInt(2, 0x2));
3335 assert(VWidth == (InnerVWidth * 2) && "Unexpected input size");
3338 unsigned VWidthPerLane = VWidth / NumLanes;
3361 OpUndefElts = OpUndefElts.zext(VWidth);
3381 assert((VWidth * 2) == InnerVWidth && "Unexpected input size");
3415 UndefElts.setHighBits(VWidth / 2);