LLVM 20.0.0git
|
#include "Target/BPF/BPFRegisterInfo.h"
Public Member Functions | |
BPFRegisterInfo () | |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF) const override |
const uint32_t * | getCallPreservedMask (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 |
Definition at line 23 of file BPFRegisterInfo.h.
BPFRegisterInfo::BPFRegisterInfo | ( | ) |
Definition at line 34 of file BPFRegisterInfo.cpp.
|
override |
Definition at line 83 of file BPFRegisterInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), DL, llvm::MachineFunction::getFrameInfo(), getFrameRegister(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getSubtarget(), II, llvm_unreachable, MBB, MI, llvm::Offset, TII, and WarnSize().
|
override |
Definition at line 38 of file BPFRegisterInfo.cpp.
|
override |
Definition at line 43 of file BPFRegisterInfo.cpp.
References CC, and llvm::CallingConv::PreserveAll.
|
override |
Definition at line 144 of file BPFRegisterInfo.cpp.
Referenced by eliminateFrameIndex().
|
override |
Definition at line 53 of file BPFRegisterInfo.cpp.
References llvm::Reserved.