LLVM 20.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
[legend]

Public Member Functions

 XCoreRegisterInfo ()
 
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
 Code Generation virtual methods...
 
BitVector getReservedRegs (const MachineFunction &MF) const override
 
bool requiresRegisterScavenging (const MachineFunction &MF) const override
 
bool useFPForScavengingIndex (const MachineFunction &MF) const override
 
bool 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.
 

Detailed Description

Definition at line 23 of file XCoreRegisterInfo.h.

Constructor & Destructor Documentation

◆ XCoreRegisterInfo()

XCoreRegisterInfo::XCoreRegisterInfo ( )

Definition at line 38 of file XCoreRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

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

◆ getCalleeSavedRegs()

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

Code Generation virtual methods...

Definition at line 208 of file XCoreRegisterInfo.cpp.

References llvm::TargetFrameLowering::hasFP().

◆ getFrameRegister()

Register XCoreRegisterInfo::getFrameRegister ( const MachineFunction MF) const
override

Definition at line 318 of file XCoreRegisterInfo.cpp.

References llvm::TargetFrameLowering::hasFP().

Referenced by eliminateFrameIndex().

◆ getReservedRegs()

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

Definition at line 227 of file XCoreRegisterInfo.cpp.

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

◆ needsFrameMoves()

bool XCoreRegisterInfo::needsFrameMoves ( const MachineFunction MF)
static

◆ requiresRegisterScavenging()

bool XCoreRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const
override

Definition at line 242 of file XCoreRegisterInfo.cpp.

◆ useFPForScavengingIndex()

bool XCoreRegisterInfo::useFPForScavengingIndex ( const MachineFunction MF) const
override

Definition at line 247 of file XCoreRegisterInfo.cpp.


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