/external/llvm/lib/Target/X86/Utils/ |
H A D | X86ShuffleDecode.h | 31 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 34 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask); 37 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask); 39 void DecodeMOVSLDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask); 41 void DecodeMOVSHDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask); 43 void DecodeMOVDDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask); 45 void DecodePSLLDQMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 47 void DecodePSRLDQMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 49 void DecodePALIGNRMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 51 void DecodePSHUFMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); [all...] |
H A D | X86ShuffleDecode.cpp | 25 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { argument 27 ShuffleMask.push_back(0); 28 ShuffleMask.push_back(1); 29 ShuffleMask.push_back(2); 30 ShuffleMask.push_back(3); 40 ShuffleMask[CountD] = InVal; 42 if (ZMask & 1) ShuffleMask[0] = SM_SentinelZero; 43 if (ZMask & 2) ShuffleMask[1] = SM_SentinelZero; 44 if (ZMask & 4) ShuffleMask[2] = SM_SentinelZero; 45 if (ZMask & 8) ShuffleMask[ 49 DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) argument 58 DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) argument 66 DecodeMOVSLDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) argument 74 DecodeMOVSHDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) argument 82 DecodeMOVDDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) argument 96 DecodePSLLDQMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument 110 DecodePSRLDQMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument 125 DecodePALIGNRMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument 146 DecodePSHUFMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument 163 DecodePSHUFHWMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument 179 DecodePSHUFLWMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument 195 DecodePSWAPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) argument 208 DecodeSHUFPMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument 230 DecodeUNPCKHMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) argument 250 DecodeUNPCKLMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) argument 270 decodeVSHUF64x2FamilyMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument 287 DecodeVPERM2X128Mask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument 299 DecodePSHUFBMask(const Constant *C, SmallVectorImpl<int> &ShuffleMask) argument 347 DecodePSHUFBMask(ArrayRef<uint64_t> RawMask, SmallVectorImpl<int> &ShuffleMask) argument 391 DecodeVPERMILPMask(const Constant *C, SmallVectorImpl<int> &ShuffleMask) argument 448 DecodeZeroMoveLowMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) argument 464 DecodeEXTRQIMask(int Len, int Idx, SmallVectorImpl<int> &ShuffleMask) argument 499 DecodeINSERTQIMask(int Len, int Idx, SmallVectorImpl<int> &ShuffleMask) argument 537 DecodeVPERMVMask(ArrayRef<uint64_t> RawMask, SmallVectorImpl<int> &ShuffleMask) argument 545 DecodeVPERMV3Mask(ArrayRef<uint64_t> RawMask, SmallVectorImpl<int> &ShuffleMask) argument 553 DecodeVPERMVMask(const Constant *C, MVT VT, SmallVectorImpl<int> &ShuffleMask) argument 586 DecodeVPERMV3Mask(const Constant *C, MVT VT, SmallVectorImpl<int> &ShuffleMask) argument [all...] |
/external/llvm/lib/Target/X86/InstPrinter/ |
H A D | X86InstComments.cpp | 210 SmallVector<int, 8> ShuffleMask; local 229 ShuffleMask); 245 ShuffleMask); 261 ShuffleMask); 275 ShuffleMask); 290 ShuffleMask); 299 DecodeMOVLHPSMask(2, ShuffleMask); 308 DecodeMOVHLPSMask(2, ShuffleMask); 316 DecodeMOVSLDUPMask(getRegOperandVectorVT(MI, MVT::f32, 0), ShuffleMask); local 324 DecodeMOVSHDUPMask(getRegOperandVectorVT(MI, MVT::f32, 0), ShuffleMask); local 332 DecodeMOVDDUPMask(getRegOperandVectorVT(MI, MVT::f64, 0), ShuffleMask); local 445 DecodeUNPCKHMask(getRegOperandVectorVT(MI, MVT::i8, 0), ShuffleMask); local 456 DecodeUNPCKHMask(getRegOperandVectorVT(MI, MVT::i16, 0), ShuffleMask); local 467 DecodeUNPCKHMask(getRegOperandVectorVT(MI, MVT::i32, 0), ShuffleMask); local 476 DecodeUNPCKHMask(getRegOperandVectorVT(MI, MVT::i64, 0), ShuffleMask); local 487 DecodeUNPCKLMask(getRegOperandVectorVT(MI, MVT::i8, 0), ShuffleMask); local 498 DecodeUNPCKLMask(getRegOperandVectorVT(MI, MVT::i16, 0), ShuffleMask); local 509 DecodeUNPCKLMask(getRegOperandVectorVT(MI, MVT::i32, 0), ShuffleMask); local 518 DecodeUNPCKLMask(getRegOperandVectorVT(MI, MVT::i64, 0), ShuffleMask); local 571 DecodeUNPCKLMask(getRegOperandVectorVT(MI, MVT::f64, 0), ShuffleMask); local 580 DecodeUNPCKLMask(getRegOperandVectorVT(MI, MVT::f32, 0), ShuffleMask); local 589 DecodeUNPCKHMask(getRegOperandVectorVT(MI, MVT::f64, 0), ShuffleMask); local 598 DecodeUNPCKHMask(getRegOperandVectorVT(MI, MVT::f32, 0), ShuffleMask); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | CostModel.cpp | 338 SmallVector<int, 32> ShuffleMask(NumVecElems, 0); 360 ShuffleMask[j] = MaskStart + j; 362 std::fill(&ShuffleMask[MaskStart], ShuffleMask.end(), -1); 365 if (ShuffleMask != Mask)
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorOps.cpp | 816 SmallVector<int, 16> ShuffleMask; local 817 ShuffleMask.resize(NumSrcElements, -1); 823 ShuffleMask[i * ExtLaneScale + EndianOffset] = i; 827 DAG.getVectorShuffle(SrcVT, DL, Src, DAG.getUNDEF(SrcVT), ShuffleMask)); 870 SmallVector<int, 16> ShuffleMask; local 871 ShuffleMask.reserve(NumSrcElements); 873 ShuffleMask.push_back(i); 878 ShuffleMask[i * ExtLaneScale + EndianOffset] = NumSrcElements + i; 881 DAG.getVectorShuffle(SrcVT, DL, Zero, Src, ShuffleMask)); 888 SmallVector<int, 16> ShuffleMask; local [all...] |
/external/llvm/utils/PerfectShuffle/ |
H A D | PerfectShuffle.cpp | 106 unsigned short ShuffleMask; member in struct:Operator 112 : Name(name), ShuffleMask(shufflemask), OpNum(opnum),Cost(cost) { 121 return isOnlyLHSMask(ShuffleMask); 131 unsigned SrcElt = (ShuffleMask >> (4*i)) & 0xF;
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 318 SmallVector<int, 8> ShuffleMask; local 320 ShuffleMask.push_back(i); 323 UndefValue::get(SrcTy), ShuffleMask); 352 int ShuffleMask[4] = { 0, 1, 2, 3 }; local 365 ShuffleMask[DestLane] = SourceLane; 369 ShuffleMask[i] = i + 4; 376 ShuffleMask[DestLane] = SourceLane + 4; 379 return Builder.CreateShuffleVector(II.getArgOperand(0), V1, ShuffleMask); 437 SmallVector<Constant *, 16> ShuffleMask; local 439 ShuffleMask 517 SmallVector<Constant *, 16> ShuffleMask; local [all...] |
H A D | InstCombineVectorOps.cpp | 967 SmallVector<Constant *, 16> ShuffleMask(SrcNumElems, 970 ShuffleMask[I] = ConstantInt::get(Int32Ty, Idx); 972 ConstantVector::get(ShuffleMask),
|
H A D | InstCombineCasts.cpp | 1583 SmallVector<uint32_t, 16> ShuffleMask; local 1591 ShuffleMask.push_back(i); 1600 ShuffleMask.push_back(i); 1604 ShuffleMask.push_back(SrcElts); 1609 ShuffleMask));
|
/external/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 496 SmallVector<int, 8> ShuffleMask; local 498 ShuffleMask.push_back(i); 501 CI->getArgOperand(0), UndefValue::get(SrcTy), ShuffleMask);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 5299 /// Check if \p ShuffleMask is a NEON two-result shuffle (VZIP, VUZP, VTRN), 5301 static unsigned isNEONTwoResultShuffleMask(ArrayRef<int> ShuffleMask, EVT VT, argument 5305 if (isVTRNMask(ShuffleMask, VT, WhichResult)) 5307 if (isVUZPMask(ShuffleMask, VT, WhichResult)) 5309 if (isVZIPMask(ShuffleMask, VT, WhichResult)) 5313 if (isVTRN_v_undef_Mask(ShuffleMask, VT, WhichResult)) 5315 if (isVUZP_v_undef_Mask(ShuffleMask, VT, WhichResult)) 5317 if (isVZIP_v_undef_Mask(ShuffleMask, VT, WhichResult)) 5891 ArrayRef<int> ShuffleMask, 5900 I = ShuffleMask 5890 LowerVECTOR_SHUFFLEv8i8(SDValue Op, ArrayRef<int> ShuffleMask, SelectionDAG &DAG) argument 5941 ArrayRef<int> ShuffleMask = SVN->getMask(); local [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 2097 SmallVector<Constant*, 8> ShuffleMask; local 2099 ShuffleMask.push_back(Builder.getInt32(VF - i - 1)); 2102 ConstantVector::get(ShuffleMask), 3432 SmallVector<Constant*, 32> ShuffleMask(VF, nullptr); 3436 ShuffleMask[j] = Builder.getInt32(i/2 + j); 3439 std::fill(&ShuffleMask[i/2], ShuffleMask.end(), 3445 ConstantVector::get(ShuffleMask),
|
H A D | SLPVectorizer.cpp | 2537 Value *ShuffleMask = ConstantVector::get(Mask); local 2541 Value *V = Builder.CreateShuffleVector(V0, V1, ShuffleMask); 3604 SmallVector<Constant *, 32> ShuffleMask( 3610 ShuffleMask[i] = Builder.getInt32(2 * i + !IsLeft); 3614 ShuffleMask[i] = Builder.getInt32(NumEltsToRdx + i); 3616 return ConstantVector::get(ShuffleMask);
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 5407 static SDValue GenerateTBL(SDValue Op, ArrayRef<int> ShuffleMask, argument 5418 for (int Val : ShuffleMask) { 5494 ArrayRef<int> ShuffleMask = SVN->getMask(); local 5499 if (ShuffleVectorSDNode::isSplatMask(&ShuffleMask[0], 5534 if (isREVMask(ShuffleMask, VT, 64)) 5536 if (isREVMask(ShuffleMask, VT, 32)) 5538 if (isREVMask(ShuffleMask, VT, 16)) 5543 if (isEXTMask(ShuffleMask, VT, ReverseEXT, Imm)) { 5550 isSingletonEXTMask(ShuffleMask, VT, Imm)) { 5557 if (isZIPMask(ShuffleMask, V [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 5050 SmallVector<int, 16> ShuffleMask; local 5053 if (!getTargetShuffleMask(N, ShufVT, ShuffleMask, IsUnary)) 5056 int Elt = ShuffleMask[Index]; 19829 int ShuffleMask[] = {0, 2, -1, -1}; 19831 DAG.getUNDEF(MVT::v4i32), ShuffleMask); 23660 SmallVector<int, 16> ShuffleMask; 23663 ShuffleMask, UnaryShuffle)) 23669 int Idx = (Elt > (int)NumElems) ? -1 : ShuffleMask[Elt]; 23714 &ShuffleMask[0]); 23943 SmallVector<int, 8> ShuffleMask(NumElem [all...] |