LLVM  15.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::XCoreRegisterInfo Struct Reference

#include "Target/XCore/XCoreRegisterInfo.h"

Inheritance diagram for llvm::XCoreRegisterInfo:
Inheritance graph
Collaboration diagram for llvm::XCoreRegisterInfo:
Collaboration graph

Public Member Functions

 XCoreRegisterInfo ()
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
 Code Generation virtual methods... More...
BitVector getReservedRegs (const MachineFunction &MF) const override
bool requiresRegisterScavenging (const MachineFunction &MF) const override
bool useFPForScavengingIndex (const MachineFunction &MF) const override
void eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
Register getFrameRegister (const MachineFunction &MF) const override

Static Public Member Functions

static bool needsFrameMoves (const MachineFunction &MF)
 Return whether to emit frame moves. More...

Detailed Description

Definition at line 23 of file XCoreRegisterInfo.h.

Constructor & Destructor Documentation

◆ XCoreRegisterInfo()

XCoreRegisterInfo::XCoreRegisterInfo ( )

Definition at line 43 of file XCoreRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

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

◆ getCalleeSavedRegs()

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

Code Generation virtual methods...

Definition at line 210 of file XCoreRegisterInfo.cpp.

References llvm::XCoreFrameLowering::hasFP(), R4, and R6.

◆ getFrameRegister()

Register XCoreRegisterInfo::getFrameRegister ( const MachineFunction MF) const

Definition at line 319 of file XCoreRegisterInfo.cpp.

References llvm::XCoreFrameLowering::hasFP().

Referenced by eliminateFrameIndex().

◆ getReservedRegs()

BitVector XCoreRegisterInfo::getReservedRegs ( const MachineFunction MF) const

◆ needsFrameMoves()

bool XCoreRegisterInfo::needsFrameMoves ( const MachineFunction MF)

◆ requiresRegisterScavenging()

bool XCoreRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const

Definition at line 244 of file XCoreRegisterInfo.cpp.

◆ useFPForScavengingIndex()

bool XCoreRegisterInfo::useFPForScavengingIndex ( const MachineFunction MF) const

Definition at line 249 of file XCoreRegisterInfo.cpp.

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