Lines Matching refs:InVec

10828   SDValue InVec = N->getOperand(0);  in visitINSERT_VECTOR_ELT()  local
10835 return InVec; in visitINSERT_VECTOR_ELT()
10837 EVT VT = InVec.getValueType(); in visitINSERT_VECTOR_ELT()
10855 if (InVec.getOpcode() == ISD::INSERT_VECTOR_ELT && InVec.hasOneUse() in visitINSERT_VECTOR_ELT()
10856 && isa<ConstantSDNode>(InVec.getOperand(2))) { in visitINSERT_VECTOR_ELT()
10858 cast<ConstantSDNode>(InVec.getOperand(2))->getZExtValue(); in visitINSERT_VECTOR_ELT()
10862 InVec.getOperand(0), InVal, EltNo); in visitINSERT_VECTOR_ELT()
10864 return DAG.getNode(ISD::INSERT_VECTOR_ELT, SDLoc(InVec.getNode()), in visitINSERT_VECTOR_ELT()
10865 VT, NewOp, InVec.getOperand(1), InVec.getOperand(2)); in visitINSERT_VECTOR_ELT()
10875 if (InVec.getOpcode() == ISD::BUILD_VECTOR && InVec.hasOneUse()) { in visitINSERT_VECTOR_ELT()
10876 Ops.append(InVec.getNode()->op_begin(), in visitINSERT_VECTOR_ELT()
10877 InVec.getNode()->op_end()); in visitINSERT_VECTOR_ELT()
10878 } else if (InVec.getOpcode() == ISD::UNDEF) { in visitINSERT_VECTOR_ELT()
10984 SDValue InVec = N->getOperand(0); in visitEXTRACT_VECTOR_ELT() local
10985 EVT VT = InVec.getValueType(); in visitEXTRACT_VECTOR_ELT()
10988 if (InVec.getOpcode() == ISD::SCALAR_TO_VECTOR) { in visitEXTRACT_VECTOR_ELT()
10992 SDValue InOp = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
10995 return DAG.getSExtOrTrunc(InOp, SDLoc(InVec), NVT); in visitEXTRACT_VECTOR_ELT()
11009 if (InVec.getOpcode() == ISD::VECTOR_SHUFFLE in visitEXTRACT_VECTOR_ELT()
11013 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
11024 SVInVec = InVec->getOperand(0); in visitEXTRACT_VECTOR_ELT()
11026 SVInVec = InVec->getOperand(1); in visitEXTRACT_VECTOR_ELT()
11059 if (InVec.getOpcode() == ISD::BITCAST) { in visitEXTRACT_VECTOR_ELT()
11061 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
11064 EVT BCVT = InVec.getOperand(0).getValueType(); in visitEXTRACT_VECTOR_ELT()
11069 InVec = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
11074 if (!LegalOperations && !ConstEltNo && InVec.hasOneUse() && in visitEXTRACT_VECTOR_ELT()
11075 ISD::isNormalLoad(InVec.getNode()) && in visitEXTRACT_VECTOR_ELT()
11076 !N->getOperand(1)->hasPredecessor(InVec.getNode())) { in visitEXTRACT_VECTOR_ELT()
11078 if (LoadSDNode *OrigLoad = dyn_cast<LoadSDNode>(InVec)) in visitEXTRACT_VECTOR_ELT()
11096 if (ISD::isNormalLoad(InVec.getNode())) { in visitEXTRACT_VECTOR_ELT()
11097 LN0 = cast<LoadSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
11098 } else if (InVec.getOpcode() == ISD::SCALAR_TO_VECTOR && in visitEXTRACT_VECTOR_ELT()
11099 InVec.getOperand(0).getValueType() == ExtVT && in visitEXTRACT_VECTOR_ELT()
11100 ISD::isNormalLoad(InVec.getOperand(0).getNode())) { in visitEXTRACT_VECTOR_ELT()
11102 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
11105 LN0 = cast<LoadSDNode>(InVec.getOperand(0)); in visitEXTRACT_VECTOR_ELT()
11106 } else if ((SVN = dyn_cast<ShuffleVectorSDNode>(InVec))) { in visitEXTRACT_VECTOR_ELT()
11112 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
11123 InVec = (Idx < (int)NumElems) ? InVec.getOperand(0) : InVec.getOperand(1); in visitEXTRACT_VECTOR_ELT()
11125 if (InVec.getOpcode() == ISD::BITCAST) { in visitEXTRACT_VECTOR_ELT()
11127 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
11130 InVec = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
11132 if (ISD::isNormalLoad(InVec.getNode())) { in visitEXTRACT_VECTOR_ELT()
11133 LN0 = cast<LoadSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
12311 SDValue InVec = InVal->getOperand(0); in visitSCALAR_TO_VECTOR() local
12317 if (C0 && VT == InVec.getValueType() && in visitSCALAR_TO_VECTOR()
12324 return DAG.getVectorShuffle(VT, SDLoc(N), InVec, DAG.getUNDEF(VT), in visitSCALAR_TO_VECTOR()