LLVM  16.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ARCFunctionInfo Class Reference

ARCFunctionInfo - This class is derived from MachineFunction private ARC target-specific information for each MachineFunction. More...

#include "Target/ARC/ARCMachineFunctionInfo.h"

Inheritance diagram for llvm::ARCFunctionInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::ARCFunctionInfo:
Collaboration graph
[legend]

Public Member Functions

 ARCFunctionInfo ()
 
 ARCFunctionInfo (MachineFunction &MF)
 
 ~ARCFunctionInfo ()
 
MachineFunctionInfoclone (BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
 Make a functionally equivalent copy of this MachineFunctionInfo in MF. More...
 
void setVarArgsFrameIndex (int off)
 
int getVarArgsFrameIndex () const
 
void setReturnStackOffset (unsigned value)
 
unsigned getReturnStackOffset () const
 
- Public Member Functions inherited from llvm::MachineFunctionInfo
virtual ~MachineFunctionInfo ()
 

Public Attributes

unsigned MaxCallStackReq
 

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

ARCFunctionInfo - This class is derived from MachineFunction private ARC target-specific information for each MachineFunction.

Definition at line 23 of file ARCMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ ARCFunctionInfo() [1/2]

llvm::ARCFunctionInfo::ARCFunctionInfo ( )
inline

Definition at line 30 of file ARCMachineFunctionInfo.h.

◆ ARCFunctionInfo() [2/2]

llvm::ARCFunctionInfo::ARCFunctionInfo ( MachineFunction MF)
inlineexplicit

Definition at line 34 of file ARCMachineFunctionInfo.h.

◆ ~ARCFunctionInfo()

llvm::ARCFunctionInfo::~ARCFunctionInfo ( )
inline

Definition at line 37 of file ARCMachineFunctionInfo.h.

Member Function Documentation

◆ clone()

MachineFunctionInfo * ARCFunctionInfo::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 16 of file ARCMachineFunctionInfo.cpp.

References llvm::MachineFunction::cloneInfo().

◆ getReturnStackOffset()

unsigned llvm::ARCFunctionInfo::getReturnStackOffset ( ) const
inline

Definition at line 53 of file ARCMachineFunctionInfo.h.

References assert().

◆ getVarArgsFrameIndex()

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

Definition at line 45 of file ARCMachineFunctionInfo.h.

◆ setReturnStackOffset()

void llvm::ARCFunctionInfo::setReturnStackOffset ( unsigned  value)
inline

Definition at line 47 of file ARCMachineFunctionInfo.h.

References assert().

◆ setVarArgsFrameIndex()

void llvm::ARCFunctionInfo::setVarArgsFrameIndex ( int  off)
inline

Definition at line 44 of file ARCMachineFunctionInfo.h.

Member Data Documentation

◆ MaxCallStackReq

unsigned llvm::ARCFunctionInfo::MaxCallStackReq

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