LLVM  15.0.0git
Public Member Functions | List of all members
llvm::CSKYMachineFunctionInfo Class Reference

#include "Target/CSKY/CSKYMachineFunctionInfo.h"

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

Public Member Functions

 CSKYMachineFunctionInfo (MachineFunction &)
 
MachineFunctionInfoclone (BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
 Make a functionally equivalent copy of this MachineFunctionInfo in MF. More...
 
Register getGlobalBaseReg () const
 
void setGlobalBaseReg (Register Reg)
 
void setSpillsCR ()
 
bool isCRSpilled () const
 
void setVarArgsFrameIndex (int v)
 
int getVarArgsFrameIndex ()
 
unsigned getVarArgsSaveSize () const
 
void setVarArgsSaveSize (int Size)
 
bool isLRSpilled () const
 
void setLRIsSpilled (bool s)
 
void setCalleeSaveAreaSize (int v)
 
int getCalleeSaveAreaSize () const
 
unsigned createPICLabelUId ()
 
void initPICLabelUId (unsigned UId)
 
- 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 20 of file CSKYMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ CSKYMachineFunctionInfo()

llvm::CSKYMachineFunctionInfo::CSKYMachineFunctionInfo ( MachineFunction )
inline

Definition at line 34 of file CSKYMachineFunctionInfo.h.

Member Function Documentation

◆ clone()

MachineFunctionInfo* llvm::CSKYMachineFunctionInfo::clone ( BumpPtrAllocator Allocator,
MachineFunction DestMF,
const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &  Src2DstMBB 
) const
inlineoverridevirtual

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 37 of file CSKYMachineFunctionInfo.h.

References llvm::MachineFunction::cloneInfo().

◆ createPICLabelUId()

unsigned llvm::CSKYMachineFunctionInfo::createPICLabelUId ( )
inline

Definition at line 61 of file CSKYMachineFunctionInfo.h.

◆ getCalleeSaveAreaSize()

int llvm::CSKYMachineFunctionInfo::getCalleeSaveAreaSize ( ) const
inline

◆ getGlobalBaseReg()

Register llvm::CSKYMachineFunctionInfo::getGlobalBaseReg ( ) const
inline

Definition at line 43 of file CSKYMachineFunctionInfo.h.

Referenced by llvm::CSKYInstrInfo::getGlobalBaseReg().

◆ getVarArgsFrameIndex()

int llvm::CSKYMachineFunctionInfo::getVarArgsFrameIndex ( )
inline

Definition at line 50 of file CSKYMachineFunctionInfo.h.

◆ getVarArgsSaveSize()

unsigned llvm::CSKYMachineFunctionInfo::getVarArgsSaveSize ( ) const
inline

◆ initPICLabelUId()

void llvm::CSKYMachineFunctionInfo::initPICLabelUId ( unsigned  UId)
inline

Definition at line 62 of file CSKYMachineFunctionInfo.h.

◆ isCRSpilled()

bool llvm::CSKYMachineFunctionInfo::isCRSpilled ( ) const
inline

◆ isLRSpilled()

bool llvm::CSKYMachineFunctionInfo::isLRSpilled ( ) const
inline

Definition at line 55 of file CSKYMachineFunctionInfo.h.

◆ setCalleeSaveAreaSize()

void llvm::CSKYMachineFunctionInfo::setCalleeSaveAreaSize ( int  v)
inline

◆ setGlobalBaseReg()

void llvm::CSKYMachineFunctionInfo::setGlobalBaseReg ( Register  Reg)
inline

Definition at line 44 of file CSKYMachineFunctionInfo.h.

Referenced by llvm::CSKYInstrInfo::getGlobalBaseReg().

◆ setLRIsSpilled()

void llvm::CSKYMachineFunctionInfo::setLRIsSpilled ( bool  s)
inline

Definition at line 56 of file CSKYMachineFunctionInfo.h.

References s.

Referenced by llvm::CSKYFrameLowering::determineCalleeSaves().

◆ setSpillsCR()

void llvm::CSKYMachineFunctionInfo::setSpillsCR ( )
inline

◆ setVarArgsFrameIndex()

void llvm::CSKYMachineFunctionInfo::setVarArgsFrameIndex ( int  v)
inline

Definition at line 49 of file CSKYMachineFunctionInfo.h.

◆ setVarArgsSaveSize()

void llvm::CSKYMachineFunctionInfo::setVarArgsSaveSize ( int  Size)
inline

Definition at line 53 of file CSKYMachineFunctionInfo.h.


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