LLVM 20.0.0git
Public Member Functions | List of all members
llvm::LanaiMachineFunctionInfo Class Reference

#include "Target/Lanai/LanaiMachineFunctionInfo.h"

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

Public Member Functions

 LanaiMachineFunctionInfo (const Function &F, const TargetSubtargetInfo *STI)
 
MachineFunctionInfoclone (BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
 Make a functionally equivalent copy of this MachineFunctionInfo in MF.
 
Register getSRetReturnReg () const
 
void setSRetReturnReg (Register Reg)
 
int getVarArgsFrameIndex () const
 
void setVarArgsFrameIndex (int Index)
 
- Public Member Functions inherited from llvm::MachineFunctionInfo
virtual ~MachineFunctionInfo ()
 
virtual MachineFunctionInfoclone (BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const
 Make a functionally equivalent copy of this MachineFunctionInfo in MF.
 

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)
 

Detailed Description

Definition at line 24 of file LanaiMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ LanaiMachineFunctionInfo()

llvm::LanaiMachineFunctionInfo::LanaiMachineFunctionInfo ( const Function F,
const TargetSubtargetInfo STI 
)
inline

Definition at line 41 of file LanaiMachineFunctionInfo.h.

Member Function Documentation

◆ clone()

MachineFunctionInfo * LanaiMachineFunctionInfo::clone ( BumpPtrAllocator Allocator,
MachineFunction DestMF,
const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &  Src2DstMBB 
) const
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 15 of file LanaiMachineFunctionInfo.cpp.

References llvm::MachineFunction::cloneInfo().

◆ getSRetReturnReg()

Register llvm::LanaiMachineFunctionInfo::getSRetReturnReg ( ) const
inline

Definition at line 48 of file LanaiMachineFunctionInfo.h.

◆ getVarArgsFrameIndex()

int llvm::LanaiMachineFunctionInfo::getVarArgsFrameIndex ( ) const
inline

Definition at line 51 of file LanaiMachineFunctionInfo.h.

Referenced by llvm::LanaiTargetLowering::LowerVASTART().

◆ setSRetReturnReg()

void llvm::LanaiMachineFunctionInfo::setSRetReturnReg ( Register  Reg)
inline

Definition at line 49 of file LanaiMachineFunctionInfo.h.

References Reg.

◆ setVarArgsFrameIndex()

void llvm::LanaiMachineFunctionInfo::setVarArgsFrameIndex ( int  Index)
inline

Definition at line 52 of file LanaiMachineFunctionInfo.h.

References Index.


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