Lines Matching defs:ElementBits
7393 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) {
7402 HasAnyUndefs, ElementBits) ||
7403 SplatBitSize > ElementBits)
7411 /// 0 <= Value < ElementBits for a left shift; or
7412 /// 0 <= Value <= ElementBits for a long left shift.
7415 int64_t ElementBits = VT.getScalarSizeInBits();
7416 if (!getVShiftImm(Op, ElementBits, Cnt))
7418 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits);
7423 /// 1 <= Value <= ElementBits for a right shift; or
7426 int64_t ElementBits = VT.getScalarSizeInBits();
7427 if (!getVShiftImm(Op, ElementBits, Cnt))
7429 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits));