LLVM 20.0.0git
Public Member Functions | List of all members
llvm::BPFRegisterInfo Struct Reference

#include "Target/BPF/BPFRegisterInfo.h"

Inheritance diagram for llvm::BPFRegisterInfo:
Inheritance graph
[legend]

Public Member Functions

 BPFRegisterInfo ()
 
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
 
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override
 
BitVector getReservedRegs (const MachineFunction &MF) const override
 
bool eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
 
Register getFrameRegister (const MachineFunction &MF) const override
 

Detailed Description

Definition at line 23 of file BPFRegisterInfo.h.

Constructor & Destructor Documentation

◆ BPFRegisterInfo()

BPFRegisterInfo::BPFRegisterInfo ( )

Definition at line 35 of file BPFRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

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

◆ getCalleeSavedRegs()

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

Definition at line 39 of file BPFRegisterInfo.cpp.

◆ getCallPreservedMask()

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

Definition at line 44 of file BPFRegisterInfo.cpp.

References CC, and llvm::CallingConv::PreserveAll.

◆ getFrameRegister()

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

Definition at line 145 of file BPFRegisterInfo.cpp.

Referenced by eliminateFrameIndex().

◆ getReservedRegs()

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

Definition at line 54 of file BPFRegisterInfo.cpp.

References llvm::Reserved.


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