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

#include "Target/RISCV/RISCVRegisterInfo.h"

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

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
 
unsigned 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 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
override

◆ getCalleeSavedRegs()

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

◆ getCallPreservedMask()

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

◆ getFrameRegister()

unsigned RISCVRegisterInfo::getFrameRegister ( const MachineFunction MF) const
override

◆ getNoPreservedMask()

const uint32_t * RISCVRegisterInfo::getNoPreservedMask ( ) const
override

Definition at line 64 of file RISCVRegisterInfo.cpp.

◆ getReservedRegs()

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

Definition at line 46 of file RISCVRegisterInfo.cpp.

References assert().

◆ isConstantPhysReg()

bool RISCVRegisterInfo::isConstantPhysReg ( unsigned  PhysReg) const
override

Definition at line 60 of file RISCVRegisterInfo.cpp.

◆ requiresFrameIndexScavenging()

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

Definition at line 49 of file RISCVRegisterInfo.h.

◆ requiresRegisterScavenging()

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

Definition at line 45 of file RISCVRegisterInfo.h.

◆ trackLivenessAfterRegAlloc()

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

Definition at line 53 of file RISCVRegisterInfo.h.


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