/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 346 int ElementBits = VT.getScalarSizeInBits(); in DecodeBLENDMask() local 352 int Bit = NumElements > 8 ? i % (128 / ElementBits) : i; in DecodeBLENDMask()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7492 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument 7501 HasAnyUndefs, ElementBits) || in getVShiftImm() 7502 SplatBitSize > ElementBits) in getVShiftImm() 7514 unsigned ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftLImm() local 7515 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm() 7517 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits); in isVShiftLImm() 7529 unsigned ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftRImm() local 7530 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm() 7534 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits)); in isVShiftRImm()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 6584 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument 6593 HasAnyUndefs, ElementBits) || in getVShiftImm() 6594 SplatBitSize > ElementBits) in getVShiftImm() 6606 int64_t ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftLImm() local 6607 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm() 6609 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm() 6617 int64_t ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftRImm() local 6618 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm() 6620 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 10500 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument 10509 HasAnyUndefs, ElementBits) || in getVShiftImm() 10510 SplatBitSize > ElementBits) in getVShiftImm() 10522 int64_t ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftLImm() local 10523 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm() 10525 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits); in isVShiftLImm() 10537 int64_t ElementBits = VT.getVectorElementType().getSizeInBits(); in isVShiftRImm() local 10538 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm() 10541 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits)); in isVShiftRImm() 10542 if (Cnt >= -(isNarrow ? ElementBits/2 : ElementBits) && Cnt <= -1) { in isVShiftRImm()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 7393 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument 7402 HasAnyUndefs, ElementBits) || in getVShiftImm() 7403 SplatBitSize > ElementBits) in getVShiftImm() 7415 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftLImm() local 7416 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm() 7418 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm() 7426 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftRImm() local 7427 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm() 7429 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 12157 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument 12166 HasAnyUndefs, ElementBits) || in getVShiftImm() 12167 SplatBitSize > ElementBits) in getVShiftImm() 12179 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftLImm() local 12180 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm() 12182 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits); in isVShiftLImm() 12194 int64_t ElementBits = VT.getScalarSizeInBits(); in isVShiftRImm() local 12195 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm() 12198 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits)); in isVShiftRImm() 12199 if (Cnt >= -(isNarrow ? ElementBits/2 : ElementBits) && Cnt <= -1) { in isVShiftRImm()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 11673 int ElementBits = VT.getScalarSizeInBits(); in lower256BitVectorShuffle() local 11674 if (ElementBits < 32) { in lower256BitVectorShuffle() 11684 MVT FpVT = MVT::getVectorVT(MVT::getFloatingPointVT(ElementBits), in lower256BitVectorShuffle()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 14293 int ElementBits = VT.getScalarSizeInBits(); in lower256BitVectorShuffle() local 14294 if (ElementBits < 32) { in lower256BitVectorShuffle() 14305 MVT FpVT = MVT::getVectorVT(MVT::getFloatingPointVT(ElementBits), in lower256BitVectorShuffle()
|