Lines Matching defs:ElementBits
6610 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) {
6620 ElementBits) ||
6621 SplatBitSize > ElementBits)
6629 /// 0 <= Value < ElementBits for a left shift; or
6630 /// 0 <= Value <= ElementBits for a long left shift.
6633 int64_t ElementBits = VT.getScalarSizeInBits();
6634 if (!getVShiftImm(Op, ElementBits, Cnt))
6636 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits);
6643 /// 1 <= |Value| <= ElementBits for a right shift; or
6644 /// 1 <= |Value| <= ElementBits/2 for a narrow right shift.
6648 int64_t ElementBits = VT.getScalarSizeInBits();
6649 if (!getVShiftImm(Op, ElementBits, Cnt))
6652 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits));
6653 if (Cnt >= -(isNarrow ? ElementBits / 2 : ElementBits) && Cnt <= -1) {