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