LLVM 20.0.0git
|
RISCVMachineFunctionInfo - This class is derived from MachineFunctionInfo and contains private RISCV-specific information for each MachineFunction. More...
#include "Target/RISCV/RISCVMachineFunctionInfo.h"
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::MachineFunctionInfo | |
template<typename FuncInfoTy , typename SubtargetTy = TargetSubtargetInfo> | |
static FuncInfoTy * | create (BumpPtrAllocator &Allocator, const Function &F, const SubtargetTy *STI) |
Factory function: default behavior is to call new using the supplied allocator. | |
template<typename Ty > | |
static Ty * | create (BumpPtrAllocator &Allocator, const Ty &MFI) |
RISCVMachineFunctionInfo - This class is derived from MachineFunctionInfo and contains private RISCV-specific information for each MachineFunction.
Definition at line 47 of file RISCVMachineFunctionInfo.h.
RISCVMachineFunctionInfo::RISCVMachineFunctionInfo | ( | const Function & | F, |
const RISCVSubtarget * | STI | ||
) |
Definition at line 30 of file RISCVMachineFunctionInfo.cpp.
References llvm::alignDown(), assert(), F, llvm::RISCVSubtarget::getFrameLowering(), llvm::TargetFrameLowering::getTransientStackAlign(), llvm::StringRef::size(), and llvm::Align::value().
void RISCVMachineFunctionInfo::addSExt32Register | ( | Register | Reg | ) |
Definition at line 69 of file RISCVMachineFunctionInfo.cpp.
Referenced by unpackFromRegLoc().
|
overridevirtual |
Make a functionally equivalent copy of this MachineFunctionInfo in MF
.
This requires remapping MachineBasicBlock references from the original parent to values in the new function. Targets may assume that virtual register and frame index values are preserved in the new function.
Reimplemented from llvm::MachineFunctionInfo.
Definition at line 23 of file RISCVMachineFunctionInfo.cpp.
References llvm::MachineFunction::cloneInfo().
|
inline |
Definition at line 102 of file RISCVMachineFunctionInfo.h.
Referenced by llvm::RISCVInstrInfo::insertIndirectBranch().
|
inline |
Definition at line 134 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 113 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 95 of file RISCVMachineFunctionInfo.h.
References llvm::MachineFrameInfo::CreateStackObject(), and llvm::MachineFunction::getFrameInfo().
|
inline |
Definition at line 109 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 149 of file RISCVMachineFunctionInfo.h.
Referenced by llvm::RISCVFrameLowering::restoreCalleeSavedRegisters(), and llvm::RISCVFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 146 of file RISCVMachineFunctionInfo.h.
Referenced by llvm::RISCVFrameLowering::restoreCalleeSavedRegisters(), and llvm::RISCVFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 152 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 131 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 128 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 125 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 89 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 92 of file RISCVMachineFunctionInfo.h.
void RISCVMachineFunctionInfo::initializeBaseYamlFields | ( | const yaml::RISCVMachineFunctionInfo & | YamlMFI | ) |
Definition at line 63 of file RISCVMachineFunctionInfo.cpp.
References llvm::yaml::RISCVMachineFunctionInfo::VarArgsFrameIndex, and llvm::yaml::RISCVMachineFunctionInfo::VarArgsSaveSize.
|
inline |
Definition at line 137 of file RISCVMachineFunctionInfo.h.
References llvm::TargetOptions::DisableFramePointerElim(), llvm::MachineFunction::getSubtarget(), llvm::MachineFunction::getTarget(), and llvm::TargetMachine::Options.
Referenced by llvm::RISCVFrameLowering::restoreCalleeSavedRegisters(), llvm::RISCVFrameLowering::spillCalleeSavedRegisters(), and useSaveRestoreLibCalls().
Definition at line 73 of file RISCVMachineFunctionInfo.cpp.
References llvm::is_contained().
Referenced by isSignExtendedW().
|
inline |
Definition at line 160 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 105 of file RISCVMachineFunctionInfo.h.
References Index.
|
inline |
Definition at line 135 of file RISCVMachineFunctionInfo.h.
References Size.
|
inline |
Definition at line 161 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 114 of file RISCVMachineFunctionInfo.h.
References Size.
|
inline |
Definition at line 150 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 147 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 153 of file RISCVMachineFunctionInfo.h.
References Size.
|
inline |
Definition at line 132 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 129 of file RISCVMachineFunctionInfo.h.
|
inline |
Definition at line 126 of file RISCVMachineFunctionInfo.h.
References Size.
|
inline |
Definition at line 90 of file RISCVMachineFunctionInfo.h.
References Index.
Referenced by llvm::RISCVTargetLowering::LowerFormalArguments().
|
inline |
Definition at line 93 of file RISCVMachineFunctionInfo.h.
References Size.
Referenced by llvm::RISCVTargetLowering::LowerFormalArguments().
|
inline |
Definition at line 116 of file RISCVMachineFunctionInfo.h.
References llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getFunction(), llvm::MachineFunction::getSubtarget(), llvm::Function::hasFnAttribute(), llvm::MachineFrameInfo::hasTailCall(), and isPushable().
Referenced by llvm::RISCVFrameLowering::canUseAsEpilogue(), and llvm::RISCVFrameLowering::canUseAsPrologue().