LLVM 19.0.0git
Public Member Functions | List of all members
llvm::MSP430RegisterInfo Class Reference

#include "Target/MSP430/MSP430RegisterInfo.h"

Inheritance diagram for llvm::MSP430RegisterInfo:
Inheritance graph

Public Member Functions

 MSP430RegisterInfo ()
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
 Code Generation virtual methods...
BitVector getReservedRegs (const MachineFunction &MF) const override
const TargetRegisterClassgetPointerRegClass (const MachineFunction &MF, unsigned Kind=0) const override
bool eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
Register getFrameRegister (const MachineFunction &MF) const override

Detailed Description

Definition at line 23 of file MSP430RegisterInfo.h.

Constructor & Destructor Documentation

◆ MSP430RegisterInfo()

MSP430RegisterInfo::MSP430RegisterInfo ( )

Definition at line 34 of file MSP430RegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

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

◆ getCalleeSavedRegs()

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

Code Generation virtual methods...

Definition at line 38 of file MSP430RegisterInfo.cpp.

References F, llvm::MachineFunction::getFunction(), llvm::MSP430FrameLowering::hasFP(), and llvm::CallingConv::MSP430_INTR.

◆ getFrameRegister()

Register MSP430RegisterInfo::getFrameRegister ( const MachineFunction MF) const

Definition at line 161 of file MSP430RegisterInfo.cpp.

References llvm::MSP430FrameLowering::hasFP().

◆ getPointerRegClass()

const TargetRegisterClass * MSP430RegisterInfo::getPointerRegClass ( const MachineFunction MF,
unsigned  Kind = 0 
) const

Definition at line 97 of file MSP430RegisterInfo.cpp.

◆ getReservedRegs()

BitVector MSP430RegisterInfo::getReservedRegs ( const MachineFunction MF) const

Definition at line 73 of file MSP430RegisterInfo.cpp.

References llvm::MSP430FrameLowering::hasFP(), and llvm::Reserved.

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