Determine registers that must be saved/restored in the prolog/epilog.
Declared in <llvm/CodeGen/TargetFrameLowering.h>
void
determineUncondPrologCalleeSaves(
MachineFunction& MF,
MCPhysReg const* CSRegs,
BitVector& UncondPrologCSRs) const;
Selects which of the registers reported by getMustPreserveRegisters() must be saved in prolog and reloaded in epilog regardless of whether or not they were modified by the function.
registers that must be saved/restored in the prolog/epilog.
| Name | Description |
|---|---|
| MF | Function being analyzed. |
| CSRegs | Callee-saved / must-preserve register list. |
| UncondPrologCSRs | Bitvector filled with registers that must spill. |