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

#include "Target/VE/VEMachineFunctionInfo.h"

Inheritance diagram for llvm::VEMachineFunctionInfo:
Inheritance graph
Collaboration diagram for llvm::VEMachineFunctionInfo:
Collaboration graph

Public Member Functions

 VEMachineFunctionInfo ()
 VEMachineFunctionInfo (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 getGlobalBaseReg () const
void setGlobalBaseReg (Register Reg)
int getVarArgsFrameOffset () const
void setVarArgsFrameOffset (int Offset)
void setLeafProc (bool rhs)
bool isLeafProc () const
- 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 19 of file VEMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ VEMachineFunctionInfo() [1/2]

llvm::VEMachineFunctionInfo::VEMachineFunctionInfo ( )

Definition at line 32 of file VEMachineFunctionInfo.h.

◆ VEMachineFunctionInfo() [2/2]

llvm::VEMachineFunctionInfo::VEMachineFunctionInfo ( MachineFunction MF)

Definition at line 33 of file VEMachineFunctionInfo.h.

Member Function Documentation

◆ clone()

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

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 VEMachineFunctionInfo.cpp.

References llvm::MachineFunction::cloneInfo().

◆ getGlobalBaseReg()

Register llvm::VEMachineFunctionInfo::getGlobalBaseReg ( ) const

◆ getVarArgsFrameOffset()

int llvm::VEMachineFunctionInfo::getVarArgsFrameOffset ( ) const

Definition at line 44 of file VEMachineFunctionInfo.h.

Referenced by llvm::VETargetLowering::lowerVASTART().

◆ isLeafProc()

bool llvm::VEMachineFunctionInfo::isLeafProc ( ) const

◆ setGlobalBaseReg()

void llvm::VEMachineFunctionInfo::setGlobalBaseReg ( Register  Reg)

Definition at line 42 of file VEMachineFunctionInfo.h.

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

◆ setLeafProc()

void llvm::VEMachineFunctionInfo::setLeafProc ( bool  rhs)

Definition at line 47 of file VEMachineFunctionInfo.h.

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

◆ setVarArgsFrameOffset()

void llvm::VEMachineFunctionInfo::setVarArgsFrameOffset ( int  Offset)

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