/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 | 1134 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1)) in isVPKUHUMShuffleMask() 1140 if (!isConstantOrUndef(N->getMaskElt(i), i*2)) in isVPKUHUMShuffleMask() 1145 if (!isConstantOrUndef(N->getMaskElt(i), i*2+j) || in isVPKUHUMShuffleMask() 1146 !isConstantOrUndef(N->getMaskElt(i+8), i*2+j)) in isVPKUHUMShuffleMask() 1165 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) || in isVPKUWUMShuffleMask() 1166 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3)) in isVPKUWUMShuffleMask() 1172 if (!isConstantOrUndef(N->getMaskElt(i ), i*2) || in isVPKUWUMShuffleMask() 1173 !isConstantOrUndef(N->getMaskElt(i+1), i*2+1)) in isVPKUWUMShuffleMask() 1178 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+j) || in isVPKUWUMShuffleMask() 1179 !isConstantOrUndef(N->getMaskElt(i+1), i*2+j+1) || in isVPKUWUMShuffleMask() [all …]
|
D | PPCISelDAGToDAG.cpp | 2842 SDValue Op1 = N->getOperand(SVN->getMaskElt(0) < 2 ? 0 : 1), in Select() 2843 Op2 = N->getOperand(SVN->getMaskElt(1) < 2 ? 0 : 1); in Select() 2847 if (SVN->getMaskElt(i) <= 0 || SVN->getMaskElt(i) == 2) in Select()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 414 int Idx = SVN->getMaskElt(i); in print_details()
|
D | DAGCombiner.cpp | 3725 int M0 = SV0->getMaskElt(i); in visitOR() 3726 int M1 = SV1->getMaskElt(i); in visitOR() 12202 int OrigElt = SVOp->getMaskElt(ConstEltNo->getZExtValue()); in visitEXTRACT_VECTOR_ELT() 12309 int Idx = (Elt > (int)NumElems) ? -1 : SVN->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT() 13173 if (SVN->getMaskElt(J) >= 0) in partitionShuffleOfConcats() 13180 if (SVN->getMaskElt(Begin) % NumElemsPerConcat != 0) in partitionShuffleOfConcats() 13184 if (SVN->getMaskElt(Begin + J - 1) + 1 != SVN->getMaskElt(Begin + J)) in partitionShuffleOfConcats() 13187 unsigned FirstElt = SVN->getMaskElt(Begin) / NumElemsPerConcat; in partitionShuffleOfConcats() 13222 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE() 13234 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE() [all …]
|
D | LegalizeVectorTypes.cpp | 1289 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE() 1334 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE() 2893 int Idx = N->getMaskElt(i); in WidenVecRes_VECTOR_SHUFFLE()
|
D | SelectionDAG.cpp | 518 ID.AddInteger(SVN->getMaskElt(i)); in AddNodeIDCustom()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXVector.td | 736 return CurDAG->getTargetConstant(SVOp->getMaskElt(0), SDLoc(N), MVT::i32); 740 return CurDAG->getTargetConstant(SVOp->getMaskElt(1), SDLoc(N), MVT::i32); 744 return CurDAG->getTargetConstant(SVOp->getMaskElt(2), SDLoc(N), MVT::i32); 748 return CurDAG->getTargetConstant(SVOp->getMaskElt(3), SDLoc(N), MVT::i32);
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1164 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx, in getMaskElt() function 1243 Args.push_back(getMaskElt(SVV, j, 0, CGF.Int32Ty)); in VisitInitListExpr() 1282 Args.push_back(getMaskElt(cast<llvm::ShuffleVectorInst>(V), j, 0, in VisitInitListExpr() 1289 Args.push_back(getMaskElt(SVI, j, Offset, CGF.Int32Ty)); in VisitInitListExpr()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1383 int getMaskElt(unsigned Idx) const {
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 5035 int Elt = SV->getMaskElt(Index); in getShuffleScalarElt() 5549 if ((!SVOp->isSplat()) || SVOp->getMaskElt(0) != 0) in LowerVectorBroadcast() 5683 int ShuffleIdx = SVOp->getMaskElt(Idx); in getUnderlyingExtractedFromVec() 22622 if (!isUndefOrEqual(SVOp->getMaskElt(i), j) || in isShuffleHigh128VectorInsertLow() 22623 SVOp->getMaskElt(j) >= 0) in isShuffleHigh128VectorInsertLow() 22638 if (!isUndefOrEqual(SVOp->getMaskElt(i), j) || in isShuffleLow128VectorInsertHigh() 22639 SVOp->getMaskElt(j) >= 0) in isShuffleLow128VectorInsertHigh() 22680 if (!isUndefOrEqual(SVOp->getMaskElt(i), i) || in PerformShuffleCombine256() 22681 !isUndefOrEqual(SVOp->getMaskElt(i+NumElems/2), NumElems)) in PerformShuffleCombine256() 23578 CanFold = SVOp->getMaskElt(i) == (int)(i * 2); in PerformShuffleCombine() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 3494 int Index = VSN->getMaskElt(I); in getVPermMask() 4162 int Elt = VSN->getMaskElt(I); in lowerVECTOR_SHUFFLE()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 2880 Indices.push_back(Node->getMaskElt(i)); in lowerVECTOR_SHUFFLE()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 9469 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine()
|