Lines Matching refs:MOReg
205 unsigned MOReg = MO.getReg(); in sink3AddrInstruction() local
206 if (!MOReg) in sink3AddrInstruction()
208 if (MO.isUse() && MOReg != SavedReg) in sink3AddrInstruction()
274 unsigned MOReg = MO.getReg(); in sink3AddrInstruction() local
275 if (!MOReg) in sink3AddrInstruction()
277 if (DefReg == MOReg) in sink3AddrInstruction()
280 if (MO.isKill() || (LIS && isPlainlyKilled(&OtherMI, MOReg, LIS))) { in sink3AddrInstruction()
281 if (&OtherMI == KillMI && MOReg == SavedReg) in sink3AddrInstruction()
285 else if (UseRegs.count(MOReg)) in sink3AddrInstruction()
873 unsigned MOReg = MO.getReg(); in rescheduleMIBelowKill() local
874 if (!MOReg) in rescheduleMIBelowKill()
877 Defs.insert(MOReg); in rescheduleMIBelowKill()
879 Uses.insert(MOReg); in rescheduleMIBelowKill()
880 if (MOReg != Reg && (MO.isKill() || in rescheduleMIBelowKill()
881 (LIS && isPlainlyKilled(MI, MOReg, LIS)))) in rescheduleMIBelowKill()
882 Kills.insert(MOReg); in rescheduleMIBelowKill()
914 unsigned MOReg = MO.getReg(); in rescheduleMIBelowKill() local
915 if (!MOReg) in rescheduleMIBelowKill()
918 if (Uses.count(MOReg)) in rescheduleMIBelowKill()
921 if (!MO.isDead() && Defs.count(MOReg)) in rescheduleMIBelowKill()
927 if (Defs.count(MOReg)) in rescheduleMIBelowKill()
930 MO.isKill() || (LIS && isPlainlyKilled(&OtherMI, MOReg, LIS)); in rescheduleMIBelowKill()
931 if (MOReg != Reg && in rescheduleMIBelowKill()
932 ((isKill && Uses.count(MOReg)) || Kills.count(MOReg))) in rescheduleMIBelowKill()
935 if (MOReg == Reg && !isKill) in rescheduleMIBelowKill()
939 assert((MOReg != Reg || &OtherMI == KillMI) && in rescheduleMIBelowKill()
1052 unsigned MOReg = MO.getReg(); in rescheduleKillAboveMI() local
1054 if (!MOReg) in rescheduleKillAboveMI()
1056 if (isDefTooClose(MOReg, DI->second, MI)) in rescheduleKillAboveMI()
1058 bool isKill = MO.isKill() || (LIS && isPlainlyKilled(KillMI, MOReg, LIS)); in rescheduleKillAboveMI()
1059 if (MOReg == Reg && !isKill) in rescheduleKillAboveMI()
1061 Uses.insert(MOReg); in rescheduleKillAboveMI()
1062 if (isKill && MOReg != Reg) in rescheduleKillAboveMI()
1063 Kills.insert(MOReg); in rescheduleKillAboveMI()
1064 } else if (TargetRegisterInfo::isPhysicalRegister(MOReg)) { in rescheduleKillAboveMI()
1065 Defs.insert(MOReg); in rescheduleKillAboveMI()
1067 LiveDefs.insert(MOReg); in rescheduleKillAboveMI()
1089 unsigned MOReg = MO.getReg(); in rescheduleKillAboveMI() local
1090 if (!MOReg) in rescheduleKillAboveMI()
1093 if (Defs.count(MOReg)) in rescheduleKillAboveMI()
1097 if (Kills.count(MOReg)) in rescheduleKillAboveMI()
1100 if (&OtherMI != MI && MOReg == Reg && in rescheduleKillAboveMI()
1101 !(MO.isKill() || (LIS && isPlainlyKilled(&OtherMI, MOReg, LIS)))) in rescheduleKillAboveMI()
1105 OtherDefs.push_back(MOReg); in rescheduleKillAboveMI()
1110 unsigned MOReg = OtherDefs[i]; in rescheduleKillAboveMI() local
1111 if (Uses.count(MOReg)) in rescheduleKillAboveMI()
1113 if (TargetRegisterInfo::isPhysicalRegister(MOReg) && in rescheduleKillAboveMI()
1114 LiveDefs.count(MOReg)) in rescheduleKillAboveMI()
1117 Defs.erase(MOReg); in rescheduleKillAboveMI()