LLVM 20.0.0git
Public Member Functions | List of all members
llvm::LoongArchRegisterInfo Struct Reference

#include "Target/LoongArch/LoongArchRegisterInfo.h"

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

Public Member Functions

 LoongArchRegisterInfo (unsigned HwMode)
 
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
 
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override
 
const uint32_tgetNoPreservedMask () const override
 
BitVector getReservedRegs (const MachineFunction &MF) const override
 
const TargetRegisterClassgetPointerRegClass (const MachineFunction &MF, unsigned Kind=0) const override
 
bool eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
 
Register getFrameRegister (const MachineFunction &MF) const override
 
bool requiresRegisterScavenging (const MachineFunction &MF) const override
 
bool requiresFrameIndexScavenging (const MachineFunction &MF) const override
 
bool canRealignStack (const MachineFunction &MF) const override
 

Detailed Description

Definition at line 24 of file LoongArchRegisterInfo.h.

Constructor & Destructor Documentation

◆ LoongArchRegisterInfo()

LoongArchRegisterInfo::LoongArchRegisterInfo ( unsigned  HwMode)

Definition at line 33 of file LoongArchRegisterInfo.cpp.

Member Function Documentation

◆ canRealignStack()

bool LoongArchRegisterInfo::canRealignStack ( const MachineFunction MF) const
override

◆ eliminateFrameIndex()

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

◆ getCalleeSavedRegs()

const MCPhysReg * LoongArchRegisterInfo::getCalleeSavedRegs ( const MachineFunction MF) const
override

◆ getCallPreservedMask()

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

◆ getFrameRegister()

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

Definition at line 107 of file LoongArchRegisterInfo.cpp.

References llvm::TargetFrameLowering::hasFP().

◆ getNoPreservedMask()

const uint32_t * LoongArchRegisterInfo::getNoPreservedMask ( ) const
override

Definition at line 81 of file LoongArchRegisterInfo.cpp.

◆ getPointerRegClass()

const TargetRegisterClass * llvm::LoongArchRegisterInfo::getPointerRegClass ( const MachineFunction MF,
unsigned  Kind = 0 
) const
inlineoverride

Definition at line 36 of file LoongArchRegisterInfo.h.

◆ getReservedRegs()

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

◆ requiresFrameIndexScavenging()

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

Definition at line 51 of file LoongArchRegisterInfo.h.

◆ requiresRegisterScavenging()

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

Definition at line 47 of file LoongArchRegisterInfo.h.


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