LLVM 20.0.0git
|
#include "Target/CSKY/CSKYRegisterInfo.h"
Public Member Functions | |
CSKYRegisterInfo () | |
const uint32_t * | getCallPreservedMask (const MachineFunction &MF, CallingConv::ID id) const override |
const uint32_t * | getNoPreservedMask () const override |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
Register | getFrameRegister (const MachineFunction &MF) const override |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF) const override |
bool | eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS) const override |
bool | requiresFrameIndexScavenging (const MachineFunction &MF) const override |
bool | requiresRegisterScavenging (const MachineFunction &MF) const override |
bool | useFPForScavengingIndex (const MachineFunction &MF) const override |
Definition at line 24 of file CSKYRegisterInfo.h.
CSKYRegisterInfo::CSKYRegisterInfo | ( | ) |
Definition at line 26 of file CSKYRegisterInfo.cpp.
|
override |
Definition at line 182 of file CSKYRegisterInfo.cpp.
References llvm::MachineInstrBuilder::add(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::RegState::Define, DL, llvm::MachineBasicBlock::erase(), llvm::MachineInstrBuilder::getInstr(), llvm::getKillRegState(), llvm::MachineFunction::getRegInfo(), llvm::MachineFunction::getSubtarget(), llvm::CSKYSubtarget::hasE2(), II, IsLegalOffset(), llvm::RegState::Kill, MBB, MI, MRI, llvm::Offset, llvm::report_fatal_error(), and TII.
|
override |
Definition at line 87 of file CSKYRegisterInfo.cpp.
References llvm::MachineFunction::getFunction(), llvm::MachineFunction::getSubtarget(), llvm::Function::hasFnAttribute(), llvm::CSKYSubtarget::hasFPUv2DoubleFloat(), llvm::CSKYSubtarget::hasFPUv2SingleFloat(), llvm::CSKYSubtarget::hasFPUv3DoubleFloat(), and llvm::CSKYSubtarget::hasFPUv3SingleFloat().
|
override |
|
override |
Definition at line 40 of file CSKYRegisterInfo.cpp.
References llvm::TargetFrameLowering::hasFP().
Definition at line 82 of file CSKYRegisterInfo.cpp.
|
override |
Definition at line 45 of file CSKYRegisterInfo.cpp.
References assert(), llvm::MachineFunction::getSubtarget(), llvm::CSKYFrameLowering::hasBP(), llvm::CSKYSubtarget::hasE2(), llvm::CSKYFrameLowering::hasFP(), llvm::CSKYSubtarget::hasHighRegisters(), and llvm::Reserved.
|
inlineoverride |
Definition at line 42 of file CSKYRegisterInfo.h.
|
inlineoverride |
Definition at line 46 of file CSKYRegisterInfo.h.
|
inlineoverride |
Definition at line 50 of file CSKYRegisterInfo.h.