LLVM  15.0.0git
Public Member Functions | List of all members
llvm::CSKYRegisterInfo Class Reference

#include "Target/CSKY/CSKYRegisterInfo.h"

Inheritance diagram for llvm::CSKYRegisterInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::CSKYRegisterInfo:
Collaboration graph
[legend]

Public Member Functions

 CSKYRegisterInfo ()
 
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID id) const override
 
const uint32_tgetNoPreservedMask () const override
 
BitVector getReservedRegs (const MachineFunction &MF) const override
 
Register getFrameRegister (const MachineFunction &MF) const override
 
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
 
void eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS) const override
 
bool requiresFrameIndexScavenging (const MachineFunction &MF) const override
 
bool requiresRegisterScavenging (const MachineFunction &MF) const override
 
bool useFPForScavengingIndex (const MachineFunction &MF) const override
 

Detailed Description

Definition at line 24 of file CSKYRegisterInfo.h.

Constructor & Destructor Documentation

◆ CSKYRegisterInfo()

CSKYRegisterInfo::CSKYRegisterInfo ( )

Definition at line 26 of file CSKYRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

void CSKYRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  MI,
int  SPAdj,
unsigned  FIOperandNum,
RegScavenger RS 
) const
override

◆ getCalleeSavedRegs()

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

◆ getCallPreservedMask()

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

◆ getFrameRegister()

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

Definition at line 40 of file CSKYRegisterInfo.cpp.

References llvm::TargetFrameLowering::hasFP().

◆ getNoPreservedMask()

const uint32_t * CSKYRegisterInfo::getNoPreservedMask ( ) const
override

Definition at line 82 of file CSKYRegisterInfo.cpp.

◆ getReservedRegs()

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

◆ requiresFrameIndexScavenging()

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

Definition at line 42 of file CSKYRegisterInfo.h.

◆ requiresRegisterScavenging()

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

Definition at line 46 of file CSKYRegisterInfo.h.

◆ useFPForScavengingIndex()

bool llvm::CSKYRegisterInfo::useFPForScavengingIndex ( const MachineFunction MF) const
inlineoverride

Definition at line 50 of file CSKYRegisterInfo.h.


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