Home
last modified time | relevance | path

Searched refs:SVOp (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp3289 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in getShuffleVSHUFPSYImmediate() local
3290 EVT VT = SVOp->getValueType(0); in getShuffleVSHUFPSYImmediate()
3299 if (SVOp->getMaskElt(i) < 0) in getShuffleVSHUFPSYImmediate()
3303 unsigned Elt = SVOp->getMaskElt(i) % HalfSize; in getShuffleVSHUFPSYImmediate()
3355 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in getShuffleVSHUFPDYImmediate() local
3356 EVT VT = SVOp->getValueType(0); in getShuffleVSHUFPDYImmediate()
3365 if (SVOp->getMaskElt(i) < 0) in getShuffleVSHUFPDYImmediate()
3367 int Elt = SVOp->getMaskElt(i) % HalfSize; in getShuffleVSHUFPDYImmediate()
3734 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in getShuffleVPERM2F128Immediate() local
3735 EVT VT = SVOp->getValueType(0); in getShuffleVPERM2F128Immediate()
[all …]
DX86InstrFragmentsSIMD.td402 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
403 return SVOp->isSplat() && SVOp->getSplatIndex() == 0;
DX86GenDAGISel.inc48212 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
48213 return SVOp->isSplat() && SVOp->getSplatIndex() == 0;
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp580 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in isVSLDOIShuffleMask() local
584 for (i = 0; i != 16 && SVOp->getMaskElt(i) < 0; ++i) in isVSLDOIShuffleMask()
591 unsigned ShiftAmt = SVOp->getMaskElt(i); in isVSLDOIShuffleMask()
598 if (!isConstantOrUndef(SVOp->getMaskElt(i), ShiftAmt+i)) in isVSLDOIShuffleMask()
603 if (!isConstantOrUndef(SVOp->getMaskElt(i), (ShiftAmt+i) & 15)) in isVSLDOIShuffleMask()
658 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in getVSPLTImmediate() local
659 assert(isSplatShuffleMask(SVOp, EltSize)); in getVSPLTImmediate()
660 return SVOp->getMaskElt(0) / EltSize; in getVSPLTImmediate()
4200 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(Op); in LowerVECTOR_SHUFFLE() local
4207 if (PPC::isSplatShuffleMask(SVOp, 1) || in LowerVECTOR_SHUFFLE()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1692 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in isVSLDOIShuffleMask() local
1696 for (i = 0; i != 16 && SVOp->getMaskElt(i) < 0; ++i) in isVSLDOIShuffleMask()
1703 unsigned ShiftAmt = SVOp->getMaskElt(i); in isVSLDOIShuffleMask()
1712 if (!isConstantOrUndef(SVOp->getMaskElt(i), ShiftAmt+i)) in isVSLDOIShuffleMask()
1717 if (!isConstantOrUndef(SVOp->getMaskElt(i), (ShiftAmt+i) & 15)) in isVSLDOIShuffleMask()
2030 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in getVSPLTImmediate() local
2031 assert(isSplatShuffleMask(SVOp, EltSize)); in getVSPLTImmediate()
2033 return (16 / EltSize) - 1 - (SVOp->getMaskElt(0) / EltSize); in getVSPLTImmediate()
2035 return SVOp->getMaskElt(0) / EltSize; in getVSPLTImmediate()
2149 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in isQVALIGNIShuffleMask() local
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1433 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in isVSLDOIShuffleMask() local
1437 for (i = 0; i != 16 && SVOp->getMaskElt(i) < 0; ++i) in isVSLDOIShuffleMask()
1444 unsigned ShiftAmt = SVOp->getMaskElt(i); in isVSLDOIShuffleMask()
1453 if (!isConstantOrUndef(SVOp->getMaskElt(i), ShiftAmt+i)) in isVSLDOIShuffleMask()
1458 if (!isConstantOrUndef(SVOp->getMaskElt(i), (ShiftAmt+i) & 15)) in isVSLDOIShuffleMask()
1593 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in getVSPLTImmediate() local
1594 assert(isSplatShuffleMask(SVOp, EltSize)); in getVSPLTImmediate()
1596 return (16 / EltSize) - 1 - (SVOp->getMaskElt(0) / EltSize); in getVSPLTImmediate()
1598 return SVOp->getMaskElt(0) / EltSize; in getVSPLTImmediate()
1713 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in isQVALIGNIShuffleMask() local
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXVector.td735 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
736 return CurDAG->getTargetConstant(SVOp->getMaskElt(0), SDLoc(N), MVT::i32);
739 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
740 return CurDAG->getTargetConstant(SVOp->getMaskElt(1), SDLoc(N), MVT::i32);
743 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
744 return CurDAG->getTargetConstant(SVOp->getMaskElt(2), SDLoc(N), MVT::i32);
747 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
748 return CurDAG->getTargetConstant(SVOp->getMaskElt(3), SDLoc(N), MVT::i32);
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1259 Value *SVOp = SVI->getOperand(0); in VisitInitListExpr() local
1260 llvm::VectorType *OpTy = cast<llvm::VectorType>(SVOp->getType()); in VisitInitListExpr()
1280 Init = SVOp; in VisitInitListExpr()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp5788 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(Op); in LowerVectorBroadcast() local
5792 if ((!SVOp->isSplat()) || SVOp->getMaskElt(0) != 0) in LowerVectorBroadcast()
5920 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(ExtractedFromVec); in getUnderlyingExtractedFromVec() local
5921 SDValue ShuffleVec = SVOp->getOperand(0); in getUnderlyingExtractedFromVec()
5926 int ShuffleIdx = SVOp->getMaskElt(Idx); in getUnderlyingExtractedFromVec()
12116 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(Op); in lowerVectorShuffle() local
12117 ArrayRef<int> Mask = SVOp->getMask(); in lowerVectorShuffle()
12137 return DAG.getCommutedVectorShuffle(*SVOp); in lowerVectorShuffle()
12193 return DAG.getCommutedVectorShuffle(*SVOp); in lowerVectorShuffle()
12211 return DAG.getCommutedVectorShuffle(*SVOp); in lowerVectorShuffle()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp7245 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(ExtractedFromVec); in getUnderlyingExtractedFromVec() local
7246 SDValue ShuffleVec = SVOp->getOperand(0); in getUnderlyingExtractedFromVec()
7251 int ShuffleIdx = SVOp->getMaskElt(Idx); in getUnderlyingExtractedFromVec()
15004 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(Op); in lowerVectorShuffle() local
15005 ArrayRef<int> Mask = SVOp->getMask(); in lowerVectorShuffle()
15025 return DAG.getCommutedVectorShuffle(*SVOp); in lowerVectorShuffle()
15105 return DAG.getCommutedVectorShuffle(*SVOp); in lowerVectorShuffle()
31122 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in combineShuffleOfConcatUndef() local
31123 for (int Elt : SVOp->getMask()) in combineShuffleOfConcatUndef()
31235 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in combineShuffle() local
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp12398 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(InVec); in visitEXTRACT_VECTOR_ELT() local
12400 int OrigElt = SVOp->getMaskElt(ConstEltNo->getZExtValue()); in visitEXTRACT_VECTOR_ELT()
12431 DAG.getConstant(OrigElt, SDLoc(SVOp), IndexTy)); in visitEXTRACT_VECTOR_ELT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp15203 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(InVec); in visitEXTRACT_VECTOR_ELT() local
15205 int OrigElt = SVOp->getMaskElt(ConstEltNo->getZExtValue()); in visitEXTRACT_VECTOR_ELT()
15239 DAG.getConstant(OrigElt, SDLoc(SVOp), IndexTy)); in visitEXTRACT_VECTOR_ELT()