Searched refs:GEPInfo (Results 1 – 2 of 2) sorted by relevance
394 const MachineRegisterInfo &MRI, SmallVectorImpl<GEPInfo> &AddrInfo) const { in getAddrModeInfo()403 GEPInfo GEPInfo(*PtrMI); in getAddrModeInfo() local412 assert(GEPInfo.Imm == 0); in getAddrModeInfo()413 GEPInfo.Imm = OpDef->getOperand(1).getCImm()->getSExtValue(); in getAddrModeInfo()418 GEPInfo.SgprParts.push_back(GEPOp.getReg()); in getAddrModeInfo()420 GEPInfo.VgprParts.push_back(GEPOp.getReg()); in getAddrModeInfo()423 AddrInfo.push_back(GEPInfo); in getAddrModeInfo()495 bool AMDGPUInstructionSelector::hasVgprParts(ArrayRef<GEPInfo> AddrInfo) const { in hasVgprParts()496 for (const GEPInfo &GEPInfo : AddrInfo) { in hasVgprParts() local497 if (!GEPInfo.VgprParts.empty()) in hasVgprParts()[all …]
53 struct GEPInfo { struct58 GEPInfo(const MachineInstr &GEP) : GEP(GEP), Imm(0) { } in GEPInfo() argument73 bool hasVgprParts(ArrayRef<GEPInfo> AddrInfo) const;75 SmallVectorImpl<GEPInfo> &AddrInfo) const;76 bool selectSMRD(MachineInstr &I, ArrayRef<GEPInfo> AddrInfo) const;