LLVM  8.0.1
Public Member Functions | List of all members
llvm::X86MachineFunctionInfo Class Reference

X86MachineFunctionInfo - This class is derived from MachineFunction and contains private X86 target-specific information for each MachineFunction. More...

#include "Target/X86/X86MachineFunctionInfo.h"

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

Public Member Functions

 X86MachineFunctionInfo ()=default
 
 X86MachineFunctionInfo (MachineFunction &MF)
 
bool getForceFramePointer () const
 
void setForceFramePointer (bool forceFP)
 
bool getHasPushSequences () const
 
void setHasPushSequences (bool HasPush)
 
bool getRestoreBasePointer () const
 
void setRestoreBasePointer (const MachineFunction *MF)
 
int getRestoreBasePointerOffset () const
 
unsigned getCalleeSavedFrameSize () const
 
void setCalleeSavedFrameSize (unsigned bytes)
 
unsigned getBytesToPopOnReturn () const
 
void setBytesToPopOnReturn (unsigned bytes)
 
int getRAIndex () const
 
void setRAIndex (int Index)
 
int getFAIndex () const
 
void setFAIndex (int Index)
 
int getTCReturnAddrDelta () const
 
void setTCReturnAddrDelta (int delta)
 
unsigned getSRetReturnReg () const
 
void setSRetReturnReg (unsigned Reg)
 
unsigned getGlobalBaseReg () const
 
void setGlobalBaseReg (unsigned Reg)
 
int getVarArgsFrameIndex () const
 
void setVarArgsFrameIndex (int Idx)
 
int getRegSaveFrameIndex () const
 
void setRegSaveFrameIndex (int Idx)
 
unsigned getVarArgsGPOffset () const
 
void setVarArgsGPOffset (unsigned Offset)
 
unsigned getVarArgsFPOffset () const
 
void setVarArgsFPOffset (unsigned Offset)
 
unsigned getArgumentStackSize () const
 
void setArgumentStackSize (unsigned size)
 
unsigned getNumLocalDynamicTLSAccesses () const
 
void incNumLocalDynamicTLSAccesses ()
 
bool getHasSEHFramePtrSave () const
 
void setHasSEHFramePtrSave (bool V)
 
int getSEHFramePtrSaveIndex () const
 
void setSEHFramePtrSaveIndex (int Index)
 
SmallVectorImpl< ForwardedRegister > & getForwardedMustTailRegParms ()
 
bool isSplitCSR () const
 
void setIsSplitCSR (bool s)
 
bool getUsesRedZone () const
 
void setUsesRedZone (bool V)
 
bool hasWinAlloca () const
 
void setHasWinAlloca (bool v)
 
- 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...
 

Detailed Description

X86MachineFunctionInfo - This class is derived from MachineFunction and contains private X86 target-specific information for each MachineFunction.

Definition at line 25 of file X86MachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ X86MachineFunctionInfo() [1/2]

llvm::X86MachineFunctionInfo::X86MachineFunctionInfo ( )
default

◆ X86MachineFunctionInfo() [2/2]

llvm::X86MachineFunctionInfo::X86MachineFunctionInfo ( MachineFunction MF)
inlineexplicit

Definition at line 112 of file X86MachineFunctionInfo.h.

Member Function Documentation

◆ getArgumentStackSize()

unsigned llvm::X86MachineFunctionInfo::getArgumentStackSize ( ) const
inline

◆ getBytesToPopOnReturn()

unsigned llvm::X86MachineFunctionInfo::getBytesToPopOnReturn ( ) const
inline

Definition at line 127 of file X86MachineFunctionInfo.h.

Referenced by getMOVL(), MatchingStackOffset(), and Passv64i1ArgInRegs().

◆ getCalleeSavedFrameSize()

unsigned llvm::X86MachineFunctionInfo::getCalleeSavedFrameSize ( ) const
inline

◆ getFAIndex()

int llvm::X86MachineFunctionInfo::getFAIndex ( ) const
inline

◆ getForceFramePointer()

bool llvm::X86MachineFunctionInfo::getForceFramePointer ( ) const
inline

Definition at line 114 of file X86MachineFunctionInfo.h.

◆ getForwardedMustTailRegParms()

SmallVectorImpl<ForwardedRegister>& llvm::X86MachineFunctionInfo::getForwardedMustTailRegParms ( )
inline

Definition at line 169 of file X86MachineFunctionInfo.h.

Referenced by getMOVL(), and isSortedByValueNo().

◆ getGlobalBaseReg()

unsigned llvm::X86MachineFunctionInfo::getGlobalBaseReg ( ) const
inline

◆ getHasPushSequences()

bool llvm::X86MachineFunctionInfo::getHasPushSequences ( ) const
inline

◆ getHasSEHFramePtrSave()

bool llvm::X86MachineFunctionInfo::getHasSEHFramePtrSave ( ) const
inline

◆ getNumLocalDynamicTLSAccesses()

unsigned llvm::X86MachineFunctionInfo::getNumLocalDynamicTLSAccesses ( ) const
inline

Definition at line 160 of file X86MachineFunctionInfo.h.

Referenced by llvm::createX86GlobalBaseRegPass().

◆ getRAIndex()

int llvm::X86MachineFunctionInfo::getRAIndex ( ) const
inline

◆ getRegSaveFrameIndex()

int llvm::X86MachineFunctionInfo::getRegSaveFrameIndex ( ) const
inline

Definition at line 148 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo().

◆ getRestoreBasePointer()

bool llvm::X86MachineFunctionInfo::getRestoreBasePointer ( ) const
inline

◆ getRestoreBasePointerOffset()

int llvm::X86MachineFunctionInfo::getRestoreBasePointerOffset ( ) const
inline

