Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/llvm-7.0/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-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1414 if (!isConstantOrUndef(N->getMaskElt(i), i*2+1)) in isVPKUHUMShuffleMask()
1420 if (!isConstantOrUndef(N->getMaskElt(i), i*2)) in isVPKUHUMShuffleMask()
1425 if (!isConstantOrUndef(N->getMaskElt(i), i*2+j) || in isVPKUHUMShuffleMask()
1426 !isConstantOrUndef(N->getMaskElt(i+8), i*2+j)) in isVPKUHUMShuffleMask()
1445 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+2) || in isVPKUWUMShuffleMask()
1446 !isConstantOrUndef(N->getMaskElt(i+1), i*2+3)) in isVPKUWUMShuffleMask()
1452 if (!isConstantOrUndef(N->getMaskElt(i ), i*2) || in isVPKUWUMShuffleMask()
1453 !isConstantOrUndef(N->getMaskElt(i+1), i*2+1)) in isVPKUWUMShuffleMask()
1458 if (!isConstantOrUndef(N->getMaskElt(i ), i*2+j) || in isVPKUWUMShuffleMask()
1459 !isConstantOrUndef(N->getMaskElt(i+1), i*2+j+1) || in isVPKUWUMShuffleMask()
[all …]
DPPCISelDAGToDAG.cpp4664 SDValue Op1 = N->getOperand(SVN->getMaskElt(0) < 2 ? 0 : 1), in Select()
4665 Op2 = N->getOperand(SVN->getMaskElt(1) < 2 ? 0 : 1); in Select()
4669 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()
/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-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp521 int Idx = SVN->getMaskElt(i); in print_details()
DDAGCombiner.cpp5047 int M0 = SV0->getMaskElt(i); in visitOR()
5048 int M1 = SV1->getMaskElt(i); in visitOR()
15205 int OrigElt = SVOp->getMaskElt(ConstEltNo->getZExtValue()); in visitEXTRACT_VECTOR_ELT()
15335 int Idx = (Elt > (int)NumElems) ? -1 : SVN->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT()
16562 if (SVN->getMaskElt(J) >= 0) in partitionShuffleOfConcats()
16569 if (SVN->getMaskElt(Begin) % NumElemsPerConcat != 0) in partitionShuffleOfConcats()
16573 if (SVN->getMaskElt(Begin + J - 1) + 1 != SVN->getMaskElt(Begin + J)) in partitionShuffleOfConcats()
16576 unsigned FirstElt = SVN->getMaskElt(Begin) / NumElemsPerConcat; in partitionShuffleOfConcats()
16943 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE()
16959 int Idx = SVN->getMaskElt(i); in visitVECTOR_SHUFFLE()
[all …]
DLegalizeVectorTypes.cpp1487 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE()
1532 int Idx = N->getMaskElt(FirstMaskIdx + MaskOffset); in SplitVecRes_VECTOR_SHUFFLE()
3343 int Idx = N->getMaskElt(i); in WidenVecRes_VECTOR_SHUFFLE()
DSelectionDAG.cpp600 ID.AddInteger(SVN->getMaskElt(i)); in AddNodeIDCustom()
2280 int M = SVN->getMaskElt(i); in computeKnownBits()
3204 int M = SVN->getMaskElt(i); in ComputeNumSignBits()
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1457 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()

12