Lines Matching defs:MGN
12617 auto *MGN = cast<MaskedGatherSDNode>(Op.getNode());
12618 Index = MGN->getIndex();
12619 Mask = MGN->getMask();
12620 PassThru = MGN->getPassThru();
12621 LoadExtType = MGN->getExtensionType();
18121 const auto *MGN = cast<MaskedGatherSDNode>(N);
18123 SDValue Index = MGN->getIndex();
18124 SDValue ScaleOp = MGN->getScale();
18125 ISD::MemIndexType IndexType = MGN->getIndexType();
18126 assert(!MGN->isIndexScaled() &&
18132 N->getVTList(), MGN->getMemoryVT(), DL,
18133 {MGN->getChain(), MGN->getPassThru(), MGN->getMask(),
18134 MGN->getBasePtr(), Index, ScaleOp},
18135 MGN->getMemOperand(), IndexType, MGN->getExtensionType());
18139 N->getVTList(), MGN->getMemoryVT(), DL,
18140 {MGN->getChain(), MGN->getPassThru(), MGN->getMask(),
18141 MGN->getBasePtr(), Index, ScaleOp},
18142 MGN->getMemOperand(), IndexType, MGN->getExtensionType());
18145 MGN->getExtensionType() == ISD::NON_EXTLOAD && isTypeLegal(VT)) {
18159 assert(MGN->getBasePtr()->getValueType(0) == PtrVT);
18161 SDValue BasePtr = DAG.getNode(ISD::ADD, DL, PtrVT, MGN->getBasePtr(),
18167 VT, DL, MGN->getChain(), BasePtr,
18168 DAG.getSignedConstant(StepNumerator, DL, XLenVT), MGN->getMask(),
18169 EVL, MGN->getMemOperand());
18170 SDValue VPSelect = DAG.getNode(ISD::VP_SELECT, DL, VT, MGN->getMask(),
18171 StridedLoad, MGN->getPassThru(), EVL);
18178 if (MGN->getExtensionType() == ISD::NON_EXTLOAD &&
18179 matchIndexAsShuffle(VT, Index, MGN->getMask(), ShuffleMask)) {
18180 SDValue Load = DAG.getMaskedLoad(VT, DL, MGN->getChain(),
18181 MGN->getBasePtr(), DAG.getUNDEF(XLenVT),
18182 MGN->getMask(), DAG.getUNDEF(VT),
18183 MGN->getMemoryVT(), MGN->getMemOperand(),
18190 if (MGN->getExtensionType() == ISD::NON_EXTLOAD &&
18191 matchIndexAsWiderOp(VT, Index, MGN->getMask(),
18192 MGN->getMemOperand()->getBaseAlign(), Subtarget)) {
18206 SDValue Passthru = DAG.getBitcast(WideVT, MGN->getPassThru());
18213 {MGN->getChain(), Passthru, Mask, MGN->getBasePtr(),
18215 MGN->getMemOperand(), IndexType, ISD::NON_EXTLOAD);