LLVM  8.0.1
Classes | Public Member Functions | List of all members
llvm::SIMachineFunctionInfo Class Referencefinal

This class keeps track of the SPI_SP_INPUT_ADDR config register, which tells the hardware which interpolation parameters to load. More...

#include "Target/AMDGPU/SIMachineFunctionInfo.h"

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

Classes

struct  SGPRSpillVGPRCSR
 
struct  SpilledReg
 

Public Member Functions

 SIMachineFunctionInfo (const MachineFunction &MF)
 
ArrayRef< SpilledReggetSGPRToVGPRSpills (int FrameIndex) const
 
ArrayRef< SGPRSpillVGPRCSRgetSGPRSpillVGPRs () const
 
bool allocateSGPRSpillToVGPR (MachineFunction &MF, int FI)
 Reserve a slice of a VGPR to support spilling for FrameIndex FI. More...
 
void removeSGPRToVGPRFrameIndices (MachineFrameInfo &MFI)
 
bool hasCalculatedTID () const
 
unsigned getTIDReg () const
 
void setTIDReg (unsigned Reg)
 
unsigned getBytesInStackArgArea () const
 
void setBytesInStackArgArea (unsigned Bytes)
 
unsigned addPrivateSegmentBuffer (const SIRegisterInfo &TRI)
 
unsigned addDispatchPtr (const SIRegisterInfo &TRI)
 
unsigned addQueuePtr (const SIRegisterInfo &TRI)
 
unsigned addKernargSegmentPtr (const SIRegisterInfo &TRI)
 
unsigned addDispatchID (const SIRegisterInfo &TRI)
 
unsigned addFlatScratchInit (const SIRegisterInfo &TRI)
 
unsigned addImplicitBufferPtr (const SIRegisterInfo &TRI)
 
unsigned addWorkGroupIDX ()
 
unsigned addWorkGroupIDY ()
 
unsigned addWorkGroupIDZ ()
 
unsigned addWorkGroupInfo ()
 
void setWorkItemIDX (ArgDescriptor Arg)
 
void setWorkItemIDY (ArgDescriptor Arg)
 
void setWorkItemIDZ (ArgDescriptor Arg)
 
unsigned addPrivateSegmentWaveByteOffset ()
 
void setPrivateSegmentWaveByteOffset (unsigned Reg)
 
bool hasPrivateSegmentBuffer () const
 
bool hasDispatchPtr () const
 
bool hasQueuePtr () const
 
bool hasKernargSegmentPtr () const
 
bool hasDispatchID () const
 
bool hasFlatScratchInit () const
 
bool hasWorkGroupIDX () const
 
bool hasWorkGroupIDY () const
 
bool hasWorkGroupIDZ () const
 
bool hasWorkGroupInfo () const
 
bool hasPrivateSegmentWaveByteOffset () const
 
bool hasWorkItemIDX () const
 
bool hasWorkItemIDY () const
 
bool hasWorkItemIDZ () const
 
bool hasImplicitArgPtr () const
 
bool hasImplicitBufferPtr () const
 
AMDGPUFunctionArgInfogetArgInfo ()
 
const AMDGPUFunctionArgInfogetArgInfo () const
 
std::pair< const ArgDescriptor *, const TargetRegisterClass * > getPreloadedValue (AMDGPUFunctionArgInfo::PreloadedValue Value) const
 
unsigned getPreloadedReg (AMDGPUFunctionArgInfo::PreloadedValue Value) const
 
unsigned getGITPtrHigh () const
 
unsigned get32BitAddressHighBits () const
 
unsigned getNumUserSGPRs () const
 
unsigned getNumPreloadedSGPRs () const
 
unsigned getPrivateSegmentWaveByteOffsetSystemSGPR () const
 
unsigned getScratchRSrcReg () const
 Returns the physical register reserved for use as the resource descriptor for scratch accesses. More...
 
void setScratchRSrcReg (unsigned Reg)
 
unsigned getScratchWaveOffsetReg () const
 
