Home
last modified time | relevance | path

Searched refs:getMaskElt (Results 1 – 14 of 14) sorted by relevance

/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp35 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/
DPPCISelLowering.cpp861 if (!isConstantOrUndef(N->getMaskElt(i), i*2+j)) in isVPKUHUMShuffleMask()
865 if (!isConstantOrUndef(N->getMaskElt(i), i*2+j) || in isVPKUHUMShuffleMask()
866 !isConstantOrUndef(N->getMaskElt(i+8), i*2+j)) in isVPKUHUMShuffleMask()
886 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+j) || in isVPKUWUMShuffleMask()
887 !isConstantOrUndef(N->getMaskElt(i+1), i*2+k)) in isVPKUWUMShuffleMask()
891 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+j) || in isVPKUWUMShuffleMask()
892 !isConstantOrUndef(N->getMaskElt(i+1), i*2+k) || in isVPKUWUMShuffleMask()
893 !isConstantOrUndef(N->getMaskElt(i+8), i*2+j) || in isVPKUWUMShuffleMask()
894 !isConstantOrUndef(N->getMaskElt(i+9), i*2+k)) in isVPKUWUMShuffleMask()
911 if (!isConstantOrUndef(N->getMaskElt(i*UnitSize*2+j), in isVMerge()
[all …]
DPPCISelDAGToDAG.cpp1354 SDValue Op1 = N->getOperand(SVN->getMaskElt(0) < 2 ? 0 : 1), in Select()
1355 Op2 = N->getOperand(SVN->getMaskElt(1) < 2 ? 0 : 1); in Select()
1359 if (SVN->getMaskElt(i) <= 0 || SVN->getMaskElt(i) == 2) in Select()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp375 int Idx = SVN->getMaskElt(i); in print_details()
DDAGCombiner.cpp3275 int M0 = SV0->getMaskElt(i); in visitOR()
3276 int M1 = SV1->getMaskElt(i); in visitOR()
9895 int OrigElt = SVOp->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT()
10001 int Idx = (Elt > (int)NumElems) ? -1 : SVN->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT()
10537 if (SVN->getMaskElt(J) >= 0) in partitionShuffleOfConcats()
10544 if (SVN->getMaskElt(Begin) % NumElemsPerConcat != 0) in partitionShuffleOfConcats()
10548 if (SVN->getMaskElt(Begin + J - 1) + 1 != SVN->getMaskElt(Begin + J)) in partitionShuffleOfConcats()
10551 unsigned FirstElt = SVN->getMaskElt(Begin) / NumElemsPerConcat; in partitionShuffleOfConcats()
10586 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE()
10598 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE()
[all …]
DLegalizeVectorTypes.cpp1085 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE()
1130 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE()
2338 int Idx = N->getMaskElt(i); in WidenVecRes_VECTOR_SHUFFLE()
DLegalizeIntegerTypes.cpp2922 NewMask.push_back(SV->getMaskElt(i)); in PromoteIntRes_VECTOR_SHUFFLE()
DSelectionDAG.cpp535 ID.AddInteger(SVN->getMaskElt(i)); in AddNodeIDCustom()
/external/llvm/lib/Target/NVPTX/
DNVPTXVector.td738 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/llvm/lib/Target/X86/
DX86ISelLowering.cpp4325 if (SVOp->getMaskElt(i) > 0) { in getShuffleVPERM2X128Immediate()
4326 FstHalf = SVOp->getMaskElt(i)/HalfSize; in getShuffleVPERM2X128Immediate()
4331 if (SVOp->getMaskElt(i) > 0) { in getShuffleVPERM2X128Immediate()
4332 SndHalf = SVOp->getMaskElt(i)/HalfSize; in getShuffleVPERM2X128Immediate()
4597 int Elt = N->getMaskElt(i); in getShuffleSHUFImmediate()
4621 int Elt = N->getMaskElt(l+i+4); in getShufflePSHUFHWImmediate()
4645 int Elt = N->getMaskElt(l+i); in getShufflePSHUFLWImmediate()
4669 Val = SVOp->getMaskElt(i); in getShufflePALIGNRImmediate()
4763 int Idx = SVOp->getMaskElt(i); in CommuteVectorShuffle()
4869 int Idx = N->getMaskElt(i); in isZeroShuffle()
[all …]
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1081 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx, in getMaskElt() function
1149 Args.push_back(getMaskElt(SVV, j, 0, CGF.Int32Ty)); in VisitInitListExpr()
1188 Args.push_back(getMaskElt(cast<llvm::ShuffleVectorInst>(V), j, 0, in VisitInitListExpr()
1195 Args.push_back(getMaskElt(SVI, j, Offset, CGF.Int32Ty)); in VisitInitListExpr()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1316 int getMaskElt(unsigned Idx) const {
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp2705 Indices.push_back(Node->getMaskElt(i)); in lowerVECTOR_SHUFFLE()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp8809 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine()