Lines Matching refs:InVec
12004 SDValue InVec = N->getOperand(0); in visitINSERT_VECTOR_ELT() local
12011 return InVec; in visitINSERT_VECTOR_ELT()
12013 EVT VT = InVec.getValueType(); in visitINSERT_VECTOR_ELT()
12031 if (InVec.getOpcode() == ISD::INSERT_VECTOR_ELT && InVec.hasOneUse() in visitINSERT_VECTOR_ELT()
12032 && isa<ConstantSDNode>(InVec.getOperand(2))) { in visitINSERT_VECTOR_ELT()
12034 cast<ConstantSDNode>(InVec.getOperand(2))->getZExtValue(); in visitINSERT_VECTOR_ELT()
12038 InVec.getOperand(0), InVal, EltNo); in visitINSERT_VECTOR_ELT()
12040 return DAG.getNode(ISD::INSERT_VECTOR_ELT, SDLoc(InVec.getNode()), in visitINSERT_VECTOR_ELT()
12041 VT, NewOp, InVec.getOperand(1), InVec.getOperand(2)); in visitINSERT_VECTOR_ELT()
12051 if (InVec.getOpcode() == ISD::BUILD_VECTOR && InVec.hasOneUse()) { in visitINSERT_VECTOR_ELT()
12052 Ops.append(InVec.getNode()->op_begin(), in visitINSERT_VECTOR_ELT()
12053 InVec.getNode()->op_end()); in visitINSERT_VECTOR_ELT()
12054 } else if (InVec.getOpcode() == ISD::UNDEF) { in visitINSERT_VECTOR_ELT()
12156 SDValue InVec = N->getOperand(0); in visitEXTRACT_VECTOR_ELT() local
12157 EVT VT = InVec.getValueType(); in visitEXTRACT_VECTOR_ELT()
12160 if (InVec.getOpcode() == ISD::SCALAR_TO_VECTOR) { in visitEXTRACT_VECTOR_ELT()
12164 SDValue InOp = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
12167 return DAG.getSExtOrTrunc(InOp, SDLoc(InVec), NVT); in visitEXTRACT_VECTOR_ELT()
12177 InVec.getOpcode() == ISD::BUILD_VECTOR && in visitEXTRACT_VECTOR_ELT()
12179 (InVec.hasOneUse() || in visitEXTRACT_VECTOR_ELT()
12181 SDValue Elt = InVec.getOperand(ConstEltNo->getZExtValue()); in visitEXTRACT_VECTOR_ELT()
12198 if (ConstEltNo && InVec.getOpcode() == ISD::VECTOR_SHUFFLE) { in visitEXTRACT_VECTOR_ELT()
12200 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
12211 SVInVec = InVec->getOperand(0); in visitEXTRACT_VECTOR_ELT()
12213 SVInVec = InVec->getOperand(1); in visitEXTRACT_VECTOR_ELT()
12246 if (InVec.getOpcode() == ISD::BITCAST) { in visitEXTRACT_VECTOR_ELT()
12248 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12251 EVT BCVT = InVec.getOperand(0).getValueType(); in visitEXTRACT_VECTOR_ELT()
12256 InVec = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
12261 if (!LegalOperations && !ConstEltNo && InVec.hasOneUse() && in visitEXTRACT_VECTOR_ELT()
12262 ISD::isNormalLoad(InVec.getNode()) && in visitEXTRACT_VECTOR_ELT()
12263 !N->getOperand(1)->hasPredecessor(InVec.getNode())) { in visitEXTRACT_VECTOR_ELT()
12265 if (LoadSDNode *OrigLoad = dyn_cast<LoadSDNode>(InVec)) in visitEXTRACT_VECTOR_ELT()
12283 if (ISD::isNormalLoad(InVec.getNode())) { in visitEXTRACT_VECTOR_ELT()
12284 LN0 = cast<LoadSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
12285 } else if (InVec.getOpcode() == ISD::SCALAR_TO_VECTOR && in visitEXTRACT_VECTOR_ELT()
12286 InVec.getOperand(0).getValueType() == ExtVT && in visitEXTRACT_VECTOR_ELT()
12287 ISD::isNormalLoad(InVec.getOperand(0).getNode())) { in visitEXTRACT_VECTOR_ELT()
12289 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12292 LN0 = cast<LoadSDNode>(InVec.getOperand(0)); in visitEXTRACT_VECTOR_ELT()
12293 } else if ((SVN = dyn_cast<ShuffleVectorSDNode>(InVec))) { in visitEXTRACT_VECTOR_ELT()
12299 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12310 InVec = (Idx < (int)NumElems) ? InVec.getOperand(0) : InVec.getOperand(1); in visitEXTRACT_VECTOR_ELT()
12312 if (InVec.getOpcode() == ISD::BITCAST) { in visitEXTRACT_VECTOR_ELT()
12314 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12317 InVec = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
12319 if (ISD::isNormalLoad(InVec.getNode())) { in visitEXTRACT_VECTOR_ELT()
12320 LN0 = cast<LoadSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
13581 SDValue InVec = InVal->getOperand(0); in visitSCALAR_TO_VECTOR() local
13587 if (C0 && VT == InVec.getValueType() && in visitSCALAR_TO_VECTOR()
13594 return DAG.getVectorShuffle(VT, SDLoc(N), InVec, DAG.getUNDEF(VT), in visitSCALAR_TO_VECTOR()