LLVM  8.0.1
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 ()
 
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 26 of file MipsMachineFunction.h.

Constructor & Destructor Documentation

◆ MipsFunctionInfo()

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

Definition at line 28 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 89 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 93 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 ( )

◆ 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 32 of file MipsMachineFunction.h.

Referenced by UnpackFromArgumentSlot().

◆ getVarArgsFrameIndex()

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

◆ globalBaseRegSet()

bool MipsFunctionInfo::globalBaseRegSet ( ) const

Definition at line 28 of file MipsMachineFunction.cpp.

Referenced by setSRetReturnReg().

◆ hasByvalArg()

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

◆ hasSaveS2()

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

Definition at line 73 of file MipsMachineFunction.h.

References getMoveF64ViaSpillFI().

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

◆ isEhDataRegFI()

bool MipsFunctionInfo::isEhDataRegFI ( int  FI) const

Definition at line 81 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 86 of file MipsMachineFunction.cpp.

Referenced by getISRRegFI(), and getLoadStoreOffsetAlign().

◆ setCallsEhReturn()

void llvm::MipsFunctionInfo::setCallsEhReturn ( )
inline

Definition at line 50 of file MipsMachineFunction.h.

References createEhDataRegsFI().

Referenced by lowerFCOPYSIGN64().

◆ setFormalArgInfo()

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

Definition at line 42 of file MipsMachineFunction.h.

References Size.

Referenced by UnpackFromArgumentSlot().

◆ setISR()

void llvm::MipsFunctionInfo::setISR ( )
inline

Definition at line 63 of file MipsMachineFunction.h.

References createISRRegFI().

Referenced by UnpackFromArgumentSlot().

◆ setSaveS2()

void llvm::MipsFunctionInfo::setSaveS2 ( )
inline

Definition at line 72 of file MipsMachineFunction.h.

◆ setSRetReturnReg()

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

Definition at line 33 of file MipsMachineFunction.h.

References getGlobalBaseReg(), globalBaseRegSet(), and Reg.

Referenced by UnpackFromArgumentSlot().

◆ setVarArgsFrameIndex()

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

Member Data Documentation

◆ StubsNeeded

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

Definition at line 78 of file MipsMachineFunction.h.


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