Home
last modified time | relevance | path

Searched refs:ElementBits (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp484 int64_t ElementBits = Ty.getScalarSizeInBits(); in isVShiftRImm() local
485 return Cnt >= 1 && Cnt <= ElementBits; in isVShiftRImm()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6404 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
6414 ElementBits) || in getVShiftImm()
6415 SplatBitSize > ElementBits) in getVShiftImm()
6427 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftLImm() local
6428 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
6430 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm()
6442 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftRImm() local
6443 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
6446 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
6447 if (Cnt >= -(isNarrow ? ElementBits / 2 : ElementBits) && Cnt <= -1) { in isVShiftRImm()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp10651 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
10660 HasAnyUndefs, ElementBits) || in getVShiftImm()
10661 SplatBitSize > ElementBits) in getVShiftImm()
10673 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftLImm() local
10674 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
10676 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm()
10684 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftRImm() local
10685 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
10687 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp17557 int ElementBits = VT.getScalarSizeInBits(); in lower256BitShuffle() local
17558 if (ElementBits < 32) { in lower256BitShuffle()
17569 MVT FpVT = MVT::getVectorVT(MVT::getFloatingPointVT(ElementBits), in lower256BitShuffle()