Searched refs:getMaskElt (Results 1 – 12 of 12) sorted by relevance
/external/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 35 static unsigned getMaskElt(unsigned Mask, unsigned Elt) { in getMaskElt() function 74 return getMaskElt(Mask, 0)*9*9*9 + getMaskElt(Mask, 1)*9*9 + in getCompressedMask() 75 getMaskElt(Mask, 2)*9 + getMaskElt(Mask, 3); in getCompressedMask() 79 OS << "<" << (char)(getMaskElt(i, 0) == 8 ? 'u' : ('0'+getMaskElt(i, 0))) in PrintMask() 80 << "," << (char)(getMaskElt(i, 1) == 8 ? 'u' : ('0'+getMaskElt(i, 1))) in PrintMask() 81 << "," << (char)(getMaskElt(i, 2) == 8 ? 'u' : ('0'+getMaskElt(i, 2))) in PrintMask() 82 << "," << (char)(getMaskElt(i, 3) == 8 ? 'u' : ('0'+getMaskElt(i, 3))) in PrintMask() 134 ResElt = getMaskElt(LHSMask, SrcElt); in getTransformedMask() 136 ResElt = getMaskElt(RHSMask, SrcElt-4); in getTransformedMask()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 701 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1)) in isVPKUHUMShuffleMask() 705 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1) || in isVPKUHUMShuffleMask() 706 !isConstantOrUndef(N->getMaskElt(i+8), i*2+1)) in isVPKUHUMShuffleMask() 717 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) || in isVPKUWUMShuffleMask() 718 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3)) in isVPKUWUMShuffleMask() 722 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) || in isVPKUWUMShuffleMask() 723 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3) || in isVPKUWUMShuffleMask() 724 !isConstantOrUndef(N->getMaskElt(i+8), i*2+2) || in isVPKUWUMShuffleMask() 725 !isConstantOrUndef(N->getMaskElt(i+9), i*2+3)) in isVPKUWUMShuffleMask() 742 if (!isConstantOrUndef(N->getMaskElt(i*UnitSize*2+j), in isVMerge() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 362 int Idx = SVN->getMaskElt(i); in print_details()
|
D | DAGCombiner.cpp | 2459 int Idx0 = SVN0->getMaskElt(i); in SimplifyBinOpWithSameOpcodeHands() 2460 int Idx1 = SVN1->getMaskElt(i); in SimplifyBinOpWithSameOpcodeHands() 8676 int OrigElt = SVOp->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT() 8758 int Idx = (Elt > (int)NumElems) ? -1 : SVN->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT() 9297 if (SVN->getMaskElt(J) >= 0) in partitionShuffleOfConcats() 9304 if (SVN->getMaskElt(Begin) % NumElemsPerConcat != 0) in partitionShuffleOfConcats() 9308 if (SVN->getMaskElt(Begin + J - 1) + 1 != SVN->getMaskElt(Begin + J)) in partitionShuffleOfConcats() 9311 unsigned FirstElt = SVN->getMaskElt(Begin) / NumElemsPerConcat; in partitionShuffleOfConcats() 9347 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE() 9359 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE() [all …]
|
D | LegalizeVectorTypes.cpp | 942 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE() 987 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE() 2197 int Idx = N->getMaskElt(i); in WidenVecRes_VECTOR_SHUFFLE()
|
D | LegalizeIntegerTypes.cpp | 2911 NewMask.push_back(SV->getMaskElt(i)); in PromoteIntRes_VECTOR_SHUFFLE()
|
D | SelectionDAG.cpp | 474 ID.AddInteger(SVN->getMaskElt(i)); in AddNodeIDCustom()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 4081 if (SVOp->getMaskElt(i) > 0) { in getShuffleVPERM2X128Immediate() 4082 FstHalf = SVOp->getMaskElt(i)/HalfSize; in getShuffleVPERM2X128Immediate() 4087 if (SVOp->getMaskElt(i) > 0) { in getShuffleVPERM2X128Immediate() 4088 SndHalf = SVOp->getMaskElt(i)/HalfSize; in getShuffleVPERM2X128Immediate() 4312 int Elt = N->getMaskElt(i); in getShuffleSHUFImmediate() 4336 int Elt = N->getMaskElt(l+i+4); in getShufflePSHUFHWImmediate() 4360 int Elt = N->getMaskElt(l+i); in getShufflePSHUFLWImmediate() 4383 Val = SVOp->getMaskElt(i); in getShufflePALIGNRImmediate() 4465 int Elt = N->getMaskElt(i); in getShuffleCLImmediate() 4492 int Idx = SVOp->getMaskElt(i); in CommuteVectorShuffle() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXVector.td | 738 return CurDAG->getTargetConstant(SVOp->getMaskElt(0), MVT::i32); 742 return CurDAG->getTargetConstant(SVOp->getMaskElt(1), MVT::i32); 746 return CurDAG->getTargetConstant(SVOp->getMaskElt(2), MVT::i32); 750 return CurDAG->getTargetConstant(SVOp->getMaskElt(3), MVT::i32);
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1006 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx, in getMaskElt() function 1074 Args.push_back(getMaskElt(SVV, j, 0, CGF.Int32Ty)); in VisitInitListExpr() 1113 Args.push_back(getMaskElt(cast<llvm::ShuffleVectorInst>(V), j, 0, in VisitInitListExpr() 1120 Args.push_back(getMaskElt(SVI, j, Offset, CGF.Int32Ty)); in VisitInitListExpr()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1195 int getMaskElt(unsigned Idx) const {
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 9001 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine()
|