Searched refs:ShuffleMask (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 23 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<unsigned> &ShuffleMask) { in DecodeINSERTPSMask() argument 25 ShuffleMask.push_back(0); in DecodeINSERTPSMask() 26 ShuffleMask.push_back(1); in DecodeINSERTPSMask() 27 ShuffleMask.push_back(2); in DecodeINSERTPSMask() 28 ShuffleMask.push_back(3); in DecodeINSERTPSMask() 38 ShuffleMask[CountD] = InVal; in DecodeINSERTPSMask() 40 if (ZMask & 1) ShuffleMask[0] = SM_SentinelZero; in DecodeINSERTPSMask() 41 if (ZMask & 2) ShuffleMask[1] = SM_SentinelZero; in DecodeINSERTPSMask() 42 if (ZMask & 4) ShuffleMask[2] = SM_SentinelZero; in DecodeINSERTPSMask() 43 if (ZMask & 8) ShuffleMask[3] = SM_SentinelZero; in DecodeINSERTPSMask() [all …]
|
D | X86ShuffleDecode.h | 30 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<unsigned> &ShuffleMask); 34 SmallVectorImpl<unsigned> &ShuffleMask); 38 SmallVectorImpl<unsigned> &ShuffleMask); 41 SmallVectorImpl<unsigned> &ShuffleMask); 44 SmallVectorImpl<unsigned> &ShuffleMask); 47 SmallVectorImpl<unsigned> &ShuffleMask); 50 SmallVectorImpl<unsigned> &ShuffleMask); 53 SmallVectorImpl<unsigned> &ShuffleMask); 56 SmallVectorImpl<unsigned> &ShuffleMask); 59 SmallVectorImpl<unsigned> &ShuffleMask); [all …]
|
/external/llvm/lib/Target/X86/InstPrinter/ |
D | X86InstComments.cpp | 32 SmallVector<unsigned, 8> ShuffleMask; in EmitAnyX86InstComments() local 39 DecodeINSERTPSMask(MI->getOperand(3).getImm(), ShuffleMask); in EmitAnyX86InstComments() 45 DecodeMOVLHPSMask(2, ShuffleMask); in EmitAnyX86InstComments() 51 DecodeMOVHLPSMask(2, ShuffleMask); in EmitAnyX86InstComments() 60 ShuffleMask); in EmitAnyX86InstComments() 69 ShuffleMask); in EmitAnyX86InstComments() 77 ShuffleMask); in EmitAnyX86InstComments() 85 DecodePUNPCKHMask(16, ShuffleMask); in EmitAnyX86InstComments() 92 DecodePUNPCKHMask(8, ShuffleMask); in EmitAnyX86InstComments() 99 DecodePUNPCKHMask(4, ShuffleMask); in EmitAnyX86InstComments() [all …]
|
/external/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 105 unsigned short ShuffleMask; member 112 : ShuffleMask(shufflemask), OpNum(opnum), Name(name), Cost(cost) { in Operator() 121 return isOnlyLHSMask(ShuffleMask); in isOnlyLHSOperator() 131 unsigned SrcElt = (ShuffleMask >> (4*i)) & 0xF; in getTransformedMask()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1428 SmallVector<Constant*, 16> ShuffleMask; in OptimizeVectorResize() local 1437 ShuffleMask.push_back(ConstantInt::get(Int32Ty, i)); in OptimizeVectorResize() 1446 ShuffleMask.push_back(ConstantInt::get(Int32Ty, i)); in OptimizeVectorResize() 1449 ShuffleMask.append(DestTy->getNumElements()-SrcElts, in OptimizeVectorResize() 1453 return new ShuffleVectorInst(InVal, V2, ConstantVector::get(ShuffleMask)); in OptimizeVectorResize()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4257 SmallVectorImpl<int> &ShuffleMask, in LowerVECTOR_SHUFFLEv8i8() argument 4266 I = ShuffleMask.begin(), E = ShuffleMask.end(); I != E; ++I) in LowerVECTOR_SHUFFLEv8i8() 4285 SmallVector<int, 8> ShuffleMask; in LowerVECTOR_SHUFFLE() local 4293 SVN->getMask(ShuffleMask); in LowerVECTOR_SHUFFLE() 4297 if (ShuffleVectorSDNode::isSplatMask(&ShuffleMask[0], VT)) { in LowerVECTOR_SHUFFLE() 4311 if (isVEXTMask(ShuffleMask, VT, ReverseVEXT, Imm)) { in LowerVECTOR_SHUFFLE() 4318 if (isVREVMask(ShuffleMask, VT, 64)) in LowerVECTOR_SHUFFLE() 4320 if (isVREVMask(ShuffleMask, VT, 32)) in LowerVECTOR_SHUFFLE() 4322 if (isVREVMask(ShuffleMask, VT, 16)) in LowerVECTOR_SHUFFLE() 4331 if (isVTRNMask(ShuffleMask, VT, WhichResult)) in LowerVECTOR_SHUFFLE() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 3989 SmallVector<unsigned, 16> ShuffleMask; in getShuffleScalarElt() local 3998 ShuffleMask); in getShuffleScalarElt() 4004 DecodePUNPCKHMask(NumElems, ShuffleMask); in getShuffleScalarElt() 4008 DecodeUNPCKHPMask(NumElems, ShuffleMask); in getShuffleScalarElt() 4014 DecodePUNPCKLMask(VT, ShuffleMask); in getShuffleScalarElt() 4022 DecodeUNPCKLPMask(VT, ShuffleMask); in getShuffleScalarElt() 4025 DecodeMOVHLPSMask(NumElems, ShuffleMask); in getShuffleScalarElt() 4028 DecodeMOVLHPSMask(NumElems, ShuffleMask); in getShuffleScalarElt() 4034 ShuffleMask); in getShuffleScalarElt() 4039 ShuffleMask); in getShuffleScalarElt() [all …]
|