Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp341 int ElementBits = VT.getScalarSizeInBits(); in DecodeBLENDMask() local
347 int Bit = NumElements > 8 ? i % (128 / ElementBits) : i; in DecodeBLENDMask()
367 int ElementBits = MaskTy->getScalarSizeInBits(); in DecodeVPERMILPMask() local
377 int Base = (i * ElementBits / 128) * (128 / ElementBits); in DecodeVPERMILPMask()
388 int Base = (i * ElementBits / 128) * (128 / ElementBits); in DecodeVPERMILPMask()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6197 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
6206 HasAnyUndefs, ElementBits) || in getVShiftImm()
6207 SplatBitSize > ElementBits) in getVShiftImm()
6219 unsigned ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftLImm() local
6220 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
6222 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm()
6234 unsigned ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftRImm() local
6235 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
6239 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9369 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
9378 HasAnyUndefs, ElementBits) || in getVShiftImm()
9379 SplatBitSize > ElementBits) in getVShiftImm()
9391 unsigned ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftLImm() local
9392 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
9394 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits); in isVShiftLImm()
9406 unsigned ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftRImm() local
9407 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
9411 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits)); in isVShiftRImm()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp9894 int ElementBits = VT.getScalarSizeInBits(); in lower256BitVectorShuffle() local
9895 if (ElementBits < 32) in lower256BitVectorShuffle()
9899 MVT FpVT = MVT::getVectorVT(MVT::getFloatingPointVT(ElementBits), in lower256BitVectorShuffle()