LLVM  9.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::SIProgramInfo Struct Reference

Track resource usage for kernels / entry functions. More...

#include "Target/AMDGPU/SIProgramInfo.h"

Collaboration diagram for llvm::SIProgramInfo:
Collaboration graph
[legend]

Public Member Functions

 SIProgramInfo ()=default
 

Public Attributes

uint32_t VGPRBlocks = 0
 
uint32_t SGPRBlocks = 0
 
uint32_t Priority = 0
 
uint32_t FloatMode = 0
 
uint32_t Priv = 0
 
uint32_t DX10Clamp = 0
 
uint32_t DebugMode = 0
 
uint32_t IEEEMode = 0
 
uint32_t WgpMode = 0
 
uint32_t MemOrdered = 0
 
uint64_t ScratchSize = 0
 
uint64_t ComputePGMRSrc1 = 0
 
uint32_t LDSBlocks = 0
 
uint32_t ScratchBlocks = 0
 
uint64_t ComputePGMRSrc2 = 0
 
uint32_t NumVGPR = 0
 
uint32_t NumSGPR = 0
 
uint32_t LDSSize = 0
 
bool FlatUsed = false
 
uint32_t NumSGPRsForWavesPerEU = 0
 
uint32_t NumVGPRsForWavesPerEU = 0
 
bool DynamicCallStack = false
 
bool VCCUsed = false
 

Detailed Description

Track resource usage for kernels / entry functions.

Definition at line 21 of file SIProgramInfo.h.

Constructor & Destructor Documentation

◆ SIProgramInfo()

llvm::SIProgramInfo::SIProgramInfo ( )
default

Member Data Documentation

◆ ComputePGMRSrc1

uint64_t llvm::SIProgramInfo::ComputePGMRSrc1 = 0

◆ ComputePGMRSrc2

uint64_t llvm::SIProgramInfo::ComputePGMRSrc2 = 0

◆ DebugMode

uint32_t llvm::SIProgramInfo::DebugMode = 0

Definition at line 29 of file SIProgramInfo.h.

Referenced by hasAnyNonFlatUseOfReg().

◆ DX10Clamp

uint32_t llvm::SIProgramInfo::DX10Clamp = 0

Definition at line 28 of file SIProgramInfo.h.

Referenced by hasAnyNonFlatUseOfReg().

◆ DynamicCallStack

bool llvm::SIProgramInfo::DynamicCallStack = false

Definition at line 56 of file SIProgramInfo.h.

Referenced by getElementByteSizeValue(), and hasAnyNonFlatUseOfReg().

◆ FlatUsed

bool llvm::SIProgramInfo::FlatUsed = false

◆ FloatMode

uint32_t llvm::SIProgramInfo::FloatMode = 0

◆ IEEEMode

uint32_t llvm::SIProgramInfo::IEEEMode = 0

◆ LDSBlocks

uint32_t llvm::SIProgramInfo::LDSBlocks = 0

Definition at line 38 of file SIProgramInfo.h.

Referenced by getRsrcReg(), and hasAnyNonFlatUseOfReg().

◆ LDSSize

uint32_t llvm::SIProgramInfo::LDSSize = 0

◆ MemOrdered

uint32_t llvm::SIProgramInfo::MemOrdered = 0

Definition at line 32 of file SIProgramInfo.h.

Referenced by hasAnyNonFlatUseOfReg().

◆ NumSGPR

uint32_t llvm::SIProgramInfo::NumSGPR = 0

◆ NumSGPRsForWavesPerEU

uint32_t llvm::SIProgramInfo::NumSGPRsForWavesPerEU = 0

◆ NumVGPR

uint32_t llvm::SIProgramInfo::NumVGPR = 0

◆ NumVGPRsForWavesPerEU

uint32_t llvm::SIProgramInfo::NumVGPRsForWavesPerEU = 0

◆ Priority

uint32_t llvm::SIProgramInfo::Priority = 0

Definition at line 25 of file SIProgramInfo.h.

Referenced by hasAnyNonFlatUseOfReg().

◆ Priv

uint32_t llvm::SIProgramInfo::Priv = 0

Definition at line 27 of file SIProgramInfo.h.

Referenced by hasAnyNonFlatUseOfReg().

◆ ScratchBlocks

uint32_t llvm::SIProgramInfo::ScratchBlocks = 0

Definition at line 39 of file SIProgramInfo.h.

Referenced by getRsrcReg(), and hasAnyNonFlatUseOfReg().

◆ ScratchSize

uint64_t llvm::SIProgramInfo::ScratchSize = 0

◆ SGPRBlocks

uint32_t llvm::SIProgramInfo::SGPRBlocks = 0

◆ VCCUsed

bool llvm::SIProgramInfo::VCCUsed = false

◆ VGPRBlocks

uint32_t llvm::SIProgramInfo::VGPRBlocks = 0

◆ WgpMode

uint32_t llvm::SIProgramInfo::WgpMode = 0

Definition at line 31 of file SIProgramInfo.h.

Referenced by hasAnyNonFlatUseOfReg().


The documentation for this struct was generated from the following file: