LLVM  9.0.0svn
Public Member Functions | List of all members
llvm::RISCVRegisterInfo Struct Reference

#include "Target/RISCV/RISCVRegisterInfo.h"

Inheritance diagram for llvm::RISCVRegisterInfo:
Inheritance graph
Collaboration diagram for llvm::RISCVRegisterInfo:
Collaboration graph

Public Member Functions

 RISCVRegisterInfo (unsigned HwMode)
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
BitVector getReservedRegs (const MachineFunction &MF) const override
bool isConstantPhysReg (unsigned PhysReg) const override
const uint32_tgetNoPreservedMask () const override
void 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 trackLivenessAfterRegAlloc (const MachineFunction &) const override

Detailed Description

Definition at line 23 of file RISCVRegisterInfo.h.

Constructor & Destructor Documentation

◆ RISCVRegisterInfo()

RISCVRegisterInfo::RISCVRegisterInfo ( unsigned  HwMode)

Definition at line 29 of file RISCVRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

void RISCVRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  MI,
int  SPAdj,
unsigned  FIOperandNum,
RegScavenger RS = nullptr 
) const

◆ getCalleeSavedRegs()

const MCPhysReg * RISCVRegisterInfo::getCalleeSavedRegs ( const MachineFunction MF) const

◆ getCallPreservedMask()

const uint32_t * RISCVRegisterInfo::getCallPreservedMask ( const MachineFunction MF,
) const

◆ getFrameRegister()

Register RISCVRegisterInfo::getFrameRegister ( const MachineFunction MF) const

Definition at line 127 of file RISCVRegisterInfo.cpp.

References llvm::TargetFrameLowering::hasFP().

Referenced by getTargetNode().

◆ getNoPreservedMask()

const uint32_t * RISCVRegisterInfo::getNoPreservedMask ( ) const

Definition at line 79 of file RISCVRegisterInfo.cpp.

◆ getReservedRegs()

BitVector RISCVRegisterInfo::getReservedRegs ( const MachineFunction MF) const

Definition at line 59 of file RISCVRegisterInfo.cpp.

References assert(), and llvm::TargetFrameLowering::hasFP().

◆ isConstantPhysReg()

bool RISCVRegisterInfo::isConstantPhysReg ( unsigned  PhysReg) const

Definition at line 75 of file RISCVRegisterInfo.cpp.

◆ requiresFrameIndexScavenging()

bool llvm::RISCVRegisterInfo::requiresFrameIndexScavenging ( const MachineFunction MF) const

Definition at line 48 of file RISCVRegisterInfo.h.

◆ requiresRegisterScavenging()

bool llvm::RISCVRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const

Definition at line 44 of file RISCVRegisterInfo.h.

◆ trackLivenessAfterRegAlloc()

bool llvm::RISCVRegisterInfo::trackLivenessAfterRegAlloc ( const MachineFunction ) const

Definition at line 52 of file RISCVRegisterInfo.h.

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