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

#include "Target/Xtensa/XtensaRegisterInfo.h"

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

Public Member Functions

 XtensaRegisterInfo (const XtensaSubtarget &STI)
 
bool requiresRegisterScavenging (const MachineFunction &MF) const override
 
bool requiresFrameIndexScavenging (const MachineFunction &MF) const override
 
const uint16_tgetCalleeSavedRegs (const MachineFunction *MF=0) const override
 
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override
 
BitVector getReservedRegs (const MachineFunction &MF) const override
 
bool eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
 
Register getFrameRegister (const MachineFunction &MF) const override
 

Public Attributes

const XtensaSubtargetSubtarget
 

Detailed Description

Definition at line 27 of file XtensaRegisterInfo.h.

Constructor & Destructor Documentation

◆ XtensaRegisterInfo()

XtensaRegisterInfo::XtensaRegisterInfo ( const XtensaSubtarget STI)

Definition at line 32 of file XtensaRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

bool XtensaRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  MI,
int  SPAdj,
unsigned  FIOperandNum,
RegScavenger RS = nullptr 
) const
override

◆ getCalleeSavedRegs()

const uint16_t * XtensaRegisterInfo::getCalleeSavedRegs ( const MachineFunction MF = 0) const
override

Definition at line 36 of file XtensaRegisterInfo.cpp.

◆ getCallPreservedMask()

const uint32_t * XtensaRegisterInfo::getCallPreservedMask ( const MachineFunction MF,
CallingConv::ID   
) const
override

Definition at line 41 of file XtensaRegisterInfo.cpp.

◆ getFrameRegister()

Register XtensaRegisterInfo::getFrameRegister ( const MachineFunction MF) const
override

◆ getReservedRegs()

BitVector XtensaRegisterInfo::getReservedRegs ( const MachineFunction MF) const
override

◆ requiresFrameIndexScavenging()

bool llvm::XtensaRegisterInfo::requiresFrameIndexScavenging ( const MachineFunction MF) const
inlineoverride

Definition at line 37 of file XtensaRegisterInfo.h.

◆ requiresRegisterScavenging()

bool llvm::XtensaRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const
inlineoverride

Definition at line 33 of file XtensaRegisterInfo.h.

Member Data Documentation

◆ Subtarget

const XtensaSubtarget& llvm::XtensaRegisterInfo::Subtarget

Definition at line 29 of file XtensaRegisterInfo.h.


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