Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h289 switch (unsigned ElementBits = ElementTy->getScalarSizeInBits()) { in isLegalBroadcastLoad() local
295 unsigned VectorBits = NumElements.getFixedValue() * ElementBits; in isLegalBroadcastLoad()
H A DAArch64ISelLowering.cpp11869 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
11878 HasAnyUndefs, ElementBits) || in getVShiftImm()
11879 SplatBitSize > ElementBits) in getVShiftImm()
11891 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftLImm() local
11892 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
11894 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm()
11902 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftRImm() local
11903 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
11905 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6505 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
6515 ElementBits) || in getVShiftImm()
6516 SplatBitSize > ElementBits) in getVShiftImm()
6528 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftLImm() local
6529 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
6531 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm()
6543 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftRImm() local
6544 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
6547 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
6548 if (Cnt >= -(isNarrow ? ElementBits / 2 : ElementBits) && Cnt <= -1) { in isVShiftRImm()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp18430 int ElementBits = VT.getScalarSizeInBits(); in lower256BitShuffle() local
18431 if (ElementBits < 32) { in lower256BitShuffle()
18442 MVT FpVT = MVT::getVectorVT(MVT::getFloatingPointVT(ElementBits), in lower256BitShuffle()