LLVM 20.0.0git
Public Member Functions | List of all members
llvm::SystemZELFRegisters Class Reference

ELF calling convention specific use registers Particular when on zLinux in 64 bit mode. More...

#include "Target/SystemZ/SystemZRegisterInfo.h"

Inheritance diagram for llvm::SystemZELFRegisters:
Inheritance graph
[legend]

Public Member Functions

int getReturnFunctionAddressRegister () final
 
int getStackPointerRegister () final
 
int getFramePointerRegister () final
 
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const final
 
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID CC) const final
 
int getCallFrameSize () final
 
int getStackPointerBias () final
 
 ~SystemZELFRegisters ()=default
 Destroys the object. Bogus destructor overriding base class destructor.
 
- Public Member Functions inherited from llvm::SystemZCallingConventionRegisters
virtual int getReturnFunctionAddressRegister ()=0
 
virtual int getStackPointerRegister ()=0
 
virtual int getFramePointerRegister ()=0
 
virtual const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const =0
 
virtual const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID CC) const =0
 
virtual int getCallFrameSize ()=0
 
virtual int getStackPointerBias ()=0
 
virtual ~SystemZCallingConventionRegisters ()=default
 Destroys the object.
 

Detailed Description

ELF calling convention specific use registers Particular when on zLinux in 64 bit mode.

Definition at line 109 of file SystemZRegisterInfo.h.

Constructor & Destructor Documentation

◆ ~SystemZELFRegisters()

llvm::SystemZELFRegisters::~SystemZELFRegisters ( )
default

Destroys the object. Bogus destructor overriding base class destructor.

Member Function Documentation

◆ getCalleeSavedRegs()

const MCPhysReg * SystemZELFRegisters::getCalleeSavedRegs ( const MachineFunction MF) const
finalvirtual

◆ getCallFrameSize()

int llvm::SystemZELFRegisters::getCallFrameSize ( )
inlinefinalvirtual
Returns
the offset to the locals area.

Implements llvm::SystemZCallingConventionRegisters.

Definition at line 122 of file SystemZRegisterInfo.h.

References llvm::SystemZMC::ELFCallFrameSize.

◆ getCallPreservedMask()

const uint32_t * SystemZELFRegisters::getCallPreservedMask ( const MachineFunction MF,
CallingConv::ID  CC 
) const
finalvirtual

◆ getFramePointerRegister()

int llvm::SystemZELFRegisters::getFramePointerRegister ( )
inlinefinalvirtual
Returns
the register that keeps the frame pointer address.

Implements llvm::SystemZCallingConventionRegisters.

Definition at line 115 of file SystemZRegisterInfo.h.

◆ getReturnFunctionAddressRegister()

int llvm::SystemZELFRegisters::getReturnFunctionAddressRegister ( )
inlinefinalvirtual
Returns
the register that keeps the return function address.

Implements llvm::SystemZCallingConventionRegisters.

Definition at line 111 of file SystemZRegisterInfo.h.

◆ getStackPointerBias()

int llvm::SystemZELFRegisters::getStackPointerBias ( )
inlinefinalvirtual
Returns
the stack pointer bias.

Implements llvm::SystemZCallingConventionRegisters.

Definition at line 124 of file SystemZRegisterInfo.h.

◆ getStackPointerRegister()

int llvm::SystemZELFRegisters::getStackPointerRegister ( )
inlinefinalvirtual
Returns
the register that keeps the stack pointer address.

Implements llvm::SystemZCallingConventionRegisters.

Definition at line 113 of file SystemZRegisterInfo.h.


The documentation for this class was generated from the following files: