LLVM
8.0.1
|
#include "Target/RISCV/RISCVRegisterInfo.h"
Public Member Functions | |
RISCVRegisterInfo (unsigned HwMode) | |
const uint32_t * | getCallPreservedMask (const MachineFunction &MF, CallingConv::ID) const override |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF) const override |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
bool | isConstantPhysReg (unsigned PhysReg) const override |
const uint32_t * | getNoPreservedMask () const override |
void | eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override |
unsigned | getFrameRegister (const MachineFunction &MF) const override |
bool | requiresRegisterScavenging (const MachineFunction &MF) const override |
bool | requiresFrameIndexScavenging (const MachineFunction &MF) const override |
bool | trackLivenessAfterRegAlloc (const MachineFunction &) const override |
Definition at line 24 of file RISCVRegisterInfo.h.
RISCVRegisterInfo::RISCVRegisterInfo | ( | unsigned | HwMode | ) |
Definition at line 30 of file RISCVRegisterInfo.cpp.
|
override |
Definition at line 68 of file RISCVRegisterInfo.cpp.
References llvm::ISD::ADD, llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::MachineOperand::ChangeToImmediate(), llvm::MachineOperand::ChangeToRegister(), llvm::MachineRegisterInfo::createVirtualRegister(), llvm::ISD::FrameIndex, llvm::MachineInstr::getDebugLoc(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineFunction::getRegInfo(), llvm::MachineFunction::getSubtarget(), llvm::isInt< 32 >(), llvm::RegState::Kill, MI, llvm::RISCVInstrInfo::movImm32(), MRI, llvm::report_fatal_error(), and TII.
|
override |
Definition at line 35 of file RISCVRegisterInfo.cpp.
References llvm::MachineFunction::getFunction(), llvm::MachineFunction::getSubtarget(), llvm::Function::hasFnAttribute(), llvm::RISCVSubtarget::hasStdExtD(), and llvm::RISCVSubtarget::hasStdExtF().
|
override |
Definition at line 118 of file RISCVRegisterInfo.cpp.
References llvm::MachineFunction::getFunction(), llvm::MachineFunction::getSubtarget(), llvm::Function::hasFnAttribute(), llvm::RISCVSubtarget::hasStdExtD(), and llvm::RISCVSubtarget::hasStdExtF().
Referenced by unpackF64OnRV32DSoftABI().
|
override |
Definition at line 112 of file RISCVRegisterInfo.cpp.
References llvm::TargetFrameLowering::hasFP().
Referenced by llvm::RISCVTargetLowering::LowerOperation().
Definition at line 64 of file RISCVRegisterInfo.cpp.
|
override |
Definition at line 46 of file RISCVRegisterInfo.cpp.
References assert().
Definition at line 60 of file RISCVRegisterInfo.cpp.
|
inlineoverride |
Definition at line 49 of file RISCVRegisterInfo.h.
|
inlineoverride |
Definition at line 45 of file RISCVRegisterInfo.h.
|
inlineoverride |
Definition at line 53 of file RISCVRegisterInfo.h.