Return true if PhysReg is restored before any use after modification.
Declared in <llvm/CodeGen/TargetRegisterInfo.h>
virtual
bool
isCallerPreservedPhysReg(
MCRegister PhysReg,
MachineFunction const& MF) const;
Physical registers that may be modified within a function but are guaranteed to be restored before any uses. This is useful for targets that have call sequences where a GOT register may be updated by the caller prior to a call and is guaranteed to be restored (also by the caller) after the call.
True if PhysReg is restored before any use after modification.
| Name | Description |
|---|---|
| PhysReg | Physical register being tested. |
| MF | Function in which the register is classified. |