• Home
  • Raw
  • Download

Lines Matching refs:MOReg

198     unsigned MOReg = MO.getReg();  in sink3AddrInstruction()  local
199 if (!MOReg) in sink3AddrInstruction()
201 if (MO.isUse() && MOReg != SavedReg) in sink3AddrInstruction()
271 unsigned MOReg = MO.getReg(); in sink3AddrInstruction() local
272 if (!MOReg) in sink3AddrInstruction()
274 if (DefReg == MOReg) in sink3AddrInstruction()
277 if (MO.isKill() || (LIS && isPlainlyKilled(OtherMI, MOReg, LIS))) { in sink3AddrInstruction()
278 if (OtherMI == KillMI && MOReg == SavedReg) in sink3AddrInstruction()
282 else if (UseRegs.count(MOReg)) in sink3AddrInstruction()
803 unsigned MOReg = MO.getReg(); in rescheduleMIBelowKill() local
804 if (!MOReg) in rescheduleMIBelowKill()
807 Defs.insert(MOReg); in rescheduleMIBelowKill()
809 Uses.insert(MOReg); in rescheduleMIBelowKill()
810 if (MOReg != Reg && (MO.isKill() || in rescheduleMIBelowKill()
811 (LIS && isPlainlyKilled(MI, MOReg, LIS)))) in rescheduleMIBelowKill()
812 Kills.insert(MOReg); in rescheduleMIBelowKill()
846 unsigned MOReg = MO.getReg(); in rescheduleMIBelowKill() local
847 if (!MOReg) in rescheduleMIBelowKill()
850 if (Uses.count(MOReg)) in rescheduleMIBelowKill()
853 if (!MO.isDead() && Defs.count(MOReg)) in rescheduleMIBelowKill()
859 if (Defs.count(MOReg)) in rescheduleMIBelowKill()
862 (LIS && isPlainlyKilled(OtherMI, MOReg, LIS)); in rescheduleMIBelowKill()
863 if (MOReg != Reg && in rescheduleMIBelowKill()
864 ((isKill && Uses.count(MOReg)) || Kills.count(MOReg))) in rescheduleMIBelowKill()
867 if (MOReg == Reg && !isKill) in rescheduleMIBelowKill()
871 assert((MOReg != Reg || OtherMI == KillMI) && in rescheduleMIBelowKill()
987 unsigned MOReg = MO.getReg(); in rescheduleKillAboveMI() local
989 if (!MOReg) in rescheduleKillAboveMI()
991 if (isDefTooClose(MOReg, DI->second, MI)) in rescheduleKillAboveMI()
993 bool isKill = MO.isKill() || (LIS && isPlainlyKilled(KillMI, MOReg, LIS)); in rescheduleKillAboveMI()
994 if (MOReg == Reg && !isKill) in rescheduleKillAboveMI()
996 Uses.insert(MOReg); in rescheduleKillAboveMI()
997 if (isKill && MOReg != Reg) in rescheduleKillAboveMI()
998 Kills.insert(MOReg); in rescheduleKillAboveMI()
999 } else if (TargetRegisterInfo::isPhysicalRegister(MOReg)) { in rescheduleKillAboveMI()
1000 Defs.insert(MOReg); in rescheduleKillAboveMI()
1002 LiveDefs.insert(MOReg); in rescheduleKillAboveMI()
1026 unsigned MOReg = MO.getReg(); in rescheduleKillAboveMI() local
1027 if (!MOReg) in rescheduleKillAboveMI()
1030 if (Defs.count(MOReg)) in rescheduleKillAboveMI()
1034 if (Kills.count(MOReg)) in rescheduleKillAboveMI()
1037 if (OtherMI != MI && MOReg == Reg && in rescheduleKillAboveMI()
1038 !(MO.isKill() || (LIS && isPlainlyKilled(OtherMI, MOReg, LIS)))) in rescheduleKillAboveMI()
1042 OtherDefs.push_back(MOReg); in rescheduleKillAboveMI()
1047 unsigned MOReg = OtherDefs[i]; in rescheduleKillAboveMI() local
1048 if (Uses.count(MOReg)) in rescheduleKillAboveMI()
1050 if (TargetRegisterInfo::isPhysicalRegister(MOReg) && in rescheduleKillAboveMI()
1051 LiveDefs.count(MOReg)) in rescheduleKillAboveMI()
1054 Defs.erase(MOReg); in rescheduleKillAboveMI()