LLVM 17.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | 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 ARCSubtarget &)
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
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.

Public Attributes

const ARCSubtargetST

Detailed Description

Definition at line 26 of file ARCRegisterInfo.h.

Constructor & Destructor Documentation

◆ ARCRegisterInfo()

ARCRegisterInfo::ARCRegisterInfo ( const ARCSubtarget ST)

Definition at line 128 of file ARCRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

bool 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 136 of file ARCRegisterInfo.cpp.

◆ getCallPreservedMask()

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

Definition at line 230 of file ARCRegisterInfo.cpp.

◆ getFrameRegister()

Register ARCRegisterInfo::getFrameRegister ( const MachineFunction MF) const

Definition at line 224 of file ARCRegisterInfo.cpp.

References llvm::ARCFrameLowering::hasFP().

Referenced by eliminateFrameIndex().

◆ getReservedRegs()

BitVector ARCRegisterInfo::getReservedRegs ( const MachineFunction MF) const

Definition at line 140 of file ARCRegisterInfo.cpp.

References llvm::Reserved.

◆ needsFrameMoves()

bool ARCRegisterInfo::needsFrameMoves ( const MachineFunction MF)

Return whether to emit frame moves.

Definition at line 131 of file ARCRegisterInfo.cpp.

References llvm::MachineFunction::needsFrameMoves().

◆ requiresRegisterScavenging()

bool ARCRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const

Definition at line 153 of file ARCRegisterInfo.cpp.

◆ useFPForScavengingIndex()

bool ARCRegisterInfo::useFPForScavengingIndex ( const MachineFunction MF) const

Definition at line 158 of file ARCRegisterInfo.cpp.

Member Data Documentation

◆ ST

const ARCSubtarget& llvm::ARCRegisterInfo::ST

Definition at line 27 of file ARCRegisterInfo.h.

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