LLVM  8.0.0svn
Public Member Functions | Protected Attributes | List of all members
llvm::Nios2RegisterInfo Class Reference

#include "Target/Nios2/Nios2RegisterInfo.h"

Inheritance diagram for llvm::Nios2RegisterInfo:
Inheritance graph
Collaboration diagram for llvm::Nios2RegisterInfo:
Collaboration graph

Public Member Functions

 Nios2RegisterInfo (const Nios2Subtarget &Subtarget)
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
BitVector getReservedRegs (const MachineFunction &MF) const override
void eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
 Stack Frame Processing Methods. More...
unsigned getFrameRegister (const MachineFunction &MF) const override
 Debug information queries. More...
const TargetRegisterClassintRegClass (unsigned Size) const
 Return GPR register class. More...

Protected Attributes

const Nios2SubtargetSubtarget

Detailed Description

Definition at line 28 of file Nios2RegisterInfo.h.

Constructor & Destructor Documentation

◆ Nios2RegisterInfo()

Nios2RegisterInfo::Nios2RegisterInfo ( const Nios2Subtarget Subtarget)

Definition at line 26 of file Nios2RegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

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

Stack Frame Processing Methods.

Definition at line 49 of file Nios2RegisterInfo.cpp.

◆ getCalleeSavedRegs()

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

Definition at line 34 of file Nios2RegisterInfo.cpp.

◆ getFrameRegister()

unsigned Nios2RegisterInfo::getFrameRegister ( const MachineFunction MF) const

Debug information queries.

Definition at line 53 of file Nios2RegisterInfo.cpp.

◆ getReservedRegs()

BitVector Nios2RegisterInfo::getReservedRegs ( const MachineFunction MF) const

Definition at line 38 of file Nios2RegisterInfo.cpp.

References llvm::array_lengthof(), I, RA, and llvm::BitVector::set().

◆ intRegClass()

const TargetRegisterClass * Nios2RegisterInfo::intRegClass ( unsigned  Size) const

Return GPR register class.

Definition at line 29 of file Nios2RegisterInfo.cpp.

Member Data Documentation

◆ Subtarget

const Nios2Subtarget& llvm::Nios2RegisterInfo::Subtarget

Definition at line 30 of file Nios2RegisterInfo.h.

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