/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 | 1092 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1)) in isVPKUHUMShuffleMask() 1098 if (!isConstantOrUndef(N->getMaskElt(i), i*2)) in isVPKUHUMShuffleMask() 1103 if (!isConstantOrUndef(N->getMaskElt(i), i*2+j) || in isVPKUHUMShuffleMask() 1104 !isConstantOrUndef(N->getMaskElt(i+8), i*2+j)) in isVPKUHUMShuffleMask() 1123 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) || in isVPKUWUMShuffleMask() 1124 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3)) in isVPKUWUMShuffleMask() 1130 if (!isConstantOrUndef(N->getMaskElt(i ), i*2) || in isVPKUWUMShuffleMask() 1131 !isConstantOrUndef(N->getMaskElt(i+1), i*2+1)) in isVPKUWUMShuffleMask() 1136 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+j) || in isVPKUWUMShuffleMask() 1137 !isConstantOrUndef(N->getMaskElt(i+1), i*2+j+1) || in isVPKUWUMShuffleMask() [all …]
|
D | PPCISelDAGToDAG.cpp | 2748 SDValue Op1 = N->getOperand(SVN->getMaskElt(0) < 2 ? 0 : 1), in Select() 2749 Op2 = N->getOperand(SVN->getMaskElt(1) < 2 ? 0 : 1); in Select() 2753 if (SVN->getMaskElt(i) <= 0 || SVN->getMaskElt(i) == 2) in Select()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 382 int Idx = SVN->getMaskElt(i); in print_details()
|
D | DAGCombiner.cpp | 3514 int M0 = SV0->getMaskElt(i); in visitOR() 3515 int M1 = SV1->getMaskElt(i); in visitOR() 11015 int OrigElt = SVOp->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT() 11122 int Idx = (Elt > (int)NumElems) ? -1 : SVN->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT() 11903 if (SVN->getMaskElt(J) >= 0) in partitionShuffleOfConcats() 11910 if (SVN->getMaskElt(Begin) % NumElemsPerConcat != 0) in partitionShuffleOfConcats() 11914 if (SVN->getMaskElt(Begin + J - 1) + 1 != SVN->getMaskElt(Begin + J)) in partitionShuffleOfConcats() 11917 unsigned FirstElt = SVN->getMaskElt(Begin) / NumElemsPerConcat; in partitionShuffleOfConcats() 11952 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE() 11964 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE() [all …]
|
D | LegalizeVectorTypes.cpp | 1179 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE() 1224 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE() 2554 int Idx = N->getMaskElt(i); in WidenVecRes_VECTOR_SHUFFLE()
|
D | SelectionDAG.cpp | 552 ID.AddInteger(SVN->getMaskElt(i)); in AddNodeIDCustom()
|
/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 | 1161 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx, in getMaskElt() function 1229 Args.push_back(getMaskElt(SVV, j, 0, CGF.Int32Ty)); in VisitInitListExpr() 1268 Args.push_back(getMaskElt(cast<llvm::ShuffleVectorInst>(V), j, 0, in VisitInitListExpr() 1275 Args.push_back(getMaskElt(SVI, j, Offset, CGF.Int32Ty)); in VisitInitListExpr()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1322 int getMaskElt(unsigned Idx) const {
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 4405 int Elt = SV->getMaskElt(Index); in getShuffleScalarElt() 4919 if ((!SVOp->isSplat()) || SVOp->getMaskElt(0) != 0) in LowerVectorBroadcast() 5052 int ShuffleIdx = SVOp->getMaskElt(Idx); in getUnderlyingExtractedFromVec() 19419 if (!isUndefOrEqual(SVOp->getMaskElt(i), j) || in isShuffleHigh128VectorInsertLow() 19420 SVOp->getMaskElt(j) >= 0) in isShuffleHigh128VectorInsertLow() 19435 if (!isUndefOrEqual(SVOp->getMaskElt(i), j) || in isShuffleLow128VectorInsertHigh() 19436 SVOp->getMaskElt(j) >= 0) in isShuffleLow128VectorInsertHigh() 19477 if (!isUndefOrEqual(SVOp->getMaskElt(i), i) || in PerformShuffleCombine256() 19478 !isUndefOrEqual(SVOp->getMaskElt(i+NumElems/2), NumElems)) in PerformShuffleCombine256() 20320 CanFold = SVOp->getMaskElt(i) == (int)(i * 2); in PerformShuffleCombine() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 2706 Indices.push_back(Node->getMaskElt(i)); in lowerVECTOR_SHUFFLE()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 8735 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine()
|