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

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

Member Function Documentation

◆ eliminateFrameIndex()

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

◆ getCalleeSavedRegs()

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

Code Generation virtual methods...

Definition at line 137 of file ARCRegisterInfo.cpp.

◆ getCallPreservedMask()

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

Definition at line 231 of file ARCRegisterInfo.cpp.

◆ getFrameRegister()

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

Definition at line 225 of file ARCRegisterInfo.cpp.

References llvm::TargetFrameLowering::hasFP().

Referenced by eliminateFrameIndex().

◆ getReservedRegs()

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

Definition at line 141 of file ARCRegisterInfo.cpp.

References llvm::Reserved.

◆ needsFrameMoves()

bool ARCRegisterInfo::needsFrameMoves ( const MachineFunction MF)
static

Return whether to emit frame moves.

Definition at line 132 of file ARCRegisterInfo.cpp.

References llvm::MachineFunction::needsFrameMoves().

◆ requiresRegisterScavenging()

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

Definition at line 154 of file ARCRegisterInfo.cpp.

◆ useFPForScavengingIndex()

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

Definition at line 159 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: