Restore a single callee‐saved register.

Synopsis

Declared in <llvm/CodeGen/TargetFrameLowering.h>

void
restoreCalleeSavedRegister(
    MachineBasicBlock& MBB,
    MachineBasicBlock::iterator MI,
    CalleeSavedInfo const& CS,
    TargetInstrInfo const* TII,
    TargetRegisterInfo const* TRI) const;

Description

Default implementation for restoring a single callee saved register. Should be called in reverse order. Can insert multiple instructions.

Parameters

Name

Description

MBB

Block that receives the restore.

MI

Insertion point within MBB.

CS

Callee‐saved register being restored.

TII

Target instruction info used to build the load.

TRI

Target register info for the function.

Created with MrDocs