LLVM 20.0.0git
|
The CalleeSavedInfo class tracks the information need to locate where a callee saved register is in the current frame. More...
#include "llvm/CodeGen/MachineFrameInfo.h"
Public Member Functions | |
CalleeSavedInfo (unsigned R, int FI=0) | |
Register | getReg () const |
int | getFrameIdx () const |
unsigned | getDstReg () const |
void | setFrameIdx (int FI) |
void | setDstReg (Register SpillReg) |
bool | isRestored () const |
void | setRestored (bool R) |
bool | isSpilledToReg () const |
The CalleeSavedInfo class tracks the information need to locate where a callee saved register is in the current frame.
Callee saved reg can also be saved to a different register rather than on the stack by setting DstReg instead of FrameIdx.
Definition at line 34 of file MachineFrameInfo.h.
|
inlineexplicit |
Definition at line 58 of file MachineFrameInfo.h.
|
inline |
Definition at line 63 of file MachineFrameInfo.h.
References DstReg.
|
inline |
Definition at line 62 of file MachineFrameInfo.h.
References FrameIdx.
Referenced by llvm::XCoreFrameLowering::emitPrologue(), getLibCallID(), getRVVCalleeSavedInfo(), getUnmanagedCSI(), llvm::RISCVFrameLowering::restoreCalleeSavedRegisters(), and llvm::RISCVFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 61 of file MachineFrameInfo.h.
Referenced by llvm::RISCVFrameLowering::assignCalleeSavedSpillSlots(), llvm::XCoreFrameLowering::emitPrologue(), emitSCSEpilogue(), emitSCSPrologue(), getLibCallID(), getMaxPushPopReg(), getPushOrLibCallsSavedInfo(), llvm::RISCVFrameLowering::restoreCalleeSavedRegisters(), and llvm::RISCVFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 72 of file MachineFrameInfo.h.
|
inline |
Definition at line 74 of file MachineFrameInfo.h.
|
inline |
Definition at line 68 of file MachineFrameInfo.h.
References DstReg.
|
inline |
Definition at line 64 of file MachineFrameInfo.h.
References FrameIdx.
Referenced by llvm::RISCVFrameLowering::assignCalleeSavedSpillSlots().
|
inline |
Definition at line 73 of file MachineFrameInfo.h.
Referenced by llvm::MIRParserImpl::parseCalleeSavedRegister().
unsigned llvm::CalleeSavedInfo::DstReg |
Definition at line 38 of file MachineFrameInfo.h.
Referenced by getDstReg(), and setDstReg().
int llvm::CalleeSavedInfo::FrameIdx |
Definition at line 37 of file MachineFrameInfo.h.
Referenced by getFrameIdx(), and setFrameIdx().