Lines Matching defs:ElementBits
8288 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) {
8297 HasAnyUndefs, ElementBits) ||
8298 SplatBitSize > ElementBits)
8306 /// 0 <= Value < ElementBits for a left shift; or
8307 /// 0 <= Value <= ElementBits for a long left shift.
8310 int64_t ElementBits = VT.getScalarSizeInBits();
8311 if (!getVShiftImm(Op, ElementBits, Cnt))
8313 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits);
8318 /// 1 <= Value <= ElementBits for a right shift; or
8321 int64_t ElementBits = VT.getScalarSizeInBits();
8322 if (!getVShiftImm(Op, ElementBits, Cnt))
8324 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits));