/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 297 unsigned HalfSize = NumElts / 2; in DecodeVPERM2X128Mask() local 301 unsigned HalfBegin = (HalfMask & 0x3) * HalfSize; in DecodeVPERM2X128Mask() 302 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/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-7.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 2215 unsigned HalfSize = NumElts / 2; in UpgradeIntrinsicCall() local 2227 unsigned StartIndex = (Imm & 0x01) ? HalfSize : 0; in UpgradeIntrinsicCall() 2228 for (unsigned i = 0; i < HalfSize; ++i) in UpgradeIntrinsicCall() 2232 StartIndex = (Imm & 0x10) ? HalfSize : 0; in UpgradeIntrinsicCall() 2233 for (unsigned i = 0; i < HalfSize; ++i) in UpgradeIntrinsicCall() 2234 ShuffleMask[i + HalfSize] = NumElts + StartIndex + i; in UpgradeIntrinsicCall()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 2789 unsigned HalfSize = Indices.size() / 2; in lowerVECTOR_SHUFFLE_ILVL() local 2797 if (fitsRegularPattern<int>(Begin, 2, End, HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2799 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size() + HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2806 if (fitsRegularPattern<int>(Begin + 1, 2, End, HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL() 2808 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size() + HalfSize, in lowerVECTOR_SHUFFLE_ILVL()
|
/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-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 8555 unsigned HalfSize = VecWidth / 2; in isConstantSplat() local 8556 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 8557 APInt LowValue = SplatValue.trunc(HalfSize); in isConstantSplat() 8558 APInt HighUndef = SplatUndef.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 8559 APInt LowUndef = SplatUndef.trunc(HalfSize); in isConstantSplat() 8563 MinSplatBits > HalfSize) in isConstantSplat() 8569 VecWidth = HalfSize; in isConstantSplat()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 10266 int HalfSize = Size / 2; in matchVectorShuffleAsEXTRQ() local 10271 if (!isUndefInRange(Mask, HalfSize, HalfSize)) in matchVectorShuffleAsEXTRQ() 10276 int Len = HalfSize; in matchVectorShuffleAsEXTRQ() 10294 if (i > M || M >= HalfSize) in matchVectorShuffleAsEXTRQ() 10308 assert((Idx + Len) <= HalfSize && "Illegal extraction mask"); in matchVectorShuffleAsEXTRQ() 10322 int HalfSize = Size / 2; in matchVectorShuffleAsINSERTQ() local 10326 if (!isUndefInRange(Mask, HalfSize, HalfSize)) in matchVectorShuffleAsINSERTQ() 10329 for (int Idx = 0; Idx != HalfSize; ++Idx) { in matchVectorShuffleAsINSERTQ() 10345 for (int Hi = Idx + 1; Hi <= HalfSize; ++Hi) { in matchVectorShuffleAsINSERTQ() 10359 if (isUndefInRange(Mask, Hi, HalfSize - Hi)) { in matchVectorShuffleAsINSERTQ() [all …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2461 unsigned HalfSize = EltSize / 2; in isExtendedBUILD_VECTOR() local 2463 if (!isIntN(HalfSize, C->getSExtValue())) in isExtendedBUILD_VECTOR() 2466 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7295 unsigned HalfSize = EltSize / 2; in isExtendedBUILD_VECTOR() local 7297 if (!isIntN(HalfSize, C->getSExtValue())) in isExtendedBUILD_VECTOR() 7300 if (!isUIntN(HalfSize, C->getZExtValue())) in isExtendedBUILD_VECTOR()
|