Lines Matching defs:Reg
106 /// isLiveIn - Is Reg live in to MBB? This means that Reg is live through
107 /// MBB, or it is killed in MBB. If Reg is only used by PHI instructions in
110 unsigned Reg,
150 /// HandlePhysRegKill - Add kills of Reg and its sub-registers to the
153 bool HandlePhysRegKill(unsigned Reg, MachineInstr *MI);
158 void HandlePhysRegUse(unsigned Reg, MachineInstr *MI);
159 void HandlePhysRegDef(unsigned Reg, MachineInstr *MI,
165 MachineInstr *FindLastRefOrPartRef(unsigned Reg);
170 MachineInstr *FindLastPartialDef(unsigned Reg,
184 bool RegisterDefIsDead(MachineInstr *MI, unsigned Reg) const;
191 void replaceKillInstruction(unsigned Reg, MachineInstr *OldMI,
281 bool isLiveIn(unsigned Reg, const MachineBasicBlock &MBB) {
282 return getVarInfo(Reg).isLiveIn(MBB, Reg, *MRI);
285 /// isLiveOut - Determine if Reg is live out from MBB, when not considering
286 /// PHI nodes. This means that Reg is either killed by a successor block or
288 bool isLiveOut(unsigned Reg, const MachineBasicBlock &MBB);
298 /// isPHIJoin - Return true if Reg is a phi join register.
299 bool isPHIJoin(unsigned Reg) { return PHIJoins.test(Reg); }
301 /// setPHIJoin - Mark Reg as a phi join register.
302 void setPHIJoin(unsigned Reg) { PHIJoins.set(Reg); }