LLVM  17.0.0git
Public Member Functions | List of all members
llvm::SystemZMachineFunctionInfo Class Reference

#include "Target/SystemZ/SystemZMachineFunctionInfo.h"

Inheritance diagram for llvm::SystemZMachineFunctionInfo:
Inheritance graph
Collaboration diagram for llvm::SystemZMachineFunctionInfo:
Collaboration graph

Public Member Functions

 SystemZMachineFunctionInfo (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. More...
SystemZ::GPRRegs getSpillGPRRegs () const
void setSpillGPRRegs (Register Low, Register High, unsigned Offs)
SystemZ::GPRRegs getRestoreGPRRegs () const
void setRestoreGPRRegs (Register Low, Register High, unsigned Offs)
Register getVarArgsFirstGPR () const
void setVarArgsFirstGPR (Register GPR)
Register getVarArgsFirstFPR () const
void setVarArgsFirstFPR (Register FPR)
unsigned getVarArgsFrameIndex () const
void setVarArgsFrameIndex (unsigned FI)
unsigned getRegSaveFrameIndex () const
void setRegSaveFrameIndex (unsigned FI)
int getFramePointerSaveIndex () const
void setFramePointerSaveIndex (int Idx)
unsigned getNumLocalDynamicTLSAccesses () const
void incNumLocalDynamicTLSAccesses ()
- Public Member Functions inherited from llvm::MachineFunctionInfo
virtual ~MachineFunctionInfo ()

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. More...
template<typename Ty >
static Ty * create (BumpPtrAllocator &Allocator, const Ty &MFI)

Detailed Description

Definition at line 27 of file SystemZMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ SystemZMachineFunctionInfo()

llvm::SystemZMachineFunctionInfo::SystemZMachineFunctionInfo ( const Function F,
const TargetSubtargetInfo STI 

Definition at line 40 of file SystemZMachineFunctionInfo.h.

Member Function Documentation

◆ clone()

MachineFunctionInfo * SystemZMachineFunctionInfo::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 17 of file SystemZMachineFunctionInfo.cpp.

References llvm::MachineFunction::cloneInfo().

◆ getFramePointerSaveIndex()

int llvm::SystemZMachineFunctionInfo::getFramePointerSaveIndex ( ) const

◆ getNumLocalDynamicTLSAccesses()

unsigned llvm::SystemZMachineFunctionInfo::getNumLocalDynamicTLSAccesses ( ) const

Definition at line 92 of file SystemZMachineFunctionInfo.h.

◆ getRegSaveFrameIndex()

unsigned llvm::SystemZMachineFunctionInfo::getRegSaveFrameIndex ( ) const

Definition at line 84 of file SystemZMachineFunctionInfo.h.

◆ getRestoreGPRRegs()

SystemZ::GPRRegs llvm::SystemZMachineFunctionInfo::getRestoreGPRRegs ( ) const

◆ getSpillGPRRegs()

SystemZ::GPRRegs llvm::SystemZMachineFunctionInfo::getSpillGPRRegs ( ) const

◆ getVarArgsFirstFPR()

Register llvm::SystemZMachineFunctionInfo::getVarArgsFirstFPR ( ) const

Definition at line 75 of file SystemZMachineFunctionInfo.h.

◆ getVarArgsFirstGPR()

Register llvm::SystemZMachineFunctionInfo::getVarArgsFirstGPR ( ) const

◆ getVarArgsFrameIndex()

unsigned llvm::SystemZMachineFunctionInfo::getVarArgsFrameIndex ( ) const

Definition at line 79 of file SystemZMachineFunctionInfo.h.

◆ incNumLocalDynamicTLSAccesses()

void llvm::SystemZMachineFunctionInfo::incNumLocalDynamicTLSAccesses ( )

Definition at line 93 of file SystemZMachineFunctionInfo.h.

◆ setFramePointerSaveIndex()

void llvm::SystemZMachineFunctionInfo::setFramePointerSaveIndex ( int  Idx)

◆ setRegSaveFrameIndex()

void llvm::SystemZMachineFunctionInfo::setRegSaveFrameIndex ( unsigned  FI)

◆ setRestoreGPRRegs()

void llvm::SystemZMachineFunctionInfo::setRestoreGPRRegs ( Register  Low,
Register  High,
unsigned  Offs 

◆ setSpillGPRRegs()

void llvm::SystemZMachineFunctionInfo::setSpillGPRRegs ( Register  Low,
Register  High,
unsigned  Offs 

◆ setVarArgsFirstFPR()

void llvm::SystemZMachineFunctionInfo::setVarArgsFirstFPR ( Register  FPR)

Definition at line 76 of file SystemZMachineFunctionInfo.h.

References FPR.

Referenced by llvm::SystemZTargetLowering::LowerFormalArguments().

◆ setVarArgsFirstGPR()

void llvm::SystemZMachineFunctionInfo::setVarArgsFirstGPR ( Register  GPR)

◆ setVarArgsFrameIndex()

void llvm::SystemZMachineFunctionInfo::setVarArgsFrameIndex ( unsigned  FI)

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