LLVM  15.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]
Collaboration diagram for llvm::LanaiMachineFunctionInfo:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from llvm::MachineFunctionInfo
template<typename Ty >
static Ty * create (BumpPtrAllocator &Allocator, MachineFunction &MF)
 Factory function: default behavior is to call new using the supplied allocator. More...
 
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 ( MachineFunction MF)
inlineexplicit

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.

◆ setVarArgsFrameIndex()

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

Definition at line 52 of file LanaiMachineFunctionInfo.h.


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