LLVM  6.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
const uint32_tgetNoPreservedMask () const override
void eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
unsigned getFrameRegister (const MachineFunction &MF) const override

Detailed Description

Definition at line 24 of file RISCVRegisterInfo.h.

Constructor & Destructor Documentation

◆ RISCVRegisterInfo()

RISCVRegisterInfo::RISCVRegisterInfo ( unsigned  HwMode)

Definition at line 30 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

Definition at line 35 of file RISCVRegisterInfo.cpp.

◆ getCallPreservedMask()

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

Definition at line 92 of file RISCVRegisterInfo.cpp.

◆ getFrameRegister()

unsigned RISCVRegisterInfo::getFrameRegister ( const MachineFunction MF) const

Definition at line 87 of file RISCVRegisterInfo.cpp.

Referenced by eliminateFrameIndex().

◆ getNoPreservedMask()

const uint32_t * RISCVRegisterInfo::getNoPreservedMask ( ) const

Definition at line 53 of file RISCVRegisterInfo.cpp.

◆ getReservedRegs()

BitVector RISCVRegisterInfo::getReservedRegs ( const MachineFunction MF) const

Definition at line 39 of file RISCVRegisterInfo.cpp.

References assert().

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