Definition at line 122 of file X86MachineFunctionInfo.h.

Referenced by getRetpolineSymbol().

◆ getSEHFramePtrSaveIndex()

int llvm::X86MachineFunctionInfo::getSEHFramePtrSaveIndex ( ) const
inline

◆ getSRetReturnReg()

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

Definition at line 139 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo(), and Passv64i1ArgInRegs().

◆ getTCReturnAddrDelta()

int llvm::X86MachineFunctionInfo::getTCReturnAddrDelta ( ) const
inline

◆ getUsesRedZone()

bool llvm::X86MachineFunctionInfo::getUsesRedZone ( ) const
inline

◆ getVarArgsFPOffset()

unsigned llvm::X86MachineFunctionInfo::getVarArgsFPOffset ( ) const
inline

Definition at line 154 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo().

◆ getVarArgsFrameIndex()

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

Definition at line 145 of file X86MachineFunctionInfo.h.

◆ getVarArgsGPOffset()

unsigned llvm::X86MachineFunctionInfo::getVarArgsGPOffset ( ) const
inline

Definition at line 151 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo().

◆ hasWinAlloca()

bool llvm::X86MachineFunctionInfo::hasWinAlloca ( ) const
inline

Definition at line 179 of file X86MachineFunctionInfo.h.

Referenced by getSubOpcode().

◆ incNumLocalDynamicTLSAccesses()

void llvm::X86MachineFunctionInfo::incNumLocalDynamicTLSAccesses ( )
inline

Definition at line 161 of file X86MachineFunctionInfo.h.

Referenced by LowerToTLSLocalDynamicModel().

◆ isSplitCSR()

bool llvm::X86MachineFunctionInfo::isSplitCSR ( ) const
inline

Definition at line 173 of file X86MachineFunctionInfo.h.

◆ setArgumentStackSize()

void llvm::X86MachineFunctionInfo::setArgumentStackSize ( unsigned  size)
inline

Definition at line 158 of file X86MachineFunctionInfo.h.

References llvm::size().

Referenced by isSortedByValueNo().

◆ setBytesToPopOnReturn()

void llvm::X86MachineFunctionInfo::setBytesToPopOnReturn ( unsigned  bytes)
inline

Definition at line 128 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo().

◆ setCalleeSavedFrameSize()

void llvm::X86MachineFunctionInfo::setCalleeSavedFrameSize ( unsigned  bytes)
inline

◆ setFAIndex()

void llvm::X86MachineFunctionInfo::setFAIndex ( int  Index)
inline

Definition at line 134 of file X86MachineFunctionInfo.h.

Referenced by LowerINTRINSIC_W_CHAIN().

◆ setForceFramePointer()

void llvm::X86MachineFunctionInfo::setForceFramePointer ( bool  forceFP)
inline

Definition at line 115 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo().

◆ setGlobalBaseReg()

void llvm::X86MachineFunctionInfo::setGlobalBaseReg ( unsigned  Reg)
inline

Definition at line 143 of file X86MachineFunctionInfo.h.

References Reg.

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

◆ setHasPushSequences()

void llvm::X86MachineFunctionInfo::setHasPushSequences ( bool  HasPush)
inline

Definition at line 118 of file X86MachineFunctionInfo.h.

Referenced by INITIALIZE_PASS().

◆ setHasSEHFramePtrSave()

void llvm::X86MachineFunctionInfo::setHasSEHFramePtrSave ( bool  V)
inline

◆ setHasWinAlloca()

void llvm::X86MachineFunctionInfo::setHasWinAlloca ( bool  v)
inline

Definition at line 180 of file X86MachineFunctionInfo.h.

◆ setIsSplitCSR()

void llvm::X86MachineFunctionInfo::setIsSplitCSR ( bool  s)
inline

Definition at line 174 of file X86MachineFunctionInfo.h.

Referenced by llvm::X86TargetLowering::isIntDivCheap().

◆ setRAIndex()

void llvm::X86MachineFunctionInfo::setRAIndex ( int  Index)
inline

◆ setRegSaveFrameIndex()

void llvm::X86MachineFunctionInfo::setRegSaveFrameIndex ( int  Idx)
inline

Definition at line 149 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo().

◆ setRestoreBasePointer()

void X86MachineFunctionInfo::setRestoreBasePointer ( const MachineFunction MF)

◆ setSEHFramePtrSaveIndex()

void llvm::X86MachineFunctionInfo::setSEHFramePtrSaveIndex ( int  Index)
inline

◆ setSRetReturnReg()

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

Definition at line 140 of file X86MachineFunctionInfo.h.

References Reg.

Referenced by isSortedByValueNo().

◆ setTCReturnAddrDelta()

void llvm::X86MachineFunctionInfo::setTCReturnAddrDelta ( int  delta)
inline

Definition at line 137 of file X86MachineFunctionInfo.h.

Referenced by getMOVL().

◆ setUsesRedZone()

void llvm::X86MachineFunctionInfo::setUsesRedZone ( bool  V)
inline

Definition at line 177 of file X86MachineFunctionInfo.h.

Referenced by llvm::X86FrameLowering::emitPrologue().

◆ setVarArgsFPOffset()

void llvm::X86MachineFunctionInfo::setVarArgsFPOffset ( unsigned  Offset)
inline

Definition at line 155 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo().

◆ setVarArgsFrameIndex()

void llvm::X86MachineFunctionInfo::setVarArgsFrameIndex ( int  Idx)
inline

Definition at line 146 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo().

◆ setVarArgsGPOffset()

void llvm::X86MachineFunctionInfo::setVarArgsGPOffset ( unsigned  Offset)
inline

Definition at line 152 of file X86MachineFunctionInfo.h.

Referenced by isSortedByValueNo().


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