Home
last modified time | relevance | path

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

/external/swiftshader/third_party/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/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.cpp1155 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1)) in isVPKUHUMShuffleMask()
1161 if (!isConstantOrUndef(N->getMaskElt(i), i*2)) in isVPKUHUMShuffleMask()
1166 if (!isConstantOrUndef(N->getMaskElt(i), i*2+j) || in isVPKUHUMShuffleMask()
1167 !isConstantOrUndef(N->getMaskElt(i+8), i*2+j)) in isVPKUHUMShuffleMask()
1186 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) || in isVPKUWUMShuffleMask()
1187 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3)) in isVPKUWUMShuffleMask()
1193 if (!isConstantOrUndef(N->getMaskElt(i ), i*2) || in isVPKUWUMShuffleMask()
1194 !isConstantOrUndef(N->getMaskElt(i+1), i*2+1)) in isVPKUWUMShuffleMask()
1199 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+j) || in isVPKUWUMShuffleMask()
1200 !isConstantOrUndef(N->getMaskElt(i+1), i*2+j+1) || in isVPKUWUMShuffleMask()
[all …]
DPPCISelDAGToDAG.cpp2870 SDValue Op1 = N->getOperand(SVN->getMaskElt(0) < 2 ? 0 : 1), in Select()
2871 Op2 = N->getOperand(SVN->getMaskElt(1) < 2 ? 0 : 1); in Select()
2875 if (SVN->getMaskElt(i) <= 0 || SVN->getMaskElt(i) == 2) in Select()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp3299 if (SVOp->getMaskElt(i) < 0) in getShuffleVSHUFPSYImmediate()
3303 unsigned Elt = SVOp->getMaskElt(i) % HalfSize; in getShuffleVSHUFPSYImmediate()
3365 if (SVOp->getMaskElt(i) < 0) in getShuffleVSHUFPDYImmediate()
3367 int Elt = SVOp->getMaskElt(i) % HalfSize; in getShuffleVSHUFPDYImmediate()
3442 return isUndefOrEqual(N->getMaskElt(0), 6) && in isMOVHLPSMask()
3443 isUndefOrEqual(N->getMaskElt(1), 7) && in isMOVHLPSMask()
3444 isUndefOrEqual(N->getMaskElt(2), 2) && in isMOVHLPSMask()
3445 isUndefOrEqual(N->getMaskElt(3), 3); in isMOVHLPSMask()
3461 return isUndefOrEqual(N->getMaskElt(0), 2) && in isMOVHLPS_v_undef_Mask()
3462 isUndefOrEqual(N->getMaskElt(1), 3) && in isMOVHLPS_v_undef_Mask()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp505 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1)) in isVPKUHUMShuffleMask()
509 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1) || in isVPKUHUMShuffleMask()
510 !isConstantOrUndef(N->getMaskElt(i+8), i*2+1)) in isVPKUHUMShuffleMask()
521 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) || in isVPKUWUMShuffleMask()
522 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3)) in isVPKUWUMShuffleMask()
526 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) || in isVPKUWUMShuffleMask()
527 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3) || in isVPKUWUMShuffleMask()
528 !isConstantOrUndef(N->getMaskElt(i+8), i*2+2) || in isVPKUWUMShuffleMask()
529 !isConstantOrUndef(N->getMaskElt(i+9), i*2+3)) in isVPKUWUMShuffleMask()
546 if (!isConstantOrUndef(N->getMaskElt(i*UnitSize*2+j), in isVMerge()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp415 int Idx = SVN->getMaskElt(i); in print_details()
DDAGCombiner.cpp3759 int M0 = SV0->getMaskElt(i); in visitOR()
3760 int M1 = SV1->getMaskElt(i); in visitOR()
12400 int OrigElt = SVOp->getMaskElt(ConstEltNo->getZExtValue()); in visitEXTRACT_VECTOR_ELT()
12510 int Idx = (Elt > (int)NumElems) ? -1 : SVN->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT()
13371 if (SVN->getMaskElt(J) >= 0) in partitionShuffleOfConcats()
13378 if (SVN->getMaskElt(Begin) % NumElemsPerConcat != 0) in partitionShuffleOfConcats()
13382 if (SVN->getMaskElt(Begin + J - 1) + 1 != SVN->getMaskElt(Begin + J)) in partitionShuffleOfConcats()
13385 unsigned FirstElt = SVN->getMaskElt(Begin) / NumElemsPerConcat; in partitionShuffleOfConcats()
13420 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE()
13436 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE()
[all …]
DLegalizeVectorTypes.cpp1346 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE()
1391 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE()
3011 int Idx = N->getMaskElt(i); in WidenVecRes_VECTOR_SHUFFLE()
DSelectionDAG.cpp493 ID.AddInteger(SVN->getMaskElt(i)); in AddNodeIDCustom()
/external/llvm/lib/Target/NVPTX/
DNVPTXVector.td736 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/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelLowering.cpp1865 if (SVN->getMaskElt(i) < 0) in LowerVECTOR_SHUFFLE()
1868 unsigned SrcElt = SVN->getMaskElt(i); in LowerVECTOR_SHUFFLE()
1933 unsigned SrcElt = SVN->getMaskElt(i) < 0 ? 0 : SVN->getMaskElt(i); in LowerVECTOR_SHUFFLE()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1149 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx, in getMaskElt() function
1228 Args.push_back(getMaskElt(SVV, j, 0, CGF.Int32Ty)); in VisitInitListExpr()
1267 Args.push_back(getMaskElt(cast<llvm::ShuffleVectorInst>(V), j, 0, in VisitInitListExpr()
1274 Args.push_back(getMaskElt(SVI, j, Offset, CGF.Int32Ty)); in VisitInitListExpr()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp865 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE()
910 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE()
1975 int Idx = N->getMaskElt(i); in WidenVecRes_VECTOR_SHUFFLE()
DSelectionDAG.cpp447 ID.AddInteger(SVN->getMaskElt(i)); in AddNodeIDCustom()
6201 int Idx = SVN->getMaskElt(i); in print_details()
DLegalizeIntegerTypes.cpp2879 NewMask.push_back(SV->getMaskElt(i)); in PromoteIntRes_VECTOR_SHUFFLE()
DDAGCombiner.cpp6888 int Idx = (Elt > (int)NumElems) ? -1 : SVN->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h1122 int getMaskElt(unsigned Idx) const {
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1243 int getMaskElt(unsigned Idx) const {
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp3664 int Index = VSN->getMaskElt(I); in getVPermMask()
4332 int Elt = VSN->getMaskElt(I); in lowerVECTOR_SHUFFLE()
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp2883 Indices.push_back(Node->getMaskElt(i)); in lowerVECTOR_SHUFFLE()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp7134 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9878 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine()