Lines Matching defs:Reg
108 /// isLiveIn - Is Reg live in to MBB? This means that Reg is live through
109 /// MBB, or it is killed in MBB. If Reg is only used by PHI instructions in
112 unsigned Reg,
152 /// HandlePhysRegKill - Add kills of Reg and its sub-registers to the
155 bool HandlePhysRegKill(unsigned Reg, MachineInstr *MI);
160 void HandlePhysRegUse(unsigned Reg, MachineInstr *MI);
161 void HandlePhysRegDef(unsigned Reg, MachineInstr *MI,
167 MachineInstr *FindLastRefOrPartRef(unsigned Reg);
172 MachineInstr *FindLastPartialDef(unsigned Reg,
186 bool RegisterDefIsDead(MachineInstr *MI, unsigned Reg) const;
193 void replaceKillInstruction(unsigned Reg, MachineInstr *OldMI,
283 bool isLiveIn(unsigned Reg, const MachineBasicBlock &MBB) {
284 return getVarInfo(Reg).isLiveIn(MBB, Reg, *MRI);
287 /// isLiveOut - Determine if Reg is live out from MBB, when not considering
288 /// PHI nodes. This means that Reg is either killed by a successor block or
290 bool isLiveOut(unsigned Reg, const MachineBasicBlock &MBB);
300 /// isPHIJoin - Return true if Reg is a phi join register.
301 bool isPHIJoin(unsigned Reg) { return PHIJoins.test(Reg); }
303 /// setPHIJoin - Mark Reg as a phi join register.
304 void setPHIJoin(unsigned Reg) { PHIJoins.set(Reg); }