LLVM  13.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::ARCRegisterInfo Struct Reference

#include "Target/ARC/ARCRegisterInfo.h"

Inheritance diagram for llvm::ARCRegisterInfo:
Inheritance graph
Collaboration diagram for llvm::ARCRegisterInfo:
Collaboration graph

Public Member Functions

 ARCRegisterInfo ()
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
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID CC) 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 25 of file ARCRegisterInfo.h.

Constructor & Destructor Documentation

◆ ARCRegisterInfo()

ARCRegisterInfo::ARCRegisterInfo ( )

Definition at line 128 of file ARCRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

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

◆ getCalleeSavedRegs()

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

Code Generation virtual methods...

Definition at line 135 of file ARCRegisterInfo.cpp.

◆ getCallPreservedMask()

const uint32_t * ARCRegisterInfo::getCallPreservedMask ( const MachineFunction MF,
CallingConv::ID  CC 
) const

Definition at line 227 of file ARCRegisterInfo.cpp.

◆ getFrameRegister()

Register ARCRegisterInfo::getFrameRegister ( const MachineFunction MF) const

Definition at line 221 of file ARCRegisterInfo.cpp.

References llvm::ARCFrameLowering::hasFP().

Referenced by eliminateFrameIndex().

◆ getReservedRegs()

BitVector ARCRegisterInfo::getReservedRegs ( const MachineFunction MF) const

Definition at line 139 of file ARCRegisterInfo.cpp.

References llvm::Reserved.

◆ needsFrameMoves()

bool ARCRegisterInfo::needsFrameMoves ( const MachineFunction MF)

Return whether to emit frame moves.

Definition at line 130 of file ARCRegisterInfo.cpp.

References llvm::MachineFunction::needsFrameMoves().

◆ requiresRegisterScavenging()

bool ARCRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const

Definition at line 151 of file ARCRegisterInfo.cpp.

◆ useFPForScavengingIndex()

bool ARCRegisterInfo::useFPForScavengingIndex ( const MachineFunction MF) const

Definition at line 156 of file ARCRegisterInfo.cpp.

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