LLVM  5.0.0
Public Member Functions | Public Attributes | List of all members
llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata Struct Referencefinal

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

#include "llvm/Support/AMDGPUCodeObjectMetadata.h"

Collaboration diagram for llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata:
[legend]

Public Member Functions

 Metadata ()=default
 Default constructor. More...
 
bool empty () const
 
bool notEmpty () const
 

Public Attributes

std::vector< uint32_t > mReqdWorkGroupSize = std::vector<uint32_t>()
 'reqd_work_group_size' attribute. Optional. More...
 
std::vector< uint32_t > mWorkGroupSizeHint = std::vector<uint32_t>()
 'work_group_size_hint' attribute. Optional. More...
 
std::string mVecTypeHint = std::string()
 'vec_type_hint' attribute. Optional. More...
 

Detailed Description

In-memory representation of kernel attributes metadata.

Definition at line 121 of file AMDGPUCodeObjectMetadata.h.

Constructor & Destructor Documentation

llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::Metadata ( )
default

Default constructor.

Member Function Documentation

bool llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::empty ( ) const
inline
Returns
True if kernel attributes metadata is empty, false otherwise.

Definition at line 133 of file AMDGPUCodeObjectMetadata.h.

References mReqdWorkGroupSize, mVecTypeHint, and mWorkGroupSizeHint.

Referenced by llvm::yaml::MappingTraits< Kernel::Metadata >::mapping(), and notEmpty().

bool llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::notEmpty ( ) const
inline
Returns
True if kernel attributes metadata is not empty, false otherwise.

Definition at line 140 of file AMDGPUCodeObjectMetadata.h.

References empty().

Member Data Documentation

std::vector<uint32_t> llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::mReqdWorkGroupSize = std::vector<uint32_t>()

'reqd_work_group_size' attribute. Optional.

Definition at line 123 of file AMDGPUCodeObjectMetadata.h.

Referenced by empty(), and llvm::yaml::MappingTraits< Kernel::Attrs::Metadata >::mapping().

std::string llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::mVecTypeHint = std::string()

'vec_type_hint' attribute. Optional.

Definition at line 127 of file AMDGPUCodeObjectMetadata.h.

Referenced by empty(), and llvm::yaml::MappingTraits< Kernel::Attrs::Metadata >::mapping().

std::vector<uint32_t> llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::mWorkGroupSizeHint = std::vector<uint32_t>()

'work_group_size_hint' attribute. Optional.

Definition at line 125 of file AMDGPUCodeObjectMetadata.h.

Referenced by empty(), and llvm::yaml::MappingTraits< Kernel::Attrs::Metadata >::mapping().


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