Searched refs:PtrMI (Results 1 – 2 of 2) sorted by relevance
396 const MachineInstr *PtrMI = MRI.getUniqueVRegDef(Load.getOperand(1).getReg()); in getAddrModeInfo() local398 assert(PtrMI); in getAddrModeInfo()400 if (PtrMI->getOpcode() != TargetOpcode::G_GEP) in getAddrModeInfo()403 GEPInfo GEPInfo(*PtrMI); in getAddrModeInfo()406 const MachineOperand &GEPOp = PtrMI->getOperand(i); in getAddrModeInfo()424 getAddrModeInfo(*PtrMI, MRI, AddrInfo); in getAddrModeInfo()
1040 auto *PtrMI = MRI.getVRegDef(PtrReg); in select() local1043 if (PtrMI->getOpcode() == TargetOpcode::G_GEP) { in select()1044 if (auto COff = getConstantVRegVal(PtrMI->getOperand(2).getReg(), MRI)) { in select()1049 unsigned Ptr2Reg = PtrMI->getOperand(1).getReg(); in select()1051 PtrMI = MRI.getVRegDef(Ptr2Reg); in select()1059 if (!Offset && PtrMI->getOpcode() == TargetOpcode::G_FRAME_INDEX) in select()1060 I.getOperand(1).ChangeToFrameIndex(PtrMI->getOperand(1).getIndex()); in select()