/external/swiftshader/third_party/LLVM/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 225 unsigned HalfSize = VT.getVectorNumElements()/2; in DecodeVPERM2F128Mask() local 226 unsigned FstHalfBegin = (Imm & 0x3) * HalfSize; in DecodeVPERM2F128Mask() 227 unsigned SndHalfBegin = ((Imm >> 4) & 0x3) * HalfSize; in DecodeVPERM2F128Mask() 229 for (int i = FstHalfBegin, e = FstHalfBegin+HalfSize; i != e; ++i) in DecodeVPERM2F128Mask() 231 for (int i = SndHalfBegin, e = SndHalfBegin+HalfSize; i != e; ++i) in DecodeVPERM2F128Mask()
|
/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/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 3252 int HalfSize = QuarterSize*2; in isVSHUFPSYMask() local 3254 if (!isUndefOrInRange(Mask[i], 0, HalfSize)) in isVSHUFPSYMask() 3257 if (!isUndefOrInRange(Mask[i], NumElems, NumElems+HalfSize)) in isVSHUFPSYMask() 3264 if (!isUndefOrInRange(Mask[i], HalfSize, NumElems)) in isVSHUFPSYMask() 3266 int FstHalfIdx = i-HalfSize; in isVSHUFPSYMask() 3269 if (!isUndefOrEqual(Mask[i], Mask[FstHalfIdx]+HalfSize)) in isVSHUFPSYMask() 3273 if (!isUndefOrInRange(Mask[i], NumElems+HalfSize, NumElems*2)) in isVSHUFPSYMask() 3275 int FstHalfIdx = i-HalfSize; in isVSHUFPSYMask() 3278 if (!isUndefOrEqual(Mask[i], Mask[FstHalfIdx]+HalfSize)) in isVSHUFPSYMask() 3296 int HalfSize = NumElems/2; in getShuffleVSHUFPSYImmediate() local [all …]
|
/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/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 6694 unsigned HalfSize = sz / 2; in isConstantSplat() local 6695 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 6696 APInt LowValue = SplatValue.trunc(HalfSize); in isConstantSplat() 6697 APInt HighUndef = SplatUndef.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 6698 APInt LowUndef = SplatUndef.trunc(HalfSize); in isConstantSplat() 6702 MinSplatBits > HalfSize) in isConstantSplat() 6708 sz = HalfSize; in isConstantSplat()
|
/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/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/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4527 unsigned HalfSize = EltSize / 2; in isExtendedBUILD_VECTOR() local 4530 if ((SExtVal >> HalfSize) != (SExtVal >> EltSize)) in isExtendedBUILD_VECTOR() 4533 if ((C->getZExtValue() >> HalfSize) != 0) in isExtendedBUILD_VECTOR()
|
/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/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()
|