Lines Matching defs:ElementBits
10500 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) {
10509 HasAnyUndefs, ElementBits) ||
10510 SplatBitSize > ElementBits)
10518 /// 0 <= Value < ElementBits for a left shift; or
10519 /// 0 <= Value <= ElementBits for a long left shift.
10522 int64_t ElementBits = VT.getVectorElementType().getSizeInBits();
10523 if (! getVShiftImm(Op, ElementBits, Cnt))
10525 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits);
10532 /// 1 <= |Value| <= ElementBits
10533 /// 1 <= |Value| <= ElementBits/2 for a narrow right shift.
10537 int64_t ElementBits = VT.getVectorElementType().getSizeInBits();
10538 if (! getVShiftImm(Op, ElementBits, Cnt))
10541 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits));
10542 if (Cnt >= -(isNarrow ? ElementBits/2 : ElementBits) && Cnt <= -1) {