• Home
  • Raw
  • Download

Lines Matching refs:InVec

12182   SDValue InVec = N->getOperand(0);  in visitINSERT_VECTOR_ELT()  local
12189 return InVec; in visitINSERT_VECTOR_ELT()
12191 EVT VT = InVec.getValueType(); in visitINSERT_VECTOR_ELT()
12209 if (InVec.getOpcode() == ISD::INSERT_VECTOR_ELT && InVec.hasOneUse() in visitINSERT_VECTOR_ELT()
12210 && isa<ConstantSDNode>(InVec.getOperand(2))) { in visitINSERT_VECTOR_ELT()
12212 cast<ConstantSDNode>(InVec.getOperand(2))->getZExtValue(); in visitINSERT_VECTOR_ELT()
12216 InVec.getOperand(0), InVal, EltNo); in visitINSERT_VECTOR_ELT()
12218 return DAG.getNode(ISD::INSERT_VECTOR_ELT, SDLoc(InVec.getNode()), in visitINSERT_VECTOR_ELT()
12219 VT, NewOp, InVec.getOperand(1), InVec.getOperand(2)); in visitINSERT_VECTOR_ELT()
12229 if (InVec.getOpcode() == ISD::BUILD_VECTOR && InVec.hasOneUse()) { in visitINSERT_VECTOR_ELT()
12230 Ops.append(InVec.getNode()->op_begin(), in visitINSERT_VECTOR_ELT()
12231 InVec.getNode()->op_end()); in visitINSERT_VECTOR_ELT()
12232 } else if (InVec.isUndef()) { in visitINSERT_VECTOR_ELT()
12336 SDValue InVec = N->getOperand(0); in visitEXTRACT_VECTOR_ELT() local
12337 EVT VT = InVec.getValueType(); in visitEXTRACT_VECTOR_ELT()
12340 if (InVec.getOpcode() == ISD::SCALAR_TO_VECTOR) { in visitEXTRACT_VECTOR_ELT()
12344 SDValue InOp = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
12347 return DAG.getSExtOrTrunc(InOp, SDLoc(InVec), NVT); in visitEXTRACT_VECTOR_ELT()
12357 InVec.getOpcode() == ISD::BUILD_VECTOR && in visitEXTRACT_VECTOR_ELT()
12359 (InVec.hasOneUse() || in visitEXTRACT_VECTOR_ELT()
12361 SDValue Elt = InVec.getOperand(ConstEltNo->getZExtValue()); in visitEXTRACT_VECTOR_ELT()
12373 if (ConstEltNo && InVec.getOpcode() == ISD::BITCAST && InVec.hasOneUse() && in visitEXTRACT_VECTOR_ELT()
12375 SDValue BCSrc = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
12384 if (InVec.getOpcode() == ISD::INSERT_VECTOR_ELT && in visitEXTRACT_VECTOR_ELT()
12385 EltNo == InVec.getOperand(2)) { in visitEXTRACT_VECTOR_ELT()
12386 SDValue Elt = InVec.getOperand(1); in visitEXTRACT_VECTOR_ELT()
12396 if (ConstEltNo && InVec.getOpcode() == ISD::VECTOR_SHUFFLE) { in visitEXTRACT_VECTOR_ELT()
12398 ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
12409 SVInVec = InVec->getOperand(0); in visitEXTRACT_VECTOR_ELT()
12411 SVInVec = InVec->getOperand(1); in visitEXTRACT_VECTOR_ELT()
12444 if (InVec.getOpcode() == ISD::BITCAST) { in visitEXTRACT_VECTOR_ELT()
12446 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12449 EVT BCVT = InVec.getOperand(0).getValueType(); in visitEXTRACT_VECTOR_ELT()
12454 InVec = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
12459 if (!LegalOperations && !ConstEltNo && InVec.hasOneUse() && in visitEXTRACT_VECTOR_ELT()
12460 ISD::isNormalLoad(InVec.getNode()) && in visitEXTRACT_VECTOR_ELT()
12461 !N->getOperand(1)->hasPredecessor(InVec.getNode())) { in visitEXTRACT_VECTOR_ELT()
12463 if (LoadSDNode *OrigLoad = dyn_cast<LoadSDNode>(InVec)) { in visitEXTRACT_VECTOR_ELT()
12484 if (ISD::isNormalLoad(InVec.getNode())) { in visitEXTRACT_VECTOR_ELT()
12485 LN0 = cast<LoadSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
12486 } else if (InVec.getOpcode() == ISD::SCALAR_TO_VECTOR && in visitEXTRACT_VECTOR_ELT()
12487 InVec.getOperand(0).getValueType() == ExtVT && in visitEXTRACT_VECTOR_ELT()
12488 ISD::isNormalLoad(InVec.getOperand(0).getNode())) { in visitEXTRACT_VECTOR_ELT()
12490 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12493 LN0 = cast<LoadSDNode>(InVec.getOperand(0)); in visitEXTRACT_VECTOR_ELT()
12494 } else if ((SVN = dyn_cast<ShuffleVectorSDNode>(InVec))) { in visitEXTRACT_VECTOR_ELT()
12500 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12511 InVec = (Idx < (int)NumElems) ? InVec.getOperand(0) : InVec.getOperand(1); in visitEXTRACT_VECTOR_ELT()
12513 if (InVec.getOpcode() == ISD::BITCAST) { in visitEXTRACT_VECTOR_ELT()
12515 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12518 InVec = InVec.getOperand(0); in visitEXTRACT_VECTOR_ELT()
12520 if (ISD::isNormalLoad(InVec.getNode())) { in visitEXTRACT_VECTOR_ELT()
12521 LN0 = cast<LoadSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
13761 SDValue InVec = InVal->getOperand(0); in visitSCALAR_TO_VECTOR() local
13767 if (C0 && VT == InVec.getValueType() && in visitSCALAR_TO_VECTOR()
13774 return DAG.getVectorShuffle(VT, SDLoc(N), InVec, DAG.getUNDEF(VT), in visitSCALAR_TO_VECTOR()