Lines Matching refs:MO

111     const MachineOperand &MO = MI->getOperand(i);  in determineKillsAndDefs()  local
112 if (MO.isRegMask()) { in determineKillsAndDefs()
117 if (MO.clobbersPhysReg(*RURI)) { in determineKillsAndDefs()
127 if (!MO.isReg()) in determineKillsAndDefs()
129 unsigned Reg = MO.getReg(); in determineKillsAndDefs()
133 if (MO.isUse()) { in determineKillsAndDefs()
135 if (MO.isUndef()) in determineKillsAndDefs()
137 if (MO.isKill()) in determineKillsAndDefs()
140 assert(MO.isDef()); in determineKillsAndDefs()
141 if (MO.isDead()) in determineKillsAndDefs()
198 const MachineOperand &MO = MI->getOperand(i); in forward() local
199 if (!MO.isReg()) in forward()
201 unsigned Reg = MO.getReg(); in forward()
204 if (MO.isUse()) { in forward()
205 if (MO.isUndef()) in forward()
237 assert(MO.isDef()); in forward()
313 const MachineOperand &MO = MI->getOperand(i); in findSurvivorReg() local
314 if (MO.isRegMask()) in findSurvivorReg()
315 Candidates.clearBitsNotInMask(MO.getRegMask()); in findSurvivorReg()
316 if (!MO.isReg() || MO.isUndef() || !MO.getReg()) in findSurvivorReg()
318 if (TargetRegisterInfo::isVirtualRegister(MO.getReg())) { in findSurvivorReg()
319 if (MO.isDef()) in findSurvivorReg()
321 else if (MO.isKill()) in findSurvivorReg()
325 for (MCRegAliasIterator AI(MO.getReg(), TRI, true); AI.isValid(); ++AI) in findSurvivorReg()
375 MachineOperand &MO = I->getOperand(i); in scavengeRegister() local
376 if (MO.isReg() && MO.getReg() != 0 && !(MO.isUse() && MO.isUndef()) && in scavengeRegister()
377 !TargetRegisterInfo::isVirtualRegister(MO.getReg())) in scavengeRegister()
378 Candidates.reset(MO.getReg()); in scavengeRegister()