unsigned getFrameOffsetReg () const
 
void setStackPtrOffsetReg (unsigned Reg)
 
unsigned getStackPtrOffsetReg () const
 
void setScratchWaveOffsetReg (unsigned Reg)
 
unsigned getQueuePtrUserSGPR () const
 
unsigned getImplicitBufferPtrUserSGPR () const
 
bool hasSpilledSGPRs () const
 
void setHasSpilledSGPRs (bool Spill=true)
 
bool hasSpilledVGPRs () const
 
void setHasSpilledVGPRs (bool Spill=true)
 
bool hasNonSpillStackObjects () const
 
void setHasNonSpillStackObjects (bool StackObject=true)
 
bool isStackRealigned () const
 
void setIsStackRealigned (bool Realigned=true)
 
unsigned getNumSpilledSGPRs () const
 
unsigned getNumSpilledVGPRs () const
 
void addToSpilledSGPRs (unsigned num)
 
void addToSpilledVGPRs (unsigned num)
 
unsigned getPSInputAddr () const
 
unsigned getPSInputEnable () const
 
bool isPSInputAllocated (unsigned Index) const
 
void markPSInputAllocated (unsigned Index)
 
void markPSInputEnabled (unsigned Index)
 
bool returnsVoid () const
 
void setIfReturnsVoid (bool Value)
 
std::pair< unsigned, unsignedgetFlatWorkGroupSizes () const
 
unsigned getMinFlatWorkGroupSize () const
 
unsigned getMaxFlatWorkGroupSize () const
 
std::pair< unsigned, unsignedgetWavesPerEU () const
 
unsigned getMinWavesPerEU () const
 
unsigned getMaxWavesPerEU () const
 
int getDebuggerWorkGroupIDStackObjectIndex (unsigned Dim) const
 
void setDebuggerWorkGroupIDStackObjectIndex (unsigned Dim, int ObjectIdx)
 Sets stack object index for Dim's work group ID to ObjectIdx. More...
 
int getDebuggerWorkItemIDStackObjectIndex (unsigned Dim) const
 
void setDebuggerWorkItemIDStackObjectIndex (unsigned Dim, int ObjectIdx)
 Sets stack object index for Dim's work item ID to ObjectIdx. More...
 
unsigned getWorkGroupIDSGPR (unsigned Dim) const
 
unsigned getWorkItemIDVGPR (unsigned Dim) const
 
unsigned getLDSWaveSpillSize () const
 
const AMDGPUBufferPseudoSourceValuegetBufferPSV (const SIInstrInfo &TII, const Value *BufferRsrc)
 
const AMDGPUImagePseudoSourceValuegetImagePSV (const SIInstrInfo &TII, const Value *ImgRsrc)
 
unsigned getOccupancy () const
 
unsigned getMinAllowedOccupancy () const
 
void limitOccupancy (const MachineFunction &MF)
 
void limitOccupancy (unsigned Limit)
 
void increaseOccupancy (const MachineFunction &MF, unsigned Limit)
 
- Public Member Functions inherited from llvm::AMDGPUMachineFunction
 AMDGPUMachineFunction (const MachineFunction &MF)
 
uint64_t getExplicitKernArgSize () const
 
unsigned getMaxKernArgAlign () const
 
unsigned getLDSSize () const
 
bool isEntryFunction () const
 
bool hasNoSignedZerosFPMath () const
 
bool isMemoryBound () const
 
bool needsWaveLimiter () const
 
unsigned allocateLDSGlobal (const DataLayout &DL, const GlobalValue &GV)
 
- 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...
 
- Protected Attributes inherited from llvm::AMDGPUMachineFunction
uint64_t ExplicitKernArgSize
 
unsigned MaxKernArgAlign
 
unsigned LDSSize
 Number of bytes in the LDS that are being used. More...
 
bool IsEntryFunction
 
bool NoSignedZerosFPMath
 
bool MemoryBound
 
bool WaveLimiter
 

Detailed Description

This class keeps track of the SPI_SP_INPUT_ADDR config register, which tells the hardware which interpolation parameters to load.

Definition at line 84 of file SIMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ SIMachineFunctionInfo()

SIMachineFunctionInfo::SIMachineFunctionInfo ( const MachineFunction MF)

Member Function Documentation

◆ addDispatchID()

unsigned SIMachineFunctionInfo::addDispatchID ( const SIRegisterInfo TRI)

◆ addDispatchPtr()

unsigned SIMachineFunctionInfo::addDispatchPtr ( const SIRegisterInfo TRI)

◆ addFlatScratchInit()

unsigned SIMachineFunctionInfo::addFlatScratchInit ( const SIRegisterInfo TRI)

◆ addImplicitBufferPtr()

unsigned SIMachineFunctionInfo::addImplicitBufferPtr ( const SIRegisterInfo TRI)

◆ addKernargSegmentPtr()

unsigned SIMachineFunctionInfo::addKernargSegmentPtr ( const SIRegisterInfo TRI)

◆ addPrivateSegmentBuffer()

unsigned SIMachineFunctionInfo::addPrivateSegmentBuffer ( const SIRegisterInfo TRI)

◆ addPrivateSegmentWaveByteOffset()

unsigned llvm::SIMachineFunctionInfo::addPrivateSegmentWaveByteOffset ( )
inline

◆ addQueuePtr()

unsigned SIMachineFunctionInfo::addQueuePtr ( const SIRegisterInfo TRI)

◆ addToSpilledSGPRs()

void llvm::SIMachineFunctionInfo::addToSpilledSGPRs ( unsigned  num)
inline

Definition at line 500 of file SIMachineFunctionInfo.h.

Referenced by llvm::SIRegisterInfo::spillSGPR().

◆ addToSpilledVGPRs()

void llvm::SIMachineFunctionInfo::addToSpilledVGPRs ( unsigned  num)
inline

Definition at line 504 of file SIMachineFunctionInfo.h.

Referenced by llvm::SIRegisterInfo::eliminateFrameIndex().

◆ addWorkGroupIDX()

unsigned llvm::SIMachineFunctionInfo::addWorkGroupIDX ( )
inline

◆ addWorkGroupIDY()

unsigned llvm::SIMachineFunctionInfo::addWorkGroupIDY ( )
inline

◆ addWorkGroupIDZ()

unsigned llvm::SIMachineFunctionInfo::addWorkGroupIDZ ( )
inline

◆ addWorkGroupInfo()

unsigned llvm::SIMachineFunctionInfo::addWorkGroupInfo ( )
inline

◆ allocateSGPRSpillToVGPR()

bool SIMachineFunctionInfo::allocateSGPRSpillToVGPR ( MachineFunction MF,
int  FI 
)

◆ get32BitAddressHighBits()

unsigned llvm::SIMachineFunctionInfo::get32BitAddressHighBits ( ) const
inline

Definition at line 397 of file SIMachineFunctionInfo.h.

Referenced by isStackPtrRelative().

◆ getArgInfo() [1/2]

AMDGPUFunctionArgInfo& llvm::SIMachineFunctionInfo::getArgInfo ( )
inline

◆ getArgInfo() [2/2]

const AMDGPUFunctionArgInfo& llvm::SIMachineFunctionInfo::getArgInfo ( ) const
inline

Definition at line 380 of file SIMachineFunctionInfo.h.

◆ getBufferPSV()

const AMDGPUBufferPseudoSourceValue* llvm::SIMachineFunctionInfo::getBufferPSV ( const SIInstrInfo TII,
const Value BufferRsrc 
)
inline

Definition at line 615 of file SIMachineFunctionInfo.h.

References assert().

Referenced by llvm::SITargetLowering::getTgtMemIntrinsic().

◆ getBytesInStackArgArea()

unsigned llvm::SIMachineFunctionInfo::getBytesInStackArgArea ( ) const
inline

◆ getDebuggerWorkGroupIDStackObjectIndex()

int llvm::SIMachineFunctionInfo::getDebuggerWorkGroupIDStackObjectIndex ( unsigned  Dim) const
inline
Returns
Stack object index for Dim's work group ID.

Definition at line 569 of file SIMachineFunctionInfo.h.

References assert().

Referenced by llvm::SIFrameLowering::eliminateCallFramePseudoInstr().

◆ getDebuggerWorkItemIDStackObjectIndex()

int llvm::SIMachineFunctionInfo::getDebuggerWorkItemIDStackObjectIndex ( unsigned  Dim) const
inline
Returns
Stack object index for Dim's work item ID.

Definition at line 581 of file SIMachineFunctionInfo.h.

References assert().

Referenced by llvm::SIFrameLowering::eliminateCallFramePseudoInstr().

◆ getFlatWorkGroupSizes()

std::pair<unsigned, unsigned> llvm::SIMachineFunctionInfo::getFlatWorkGroupSizes ( ) const
inline
Returns
A pair of default/requested minimum/maximum flat work group sizes for this function.

Definition at line 538 of file SIMachineFunctionInfo.h.

◆ getFrameOffsetReg()

unsigned llvm::SIMachineFunctionInfo::getFrameOffsetReg ( ) const
inline

◆ getGITPtrHigh()

unsigned llvm::SIMachineFunctionInfo::getGITPtrHigh ( ) const
inline

◆ getImagePSV()

const AMDGPUImagePseudoSourceValue* llvm::SIMachineFunctionInfo::getImagePSV ( const SIInstrInfo TII,
const Value ImgRsrc 
)
inline

Definition at line 624 of file SIMachineFunctionInfo.h.

References assert().

Referenced by llvm::SITargetLowering::getTgtMemIntrinsic().

◆ getImplicitBufferPtrUserSGPR()

unsigned llvm::SIMachineFunctionInfo::getImplicitBufferPtrUserSGPR ( ) const
inline

◆ getLDSWaveSpillSize()

unsigned llvm::SIMachineFunctionInfo::getLDSWaveSpillSize ( ) const
inline

Definition at line 611 of file SIMachineFunctionInfo.h.

◆ getMaxFlatWorkGroupSize()

unsigned llvm::SIMachineFunctionInfo::getMaxFlatWorkGroupSize ( ) const
inline
Returns
Default/requested maximum flat work group size for this function.

Definition at line 548 of file SIMachineFunctionInfo.h.

Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().

◆ getMaxWavesPerEU()

unsigned llvm::SIMachineFunctionInfo::getMaxWavesPerEU ( ) const
inline
Returns
Default/requested maximum number of waves per execution unit.

Definition at line 564 of file SIMachineFunctionInfo.h.

Referenced by limitOccupancy(), and SIMachineFunctionInfo().

◆ getMinAllowedOccupancy()

unsigned llvm::SIMachineFunctionInfo::getMinAllowedOccupancy ( ) const
inline

◆ getMinFlatWorkGroupSize()

unsigned llvm::SIMachineFunctionInfo::getMinFlatWorkGroupSize ( ) const
inline
Returns
Default/requested minimum flat work group size for this function.

Definition at line 543 of file SIMachineFunctionInfo.h.

◆ getMinWavesPerEU()

unsigned llvm::SIMachineFunctionInfo::getMinWavesPerEU ( ) const
inline
Returns
Default/requested minimum number of waves per execution unit.

Definition at line 559 of file SIMachineFunctionInfo.h.

◆ getNumPreloadedSGPRs()

unsigned llvm::SIMachineFunctionInfo::getNumPreloadedSGPRs ( ) const
inline

Definition at line 405 of file SIMachineFunctionInfo.h.

Referenced by getAllSGPRs(), and llvm::GCNSubtarget::getMaxNumSGPRs().

◆ getNumSpilledSGPRs()

unsigned llvm::SIMachineFunctionInfo::getNumSpilledSGPRs ( ) const
inline

◆ getNumSpilledVGPRs()

unsigned llvm::SIMachineFunctionInfo::getNumSpilledVGPRs ( ) const
inline

◆ getNumUserSGPRs()

unsigned llvm::SIMachineFunctionInfo::getNumUserSGPRs ( ) const
inline

Definition at line 401 of file SIMachineFunctionInfo.h.

◆ getOccupancy()

unsigned llvm::SIMachineFunctionInfo::getOccupancy ( ) const
inline

◆ getPreloadedReg()

unsigned llvm::SIMachineFunctionInfo::getPreloadedReg ( AMDGPUFunctionArgInfo::PreloadedValue  Value) const
inline

◆ getPreloadedValue()

std::pair<const ArgDescriptor *, const TargetRegisterClass *> llvm::SIMachineFunctionInfo::getPreloadedValue ( AMDGPUFunctionArgInfo::PreloadedValue  Value) const
inline

◆ getPrivateSegmentWaveByteOffsetSystemSGPR()

unsigned llvm::SIMachineFunctionInfo::getPrivateSegmentWaveByteOffsetSystemSGPR ( ) const
inline

◆ getPSInputAddr()

unsigned llvm::SIMachineFunctionInfo::getPSInputAddr ( ) const
inline

◆ getPSInputEnable()

unsigned llvm::SIMachineFunctionInfo::getPSInputEnable ( ) const
inline

◆ getQueuePtrUserSGPR()

unsigned llvm::SIMachineFunctionInfo::getQueuePtrUserSGPR ( ) const
inline

◆ getScratchRSrcReg()

unsigned llvm::SIMachineFunctionInfo::getScratchRSrcReg ( ) const
inline

◆ getScratchWaveOffsetReg()

unsigned llvm::SIMachineFunctionInfo::getScratchWaveOffsetReg ( ) const
inline

◆ getSGPRSpillVGPRs()

ArrayRef<SGPRSpillVGPRCSR> llvm::SIMachineFunctionInfo::getSGPRSpillVGPRs ( ) const
inline

◆ getSGPRToVGPRSpills()

ArrayRef<SpilledReg> llvm::SIMachineFunctionInfo::getSGPRToVGPRSpills ( int  FrameIndex) const
inline

◆ getStackPtrOffsetReg()

unsigned llvm::SIMachineFunctionInfo::getStackPtrOffsetReg ( ) const
inline

◆ getTIDReg()

unsigned llvm::SIMachineFunctionInfo::getTIDReg ( ) const
inline

◆ getWavesPerEU()

std::pair<unsigned, unsigned> llvm::SIMachineFunctionInfo::getWavesPerEU ( ) const
inline
Returns
A pair of default/requested minimum/maximum number of waves per execution unit.

Definition at line 554 of file SIMachineFunctionInfo.h.

Referenced by llvm::GCNSubtarget::getMaxNumSGPRs(), and llvm::GCNSubtarget::getMaxNumVGPRs().

◆ getWorkGroupIDSGPR()

unsigned llvm::SIMachineFunctionInfo::getWorkGroupIDSGPR ( unsigned  Dim) const
inline

◆ getWorkItemIDVGPR()

unsigned SIMachineFunctionInfo::getWorkItemIDVGPR ( unsigned  Dim) const
Returns
VGPR used for Dim' work item ID.

Definition at line 310 of file SIMachineFunctionInfo.cpp.

References assert(), hasWorkItemIDX(), hasWorkItemIDY(), hasWorkItemIDZ(), and llvm_unreachable.

Referenced by llvm::SIFrameLowering::eliminateCallFramePseudoInstr().

◆ hasCalculatedTID()

bool llvm::SIMachineFunctionInfo::hasCalculatedTID ( ) const
inline

◆ hasDispatchID()

bool llvm::SIMachineFunctionInfo::hasDispatchID ( ) const
inline

◆ hasDispatchPtr()

bool llvm::SIMachineFunctionInfo::hasDispatchPtr ( ) const
inline

◆ hasFlatScratchInit()

bool llvm::SIMachineFunctionInfo::hasFlatScratchInit ( ) const
inline

◆ hasImplicitArgPtr()

bool llvm::SIMachineFunctionInfo::hasImplicitArgPtr ( ) const
inline

Definition at line 368 of file SIMachineFunctionInfo.h.

Referenced by allocateSpecialInputSGPRs().

◆ hasImplicitBufferPtr()

bool llvm::SIMachineFunctionInfo::hasImplicitBufferPtr ( ) const
inline

◆ hasKernargSegmentPtr()

bool llvm::SIMachineFunctionInfo::hasKernargSegmentPtr ( ) const
inline

◆ hasNonSpillStackObjects()

bool llvm::SIMachineFunctionInfo::hasNonSpillStackObjects ( ) const
inline

◆ hasPrivateSegmentBuffer()

bool llvm::SIMachineFunctionInfo::hasPrivateSegmentBuffer ( ) const
inline

◆ hasPrivateSegmentWaveByteOffset()

bool llvm::SIMachineFunctionInfo::hasPrivateSegmentWaveByteOffset ( ) const
inline

Definition at line 352 of file SIMachineFunctionInfo.h.

Referenced by allocateSystemSGPRs().

◆ hasQueuePtr()

bool llvm::SIMachineFunctionInfo::hasQueuePtr ( ) const
inline

◆ hasSpilledSGPRs()

bool llvm::SIMachineFunctionInfo::hasSpilledSGPRs ( ) const
inline

◆ hasSpilledVGPRs()

bool llvm::SIMachineFunctionInfo::hasSpilledVGPRs ( ) const
inline

◆ hasWorkGroupIDX()

bool llvm::SIMachineFunctionInfo::hasWorkGroupIDX ( ) const
inline

◆ hasWorkGroupIDY()

bool llvm::SIMachineFunctionInfo::hasWorkGroupIDY ( ) const
inline

◆ hasWorkGroupIDZ()

bool llvm::SIMachineFunctionInfo::hasWorkGroupIDZ ( ) const
inline

◆ hasWorkGroupInfo()

bool llvm::SIMachineFunctionInfo::hasWorkGroupInfo ( ) const
inline

◆ hasWorkItemIDX()

bool llvm::SIMachineFunctionInfo::hasWorkItemIDX ( ) const
inline

◆ hasWorkItemIDY()

bool llvm::SIMachineFunctionInfo::hasWorkItemIDY ( ) const
inline

◆ hasWorkItemIDZ()

bool llvm::SIMachineFunctionInfo::hasWorkItemIDZ ( ) const
inline

◆ increaseOccupancy()

void llvm::SIMachineFunctionInfo::increaseOccupancy ( const MachineFunction MF,
unsigned  Limit 
)
inline

◆ isPSInputAllocated()

bool llvm::SIMachineFunctionInfo::isPSInputAllocated ( unsigned  Index) const
inline

◆ isStackRealigned()

bool llvm::SIMachineFunctionInfo::isStackRealigned ( ) const
inline

◆ limitOccupancy() [1/2]

void SIMachineFunctionInfo::limitOccupancy ( const MachineFunction MF)

◆ limitOccupancy() [2/2]

void llvm::SIMachineFunctionInfo::limitOccupancy ( unsigned  Limit)
inline

Definition at line 645 of file SIMachineFunctionInfo.h.

◆ markPSInputAllocated()

void llvm::SIMachineFunctionInfo::markPSInputAllocated ( unsigned  Index)
inline

◆ markPSInputEnabled()

void llvm::SIMachineFunctionInfo::markPSInputEnabled ( unsigned  Index)
inline

◆ removeSGPRToVGPRFrameIndices()

void SIMachineFunctionInfo::removeSGPRToVGPRFrameIndices ( MachineFrameInfo MFI)

◆ returnsVoid()

bool llvm::SIMachineFunctionInfo::returnsVoid ( ) const
inline

◆ setBytesInStackArgArea()

void llvm::SIMachineFunctionInfo::setBytesInStackArgArea ( unsigned  Bytes)
inline

Definition at line 250 of file SIMachineFunctionInfo.h.

References TRI.

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

◆ setDebuggerWorkGroupIDStackObjectIndex()

void llvm::SIMachineFunctionInfo::setDebuggerWorkGroupIDStackObjectIndex ( unsigned  Dim,
int  ObjectIdx 
)
inline

Sets stack object index for Dim's work group ID to ObjectIdx.

Definition at line 575 of file SIMachineFunctionInfo.h.

References assert().

Referenced by findUser().

◆ setDebuggerWorkItemIDStackObjectIndex()

void llvm::SIMachineFunctionInfo::setDebuggerWorkItemIDStackObjectIndex ( unsigned  Dim,
int  ObjectIdx 
)
inline

Sets stack object index for Dim's work item ID to ObjectIdx.

Definition at line 587 of file SIMachineFunctionInfo.h.

References assert().

Referenced by findUser().

◆ setHasNonSpillStackObjects()

void llvm::SIMachineFunctionInfo::setHasNonSpillStackObjects ( bool  StackObject = true)
inline

Definition at line 480 of file SIMachineFunctionInfo.h.

Referenced by reservePrivateMemoryRegs().

◆ setHasSpilledSGPRs()

void llvm::SIMachineFunctionInfo::setHasSpilledSGPRs ( bool  Spill = true)
inline

◆ setHasSpilledVGPRs()

void llvm::SIMachineFunctionInfo::setHasSpilledVGPRs ( bool  Spill = true)
inline

Definition at line 472 of file SIMachineFunctionInfo.h.

Referenced by llvm::SIInstrInfo::storeRegToStackSlot().

◆ setIfReturnsVoid()

void llvm::SIMachineFunctionInfo::setIfReturnsVoid ( bool  Value)
inline

Definition at line 532 of file SIMachineFunctionInfo.h.

Referenced by llvm::SITargetLowering::LowerReturn().

◆ setIsStackRealigned()

void llvm::SIMachineFunctionInfo::setIsStackRealigned ( bool  Realigned = true)
inline

Definition at line 488 of file SIMachineFunctionInfo.h.

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

◆ setPrivateSegmentWaveByteOffset()

void llvm::SIMachineFunctionInfo::setPrivateSegmentWaveByteOffset ( unsigned  Reg)
inline

◆ setScratchRSrcReg()

void llvm::SIMachineFunctionInfo::setScratchRSrcReg ( unsigned  Reg)
inline

Definition at line 419 of file SIMachineFunctionInfo.h.

References assert(), and Reg.

Referenced by getAllSGPRs(), and reservePrivateMemoryRegs().

◆ setScratchWaveOffsetReg()

void llvm::SIMachineFunctionInfo::setScratchWaveOffsetReg ( unsigned  Reg)
inline

Definition at line 445 of file SIMachineFunctionInfo.h.

References assert(), and Reg.

Referenced by getAllSGPRs(), and reservePrivateMemoryRegs().

◆ setStackPtrOffsetReg()

void llvm::SIMachineFunctionInfo::setStackPtrOffsetReg ( unsigned  Reg)
inline

Definition at line 432 of file SIMachineFunctionInfo.h.

References assert(), and Reg.

Referenced by llvm::SITargetLowering::finalizeLowering().

◆ setTIDReg()

void llvm::SIMachineFunctionInfo::setTIDReg ( unsigned  Reg)
inline

Definition at line 244 of file SIMachineFunctionInfo.h.

References Reg.

Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().

◆ setWorkItemIDX()

void llvm::SIMachineFunctionInfo::setWorkItemIDX ( ArgDescriptor  Arg)
inline

◆ setWorkItemIDY()

void llvm::SIMachineFunctionInfo::setWorkItemIDY ( ArgDescriptor  Arg)
inline

◆ setWorkItemIDZ()

void llvm::SIMachineFunctionInfo::setWorkItemIDZ ( ArgDescriptor  Arg)
inline

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