/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 296 unsigned HalfSize = NumElts / 2; in DecodeVPERM2X128Mask() local 300 unsigned HalfBegin = (HalfMask & 0x3) * HalfSize; in DecodeVPERM2X128Mask() 301 for (unsigned i = HalfBegin, e = HalfBegin + HalfSize; i != e; ++i) in DecodeVPERM2X128Mask()
|
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86ShuffleDecode.cpp | 281 unsigned HalfSize = NumElts / 2; in DecodeVPERM2X128Mask() local 285 unsigned HalfBegin = (HalfMask & 0x3) * HalfSize; in DecodeVPERM2X128Mask() 286 for (unsigned i = HalfBegin, e = HalfBegin + HalfSize; i != e; ++i) in DecodeVPERM2X128Mask()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 313 unsigned HalfSize = VT.getVectorNumElements() / 2; in DecodeVPERM2X128Mask() local 317 unsigned HalfBegin = (HalfMask & 0x3) * HalfSize; in DecodeVPERM2X128Mask() 318 for (unsigned i = HalfBegin, e = HalfBegin + HalfSize; i != e; ++i) in DecodeVPERM2X128Mask()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | arm_mve_defs.td | 317 class HalfSize<Type k> : ComplexType<(CTO_ScaleSize<1, 2> k)>; 338 def HalfScalar: HalfSize<Scalar>; 340 def UHalfScalar: Unsigned<HalfSize<Scalar>>; 397 def imm_1toHalfN : Immediate<sint, IB_EltBit<1, HalfSize<Scalar>>>;
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 2039 unsigned HalfSize = Size / 2; in applyCombineShiftToUnmerge() local 2040 assert(ShiftVal >= HalfSize); in applyCombineShiftToUnmerge() 2042 LLT HalfTy = LLT::scalar(HalfSize); in applyCombineShiftToUnmerge() 2046 unsigned NarrowShiftAmt = ShiftVal - HalfSize; in applyCombineShiftToUnmerge() 2080 Builder.buildConstant(HalfTy, HalfSize - 1)); in applyCombineShiftToUnmerge() 2082 if (ShiftVal == HalfSize) { in applyCombineShiftToUnmerge() 2095 Builder.buildConstant(HalfTy, ShiftVal - HalfSize)); in applyCombineShiftToUnmerge()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 892 unsigned HalfSize = NumElts / 2; in simplifyX86vperm2() local 913 unsigned StartIndex = LowHalfSelect ? HalfSize : 0; in simplifyX86vperm2() 914 for (unsigned i = 0; i < HalfSize; ++i) in simplifyX86vperm2() 918 StartIndex = HighHalfSelect ? HalfSize : 0; in simplifyX86vperm2() 920 for (unsigned i = 0; i < HalfSize; ++i) in simplifyX86vperm2() 921 ShuffleMask[i + HalfSize] = StartIndex + i; in simplifyX86vperm2()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 2538 unsigned HalfSize = NumElts / 2; in UpgradeIntrinsicCall() local 2550 unsigned StartIndex = (Imm & 0x01) ? HalfSize : 0; in UpgradeIntrinsicCall() 2551 for (unsigned i = 0; i < HalfSize; ++i) in UpgradeIntrinsicCall() 2555 StartIndex = (Imm & 0x10) ? HalfSize : 0; in UpgradeIntrinsicCall() 2556 for (unsigned i = 0; i < HalfSize; ++i) in UpgradeIntrinsicCall() 2557 ShuffleMask[i + HalfSize] = NumElts + StartIndex + i; in UpgradeIntrinsicCall()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 2698 unsigned HalfSize = Indices.size() / 2; in lowerVECTOR_SHUFFLE_ILVL() local 2706 if (fitsRegularPattern<int>(Begin, 2, End, HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2708 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size() + HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2715 if (fitsRegularPattern<int>(Begin + 1, 2, End, HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2717 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size() + HalfSize, in lowerVECTOR_SHUFFLE_ILVL()
|
/external/llvm-project/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 2671 unsigned HalfSize = NumElts / 2; in UpgradeIntrinsicCall() local 2683 unsigned StartIndex = (Imm & 0x01) ? HalfSize : 0; in UpgradeIntrinsicCall() 2684 for (unsigned i = 0; i < HalfSize; ++i) in UpgradeIntrinsicCall() 2688 StartIndex = (Imm & 0x10) ? HalfSize : 0; in UpgradeIntrinsicCall() 2689 for (unsigned i = 0; i < HalfSize; ++i) in UpgradeIntrinsicCall() 2690 ShuffleMask[i + HalfSize] = NumElts + StartIndex + i; in UpgradeIntrinsicCall()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 7164 unsigned HalfSize = sz / 2; in isConstantSplat() local 7165 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 7166 APInt LowValue = SplatValue.trunc(HalfSize); in isConstantSplat() 7167 APInt HighUndef = SplatUndef.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 7168 APInt LowUndef = SplatUndef.trunc(HalfSize); in isConstantSplat() 7172 MinSplatBits > HalfSize) in isConstantSplat() 7178 sz = HalfSize; in isConstantSplat()
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 2811 unsigned HalfSize = Indices.size() / 2; in lowerVECTOR_SHUFFLE_ILVL() local 2819 if (fitsRegularPattern<int>(Begin, 2, End, HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2821 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size() + HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2828 if (fitsRegularPattern<int>(Begin + 1, 2, End, HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2830 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size() + HalfSize, in lowerVECTOR_SHUFFLE_ILVL()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 2812 unsigned HalfSize = Indices.size() / 2; in lowerVECTOR_SHUFFLE_ILVL() local 2820 if (fitsRegularPattern<int>(Begin, 2, End, HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2822 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size() + HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2829 if (fitsRegularPattern<int>(Begin + 1, 2, End, HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2831 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size() + HalfSize, in lowerVECTOR_SHUFFLE_ILVL()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 9551 unsigned HalfSize = VecWidth / 2; in isConstantSplat() local 9552 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 9553 APInt LowValue = SplatValue.trunc(HalfSize); in isConstantSplat() 9554 APInt HighUndef = SplatUndef.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 9555 APInt LowUndef = SplatUndef.trunc(HalfSize); in isConstantSplat() 9559 MinSplatBits > HalfSize) in isConstantSplat() 9565 VecWidth = HalfSize; in isConstantSplat()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 9810 unsigned HalfSize = VecWidth / 2; in isConstantSplat() local 9811 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 9812 APInt LowValue = SplatValue.trunc(HalfSize); in isConstantSplat() 9813 APInt HighUndef = SplatUndef.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 9814 APInt LowUndef = SplatUndef.trunc(HalfSize); in isConstantSplat() 9818 MinSplatBits > HalfSize) in isConstantSplat() 9824 VecWidth = HalfSize; in isConstantSplat()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 782 unsigned HalfSize = Width / 2; in SystemZVectorConstantInfo() local 783 APInt HighValue = SplatBits.lshr(HalfSize).trunc(HalfSize); in SystemZVectorConstantInfo() 784 APInt LowValue = SplatBits.trunc(HalfSize); in SystemZVectorConstantInfo() 787 if (HighValue != LowValue || 8 > HalfSize) in SystemZVectorConstantInfo() 791 Width = HalfSize; in SystemZVectorConstantInfo()
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 796 unsigned HalfSize = Width / 2; in SystemZVectorConstantInfo() local 797 APInt HighValue = SplatBits.lshr(HalfSize).trunc(HalfSize); in SystemZVectorConstantInfo() 798 APInt LowValue = SplatBits.trunc(HalfSize); in SystemZVectorConstantInfo() 801 if (HighValue != LowValue || 8 > HalfSize) in SystemZVectorConstantInfo() 805 Width = HalfSize; in SystemZVectorConstantInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 10670 unsigned HalfSize = Mask.size() / 2; in hasIdenticalHalvesShuffleMask() local 10671 for (unsigned i = 0; i != HalfSize; ++i) { in hasIdenticalHalvesShuffleMask() 10672 if (Mask[i] != Mask[i + HalfSize]) in hasIdenticalHalvesShuffleMask() 12001 int HalfSize = Size / 2; in matchShuffleAsEXTRQ() local 12011 int Len = HalfSize; in matchShuffleAsEXTRQ() 12029 if (i > M || M >= HalfSize) in matchShuffleAsEXTRQ() 12043 assert((Idx + Len) <= HalfSize && "Illegal extraction mask"); in matchShuffleAsEXTRQ() 12057 int HalfSize = Size / 2; in matchShuffleAsINSERTQ() local 12064 for (int Idx = 0; Idx != HalfSize; ++Idx) { in matchShuffleAsINSERTQ() 12080 for (int Hi = Idx + 1; Hi <= HalfSize; ++Hi) { in matchShuffleAsINSERTQ() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2133 unsigned HalfSize = EltSize / 2; in isExtendedBUILD_VECTOR() local 2135 if (!isIntN(HalfSize, C->getSExtValue())) in isExtendedBUILD_VECTOR() 2138 if (!isUIntN(HalfSize, C->getZExtValue())) in isExtendedBUILD_VECTOR()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 11044 unsigned HalfSize = Mask.size() / 2; in hasIdenticalHalvesShuffleMask() local 11045 for (unsigned i = 0; i != HalfSize; ++i) { in hasIdenticalHalvesShuffleMask() 11046 if (Mask[i] != Mask[i + HalfSize]) in hasIdenticalHalvesShuffleMask() 12747 int HalfSize = Size / 2; in matchShuffleAsEXTRQ() local 12757 int Len = HalfSize; in matchShuffleAsEXTRQ() 12775 if (i > M || M >= HalfSize) in matchShuffleAsEXTRQ() 12789 assert((Idx + Len) <= HalfSize && "Illegal extraction mask"); in matchShuffleAsEXTRQ() 12803 int HalfSize = Size / 2; in matchShuffleAsINSERTQ() local 12810 for (int Idx = 0; Idx != HalfSize; ++Idx) { in matchShuffleAsINSERTQ() 12826 for (int Hi = Idx + 1; Hi <= HalfSize; ++Hi) { in matchShuffleAsINSERTQ() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2781 unsigned HalfSize = EltSize / 2; in isExtendedBUILD_VECTOR() local 2783 if (!isIntN(HalfSize, C->getSExtValue())) in isExtendedBUILD_VECTOR() 2786 if (!isUIntN(HalfSize, C->getZExtValue())) in isExtendedBUILD_VECTOR()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6471 unsigned HalfSize = EltSize / 2; in isExtendedBUILD_VECTOR() local 6473 if (!isIntN(HalfSize, C->getSExtValue())) in isExtendedBUILD_VECTOR() 6476 if (!isUIntN(HalfSize, C->getZExtValue())) in isExtendedBUILD_VECTOR()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 3337 unsigned HalfSize = EltSize / 2; in isExtendedBUILD_VECTOR() local 3339 if (!isIntN(HalfSize, C->getSExtValue())) in isExtendedBUILD_VECTOR() 3342 if (!isUIntN(HalfSize, C->getZExtValue())) in isExtendedBUILD_VECTOR()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 8395 unsigned HalfSize = EltSize / 2; in isExtendedBUILD_VECTOR() local 8397 if (!isIntN(HalfSize, C->getSExtValue())) in isExtendedBUILD_VECTOR() 8400 if (!isUIntN(HalfSize, C->getZExtValue())) in isExtendedBUILD_VECTOR()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 8701 unsigned HalfSize = EltSize / 2; in isExtendedBUILD_VECTOR() local 8703 if (!isIntN(HalfSize, C->getSExtValue())) in isExtendedBUILD_VECTOR() 8706 if (!isUIntN(HalfSize, C->getZExtValue())) in isExtendedBUILD_VECTOR()
|