Lines Matching refs:VecOp

18188   SDValue VecOp = N->getOperand(0);  in visitEXTRACT_VECTOR_ELT()  local
18191 EVT VecVT = VecOp.getValueType(); in visitEXTRACT_VECTOR_ELT()
18192 if (VecOp.isUndef()) in visitEXTRACT_VECTOR_ELT()
18200 if (VecOp.getOpcode() == ISD::INSERT_VECTOR_ELT && in visitEXTRACT_VECTOR_ELT()
18201 Index == VecOp.getOperand(2)) { in visitEXTRACT_VECTOR_ELT()
18202 SDValue Elt = VecOp.getOperand(1); in visitEXTRACT_VECTOR_ELT()
18207 if (VecOp.getOpcode() == ISD::SCALAR_TO_VECTOR) { in visitEXTRACT_VECTOR_ELT()
18215 SDValue InOp = VecOp.getOperand(0); in visitEXTRACT_VECTOR_ELT()
18230 if (((IndexC && VecOp.getOpcode() == ISD::BUILD_VECTOR) || in visitEXTRACT_VECTOR_ELT()
18231 VecOp.getOpcode() == ISD::SPLAT_VECTOR) && in visitEXTRACT_VECTOR_ELT()
18233 (VecOp.hasOneUse() || TLI.aggressivelyPreferBuildVectorSources(VecVT))) { in visitEXTRACT_VECTOR_ELT()
18234 assert((VecOp.getOpcode() != ISD::BUILD_VECTOR || in visitEXTRACT_VECTOR_ELT()
18238 VecOp.getOpcode() == ISD::BUILD_VECTOR ? IndexC->getZExtValue() : 0; in visitEXTRACT_VECTOR_ELT()
18239 SDValue Elt = VecOp.getOperand(IndexVal); in visitEXTRACT_VECTOR_ELT()
18262 if (IndexC && VecOp.getOpcode() == ISD::BITCAST && VecVT.isInteger() && in visitEXTRACT_VECTOR_ELT()
18263 VecOp.hasOneUse()) { in visitEXTRACT_VECTOR_ELT()
18269 SDValue BCSrc = VecOp.getOperand(0); in visitEXTRACT_VECTOR_ELT()
18304 if (IndexC && VecOp.getOpcode() == ISD::VECTOR_SHUFFLE) { in visitEXTRACT_VECTOR_ELT()
18305 auto *Shuf = cast<ShuffleVectorSDNode>(VecOp); in visitEXTRACT_VECTOR_ELT()
18316 SVInVec = VecOp.getOperand(0); in visitEXTRACT_VECTOR_ELT()
18318 SVInVec = VecOp.getOperand(1); in visitEXTRACT_VECTOR_ELT()
18346 if (llvm::all_of(VecOp->uses(), [&](SDNode *Use) { in visitEXTRACT_VECTOR_ELT()
18348 Use->getOperand(0) == VecOp && in visitEXTRACT_VECTOR_ELT()
18352 for (SDNode *Use : VecOp->uses()) { in visitEXTRACT_VECTOR_ELT()
18357 if (SimplifyDemandedVectorElts(VecOp, DemandedElts, true)) { in visitEXTRACT_VECTOR_ELT()
18365 if (SimplifyDemandedBits(VecOp, DemandedBits, DemandedElts, true)) { in visitEXTRACT_VECTOR_ELT()
18383 if (VecOp.getOpcode() == ISD::BITCAST) { in visitEXTRACT_VECTOR_ELT()
18385 if (!VecOp.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
18388 EVT BCVT = VecOp.getOperand(0).getValueType(); in visitEXTRACT_VECTOR_ELT()
18393 VecOp = VecOp.getOperand(0); in visitEXTRACT_VECTOR_ELT()
18398 if (!LegalOperations && !IndexC && VecOp.hasOneUse() && in visitEXTRACT_VECTOR_ELT()
18399 ISD::isNormalLoad(VecOp.getNode()) && in visitEXTRACT_VECTOR_ELT()
18400 !Index->hasPredecessor(VecOp.getNode())) { in visitEXTRACT_VECTOR_ELT()
18401 auto *VecLoad = dyn_cast<LoadSDNode>(VecOp); in visitEXTRACT_VECTOR_ELT()
18416 if (ISD::isNormalLoad(VecOp.getNode())) { in visitEXTRACT_VECTOR_ELT()
18417 LN0 = cast<LoadSDNode>(VecOp); in visitEXTRACT_VECTOR_ELT()
18418 } else if (VecOp.getOpcode() == ISD::SCALAR_TO_VECTOR && in visitEXTRACT_VECTOR_ELT()
18419 VecOp.getOperand(0).getValueType() == ExtVT && in visitEXTRACT_VECTOR_ELT()
18420 ISD::isNormalLoad(VecOp.getOperand(0).getNode())) { in visitEXTRACT_VECTOR_ELT()
18422 if (!VecOp.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
18425 LN0 = cast<LoadSDNode>(VecOp.getOperand(0)); in visitEXTRACT_VECTOR_ELT()
18427 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(VecOp)) { in visitEXTRACT_VECTOR_ELT()
18433 if (!VecOp.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
18443 VecOp = (Idx < (int)NumElts) ? VecOp.getOperand(0) : VecOp.getOperand(1); in visitEXTRACT_VECTOR_ELT()
18445 if (VecOp.getOpcode() == ISD::BITCAST) { in visitEXTRACT_VECTOR_ELT()
18447 if (!VecOp.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
18450 VecOp = VecOp.getOperand(0); in visitEXTRACT_VECTOR_ELT()
18452 if (ISD::isNormalLoad(VecOp.getNode())) { in visitEXTRACT_VECTOR_ELT()
18453 LN0 = cast<LoadSDNode>(VecOp); in visitEXTRACT_VECTOR_ELT()
18457 } else if (VecOp.getOpcode() == ISD::CONCAT_VECTORS && !BCNumEltsChanged && in visitEXTRACT_VECTOR_ELT()
18461 VecOp.getOperand(0).getValueType().getVectorElementType()))) { in visitEXTRACT_VECTOR_ELT()
18471 EVT ConcatVT = VecOp.getOperand(0).getValueType(); in visitEXTRACT_VECTOR_ELT()
18476 SDValue ConcatOp = VecOp.getOperand(Elt / ConcatNumElts); in visitEXTRACT_VECTOR_ELT()