Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h288 switch (unsigned ElementBits = ElementTy->getScalarSizeInBits()) { in isLegalBroadcastLoad() local
294 unsigned VectorBits = NumElements.getFixedValue() * ElementBits; in isLegalBroadcastLoad()
H A DAArch64ISelLowering.cpp12905 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
12914 HasAnyUndefs, ElementBits) || in getVShiftImm()
12915 SplatBitSize > ElementBits) in getVShiftImm()
12927 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftLImm() local
12928 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
12930 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm()
12938 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftRImm() local
12939 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
12941 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp526 int64_t ElementBits = Ty.getScalarSizeInBits(); in isVShiftRImm() local
527 return Cnt >= 1 && Cnt <= ElementBits; in isVShiftRImm()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6532 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
6542 ElementBits) || in getVShiftImm()
6543 SplatBitSize > ElementBits) in getVShiftImm()
6555 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftLImm() local
6556 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
6558 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm()
6570 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftRImm() local
6571 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
6574 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
6575 if (Cnt >= -(isNarrow ? ElementBits / 2 : ElementBits) && Cnt <= -1) { in isVShiftRImm()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp18759 int ElementBits = VT.getScalarSizeInBits(); in lower256BitShuffle() local
18760 if (ElementBits < 32) { in lower256BitShuffle()
18771 MVT FpVT = MVT::getVectorVT(MVT::getFloatingPointVT(ElementBits), in lower256BitShuffle()