Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp3828 SDValue Compact8x32ShuffleNode(ShuffleVectorSDNode *SVOp, in Compact8x32ShuffleNode() argument
3830 MVT VT = SVOp->getValueType(0).getSimpleVT(); in Compact8x32ShuffleNode()
3831 SDLoc dl(SVOp); in Compact8x32ShuffleNode()
3836 ArrayRef<int> Mask = SVOp->getMask(); in Compact8x32ShuffleNode()
3855 SDValue Op0 = SVOp->getOperand(0); in Compact8x32ShuffleNode()
3856 SDValue Op1 = SVOp->getOperand(1); in Compact8x32ShuffleNode()
4074 static unsigned getShuffleVPERM2X128Immediate(ShuffleVectorSDNode *SVOp) { in getShuffleVPERM2X128Immediate() argument
4075 MVT VT = SVOp->getValueType(0).getSimpleVT(); in getShuffleVPERM2X128Immediate()
4081 if (SVOp->getMaskElt(i) > 0) { in getShuffleVPERM2X128Immediate()
4082 FstHalf = SVOp->getMaskElt(i)/HalfSize; in getShuffleVPERM2X128Immediate()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp776 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in isVSLDOIShuffleMask() local
780 for (i = 0; i != 16 && SVOp->getMaskElt(i) < 0; ++i) in isVSLDOIShuffleMask()
787 unsigned ShiftAmt = SVOp->getMaskElt(i); in isVSLDOIShuffleMask()
794 if (!isConstantOrUndef(SVOp->getMaskElt(i), ShiftAmt+i)) in isVSLDOIShuffleMask()
799 if (!isConstantOrUndef(SVOp->getMaskElt(i), (ShiftAmt+i) & 15)) in isVSLDOIShuffleMask()
854 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N); in getVSPLTImmediate() local
855 assert(isSplatShuffleMask(SVOp, EltSize)); in getVSPLTImmediate()
856 return SVOp->getMaskElt(0) / EltSize; in getVSPLTImmediate()
5413 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(Op); in LowerVECTOR_SHUFFLE() local
5420 if (PPC::isSplatShuffleMask(SVOp, 1) || in LowerVECTOR_SHUFFLE()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXVector.td737 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
738 return CurDAG->getTargetConstant(SVOp->getMaskElt(0), MVT::i32);
741 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
742 return CurDAG->getTargetConstant(SVOp->getMaskElt(1), MVT::i32);
745 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
746 return CurDAG->getTargetConstant(SVOp->getMaskElt(2), MVT::i32);
749 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(N);
750 return CurDAG->getTargetConstant(SVOp->getMaskElt(3), MVT::i32);
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1105 Value *SVOp = SVI->getOperand(0); in VisitInitListExpr() local
1106 llvm::VectorType *OpTy = cast<llvm::VectorType>(SVOp->getType()); in VisitInitListExpr()
1126 Init = SVOp; in VisitInitListExpr()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8674 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(InVec); in visitEXTRACT_VECTOR_ELT() local
8676 int OrigElt = SVOp->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT()