Home | History | Annotate | Download | only in ARM

Lines Matching defs:ElementBits

12157 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) {
12166 HasAnyUndefs, ElementBits) ||
12167 SplatBitSize > ElementBits)
12175 /// 0 <= Value < ElementBits for a left shift; or
12176 /// 0 <= Value <= ElementBits for a long left shift.
12179 int64_t ElementBits = VT.getScalarSizeInBits();
12180 if (! getVShiftImm(Op, ElementBits, Cnt))
12182 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits);
12189 /// 1 <= |Value| <= ElementBits for a right shift; or
12190 /// 1 <= |Value| <= ElementBits/2 for a narrow right shift.
12194 int64_t ElementBits = VT.getScalarSizeInBits();
12195 if (! getVShiftImm(Op, ElementBits, Cnt))
12198 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits));
12199 if (Cnt >= -(isNarrow ? ElementBits/2 : ElementBits) && Cnt <= -1) {