Home | History | Annotate | Download | only in AArch64

Lines Matching defs:ElementBits

6584 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) {
6593 HasAnyUndefs, ElementBits) ||
6594 SplatBitSize > ElementBits)
6602 /// 0 <= Value < ElementBits for a left shift; or
6603 /// 0 <= Value <= ElementBits for a long left shift.
6606 int64_t ElementBits = VT.getVectorElementType().getSizeInBits();
6607 if (!getVShiftImm(Op, ElementBits, Cnt))
6609 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits);
6614 /// 1 <= Value <= ElementBits for a right shift; or
6617 int64_t ElementBits = VT.getVectorElementType().getSizeInBits();
6618 if (!getVShiftImm(Op, ElementBits, Cnt))
6620 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits));