LLVM  9.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::MipsFunctionInfo Class Reference

MipsFunctionInfo - This class is derived from MachineFunction private Mips target-specific information for each MachineFunction. More...

#include "Target/Mips/MipsMachineFunction.h"

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

Public Member Functions

 MipsFunctionInfo (MachineFunction &MF)
 
 ~MipsFunctionInfo () override
 
unsigned getSRetReturnReg () const
 
void setSRetReturnReg (unsigned Reg)
 
bool globalBaseRegSet () const
 
unsigned getGlobalBaseReg ()
 
unsigned getGlobalBaseRegForGlobalISel ()
 
void initGlobalBaseReg ()
 
int getVarArgsFrameIndex () const
 
void setVarArgsFrameIndex (int Index)
 
bool hasByvalArg () const
 
void setFormalArgInfo (unsigned Size, bool HasByval)
 
unsigned getIncomingArgSize () const
 
bool callsEhReturn () const
 
void setCallsEhReturn ()
 
void createEhDataRegsFI ()
 
int getEhDataRegFI (unsigned Reg) const
 
bool isEhDataRegFI (int FI) const
 
MachinePointerInfo callPtrInfo (const char *ES)
 Create a MachinePointerInfo that has an ExternalSymbolPseudoSourceValue object representing a GOT entry for an external function. More...
 
bool isISR () const
 
void setISR ()
 
void createISRRegFI ()
 
int getISRRegFI (unsigned Reg) const
 
bool isISRRegFI (int FI) const
 
MachinePointerInfo callPtrInfo (const GlobalValue *GV)
 Create a MachinePointerInfo that has a GlobalValuePseudoSourceValue object representing a GOT entry for a global function. More...
 
void setSaveS2 ()
 
bool hasSaveS2 () const
 
int getMoveF64ViaSpillFI (const TargetRegisterClass *RC)
 
- Public Member Functions inherited from llvm::MachineFunctionInfo
virtual ~MachineFunctionInfo ()
 

Public Attributes

std::map< const char *, const Mips16HardFloatInfo::FuncSignature * > StubsNeeded
 

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

Detailed Description

MipsFunctionInfo - This class is derived from MachineFunction private Mips target-specific information for each MachineFunction.

Definition at line 25 of file MipsMachineFunction.h.

Constructor & Destructor Documentation

◆ MipsFunctionInfo()

llvm::MipsFunctionInfo::MipsFunctionInfo ( MachineFunction MF)
inline

Definition at line 27 of file MipsMachineFunction.h.

References ~MipsFunctionInfo().

◆ ~MipsFunctionInfo()

MipsFunctionInfo::~MipsFunctionInfo ( )
overridedefault

Referenced by MipsFunctionInfo().

Member Function Documentation

◆ callPtrInfo() [1/2]

MachinePointerInfo MipsFunctionInfo::callPtrInfo ( const char ES)

Create a MachinePointerInfo that has an ExternalSymbolPseudoSourceValue object representing a GOT entry for an external function.

Definition at line 184 of file MipsMachineFunction.cpp.

References llvm::PseudoSourceValueManager::getExternalSymbolCallEntry(), and llvm::MachineFunction::getPSVManager().

Referenced by getEhDataRegFI(), and getISRRegFI().

◆ callPtrInfo() [2/2]

MachinePointerInfo MipsFunctionInfo::callPtrInfo ( const GlobalValue GV)

Create a MachinePointerInfo that has a GlobalValuePseudoSourceValue object representing a GOT entry for a global function.

Definition at line 188 of file MipsMachineFunction.cpp.

References llvm::PseudoSourceValueManager::getGlobalValueCallEntry(), and llvm::MachineFunction::getPSVManager().

◆ callsEhReturn()

bool llvm::MipsFunctionInfo::callsEhReturn ( ) const
inline

◆ createEhDataRegsFI()

void MipsFunctionInfo::createEhDataRegsFI ( )

◆ createISRRegFI()

void MipsFunctionInfo::createISRRegFI ( )

◆ getEhDataRegFI()

int llvm::MipsFunctionInfo::getEhDataRegFI ( unsigned  Reg) const
inline

◆ getGlobalBaseReg()

unsigned MipsFunctionInfo::getGlobalBaseReg ( )

◆ getGlobalBaseRegForGlobalISel()

unsigned MipsFunctionInfo::getGlobalBaseRegForGlobalISel ( )

◆ getIncomingArgSize()

unsigned llvm::MipsFunctionInfo::getIncomingArgSize ( ) const
inline

◆ getISRRegFI()

int llvm::MipsFunctionInfo::getISRRegFI ( unsigned  Reg) const
inline

◆ getMoveF64ViaSpillFI()

int MipsFunctionInfo::getMoveF64ViaSpillFI ( const TargetRegisterClass RC)

◆ getSRetReturnReg()

unsigned llvm::MipsFunctionInfo::getSRetReturnReg ( ) const
inline

Definition at line 31 of file MipsMachineFunction.h.

Referenced by UnpackFromArgumentSlot().

◆ getVarArgsFrameIndex()

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

Definition at line 42 of file MipsMachineFunction.h.

◆ globalBaseRegSet()

bool MipsFunctionInfo::globalBaseRegSet ( ) const

Definition at line 27 of file MipsMachineFunction.cpp.

Referenced by setSRetReturnReg().

◆ hasByvalArg()

bool llvm::MipsFunctionInfo::hasByvalArg ( ) const
inline

◆ hasSaveS2()

bool llvm::MipsFunctionInfo::hasSaveS2 ( ) const
inline

Definition at line 77 of file MipsMachineFunction.h.

References getMoveF64ViaSpillFI().

Referenced by llvm::MipsRegisterInfo::getReservedRegs().

◆ initGlobalBaseReg()

void MipsFunctionInfo::initGlobalBaseReg ( )

◆ isEhDataRegFI()

bool MipsFunctionInfo::isEhDataRegFI ( int  FI) const

Definition at line 176 of file MipsMachineFunction.cpp.

Referenced by getEhDataRegFI(), and getLoadStoreOffsetAlign().

◆ isISR()

bool llvm::MipsFunctionInfo::isISR ( ) const
inline

◆ isISRRegFI()

bool MipsFunctionInfo::isISRRegFI ( int  FI) const

Definition at line 181 of file MipsMachineFunction.cpp.

Referenced by getISRRegFI(), and getLoadStoreOffsetAlign().

◆ setCallsEhReturn()

void llvm::MipsFunctionInfo::setCallsEhReturn ( )
inline

Definition at line 54 of file MipsMachineFunction.h.

References createEhDataRegsFI().

Referenced by lowerFABS64().

◆ setFormalArgInfo()

void llvm::MipsFunctionInfo::setFormalArgInfo ( unsigned  Size,
bool  HasByval 
)
inline

Definition at line 46 of file MipsMachineFunction.h.

References Size.

Referenced by UnpackFromArgumentSlot().

◆ setISR()

void llvm::MipsFunctionInfo::setISR ( )
inline

Definition at line 67 of file MipsMachineFunction.h.

References createISRRegFI().

Referenced by UnpackFromArgumentSlot().

◆ setSaveS2()

void llvm::MipsFunctionInfo::setSaveS2 ( )
inline

Definition at line 76 of file MipsMachineFunction.h.

◆ setSRetReturnReg()

void llvm::MipsFunctionInfo::setSRetReturnReg ( unsigned  Reg)
inline

◆ setVarArgsFrameIndex()

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

Definition at line 43 of file MipsMachineFunction.h.

Referenced by UnpackFromArgumentSlot().

Member Data Documentation

◆ StubsNeeded

std::map<const char *, const Mips16HardFloatInfo::FuncSignature *> llvm::MipsFunctionInfo::StubsNeeded

Definition at line 82 of file MipsMachineFunction.h.


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