Lines Matching refs:LdSt
204 bool SIInstrInfo::getMemOpBaseRegImmOfs(MachineInstr *LdSt, unsigned &BaseReg, in getMemOpBaseRegImmOfs() argument
207 unsigned Opc = LdSt->getOpcode(); in getMemOpBaseRegImmOfs()
209 if (isDS(*LdSt)) { in getMemOpBaseRegImmOfs()
210 const MachineOperand *OffsetImm = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs()
214 const MachineOperand *AddrReg = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs()
225 const MachineOperand *Offset0Imm = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs()
227 const MachineOperand *Offset1Imm = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs()
238 if (LdSt->mayLoad()) in getMemOpBaseRegImmOfs()
239 EltSize = getOpRegClass(*LdSt, 0)->getSize() / 2; in getMemOpBaseRegImmOfs()
241 assert(LdSt->mayStore()); in getMemOpBaseRegImmOfs()
243 EltSize = getOpRegClass(*LdSt, Data0Idx)->getSize(); in getMemOpBaseRegImmOfs()
249 const MachineOperand *AddrReg = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs()
259 if (isMUBUF(*LdSt) || isMTBUF(*LdSt)) { in getMemOpBaseRegImmOfs()
263 const MachineOperand *AddrReg = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs()
268 const MachineOperand *OffsetImm = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs()
275 if (isSMRD(*LdSt)) { in getMemOpBaseRegImmOfs()
276 const MachineOperand *OffsetImm = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs()
281 const MachineOperand *SBaseReg = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs()