LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata Struct Referencefinal

In-memory representation of kernel argument metadata. More...

#include "llvm/Support/AMDGPUMetadata.h"

Collaboration diagram for llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata:
Collaboration graph
[legend]

Public Member Functions

 Metadata ()=default
 Default constructor. More...
 

Public Attributes

std::string mName = std::string()
 Name. Optional. More...
 
std::string mTypeName = std::string()
 Type name. Optional. More...
 
uint32_t mSize = 0
 Size in bytes. Required. More...
 
uint32_t mAlign = 0
 Alignment in bytes. Required. More...
 
ValueKind mValueKind = ValueKind::Unknown
 Value kind. Required. More...
 
ValueType mValueType = ValueType::Unknown
 Value type. Required. More...
 
uint32_t mPointeeAlign = 0
 Pointee alignment in bytes. Optional. More...
 
AddressSpaceQualifier mAddrSpaceQual = AddressSpaceQualifier::Unknown
 Address space qualifier. Optional. More...
 
AccessQualifier mAccQual = AccessQualifier::Unknown
 Access qualifier. Optional. More...
 
AccessQualifier mActualAccQual = AccessQualifier::Unknown
 Actual access qualifier. Optional. More...
 
bool mIsConst = false
 True if 'const' qualifier is specified. Optional. More...
 
bool mIsRestrict = false
 True if 'restrict' qualifier is specified. Optional. More...
 
bool mIsVolatile = false
 True if 'volatile' qualifier is specified. Optional. More...
 
bool mIsPipe = false
 True if 'pipe' qualifier is specified. Optional. More...
 

Detailed Description

In-memory representation of kernel argument metadata.

Definition at line 185 of file AMDGPUMetadata.h.

Constructor & Destructor Documentation

◆ Metadata()

llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::Metadata ( )
default

Default constructor.

Member Data Documentation

◆ mAccQual

AccessQualifier llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mAccQual = AccessQualifier::Unknown

Access qualifier. Optional.

Definition at line 203 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mActualAccQual

AccessQualifier llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mActualAccQual = AccessQualifier::Unknown

Actual access qualifier. Optional.

Definition at line 205 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mAddrSpaceQual

AddressSpaceQualifier llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mAddrSpaceQual = AddressSpaceQualifier::Unknown

Address space qualifier. Optional.

Definition at line 201 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mAlign

uint32_t llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mAlign = 0

Alignment in bytes. Required.

Definition at line 193 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mIsConst

bool llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mIsConst = false

True if 'const' qualifier is specified. Optional.

Definition at line 207 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mIsPipe

bool llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mIsPipe = false

True if 'pipe' qualifier is specified. Optional.

Definition at line 213 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mIsRestrict

bool llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mIsRestrict = false

True if 'restrict' qualifier is specified. Optional.

Definition at line 209 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mIsVolatile

bool llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mIsVolatile = false

True if 'volatile' qualifier is specified. Optional.

Definition at line 211 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mName

std::string llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mName = std::string()

◆ mPointeeAlign

uint32_t llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mPointeeAlign = 0

Pointee alignment in bytes. Optional.

Definition at line 199 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mSize

uint32_t llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mSize = 0

Size in bytes. Required.

Definition at line 191 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mTypeName

std::string llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mTypeName = std::string()

◆ mValueKind

ValueKind llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mValueKind = ValueKind::Unknown

Value kind. Required.

Definition at line 195 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().

◆ mValueType

ValueType llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mValueType = ValueType::Unknown

Value type. Required.

Definition at line 197 of file AMDGPUMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().


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