Lines Matching defs:MOReg
204 unsigned MOReg = MO.getReg();
205 if (!MOReg)
207 if (MO.isUse() && MOReg != SavedReg)
274 unsigned MOReg = MO.getReg();
275 if (!MOReg)
277 if (DefReg == MOReg)
280 if (MO.isKill() || (LIS && isPlainlyKilled(OtherMI, MOReg, LIS))) {
281 if (OtherMI == KillMI && MOReg == SavedReg)
285 else if (UseRegs.count(MOReg))
875 unsigned MOReg = MO.getReg();
876 if (!MOReg)
879 Defs.insert(MOReg);
881 Uses.insert(MOReg);
882 if (MOReg != Reg && (MO.isKill() ||
883 (LIS && isPlainlyKilled(MI, MOReg, LIS))))
884 Kills.insert(MOReg);
917 unsigned MOReg = MO.getReg();
918 if (!MOReg)
921 if (Uses.count(MOReg))
924 if (!MO.isDead() && Defs.count(MOReg))
930 if (Defs.count(MOReg))
933 (LIS && isPlainlyKilled(OtherMI, MOReg, LIS));
934 if (MOReg != Reg &&
935 ((isKill && Uses.count(MOReg)) || Kills.count(MOReg)))
938 if (MOReg == Reg && !isKill)
942 assert((MOReg != Reg || OtherMI == KillMI) &&
1056 unsigned MOReg = MO.getReg();
1058 if (!MOReg)
1060 if (isDefTooClose(MOReg, DI->second, MI))
1062 bool isKill = MO.isKill() || (LIS && isPlainlyKilled(KillMI, MOReg, LIS));
1063 if (MOReg == Reg && !isKill)
1065 Uses.insert(MOReg);
1066 if (isKill && MOReg != Reg)
1067 Kills.insert(MOReg);
1068 } else if (TargetRegisterInfo::isPhysicalRegister(MOReg)) {
1069 Defs.insert(MOReg);
1071 LiveDefs.insert(MOReg);
1094 unsigned MOReg = MO.getReg();
1095 if (!MOReg)
1098 if (Defs.count(MOReg))
1102 if (Kills.count(MOReg))
1105 if (OtherMI != MI && MOReg == Reg &&
1106 !(MO.isKill() || (LIS && isPlainlyKilled(OtherMI, MOReg, LIS))))
1110 OtherDefs.push_back(MOReg);
1115 unsigned MOReg = OtherDefs[i];
1116 if (Uses.count(MOReg))
1118 if (TargetRegisterInfo::isPhysicalRegister(MOReg) &&
1119 LiveDefs.count(MOReg))
1122 Defs.erase(MOReg);