LLVM  8.0.1
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]
Collaboration diagram for llvm::XCoreRegisterInfo:
Collaboration graph
[legend]

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 trackLivenessAfterRegAlloc (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
 
unsigned 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 26 of file XCoreRegisterInfo.h.

Constructor & Destructor Documentation

◆ XCoreRegisterInfo()

XCoreRegisterInfo::XCoreRegisterInfo ( )

Definition at line 44 of file XCoreRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

void 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 211 of file XCoreRegisterInfo.cpp.

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

◆ getFrameRegister()

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

Definition at line 325 of file XCoreRegisterInfo.cpp.

References llvm::XCoreFrameLowering::hasFP().

Referenced by eliminateFrameIndex().

◆ getReservedRegs()

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

◆ needsFrameMoves()

bool XCoreRegisterInfo::needsFrameMoves ( const MachineFunction MF)
static

◆ requiresRegisterScavenging()

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

Definition at line 245 of file XCoreRegisterInfo.cpp.

◆ trackLivenessAfterRegAlloc()

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

Definition at line 250 of file XCoreRegisterInfo.cpp.

◆ useFPForScavengingIndex()

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

Definition at line 255 of file XCoreRegisterInfo.cpp.


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